public class ComparisonPredicate extends AbstractSimplePredicate implements BinaryOperatorExpression<java.lang.Boolean>, java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ComparisonPredicate.ComparisonOperator
Defines the comparison operators.
|
javax.persistence.criteria.Predicate.BooleanOperatorParameterContainer.Helper| Constructor and Description |
|---|
ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder,
ComparisonPredicate.ComparisonOperator comparisonOperator,
javax.persistence.criteria.Expression<?> leftHandSide,
javax.persistence.criteria.Expression<?> rightHandSide) |
ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder,
ComparisonPredicate.ComparisonOperator comparisonOperator,
javax.persistence.criteria.Expression<?> leftHandSide,
java.lang.Object rightHandSide) |
ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder,
ComparisonPredicate.ComparisonOperator comparisonOperator,
javax.persistence.criteria.Expression<N> leftHandSide,
java.lang.Number rightHandSide) |
| Modifier and Type | Method and Description |
|---|---|
ComparisonPredicate.ComparisonOperator |
getComparisonOperator() |
javax.persistence.criteria.Expression |
getLeftHandOperand()
Get the left-hand operand.
|
javax.persistence.criteria.Expression |
getRightHandOperand()
Get the right-hand operand.
|
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
java.lang.String |
render(CriteriaQueryCompiler.RenderingContext renderingContext) |
java.lang.String |
renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext) |
getExpressions, getOperatorgetCompoundSelectionItems, isCompoundSelection, isNegated, notas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getValueHandlersforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetValueHandlersgetValueHandlerpublic ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder, ComparisonPredicate.ComparisonOperator comparisonOperator, javax.persistence.criteria.Expression<?> leftHandSide, javax.persistence.criteria.Expression<?> rightHandSide)
public ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder, ComparisonPredicate.ComparisonOperator comparisonOperator, javax.persistence.criteria.Expression<?> leftHandSide, java.lang.Object rightHandSide)
public ComparisonPredicate(CriteriaBuilderImpl criteriaBuilder, ComparisonPredicate.ComparisonOperator comparisonOperator, javax.persistence.criteria.Expression<N> leftHandSide, java.lang.Number rightHandSide)
public ComparisonPredicate.ComparisonOperator getComparisonOperator()
public javax.persistence.criteria.Expression getLeftHandOperand()
BinaryOperatorExpressiongetLeftHandOperand in interface BinaryOperatorExpression<java.lang.Boolean>public javax.persistence.criteria.Expression getRightHandOperand()
BinaryOperatorExpressiongetRightHandOperand in interface BinaryOperatorExpression<java.lang.Boolean>public void registerParameters(ParameterRegistry registry)
ParameterContainerregisterParameters in interface ParameterContainerregistry - The parameter registry with which to register.public java.lang.String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render in interface Renderablepublic java.lang.String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection in interface RenderableCopyright © 2013. All Rights Reserved.