Class FilterPredicate
- java.lang.Object
-
- org.hibernate.sql.ast.tree.predicate.FilterPredicate
-
- All Implemented Interfaces:
DomainResultProducer<Boolean>
,SqlSelectionProducer
,Expression
,Predicate
,SqlAstNode
public class FilterPredicate extends Object implements Predicate
Collection ofFilterPredicate.FilterFragmentPredicate
sub-predicates, each representing one enabled filter restriction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilterPredicate.FilterFragmentParameter
static class
FilterPredicate.FilterFragmentPredicate
-
Constructor Summary
Constructors Constructor Description FilterPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
void
applyFragment(String processedFragment, FilterImpl filter, List<String> parameterNames)
void
applyFragment(FilterPredicate.FilterFragmentPredicate predicate)
void
applyParameter(FilterJdbcParameter parameter)
JdbcMappingContainer
getExpressionType()
The type for this expressionList<FilterPredicate.FilterFragmentPredicate>
getFragments()
List<FilterJdbcParameter>
getParameters()
boolean
isEmpty()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.predicate.Predicate
applySqlSelections, createDomainResult
-
-
-
-
Method Detail
-
applyFragment
public void applyFragment(FilterPredicate.FilterFragmentPredicate predicate)
-
applyFragment
public void applyFragment(String processedFragment, FilterImpl filter, List<String> parameterNames)
-
applyParameter
public void applyParameter(FilterJdbcParameter parameter)
-
getFragments
public List<FilterPredicate.FilterFragmentPredicate> getFragments()
-
getParameters
public List<FilterJdbcParameter> getParameters()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
-