CQL3Type.Collection, CQL3Type.Custom, CQL3Type.Native, CQL3Type.Raw, CQL3Type.Tuple, CQL3Type.UserDefined
Constructor and Description |
---|
Collection(CollectionType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
AbstractType<?> |
getType() |
int |
hashCode() |
boolean |
isCollection() |
java.lang.String |
toCQLLiteral(java.nio.ByteBuffer buffer,
ProtocolVersion version)
Generates CQL literal from a binary value of this type.
|
java.lang.String |
toString() |
public Collection(CollectionType type)
public AbstractType<?> getType()
public boolean isCollection()
isCollection
in interface CQL3Type
public java.lang.String toCQLLiteral(java.nio.ByteBuffer buffer, ProtocolVersion version)
CQL3Type
toCQLLiteral
in interface CQL3Type
buffer
- the value to convert to a CQL literal. This value must be
serialized with version
of the native protocol.version
- the native protocol version in which buffer
is encoded.public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 The Apache Software Foundation