org.apache.cassandra.cql3
Class AbstractMarker

java.lang.Object
  extended by org.apache.cassandra.cql3.Term.NonTerminal
      extended by org.apache.cassandra.cql3.AbstractMarker
All Implemented Interfaces:
Term
Direct Known Subclasses:
Constants.Marker, Lists.Marker, Maps.Marker, Sets.Marker

public abstract class AbstractMarker
extends Term.NonTerminal

A single bind marker.


Nested Class Summary
static class AbstractMarker.Raw
          A parsed, but non prepared, bind marker.
 
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.Term
Term.NonTerminal, Term.Terminal
 
Field Summary
protected  int bindIndex
           
protected  ColumnSpecification receiver
           
 
Constructor Summary
protected AbstractMarker(int bindIndex, ColumnSpecification receiver)
           
 
Method Summary
 void collectMarkerSpecification(ColumnSpecification[] boundNames)
          Collects the column specification for the bind variables in this Term.
 
Methods inherited from class org.apache.cassandra.cql3.Term.NonTerminal
bindAndGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cassandra.cql3.Term
bind
 

Field Detail

bindIndex

protected final int bindIndex

receiver

protected final ColumnSpecification receiver
Constructor Detail

AbstractMarker

protected AbstractMarker(int bindIndex,
                         ColumnSpecification receiver)
Method Detail

collectMarkerSpecification

public void collectMarkerSpecification(ColumnSpecification[] boundNames)
Description copied from interface: Term
Collects the column specification for the bind variables in this Term. This is obviously a no-op if the term is Terminal.

Parameters:
boundNames - the list of column specification where to collect the bind variables of this term in.


Copyright © 2013 The Apache Software Foundation