Package org.apache.cassandra.cql3
Class Tuples.InValue
- java.lang.Object
-
- org.apache.cassandra.cql3.Term.Terminal
-
- org.apache.cassandra.cql3.Tuples.InValue
-
- All Implemented Interfaces:
Term
- Enclosing class:
- Tuples
public static class Tuples.InValue extends Term.Terminal
A terminal value for a list of IN values that are tuples. For example: "SELECT ... WHERE (a, b, c) IN ?" This is similar to Lists.Value, but allows us to keep components of the tuples in the list separate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.Term
Term.MultiColumnRaw, Term.MultiItemTerminal, Term.NonTerminal, Term.Raw, Term.Terminal
-
-
Constructor Summary
Constructors Constructor Description InValue(java.util.List<java.util.List<java.nio.ByteBuffer>> items)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Tuples.InValue
fromSerialized(java.nio.ByteBuffer value, ListType<T> type)
java.nio.ByteBuffer
get(ProtocolVersion version)
java.util.List<java.util.List<java.nio.ByteBuffer>>
getSplitValues()
-
Methods inherited from class org.apache.cassandra.cql3.Term.Terminal
addFunctionsTo, bind, bindAndGet, collectMarkerSpecification, containsBindMarker, isTerminal
-
-
-
-
Method Detail
-
fromSerialized
public static <T> Tuples.InValue fromSerialized(java.nio.ByteBuffer value, ListType<T> type) throws InvalidRequestException
- Throws:
InvalidRequestException
-
get
public java.nio.ByteBuffer get(ProtocolVersion version)
- Specified by:
get
in classTerm.Terminal
- Returns:
- the serialized value of this terminal.
-
getSplitValues
public java.util.List<java.util.List<java.nio.ByteBuffer>> getSplitValues()
-
-