public interface ColumnNameBuilder
Modifier and Type | Method and Description |
---|---|
ColumnNameBuilder |
add(java.nio.ByteBuffer bb)
Add a new ByteBuffer 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.
|
java.nio.ByteBuffer |
buildForRelation(Relation.Type op) |
int |
componentCount()
Returns the number of component already added to this builder.
|
ColumnNameBuilder |
copy()
Clone this builder.
|
java.nio.ByteBuffer |
get(int idx) |
java.nio.ByteBuffer |
getComponent(int i)
Returns the ith component added to this builder.
|
int |
getLength()
Returns the total length of the ByteBuffer that will
be returned by build().
|
int |
remainingCount() |
ColumnNameBuilder add(java.nio.ByteBuffer bb)
bb
- the ByteBuffer to addjava.lang.IllegalStateException
- if the builder if full, i.e. if enough component has been added.int componentCount()
int remainingCount()
java.nio.ByteBuffer get(int idx)
java.nio.ByteBuffer build()
java.nio.ByteBuffer buildAsEndOfRange()
java.lang.IllegalStateException
- if the builder is empty or full.java.nio.ByteBuffer buildForRelation(Relation.Type op)
ColumnNameBuilder copy()
java.nio.ByteBuffer getComponent(int i)
i
- the component to returnjava.lang.IllegalArgumentException
- if i >= componentCount().int getLength()
Copyright © 2015 The Apache Software Foundation