Package org.apache.cassandra.cql3
Interface CQL3Type
- All Known Implementing Classes:
CQL3Type.Collection,CQL3Type.Custom,CQL3Type.Native,CQL3Type.Tuple,CQL3Type.UserDefined,CQL3Type.Vector
public interface CQL3Type
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic enumstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault ByteBufferfromCQLLiteral(String literal) Generates a binary value for the CQL literal of this typedefault ByteBufferfromCQLLiteral(String keyspaceName, String literal) Generates a binary value for the CQL literal of this typeAbstractType<?>getType()default booleandefault booleanisUDT()default booleanisVector()toCQLLiteral(ByteBuffer bytes) Generates CQL literal from a binary value of this type.
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
isCollection
default boolean isCollection() -
isUDT
default boolean isUDT() -
isVector
default boolean isVector() -
getType
AbstractType<?> getType() -
toCQLLiteral
Generates CQL literal from a binary value of this type.- Parameters:
bytes- the value to convert to a CQL literal. This value must be serialized withversionof the native protocol.
-
fromCQLLiteral
Generates a binary value for the CQL literal of this type -
fromCQLLiteral
Generates a binary value for the CQL literal of this type
-