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 |
|---|
Term.Terminal() |
| Modifier and Type | Method and Description |
|---|---|
Term.Terminal |
bind(java.util.List<java.nio.ByteBuffer> values)
Bind the values in this term to the values contained in
values. |
java.nio.ByteBuffer |
bindAndGet(java.util.List<java.nio.ByteBuffer> values)
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() |
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(java.util.List<java.nio.ByteBuffer> values)
Termvalues.
This is obviously a no-op if the term is Terminal.public boolean containsBindMarker()
TermcontainsBindMarker in interface Termpublic abstract java.nio.ByteBuffer get()
public java.nio.ByteBuffer bindAndGet(java.util.List<java.nio.ByteBuffer> values)
throws InvalidRequestException
TermbindAndGet in interface TermInvalidRequestExceptionCopyright © 2015 The Apache Software Foundation