public static class Tuples.DelayedValue extends Term.NonTerminal
Term.MultiColumnRaw, Term.MultiItemTerminal, Term.NonTerminal, Term.Raw, Term.Terminal
Modifier and Type | Field and Description |
---|---|
java.util.List<Term> |
elements |
TupleType |
type |
Constructor and Description |
---|
Tuples.DelayedValue(TupleType type,
java.util.List<Term> elements) |
Modifier and Type | Method and Description |
---|---|
Tuples.Value |
bind(QueryOptions options)
Bind the values in this term to the values contained in
values . |
java.nio.ByteBuffer |
bindAndGet(QueryOptions options)
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.
|
java.lang.String |
toString() |
public boolean containsBindMarker()
Term
public void collectMarkerSpecification(VariableSpecifications boundNames)
Term
boundNames
- the variables specification where to collect the
bind variables of this term in.public Tuples.Value bind(QueryOptions options) throws InvalidRequestException
Term
values
.
This is obviously a no-op if the term is Terminal.options
- the values to bind markers to.InvalidRequestException
public java.nio.ByteBuffer bindAndGet(QueryOptions options) throws InvalidRequestException
Term
bindAndGet
in interface Term
bindAndGet
in class Term.NonTerminal
InvalidRequestException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 The Apache Software Foundation