Class AbstractRelDataTypeHolder

java.lang.Object
org.apache.drill.exec.planner.types.AbstractRelDataTypeHolder
Direct Known Subclasses:
RelDataTypeHolder

public abstract class AbstractRelDataTypeHolder extends Object
Base class-holder for the list of RelDataTypeFields.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final List<org.apache.calcite.rel.type.RelDataTypeField>
     
    protected org.apache.calcite.rel.type.RelDataTypeFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractRelDataTypeHolder(List<org.apache.calcite.rel.type.RelDataTypeField> fields)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.apache.calcite.rel.type.RelDataTypeField
    getField(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, String fieldName)
    Returns RelDataTypeField field with specified name.
    int
    Returns count of RelDataTypeField fields in this holder.
    List<org.apache.calcite.rel.type.RelDataTypeField>
    getFieldList(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
    Returns list with all RelDataTypeField fields in this holder.
    Returns list with names of RelDataTypeField fields.
    void
    setRelDataTypeFactory(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
     

    Methods inherited from class java.lang.Object

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

    • fields

      protected final List<org.apache.calcite.rel.type.RelDataTypeField> fields
    • typeFactory

      protected org.apache.calcite.rel.type.RelDataTypeFactory typeFactory
  • Constructor Details

    • AbstractRelDataTypeHolder

      public AbstractRelDataTypeHolder(List<org.apache.calcite.rel.type.RelDataTypeField> fields)
  • Method Details

    • getField

      public abstract org.apache.calcite.rel.type.RelDataTypeField getField(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, String fieldName)
      Returns RelDataTypeField field with specified name.
    • getFieldList

      public List<org.apache.calcite.rel.type.RelDataTypeField> getFieldList(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
      Returns list with all RelDataTypeField fields in this holder.
    • getFieldCount

      public int getFieldCount()
      Returns count of RelDataTypeField fields in this holder.
    • getFieldNames

      public List<String> getFieldNames()
      Returns list with names of RelDataTypeField fields.
    • setRelDataTypeFactory

      public void setRelDataTypeFactory(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)