public static class SingleColumnRestriction.InWithValues extends SingleColumnRestriction.IN
SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.IN, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.Slice| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Term> |
values |
columnDef| Constructor and Description |
|---|
InWithValues(ColumnDefinition columnDef,
java.util.List<Term> values) |
| Modifier and Type | Method and Description |
|---|---|
CompositesBuilder |
appendBoundTo(CompositesBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
Restriction for the specified bound to the specified builder. |
java.lang.Iterable<Function> |
getFunctions()
Return an Iterable over all of the functions (both native and user-defined) used by any component
of the restriction
|
protected java.util.List<java.nio.ByteBuffer> |
getValues(QueryOptions options) |
boolean |
hasBound(Bound b)
Checks if the specified bound is set or not.
|
boolean |
isContains() |
boolean |
isEQ() |
boolean |
isInclusive(Bound b)
Checks if the specified bound is inclusive or not.
|
boolean |
isMultiColumn() |
boolean |
isOnToken() |
boolean |
isSlice() |
java.lang.String |
toString() |
protected static java.nio.ByteBuffer |
validateIndexedValue(ColumnSpecification columnSpec,
java.nio.ByteBuffer value) |
addIndexExpressionTo, appendTo, doMergeWith, isIN, isSupportedBygetColumnDefs, getFirstColumn, getLastColumn, hasSupportingIndex, mergeWithprotected final java.util.List<Term> values
public InWithValues(ColumnDefinition columnDef, java.util.List<Term> values)
public java.lang.Iterable<Function> getFunctions()
Restrictionprotected java.util.List<java.nio.ByteBuffer> getValues(QueryOptions options) throws InvalidRequestException
getValues in class SingleColumnRestriction.INInvalidRequestExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isOnToken()
isOnToken in interface Restrictionpublic boolean isMultiColumn()
isMultiColumn in interface Restrictionpublic boolean isSlice()
isSlice in interface Restrictionpublic boolean isEQ()
isEQ in interface Restrictionpublic boolean isContains()
isContains in interface Restrictionpublic boolean hasBound(Bound b)
RestrictionhasBound in interface Restrictionb - the bound typetrue if the specified bound is set, false otherwisepublic CompositesBuilder appendBoundTo(CompositesBuilder builder, Bound bound, QueryOptions options)
RestrictionRestriction for the specified bound to the specified builder.appendBoundTo in interface Restrictionbuilder - the CompositesBuilder to append to.bound - the boundoptions - the query optionsCompositesBuilderpublic boolean isInclusive(Bound b)
RestrictionisInclusive in interface Restrictionb - the bound typetrue if the specified bound is inclusive, false otherwiseprotected static java.nio.ByteBuffer validateIndexedValue(ColumnSpecification columnSpec, java.nio.ByteBuffer value) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2015 The Apache Software Foundation