Class PredicateSupport.Builder
java.lang.Object
org.hibernate.dialect.sql.ast.spi.PredicateSupport.Builder
- Enclosing class:
PredicateSupport
Build an immutable predicate-support profile.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build an immutable snapshot of this builder.capabilities(PredicateSupport.Capability... capabilities) Enable the given predicate capabilities.capability(PredicateSupport.Capability capability, boolean supported) Enable or disable a predicate capability.caseInsensitiveLikeOperator(String operator) Select native case-insensitive-likerendering with the given SQL operator.Remove the native case-insensitive-likeoperator so consumers use lowercase-expression emulation.
-
Method Details
-
caseInsensitiveLikeOperator
Select native case-insensitive-likerendering with the given SQL operator.- Parameters:
operator- a non-null, non-blank SQL operator
-
noCaseInsensitiveLikeOperator
Remove the native case-insensitive-likeoperator so consumers use lowercase-expression emulation. -
capabilities
Enable the given predicate capabilities. -
capability
public PredicateSupport.Builder capability(PredicateSupport.Capability capability, boolean supported) Enable or disable a predicate capability. -
build
Build an immutable snapshot of this builder.
-