org.apache.cassandra.cql3
Interface Term.Raw

All Superinterfaces:
AssignementTestable
All Known Implementing Classes:
AbstractMarker.Raw, Constants.Literal, FunctionCall.Raw, Lists.Literal, Maps.Literal, Sets.Literal, TypeCast
Enclosing interface:
Term

public static interface Term.Raw
extends AssignementTestable

A parsed, non prepared (thus untyped) term. This can be one of: - a constant - a collection literal - a function call - a marker


Method Summary
 Term prepare(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 interface org.apache.cassandra.cql3.AssignementTestable
isAssignableTo
 

Method Detail

prepare

Term prepare(ColumnSpecification receiver)
             throws InvalidRequestException
This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.

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


Copyright © 2013 The Apache Software Foundation