|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Term
A CQL3 term, i.e. a column value with or without bind variables. A Term can be either terminal or non terminal. A term object is one that is typed and is obtained from a raw term (Term.Raw) by poviding the actual receiver to which the term is supposed to be a value of.
| Nested Class Summary | |
|---|---|
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, i.e. |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||