Class ComparisonFactory
- java.lang.Object
-
- org.citydb.query.filter.selection.operator.comparison.ComparisonFactory
-
public class ComparisonFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ComparisonFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BetweenOperator
between(Expression operand, Expression lowerBoundary, Expression upperBoundary)
static BinaryComparisonOperator
equalTo(Expression leftOperand, Expression rightOperand)
static BinaryComparisonOperator
greaterThan(Expression leftOperand, Expression rightOperand)
static BinaryComparisonOperator
greaterThanOrEqualTo(Expression leftOperand, Expression rightOperand)
static NullOperator
isNull(Expression operand)
static BinaryComparisonOperator
lessThan(Expression leftOperand, Expression rightOperand)
static BinaryComparisonOperator
lessThanOrEqualTo(Expression leftOperand, Expression rightOperand)
static LikeOperator
like(Expression leftOperand, Expression rightOperand)
static BinaryComparisonOperator
notEqualTo(Expression leftOperand, Expression rightOperand)
-
-
-
Method Detail
-
equalTo
public static BinaryComparisonOperator equalTo(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
notEqualTo
public static BinaryComparisonOperator notEqualTo(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
lessThan
public static BinaryComparisonOperator lessThan(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
greaterThan
public static BinaryComparisonOperator greaterThan(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
lessThanOrEqualTo
public static BinaryComparisonOperator lessThanOrEqualTo(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
greaterThanOrEqualTo
public static BinaryComparisonOperator greaterThanOrEqualTo(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
between
public static BetweenOperator between(Expression operand, Expression lowerBoundary, Expression upperBoundary) throws FilterException
- Throws:
FilterException
-
like
public static LikeOperator like(Expression leftOperand, Expression rightOperand) throws FilterException
- Throws:
FilterException
-
isNull
public static NullOperator isNull(Expression operand) throws FilterException
- Throws:
FilterException
-
-