Class IndexRestrictions
java.lang.Object
org.apache.cassandra.cql3.restrictions.IndexRestrictions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CustomIndexExpression expression) voidadd(Restrictions restrictions) booleanisEmpty()booleanneedsFiltering(IndexRegistry indexRegistry) Returns whether these restrictions would need filtering if the specified index registry were used.toString()
-
Field Details
-
INDEX_NOT_FOUND
- See Also:
-
INVALID_INDEX
- See Also:
-
CUSTOM_EXPRESSION_NOT_SUPPORTED
- See Also:
-
NON_CUSTOM_INDEX_IN_EXPRESSION
- See Also:
-
MULTIPLE_EXPRESSIONS
- See Also:
-
-
Constructor Details
-
IndexRestrictions
public IndexRestrictions()
-
-
Method Details
-
add
-
add
-
isEmpty
public boolean isEmpty() -
getRestrictions
-
getCustomIndexExpressions
-
needsFiltering
Returns whether these restrictions would need filtering if the specified index registry were used.- Parameters:
indexRegistry- an index registry- Returns:
trueif this would need filtering ifindexRegistrywere used,falseotherwise
-
toString
-