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 . |
isAggregate
public static Selector.Factory newFactory(java.lang.String name, Term term, AbstractType<?> type)
public void addInput(ProtocolVersion protocolVersion, Selection.ResultSetBuilder rs) throws InvalidRequestException
Selector
ResultSetBuilder
.addInput
in class Selector
protocolVersion
- protocol version used for serializationrs
- the ResultSetBuilder
InvalidRequestException
- if a problem occurs while add the input valuepublic java.nio.ByteBuffer getOutput(ProtocolVersion protocolVersion) throws InvalidRequestException
Selector
getOutput
in class Selector
protocolVersion
- protocol version used for serializationInvalidRequestException
- if a problem occurs while computing the output valuepublic AbstractType<?> getType()
Selector
Selector
output type.Copyright © 2017 The Apache Software Foundation