Package org.apache.cassandra.cql3
Class Tuples.Raw
java.lang.Object
org.apache.cassandra.cql3.Term.Raw
org.apache.cassandra.cql3.Term.MultiColumnRaw
org.apache.cassandra.cql3.AbstractMarker.MultiColumnRaw
org.apache.cassandra.cql3.Tuples.Raw
- All Implemented Interfaces:
AssignmentTestable
- Enclosing class:
- Tuples
A raw placeholder for a tuple of values for different multiple columns, each of which may have a different type.
For example, "SELECT ... WHERE (col1, col2) > ?".
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.AbstractMarker.MultiColumnRaw
bindIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAbstractType<?>getExactTypeIfKnown(String keyspace) The type of thetermif it can be infered.prepare(String keyspace, List<? extends ColumnSpecification> receivers) Methods inherited from class org.apache.cassandra.cql3.AbstractMarker.MultiColumnRaw
getText, prepare, testAssignmentMethods inherited from class org.apache.cassandra.cql3.Term.Raw
equals, getCompatibleTypeIfKnown, hashCode, toString
-
Constructor Details
-
Raw
public Raw(int bindIndex)
-
-
Method Details
-
getExactTypeIfKnown
Description copied from class:Term.RawThe type of thetermif it can be infered.- Specified by:
getExactTypeIfKnownin classTerm.Raw- Parameters:
keyspace- the keyspace on which the statement containing this term is on.- Returns:
- the type of this
Termif inferrable, ornullotherwise (for instance, the type isn't inferrable for a bind marker. Even for literals, the exact type is not inferrable since they are valid for many different types and so this will returnnulltoo).
-
prepare
public AbstractMarker prepare(String keyspace, List<? extends ColumnSpecification> receivers) throws InvalidRequestException - Specified by:
preparein classTerm.MultiColumnRaw- Throws:
InvalidRequestException
-