org.apache.cassandra.cql3
Class AbstractMarker.Raw

java.lang.Object
  extended by org.apache.cassandra.cql3.AbstractMarker.Raw
All Implemented Interfaces:
AssignementTestable, Term.Raw
Enclosing class:
AbstractMarker

public static class AbstractMarker.Raw
extends java.lang.Object
implements Term.Raw

A parsed, but non prepared, bind marker.


Field Summary
protected  int bindIndex
           
 
Constructor Summary
AbstractMarker.Raw(int bindIndex)
           
 
Method Summary
 boolean isAssignableTo(ColumnSpecification receiver)
           
 AbstractMarker prepare(ColumnSpecification receiver)
          This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bindIndex

protected final int bindIndex
Constructor Detail

AbstractMarker.Raw

public AbstractMarker.Raw(int bindIndex)
Method Detail

prepare

public AbstractMarker prepare(ColumnSpecification receiver)
                       throws InvalidRequestException
Description copied from interface: Term.Raw
This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.

Specified by:
prepare in interface Term.Raw
Parameters:
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

isAssignableTo

public boolean isAssignableTo(ColumnSpecification receiver)
Specified by:
isAssignableTo in interface AssignementTestable
Returns:
whether this object can be assigned to the provided receiver

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 The Apache Software Foundation