public static class Tuples.Raw extends AbstractMarker.MultiColumnRaw
For example, "SELECT ... WHERE (col1, col2) > ?".
AssignmentTestable.TestResult
bindIndex
Constructor and Description |
---|
Raw(int bindIndex) |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
getExactTypeIfKnown(java.lang.String keyspace)
The type of the
term if it can be infered. |
AbstractMarker |
prepare(java.lang.String keyspace,
java.util.List<? extends ColumnSpecification> receivers) |
getText, prepare, testAssignment
public AbstractType<?> getExactTypeIfKnown(java.lang.String keyspace)
Term.Raw
term
if it can be infered.getExactTypeIfKnown
in class Term.Raw
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 AbstractMarker prepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers) throws InvalidRequestException
prepare
in class Term.MultiColumnRaw
InvalidRequestException
Copyright © 2017 The Apache Software Foundation