public class BetweenPredicate<Y> extends AbstractSimplePredicate implements java.io.Serializable
Predicate
.javax.persistence.criteria.Predicate.BooleanOperator
ParameterContainer.Helper
Constructor and Description |
---|
BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
javax.persistence.criteria.Expression<? extends Y> lowerBound,
javax.persistence.criteria.Expression<? extends Y> upperBound) |
BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
Y lowerBound,
Y upperBound) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.criteria.Expression<? extends Y> |
getExpression() |
javax.persistence.criteria.Expression<? extends Y> |
getLowerBound() |
javax.persistence.criteria.Expression<? extends Y> |
getUpperBound() |
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, getOperator
getCompoundSelectionItems, isCompoundSelection, isNegated, not
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getValueHandlers
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
getValueHandlers
getValueHandler
public BetweenPredicate(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<? extends Y> expression, Y lowerBound, Y upperBound)
public BetweenPredicate(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<? extends Y> expression, javax.persistence.criteria.Expression<? extends Y> lowerBound, javax.persistence.criteria.Expression<? extends Y> upperBound)
public javax.persistence.criteria.Expression<? extends Y> getExpression()
public javax.persistence.criteria.Expression<? extends Y> getLowerBound()
public javax.persistence.criteria.Expression<? extends Y> getUpperBound()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public java.lang.String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render
in interface Renderable
public java.lang.String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2013. All Rights Reserved.