Class ColumnDescriptor


  • public final class ColumnDescriptor
    extends java.lang.Object
    • Method Detail

      • columnDescriptor

        public static ColumnDescriptor columnDescriptor​(java.lang.String columnName,
                                                        DataType columnType)
        Create a ColumnDescriptor from the name of the column and type
        Parameters:
        columnName - the name of the column
        columnType - the type of data stored in a cell of the column
        Returns:
        the column descriptor
      • getColumnName

        public java.lang.String getColumnName()
      • getColumnType

        public DataType getColumnType()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object