Class RowRecogPreviousStrategyImpl

java.lang.Object
com.espertech.esper.common.internal.epl.rowrecog.core.RowRecogPreviousStrategyImpl
All Implemented Interfaces:
RowRecogPreviousStrategy

public class RowRecogPreviousStrategyImpl extends Object implements RowRecogPreviousStrategy
Getter that provides an index at runtime.
  • Constructor Details

    • RowRecogPreviousStrategyImpl

      public RowRecogPreviousStrategyImpl(int[] randomAccessIndexesRequested, boolean isUnbound)
      Ctor.
      Parameters:
      randomAccessIndexesRequested - requested indexes
      isUnbound - true if unbound
  • Method Details

    • getAccess

      public RowRecogStateRandomAccess getAccess(ExprEvaluatorContext exprEvaluatorContext)
      Specified by:
      getAccess in interface RowRecogPreviousStrategy
    • 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

      public RowRecogStateRandomAccess getAccessor()
      Returns the index for access.
      Returns:
      index
    • setRandomAccess

      public void setRandomAccess(RowRecogStateRandomAccess randomAccess)
      Sets the random access.
      Parameters:
      randomAccess - to use