Package org.apache.cassandra.cql3
Class Constants.Value
java.lang.Object
org.apache.cassandra.cql3.Term.Terminal
org.apache.cassandra.cql3.Constants.Value
- All Implemented Interfaces:
Term
- Enclosing class:
- Constants
A constant value, i.e. a ByteBuffer.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.Term
Term.MultiColumnRaw, Term.MultiItemTerminal, Term.NonTerminal, Term.Raw, Term.Terminal -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindAndGet(QueryOptions options) A shorter for bind(values).get().get(ProtocolVersion version) toString()Methods inherited from class org.apache.cassandra.cql3.Term.Terminal
addFunctionsTo, bind, collectMarkerSpecification, containsBindMarker, isTerminal
-
Field Details
-
bytes
-
-
Constructor Details
-
Value
-
-
Method Details
-
get
- Specified by:
getin classTerm.Terminal- Returns:
- the serialized value of this terminal.
-
bindAndGet
Description copied from interface:TermA shorter for bind(values).get(). We expose it mainly because for constants it can avoids allocating a temporary object between the bind and the get (note that we still want to be able to separate bind and get for collections).- Specified by:
bindAndGetin interfaceTerm- Overrides:
bindAndGetin classTerm.Terminal
-
toString
-