Class MemoryFactory.Memory<E>

java.lang.Object
org.apache.calcite.linq4j.MemoryFactory.Memory<E>
Type Parameters:
E - Row type
Enclosing class:
MemoryFactory<E>

public static class MemoryFactory.Memory<E> extends Object
Contents of a "memory segment", used for implementing the MATCH_RECOGNIZE operator.

Memory maintains a "window" of records preceding and following a record; the records can be browsed using the get() or get(int) methods.

  • Constructor Details

    • Memory

      public Memory(int history, int future, org.apache.calcite.linq4j.ModularInteger offset, @Nullable Object[] values)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • get

      public E get()
    • get

      public E get(int position)