Class RowRecogPreviousStrategyImpl
java.lang.Object
com.espertech.esper.common.internal.epl.rowrecog.core.RowRecogPreviousStrategyImpl
- All Implemented Interfaces:
RowRecogPreviousStrategy
Getter that provides an index at runtime.
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.rowrecog.core.RowRecogPreviousStrategy
EPTYPE
-
Constructor Summary
ConstructorDescriptionRowRecogPreviousStrategyImpl
(int[] randomAccessIndexesRequested, boolean isUnbound) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetAccess
(ExprEvaluatorContext exprEvaluatorContext) Returns the index for access.int[]
Returns indexs.int
Returns length of indexes.int
Returns max index.boolean
Returns true for unbound.void
setRandomAccess
(RowRecogStateRandomAccess randomAccess) Sets the random access.
-
Constructor Details
-
RowRecogPreviousStrategyImpl
public RowRecogPreviousStrategyImpl(int[] randomAccessIndexesRequested, boolean isUnbound) Ctor.- Parameters:
randomAccessIndexesRequested
- requested indexesisUnbound
- true if unbound
-
-
Method Details
-
getAccess
- Specified by:
getAccess
in interfaceRowRecogPreviousStrategy
-
getMaxPriorIndex
public int getMaxPriorIndex()Returns max index.- Returns:
- index
-
getIndexesRequested
public int[] getIndexesRequested()Returns indexs.- Returns:
- indexes.
-
getIndexesRequestedLen
public int getIndexesRequestedLen()Returns length of indexes.- Returns:
- index len
-
isUnbound
public boolean isUnbound()Returns true for unbound.- Returns:
- unbound indicator
-
getAccessor
Returns the index for access.- Returns:
- index
-
setRandomAccess
Sets the random access.- Parameters:
randomAccess
- to use
-