public abstract static class Term.Raw extends java.lang.Object implements AssignmentTestable
AssignmentTestable.TestResult
Constructor and Description |
---|
Raw() |
Modifier and Type | Method and Description |
---|---|
abstract AbstractType<?> |
getExactTypeIfKnown(java.lang.String keyspace)
The type of the
term if it can be infered. |
abstract java.lang.String |
getText() |
abstract 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
testAssignment
public abstract Term prepare(java.lang.String keyspace, ColumnSpecification receiver) throws InvalidRequestException
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...InvalidRequestException
public abstract java.lang.String getText()
public abstract AbstractType<?> getExactTypeIfKnown(java.lang.String keyspace)
term
if it can be infered.keyspace
- the keyspace on which the statement containing this term is on.Term
if inferrable, or null
otherwise (for instance, the type isn't inferable for a bind marker. Even for
literals, the exact type is not inferrable since they are valid for many
different types and so this will return null
too).public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2019 The Apache Software Foundation