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 |
addInput(ProtocolVersion protocolVersion,
Selection.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. |
isAggregatepublic static Selector.Factory newFactory(java.lang.String name, Term term, AbstractType<?> type)
public void addInput(ProtocolVersion protocolVersion, Selection.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 © 2018 The Apache Software Foundation