Class Interpreter

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<java.lang.Object[]>, Enumerable<java.lang.Object[]>, ExtendedEnumerable<java.lang.Object[]>, ExtendedOrderedEnumerable<java.lang.Object[]>, OrderedEnumerable<java.lang.Object[]>, RawEnumerable<java.lang.Object[]>

    public class Interpreter
    extends AbstractEnumerable<java.lang.Object[]>
    implements java.lang.AutoCloseable

    Contains the context for interpreting relational expressions. In particular it holds working state while the data flow graph is being assembled.

    • Constructor Detail

      • Interpreter

        public Interpreter​(DataContext dataContext,
                           RelNode rootRel)
        Creates an Interpreter.
    • Method Detail

      • enumerator

        public Enumerator<java.lang.Object[]> enumerator()
        Description copied from interface: RawEnumerable
        Returns an enumerator that iterates through a collection.
        Specified by:
        enumerator in interface RawEnumerable<java.lang.Object[]>
      • start

        private void start()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable