|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.query.QueryBuilder.ComparisonBuilder
public class QueryBuilder.ComparisonBuilder
An interface used to set the right-hand side of a constraint.
| Field Summary | |
|---|---|
protected QueryBuilder.ConstraintBuilder |
constraintBuilder
|
protected DynamicOperand |
left
|
| Constructor Summary | |
|---|---|
protected |
QueryBuilder.ComparisonBuilder(QueryBuilder.ConstraintBuilder constraintBuilder,
DynamicOperand left)
|
| Method Summary | |
|---|---|
QueryBuilder.RightHandSide |
is(Operator operator)
Define the operator that will be used in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
is(Operator operator,
Object literal)
Define the right-hand-side of the constraint using the supplied operator. |
QueryBuilder.RightHandSide |
isEqualTo()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isEqualTo(Object literal)
Define the right-hand-side of the constraint to be equivalent to the supplied literal value. |
QueryBuilder.ConstraintBuilder |
isEqualToVariable(String variableName)
Define the right-hand-side of the constraint to be equivalent to the value of the supplied variable. |
QueryBuilder.RightHandSide |
isGreaterThan()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isGreaterThan(Object literal)
Define the right-hand-side of the constraint to be greater than the supplied literal value. |
QueryBuilder.RightHandSide |
isGreaterThanOrEqualTo()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isGreaterThanOrEqualTo(Object literal)
Define the right-hand-side of the constraint to be greater than or equal to the supplied literal value. |
QueryBuilder.ConstraintBuilder |
isGreaterThanOrEqualToVariable(String variableName)
Define the right-hand-side of the constraint to be greater than or equal to the value of the supplied variable. |
QueryBuilder.ConstraintBuilder |
isGreaterThanVariable(String variableName)
Define the right-hand-side of the constraint to be greater than the value of the supplied variable. |
QueryBuilder.RightHandSide |
isLessThan()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isLessThan(Object literal)
Define the right-hand-side of the constraint to be less than the supplied literal value. |
QueryBuilder.RightHandSide |
isLessThanOrEqualTo()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isLessThanOrEqualTo(Object literal)
Define the right-hand-side of the constraint to be less than or equal to the supplied literal value. |
QueryBuilder.ConstraintBuilder |
isLessThanOrEqualToVariable(String variableName)
Define the right-hand-side of the constraint to be less than or equal to the value of the supplied variable. |
QueryBuilder.ConstraintBuilder |
isLessThanVariable(String variableName)
Define the right-hand-side of the constraint to be less than the value of the supplied variable. |
QueryBuilder.RightHandSide |
isLike()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isLike(Object literal)
Define the right-hand-side of the constraint to be LIKE the supplied literal value. |
QueryBuilder.ConstraintBuilder |
isLikeVariable(String variableName)
Define the right-hand-side of the constraint to be LIKE the value of the supplied variable. |
QueryBuilder.RightHandSide |
isNotEqualTo()
Use the 'equal to' operator in the comparison, returning an interface that can be used to define the right-hand-side of the comparison. |
QueryBuilder.ConstraintBuilder |
isNotEqualTo(Object literal)
Define the right-hand-side of the constraint to be not equal to the supplied literal value. |
QueryBuilder.ConstraintBuilder |
isNotEqualToVariable(String variableName)
Define the right-hand-side of the constraint to be not equal to the value of the supplied variable. |
QueryBuilder.ConstraintBuilder |
isVariable(Operator operator,
String variableName)
Define the right-hand-side of the constraint using the supplied operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DynamicOperand left
protected final QueryBuilder.ConstraintBuilder constraintBuilder
| Constructor Detail |
|---|
protected QueryBuilder.ComparisonBuilder(QueryBuilder.ConstraintBuilder constraintBuilder,
DynamicOperand left)
| Method Detail |
|---|
public QueryBuilder.RightHandSide is(Operator operator)
operator - the operator; may not be null
public QueryBuilder.RightHandSide isEqualTo()
public QueryBuilder.RightHandSide isNotEqualTo()
public QueryBuilder.RightHandSide isGreaterThan()
public QueryBuilder.RightHandSide isGreaterThanOrEqualTo()
public QueryBuilder.RightHandSide isLessThan()
public QueryBuilder.RightHandSide isLessThanOrEqualTo()
public QueryBuilder.RightHandSide isLike()
public QueryBuilder.ConstraintBuilder isVariable(Operator operator,
String variableName)
operator - the operator; may not be nullvariableName - the name of the variable
public QueryBuilder.ConstraintBuilder is(Operator operator,
Object literal)
operator - the operator; may not be nullliteral - the literal value
public QueryBuilder.ConstraintBuilder isEqualToVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isGreaterThanVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isGreaterThanOrEqualToVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isLessThanVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isLessThanOrEqualToVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isLikeVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isNotEqualToVariable(String variableName)
variableName - the name of the variable
public QueryBuilder.ConstraintBuilder isEqualTo(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isGreaterThan(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isGreaterThanOrEqualTo(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isLessThan(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isLessThanOrEqualTo(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isLike(Object literal)
literal - the literal value
public QueryBuilder.ConstraintBuilder isNotEqualTo(Object literal)
literal - the literal value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||