public abstract static class Term.Terminal extends java.lang.Object implements Term
Term.MultiColumnRaw, Term.MultiItemTerminal, Term.NonTerminal, Term.Raw, Term.Terminal| Constructor and Description |
|---|
Terminal() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunctionsTo(java.util.List<Function> functions) |
Term.Terminal |
bind(QueryOptions options)
Bind the values in this term to the values contained in
values. |
java.nio.ByteBuffer |
bindAndGet(QueryOptions options)
A shorter for bind(values).get().
|
void |
collectMarkerSpecification(VariableSpecifications boundNames)
Collects the column specification for the bind variables in this Term.
|
boolean |
containsBindMarker()
Whether or not that term contains at least one bind marker.
|
abstract java.nio.ByteBuffer |
get(int protocolVersion) |
public void collectMarkerSpecification(VariableSpecifications boundNames)
TermcollectMarkerSpecification in interface TermboundNames - the variables specification where to collect the
bind variables of this term in.public Term.Terminal bind(QueryOptions options)
Termvalues.
This is obviously a no-op if the term is Terminal.public void addFunctionsTo(java.util.List<Function> functions)
addFunctionsTo in interface Termpublic boolean containsBindMarker()
TermcontainsBindMarker in interface Termpublic abstract java.nio.ByteBuffer get(int protocolVersion)
throws InvalidRequestException
protocolVersion - InvalidRequestExceptionpublic java.nio.ByteBuffer bindAndGet(QueryOptions options) throws InvalidRequestException
TermbindAndGet in interface TermInvalidRequestExceptionCopyright © 2016 The Apache Software Foundation