Class RelDataTypeFieldImpl

    • Field Detail

      • name

        private final java.lang.String name
      • index

        private final int index
    • Constructor Detail

      • RelDataTypeFieldImpl

        public RelDataTypeFieldImpl​(java.lang.String name,
                                    int index,
                                    RelDataType type)
        Creates a RelDataTypeFieldImpl.
    • Method Detail

      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<java.lang.String,​RelDataType>
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Map.Entry<java.lang.String,​RelDataType>
        equals in class java.lang.Object
      • getName

        public java.lang.String getName()
        Description copied from interface: RelDataTypeField
        Gets the name of this field, which is unique within its containing type.
        Specified by:
        getName in interface RelDataTypeField
        field name
      • getIndex

        public int getIndex()
        Description copied from interface: RelDataTypeField
        Gets the ordinal of this field within its containing type.
        Specified by:
        getIndex in interface RelDataTypeField
        0-based ordinal
      • getKey

        public final java.lang.String getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<java.lang.String,​RelDataType>
      • getValue

        public final RelDataType getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<java.lang.String,​RelDataType>
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object