public static class Restriction.Slice extends java.lang.Object implements Restriction
Restriction.EQ, Restriction.IN, Restriction.Slice
Constructor and Description |
---|
Restriction.Slice(boolean onToken) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bound(Bound b,
java.util.List<java.nio.ByteBuffer> variables) |
org.apache.cassandra.thrift.IndexOperator |
getIndexOperator(Bound b) |
Relation.Type |
getRelation(Bound eocBound,
Bound inclusiveBound) |
boolean |
hasBound(Bound b) |
boolean |
isEQ() |
boolean |
isIN() |
boolean |
isInclusive(Bound b) |
boolean |
isOnToken() |
boolean |
isSlice() |
void |
setBound(ColumnIdentifier name,
Relation.Type type,
Term t) |
java.lang.String |
toString() |
java.util.List<java.nio.ByteBuffer> |
values(java.util.List<java.nio.ByteBuffer> variables) |
public boolean isSlice()
isSlice
in interface Restriction
public boolean isEQ()
isEQ
in interface Restriction
public boolean isIN()
isIN
in interface Restriction
public java.util.List<java.nio.ByteBuffer> values(java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
values
in interface Restriction
InvalidRequestException
public boolean isOnToken()
isOnToken
in interface Restriction
public boolean hasBound(Bound b)
public java.nio.ByteBuffer bound(Bound b, java.util.List<java.nio.ByteBuffer> variables) throws InvalidRequestException
InvalidRequestException
public boolean isInclusive(Bound b)
public Relation.Type getRelation(Bound eocBound, Bound inclusiveBound)
public org.apache.cassandra.thrift.IndexOperator getIndexOperator(Bound b)
public void setBound(ColumnIdentifier name, Relation.Type type, Term t) throws InvalidRequestException
InvalidRequestException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 The Apache Software Foundation