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)
Term
collectMarkerSpecification
in interface Term
boundNames
- the variables specification where to collect the
bind variables of this term in.public Term.Terminal bind(QueryOptions options)
Term
values
.
This is obviously a no-op if the term is Terminal.public void addFunctionsTo(java.util.List<Function> functions)
addFunctionsTo
in interface Term
public boolean containsBindMarker()
Term
containsBindMarker
in interface Term
public abstract java.nio.ByteBuffer get(int protocolVersion) throws InvalidRequestException
protocolVersion
- InvalidRequestException
public java.nio.ByteBuffer bindAndGet(QueryOptions options) throws InvalidRequestException
Term
bindAndGet
in interface Term
InvalidRequestException
Copyright © 2016 The Apache Software Foundation