public interface SingleRestriction extends Restriction
| Modifier and Type | Method and Description | 
|---|---|
| default MultiCBuilder | appendBoundTo(MultiCBuilder builder,
             Bound bound,
             QueryOptions options)Appends the values of the  SingleRestrictionfor the specified bound to the specified builder. | 
| MultiCBuilder | appendTo(MultiCBuilder builder,
        QueryOptions options)Appends the values of this  SingleRestrictionto the specified builder. | 
| default boolean | hasBound(Bound b)Checks if the specified bound is set or not. | 
| default boolean | isContains() | 
| default boolean | isEQ() | 
| default boolean | isIN() | 
| default boolean | isInclusive(Bound b)Checks if the specified bound is inclusive or not. | 
| default boolean | isLIKE() | 
| default boolean | isMultiColumn() | 
| default boolean | isNotNull() | 
| default boolean | isSlice() | 
| SingleRestriction | mergeWith(SingleRestriction otherRestriction)Merges this restriction with the specified one. | 
addFunctionsTo, addRowFilterTo, getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, isOnTokendefault boolean isSlice()
default boolean isEQ()
default boolean isLIKE()
default boolean isIN()
default boolean isContains()
default boolean isNotNull()
default boolean isMultiColumn()
default boolean hasBound(Bound b)
b - the bound typetrue if the specified bound is set, false otherwisedefault boolean isInclusive(Bound b)
b - the bound typetrue if the specified bound is inclusive, false otherwiseSingleRestriction mergeWith(SingleRestriction otherRestriction)
Restriction are immutable. Therefore merging two restrictions result in a new one. The reason behind this choice is that it allow a great flexibility in the way the merging can done while preventing any side effect.
otherRestriction - the restriction to merge into this oneMultiCBuilder appendTo(MultiCBuilder builder, QueryOptions options)
SingleRestriction to the specified builder.builder - the MultiCBuilder to append to.options - the query optionsMultiCBuilderdefault MultiCBuilder appendBoundTo(MultiCBuilder builder, Bound bound, QueryOptions options)
SingleRestriction for the specified bound to the specified builder.builder - the MultiCBuilder to append to.bound - the boundoptions - the query optionsMultiCBuilderCopyright © 2018 The Apache Software Foundation