public static final class TokenRestriction.EQRestriction extends TokenRestriction
TokenRestriction.EQRestriction, TokenRestriction.SliceRestriction
columnDefs, metadata
Constructor and Description |
---|
EQRestriction(TableMetadata table,
java.util.List<ColumnMetadata> columnDefs,
Term value) |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionsTo(java.util.List<Function> functions) |
java.util.List<java.nio.ByteBuffer> |
bounds(Bound b,
QueryOptions options) |
protected org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions |
doMergeWith(TokenRestriction otherRestriction)
Merges this restriction with the specified
TokenRestriction . |
boolean |
hasBound(Bound b) |
boolean |
hasContains() |
boolean |
isInclusive(Bound b) |
java.util.List<java.nio.ByteBuffer> |
values(QueryOptions options) |
addRowFilterTo, getColumnDefs, getColumnNamesAsString, getFirstColumn, getLastColumn, getRestrictions, hasIN, hasOnlyEqualityRestrictions, hasSlice, hasSupportingIndex, hasUnrestrictedPartitionKeyComponents, isEmpty, isOnToken, mergeWith, needFiltering, size
public EQRestriction(TableMetadata table, java.util.List<ColumnMetadata> columnDefs, Term value)
public void addFunctionsTo(java.util.List<Function> functions)
protected org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions doMergeWith(TokenRestriction otherRestriction) throws InvalidRequestException
TokenRestriction
TokenRestriction
.doMergeWith
in class TokenRestriction
otherRestriction
- the TokenRestriction
to merge with.InvalidRequestException
public java.util.List<java.nio.ByteBuffer> bounds(Bound b, QueryOptions options) throws InvalidRequestException
InvalidRequestException
public boolean hasBound(Bound b)
public boolean isInclusive(Bound b)
public java.util.List<java.nio.ByteBuffer> values(QueryOptions options) throws InvalidRequestException
InvalidRequestException
public boolean hasContains()
Copyright © 2009-2021 The Apache Software Foundation