Interface RelDataTypeField

  • All Superinterfaces:
    java.util.Map.Entry<java.lang.String,​RelDataType>
    All Known Implementing Classes:
    RelDataTypeFieldImpl

    public interface RelDataTypeField
    extends java.util.Map.Entry<java.lang.String,​RelDataType>
    RelDataTypeField represents the definition of a field in a structured RelDataType.

    Extends the Map.Entry interface to allow convenient inter-operation with Java collections classes. In any implementation of this interface, Map.Entry.getKey() must be equivalent to getName() and Map.Entry.getValue() must be equivalent to getType().

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getIndex()
      Gets the ordinal of this field within its containing type.
      java.lang.String getName()
      Gets the name of this field, which is unique within its containing type.
      RelDataType getType()
      Gets the type of this field.
      boolean isDynamicStar()
      Returns true if this is a dynamic star field.
      • Methods inherited from interface java.util.Map.Entry

        equals, getKey, getValue, hashCode, setValue
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of this field, which is unique within its containing type.
        Returns:
        field name
      • getIndex

        int getIndex()
        Gets the ordinal of this field within its containing type.
        Returns:
        0-based ordinal
      • getType

        RelDataType getType()
        Gets the type of this field.
        Returns:
        field type
      • isDynamicStar

        boolean isDynamicStar()
        Returns true if this is a dynamic star field.