Class RankWindowViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.rank.RankWindowViewFactory
- All Implemented Interfaces:
DataWindowViewFactory
,DataWindowViewWithPrevious
,ViewFactory
public class RankWindowViewFactory
extends Object
implements DataWindowViewFactory, DataWindowViewWithPrevious
Factory for rank window views.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Comparator<Object>
protected ExprEvaluator
protected EPType[]
static final EPTypeClass
protected EventType
protected boolean[]
protected DataInputOutputSerde
protected ExprEvaluator
protected ExprEvaluator[]
protected EPType[]
protected DataInputOutputSerde[]
protected boolean
Fields inherited from interface com.espertech.esper.common.internal.view.core.ViewFactory
EMPTY_ARRAY, EPTYPEARRAY, EPTYPEARRAYARRAY, SINGLE_ELEMENT_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean[]
void
init
(ViewFactoryContext viewFactoryContext, EPStatementInitServices services) boolean
makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) void
setCriteriaEval
(ExprEvaluator criteriaEval) void
setCriteriaTypes
(EPType[] criteriaTypes) void
setEventType
(EventType eventType) void
setIsDescendingValues
(boolean[] isDescendingValues) void
setKeySerde
(DataInputOutputSerde keySerde) void
setSize
(ExprEvaluator size) void
setSortCriteriaEvaluators
(ExprEvaluator[] sortCriteriaEvaluators) void
setSortCriteriaTypes
(EPType[] sortCriteriaTypes) void
setSortSerdes
(DataInputOutputSerde[] sortSerdes) void
setUseCollatorSort
(boolean useCollatorSort)
-
Field Details
-
EPTYPE
-
isDescendingValues
protected boolean[] isDescendingValues -
criteriaEval
-
criteriaTypes
-
keySerde
-
sortCriteriaEvaluators
-
sortCriteriaTypes
-
size
-
useCollatorSort
protected boolean useCollatorSort -
sortSerdes
-
eventType
-
comparator
-
-
Constructor Details
-
RankWindowViewFactory
public RankWindowViewFactory()
-
-
Method Details
-
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
init
- Specified by:
init
in interfaceViewFactory
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
makePreviousGetter
- Specified by:
makePreviousGetter
in interfaceDataWindowViewWithPrevious
-
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getIsDescendingValues
public boolean[] getIsDescendingValues() -
getCriteriaEval
-
getSortCriteriaEvaluators
-
isUseCollatorSort
public boolean isUseCollatorSort() -
getSizeEvaluator
-
getComparator
-
setIsDescendingValues
public void setIsDescendingValues(boolean[] isDescendingValues) -
setCriteriaEval
-
setSortCriteriaEvaluators
-
setSortCriteriaTypes
-
setSize
-
setUseCollatorSort
public void setUseCollatorSort(boolean useCollatorSort) -
setCriteriaTypes
-
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-
setKeySerde
-
setSortSerdes
-