Class ValuesNode

  • All Implemented Interfaces:
    Node

    public class ValuesNode
    extends java.lang.Object
    implements Node
    Interpreter node that implements a Values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int fieldCount  
      private com.google.common.collect.ImmutableList<Row> rows  
      private Sink sink  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private com.google.common.collect.ImmutableList<Row> createRows​(Compiler compiler, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples)  
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sink

        private final Sink sink
      • fieldCount

        private final int fieldCount
      • rows

        private final com.google.common.collect.ImmutableList<Row> rows
    • Constructor Detail

    • Method Detail

      • createRows

        private com.google.common.collect.ImmutableList<Row> createRows​(Compiler compiler,
                                                                        com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples)
      • run

        public void run()
                 throws java.lang.InterruptedException
        Specified by:
        run in interface Node
        Throws:
        java.lang.InterruptedException