Package org.apache.cassandra.cql3
Class AbstractMarker.INRaw
- java.lang.Object
-
- org.apache.cassandra.cql3.Term.Raw
-
- org.apache.cassandra.cql3.AbstractMarker.Raw
-
- org.apache.cassandra.cql3.AbstractMarker.INRaw
-
- All Implemented Interfaces:
AssignmentTestable
- Enclosing class:
- AbstractMarker
public static final class AbstractMarker.INRaw extends AbstractMarker.Raw
A raw placeholder for multiple values of the same type for a single column. For example, "SELECT ... WHERE user_id IN ?'. Because a single type is used, a List is used to represent the values.
-
-
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.Raw
bindIndex
-
-
Constructor Summary
Constructors Constructor Description INRaw(int bindIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lists.Marker
prepare(java.lang.String keyspace, ColumnSpecification receiver)
This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.-
Methods inherited from class org.apache.cassandra.cql3.AbstractMarker.Raw
getExactTypeIfKnown, getText, testAssignment
-
Methods inherited from class org.apache.cassandra.cql3.Term.Raw
equals, getCompatibleTypeIfKnown, hashCode, toString
-
-
-
-
Method Detail
-
prepare
public Lists.Marker prepare(java.lang.String keyspace, ColumnSpecification receiver) throws InvalidRequestException
Description copied from class:Term.Raw
This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.- Overrides:
prepare
in classAbstractMarker.Raw
receiver
- the "column" this RawTerm is supposed to be a value of. Note that the ColumnSpecification may not correspond to a real column in the case this RawTerm describe a list index or a map key, etc...- Returns:
- the prepared term.
- Throws:
InvalidRequestException
-
-