public abstract static class Selector.Factory
extends java.lang.Object
Selector
instances.Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getColumnName()
Returns the name of the column corresponding to the output value of the selector instances created by
this factory.
|
ColumnSpecification |
getColumnSpecification(CFMetaData cfm)
Returns the column specification corresponding to the output value of the selector instances created by
this factory.
|
java.lang.Iterable<Function> |
getFunctions() |
protected abstract AbstractType<?> |
getReturnType()
Returns the type of the values returned by the selector instances created by this factory.
|
boolean |
isAggregateSelectorFactory()
Checks if this factory creates selectors instances that creates aggregates.
|
boolean |
isTTLSelectorFactory()
Checks if this factory creates
TTL selectors instances. |
boolean |
isWritetimeSelectorFactory()
Checks if this factory creates
writetime selectors instances. |
abstract Selector |
newInstance()
Creates a new
Selector instance. |
public java.lang.Iterable<Function> getFunctions()
public final ColumnSpecification getColumnSpecification(CFMetaData cfm)
cfm
- the column family meta datapublic abstract Selector newInstance() throws InvalidRequestException
Selector
instance.Selector
instanceInvalidRequestException
public boolean isAggregateSelectorFactory()
true
if this factory creates selectors instances that creates aggregates,
false
otherwisepublic boolean isWritetimeSelectorFactory()
writetime
selectors instances.true
if this factory creates writetime
selectors instances,
false
otherwisepublic boolean isTTLSelectorFactory()
TTL
selectors instances.true
if this factory creates TTL
selectors instances,
false
otherwiseprotected abstract java.lang.String getColumnName()
protected abstract AbstractType<?> getReturnType()
Copyright © 2015 The Apache Software Foundation