public abstract class Token extends Object implements Comparable<Token>
Constructor and Description |
---|
Token() |
Modifier and Type | Method and Description |
---|---|
abstract DataType |
getType()
Returns the data type of this token's value.
|
abstract Object |
getValue()
Returns the raw value of this token.
|
abstract ByteBuffer |
serialize(ProtocolVersion protocolVersion)
Returns the serialized form of the current token, using the appropriate codec depending on the
partitioner in use and the CQL datatype for the token.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public abstract DataType getType()
public abstract Object getValue()
public abstract ByteBuffer serialize(ProtocolVersion protocolVersion)
protocolVersion
- the protocol version in use.Copyright © 2012–2019. All rights reserved.