public class TypeCast extends java.lang.Object implements Term.Raw
| Constructor and Description |
|---|
TypeCast(CQL3Type.Raw type,
Term.Raw term) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAssignableTo(java.lang.String keyspace,
ColumnSpecification receiver) |
Term |
prepare(java.lang.String keyspace,
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() |
public TypeCast(CQL3Type.Raw type, Term.Raw term)
public Term prepare(java.lang.String keyspace, ColumnSpecification receiver) throws InvalidRequestException
Term.Rawprepare in interface Term.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...InvalidRequestExceptionpublic boolean isAssignableTo(java.lang.String keyspace,
ColumnSpecification receiver)
throws InvalidRequestException
isAssignableTo in interface AssignementTestableInvalidRequestExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation