Class DrillValuesRelBase

java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.core.Values
org.apache.drill.exec.planner.common.DrillValuesRelBase
All Implemented Interfaces:
Cloneable, org.apache.calcite.plan.RelOptNode, org.apache.calcite.rel.hint.Hintable, org.apache.calcite.rel.RelNode, DrillRelNode
Direct Known Subclasses:
DrillValuesRel, ValuesPrel

public abstract class DrillValuesRelBase extends org.apache.calcite.rel.core.Values implements DrillRelNode
Base class for logical and physical Values implemented in Drill.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode

    org.apache.calcite.rel.RelNode.Context
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     

    Fields inherited from class org.apache.calcite.rel.core.Values

    hints, IS_EMPTY, IS_EMPTY_J, IS_NOT_EMPTY, tuples

    Fields inherited from class org.apache.calcite.rel.AbstractRelNode

    digest, id, rowType, traitSet
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrillValuesRelBase(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType rowType, List<? extends List<org.apache.calcite.rex.RexLiteral>> tuples, org.apache.calcite.plan.RelTraitSet traits)
     
    DrillValuesRelBase(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType rowType, List<? extends List<org.apache.calcite.rex.RexLiteral>> tuples, org.apache.calcite.plan.RelTraitSet traits, String content)
    This constructor helps to avoid unnecessary tuples parsing into json options during copying or logical to physical values conversion.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.calcite.rel.core.Values

    computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getHints, getTuples, getTuples, isEmpty, isNotEmpty

    Methods inherited from class org.apache.calcite.rel.AbstractRelNode

    accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, copy, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.calcite.rel.hint.Hintable

    attachHints, withHints

    Methods inherited from interface org.apache.calcite.rel.RelNode

    accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput

    Methods inherited from interface org.apache.calcite.plan.RelOptNode

    getCluster, getDescription, getId, getTraitSet
  • Field Details

    • content

      protected final String content
  • Constructor Details

    • DrillValuesRelBase

      public DrillValuesRelBase(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType rowType, List<? extends List<org.apache.calcite.rex.RexLiteral>> tuples, org.apache.calcite.plan.RelTraitSet traits)
    • DrillValuesRelBase

      public DrillValuesRelBase(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType rowType, List<? extends List<org.apache.calcite.rex.RexLiteral>> tuples, org.apache.calcite.plan.RelTraitSet traits, String content)
      This constructor helps to avoid unnecessary tuples parsing into json options during copying or logical to physical values conversion.
  • Method Details

    • getContent

      public String getContent()
      Returns:
      values content represented as json string