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
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 -
Method Summary
Modifier and TypeMethodDescriptionprepare(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, testAssignmentMethods inherited from class org.apache.cassandra.cql3.Term.Raw
equals, getCompatibleTypeIfKnown, hashCode, toString
-
Constructor Details
-
INRaw
public INRaw(int bindIndex)
-
-
Method Details
-
prepare
public Lists.Marker prepare(String keyspace, ColumnSpecification receiver) throws InvalidRequestException Description copied from class:Term.RawThis method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.- Overrides:
preparein classAbstractMarker.Rawreceiver- 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
-