AbstractColumnType
, BooleanColumnType
, DateColumnType
, DateTimeColumnType
, DoubleColumnType
, FloatColumnType
, InstantColumnType
, IntColumnType
, LongColumnType
, ShortColumnType
, SkipColumnType
, StringColumnType
, TextColumnType
, TimeColumnType
public interface ColumnType
Modifier and Type | Field | Description |
---|---|---|
static BooleanColumnType |
BOOLEAN |
|
static DoubleColumnType |
DOUBLE |
|
static FloatColumnType |
FLOAT |
|
static InstantColumnType |
INSTANT |
|
static IntColumnType |
INTEGER |
|
static DateColumnType |
LOCAL_DATE |
|
static DateTimeColumnType |
LOCAL_DATE_TIME |
|
static TimeColumnType |
LOCAL_TIME |
|
static LongColumnType |
LONG |
|
static ShortColumnType |
SHORT |
|
static SkipColumnType |
SKIP |
|
static StringColumnType |
STRING |
|
static TextColumnType |
TEXT |
|
static Map<String,ColumnType> |
values |
Modifier and Type | Method | Description |
---|---|---|
int |
byteSize() |
Returns the size in bytes of a single element held in columns of this type
|
default boolean |
compare(int col1Row,
Column<?> col1,
int col2Row,
Column<?> col2) |
Returns true if the value at the specified index in column1 is equal to the value at the
specified index in column 2
|
default boolean |
compare(int rowNumber,
Column<?> temp,
Column<?> original) |
TODO: Research this method to provide a good comment
|
Column<?> |
create(String name) |
Returns a column of this type with the given name
|
AbstractColumnParser<?> |
customParser(ReadOptions options) |
TODO: Research this method to provide a good comment
|
String |
getPrinterFriendlyName() |
Returns a printer-friendly version of this ColumnType's name
|
String |
name() |
Returns the name of this ColumnType
|
static void |
register(ColumnType type) |
Registers the given ColumnType, identifying it as supported
|
static ColumnType |
valueOf(String name) |
Returns the columnType named by the argument
|
static ColumnType[] |
values() |
Returns an array containing all supported ColumnTypes
|
static final Map<String,ColumnType> values
static final ShortColumnType SHORT
static final IntColumnType INTEGER
static final LongColumnType LONG
static final FloatColumnType FLOAT
static final BooleanColumnType BOOLEAN
static final StringColumnType STRING
static final DoubleColumnType DOUBLE
static final DateColumnType LOCAL_DATE
static final TimeColumnType LOCAL_TIME
static final DateTimeColumnType LOCAL_DATE_TIME
static final InstantColumnType INSTANT
static final TextColumnType TEXT
static final SkipColumnType SKIP
static void register(ColumnType type)
static ColumnType[] values()
static ColumnType valueOf(String name)
name
- a valid column type nameString name()
int byteSize()
String getPrinterFriendlyName()
AbstractColumnParser<?> customParser(ReadOptions options)
default boolean compare(int rowNumber, Column<?> temp, Column<?> original)
Copyright © 2022. All rights reserved.