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
public static class Tuples.Raw extends AbstractMarker.MultiColumnRaw
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 Constructor Description Raw(int bindIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractType<?>getExactTypeIfKnown(java.lang.String keyspace)The type of thetermif it can be infered.AbstractMarkerprepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers)-
Methods inherited from class org.apache.cassandra.cql3.AbstractMarker.MultiColumnRaw
getText, prepare, testAssignment
-
-
-
-
Method Detail
-
getExactTypeIfKnown
public AbstractType<?> getExactTypeIfKnown(java.lang.String keyspace)
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 inferable 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(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers) throws InvalidRequestException
- Specified by:
preparein classTerm.MultiColumnRaw- Throws:
InvalidRequestException
-
-