|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColumnNameBuilder
Build a potentially composite column name.
| Method Summary | |
|---|---|
ColumnNameBuilder |
add(java.nio.ByteBuffer bb)
Add a new ByteBuffer as the next component for this name. |
ColumnNameBuilder |
add(Term t,
Relation.Type op,
java.util.List<java.nio.ByteBuffer> variables)
Add a new Term as the next component for this name. |
java.nio.ByteBuffer |
build()
Build the column name. |
java.nio.ByteBuffer |
buildAsEndOfRange()
Build the column name so that the result sorts at the end of the range represented by this (uncomplete) column name. |
int |
componentCount()
Returns the number of component already added to this builder. |
ColumnNameBuilder |
copy()
Clone this builder. |
int |
remainingCount()
|
| Method Detail |
|---|
ColumnNameBuilder add(java.nio.ByteBuffer bb)
bb - the ByteBuffer to add
java.lang.IllegalStateException - if the builder if full, i.e. if enough component has been added.
ColumnNameBuilder add(Term t,
Relation.Type op,
java.util.List<java.nio.ByteBuffer> variables)
throws InvalidRequestException
t - the Term to addop - the relationship this component should respect.variables - the variables corresponding to prepared markers
java.lang.IllegalStateException - if the builder if full, i.e. if enough component has been added.
InvalidRequestExceptionint componentCount()
int remainingCount()
java.nio.ByteBuffer build()
java.nio.ByteBuffer buildAsEndOfRange()
java.lang.IllegalStateException - if the builder is empty or full.ColumnNameBuilder copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||