Class ColumnType


  • public class ColumnType
    extends java.lang.Object
    Describes a type of column within the tabular file. There are only two types: numeric and text The numeric type should be used for numeric data (float, double, long, int, etc.). In addition, use the numeric type for boolean values, which are stored 1.0 = true, 0.0 = false). The text type should be used for strings and date/time data. Date/time data is saved as ISO8601 strings ("YYYY-MM-DD HH:MM:SS.SSS"). If you need more type complexity, you should use a database.
    • Constructor Detail

      • ColumnType

        public ColumnType​(java.lang.String name,
                          DataType dataType)
    • Method Detail

      • getName

        public final java.lang.String getName()
      • getDataType

        public final DataType getDataType()
      • equals

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

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