public interface Restrictions extends Restriction
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Restriction> |
getRestrictions(ColumnDefinition columnDef)
Returns the restrictions applied to the specified column.
|
boolean |
hasContains()
Checks if any of the underlying restrictions is a CONTAINS / CONTAINS KEY restriction.
|
boolean |
hasIN()
Checks if any of the underlying restriction is an IN.
|
boolean |
hasOnlyEqualityRestrictions()
Checks if all of the underlying restrictions are EQ or IN restrictions.
|
boolean |
hasSlice()
Checks if any of the underlying restrictions is a slice.
|
boolean |
isEmpty()
Checks if this
Restrictions is empty or not. |
int |
size()
Returns the number of columns that have a restriction.
|
addFunctionsTo, addRowFilterTo, getColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, isOnTokenjava.util.Set<Restriction> getRestrictions(ColumnDefinition columnDef)
columnDef - the column definitionboolean isEmpty()
Restrictions is empty or not.true if this Restrictions is empty, false otherwise.int size()
boolean hasIN()
true if any of the underlying restriction is an IN, false otherwiseboolean hasContains()
true if any of the underlying restrictions is CONTAINS, false otherwiseboolean hasSlice()
true if any of the underlying restrictions is a slice, false otherwiseboolean hasOnlyEqualityRestrictions()
true if all of the underlying restrictions are EQ or IN restrictions,
false otherwiseCopyright © 2018 The Apache Software Foundation