public class TermSelector extends Selector
Note that we know the term does not include function calls for instance (this is actually enforced by the parser), those being dealt with by their own Selector.
Selector.Factory| Modifier and Type | Method and Description |
|---|---|
void |
addFetchedColumns(ColumnFilter.Builder builder)
Add to the provided builder the column (and potential subselections) to fetch for this
selection.
|
void |
addInput(ProtocolVersion protocolVersion,
ResultSetBuilder rs)
Add the current value from the specified
ResultSetBuilder. |
java.nio.ByteBuffer |
getOutput(ProtocolVersion protocolVersion)
Returns the selector output.
|
AbstractType<?> |
getType()
Returns the
Selector output type. |
static Selector.Factory |
newFactory(java.lang.String name,
Term term,
AbstractType<?> type) |
void |
reset()
Reset the internal state of this
Selector. |
public static Selector.Factory newFactory(java.lang.String name, Term term, AbstractType<?> type)
public void addFetchedColumns(ColumnFilter.Builder builder)
SelectoraddFetchedColumns in class Selectorbuilder - the builder to add columns and subselections to.public void addInput(ProtocolVersion protocolVersion, ResultSetBuilder rs) throws InvalidRequestException
SelectorResultSetBuilder.addInput in class SelectorprotocolVersion - protocol version used for serializationrs - the ResultSetBuilderInvalidRequestException - if a problem occurs while add the input valuepublic java.nio.ByteBuffer getOutput(ProtocolVersion protocolVersion) throws InvalidRequestException
SelectorgetOutput in class SelectorprotocolVersion - protocol version used for serializationInvalidRequestException - if a problem occurs while computing the output valuepublic AbstractType<?> getType()
SelectorSelector output type.Copyright © 2009-2022 The Apache Software Foundation