public interface Term
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Term.MultiColumnRaw |
static class |
Term.MultiItemTerminal |
static class |
Term.NonTerminal
A non terminal term, i.e.
|
static interface |
Term.Raw
A parsed, non prepared (thus untyped) term.
|
static class |
Term.Terminal
A terminal term, one that can be reduced to a byte buffer directly.
|
| 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.
|
void collectMarkerSpecification(VariableSpecifications boundNames)
boundNames - the variables specification where to collect the
bind variables of this term in.Term.Terminal bind(java.util.List<java.nio.ByteBuffer> values) throws InvalidRequestException
values.
This is obviously a no-op if the term is Terminal.values - the values to bind markers to.InvalidRequestExceptionjava.nio.ByteBuffer bindAndGet(java.util.List<java.nio.ByteBuffer> values)
throws InvalidRequestException
InvalidRequestExceptionboolean containsBindMarker()
Copyright © 2015 The Apache Software Foundation