public interface Term
Modifier and Type | Interface and Description |
---|---|
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(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.
|
void collectMarkerSpecification(ColumnSpecification[] boundNames)
boundNames
- the list of column 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.InvalidRequestException
java.nio.ByteBuffer bindAndGet(java.util.List<java.nio.ByteBuffer> values) throws InvalidRequestException
InvalidRequestException
boolean containsBindMarker()
Copyright © 2013 The Apache Software Foundation