Package | Description |
---|---|
org.apache.cassandra.cql3.functions.types |
Contains pieces of the Java Driver that are needed to handle data types
in C* User-Defined-Functions/Aggregates.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
TypeCodec.deserialize(java.nio.ByteBuffer bytes,
ProtocolVersion protocolVersion)
Deserialize the given
ByteBuffer instance according to the CQL type handled by this
codec. |
abstract java.lang.String |
TypeCodec.format(T value)
Format the given value as a valid CQL literal according to the CQL type handled by this codec.
|
abstract T |
TypeCodec.parse(java.lang.String value)
Parse the given CQL literal into an instance of the Java type handled by this codec.
|
abstract java.nio.ByteBuffer |
TypeCodec.serialize(T value,
ProtocolVersion protocolVersion)
Serialize the given value according to the CQL type handled by this codec.
|
Copyright © 2009-2022 The Apache Software Foundation