Package tech.tablesaw.columns.numbers
Class LongColumnType
- java.lang.Object
-
- tech.tablesaw.columns.AbstractColumnType
-
- tech.tablesaw.columns.numbers.LongColumnType
-
- All Implemented Interfaces:
ColumnType
public class LongColumnType extends AbstractColumnType
TheColumnTypeforLongColumn
-
-
Field Summary
Fields Modifier and Type Field Description static LongParserDEFAULT_PARSERThe default parser for LongColumn-
Fields inherited from interface tech.tablesaw.api.ColumnType
BOOLEAN, DOUBLE, FLOAT, INSTANT, INTEGER, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, LONG, SHORT, SKIP, STRING, values
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongColumncreate(String name)Returns a column of this type with the given nameLongParsercustomParser(ReadOptions options)TODO: Research this method to provide a good commentLongParserdefaultParser()Returns the default parser used to convert strings to long valuesstatic LongColumnTypeinstance()Returns the singleton instance of LongColumnTypestatic longmissingValueIndicator()Returns the missing value indicator for this column type NOTE:static booleanvalueIsMissing(long value)Returns true if the given value is the missing value indicator for this column type-
Methods inherited from class tech.tablesaw.columns.AbstractColumnType
byteSize, equals, getPrinterFriendlyName, hashCode, name, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tech.tablesaw.api.ColumnType
compare
-
-
-
-
Field Detail
-
DEFAULT_PARSER
public static final LongParser DEFAULT_PARSER
The default parser for LongColumn
-
-
Method Detail
-
instance
public static LongColumnType instance()
Returns the singleton instance of LongColumnType
-
create
public LongColumn create(String name)
Returns a column of this type with the given name
-
defaultParser
public LongParser defaultParser()
Returns the default parser used to convert strings to long values
-
customParser
public LongParser customParser(ReadOptions options)
TODO: Research this method to provide a good comment
-
valueIsMissing
public static boolean valueIsMissing(long value)
Returns true if the given value is the missing value indicator for this column type
-
missingValueIndicator
public static long missingValueIndicator()
Returns the missing value indicator for this column type NOTE:
-
-