public abstract static class Term.Terminal extends java.lang.Object implements Term
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(ColumnSpecification[] 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(ColumnSpecification[] boundNames)
Term
collectMarkerSpecification
in interface Term
boundNames
- the list of column specification where to collect the
bind variables of this term in.public Term.Terminal bind(java.util.List<java.nio.ByteBuffer> values)
Term
values
.
This is obviously a no-op if the term is Terminal.public boolean containsBindMarker()
Term
containsBindMarker
in interface Term
public abstract java.nio.ByteBuffer get()
public java.nio.ByteBuffer bindAndGet(java.util.List<java.nio.ByteBuffer> values) throws InvalidRequestException
Term
bindAndGet
in interface Term
InvalidRequestException
Copyright © 2013 The Apache Software Foundation