Package org.apache.cassandra.cql3
Class AbstractMarker
java.lang.Object
org.apache.cassandra.cql3.Term.NonTerminal
org.apache.cassandra.cql3.AbstractMarker
- All Implemented Interfaces:
Term
- Direct Known Subclasses:
Constants.Marker,Lists.Marker,Maps.Marker,Sets.Marker,Tuples.InMarker,Tuples.Marker,UserTypes.Marker
A single bind marker.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA raw placeholder for multiple values of the same type for a single column.static classA MultiColumnRaw version of AbstractMarker.Rawstatic classA parsed, but non prepared, bind marker.Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.Term
Term.MultiItemTerminal, Term.NonTerminal, Term.Terminal -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMarker(int bindIndex, ColumnSpecification receiver) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionsTo(List<Function> functions) voidcollectMarkerSpecification(VariableSpecifications boundNames) Collects the column specification for the bind variables in this Term.booleanWhether or not that term contains at least one bind marker.Methods inherited from class org.apache.cassandra.cql3.Term.NonTerminal
bindAndGetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.Term
bind, isTerminal
-
Field Details
-
bindIndex
protected final int bindIndex -
receiver
-
-
Constructor Details
-
AbstractMarker
-
-
Method Details
-
collectMarkerSpecification
Description copied from interface:TermCollects the column specification for the bind variables in this Term. This is obviously a no-op if the term is Terminal.- Parameters:
boundNames- the variables specification where to collect the bind variables of this term in.
-
containsBindMarker
public boolean containsBindMarker()Description copied from interface:TermWhether or not that term contains at least one bind marker. Note that this is slightly different from being or not a NonTerminal, because calls to non pure functions will be NonTerminal (see #5616) even if they don't have bind markers. -
addFunctionsTo
-