ColumnType
BooleanColumnType
, DateColumnType
, DateTimeColumnType
, DoubleColumnType
, FloatColumnType
, InstantColumnType
, IntColumnType
, LongColumnType
, ShortColumnType
, SkipColumnType
, StringColumnType
, TextColumnType
, TimeColumnType
public abstract class AbstractColumnType extends Object implements ColumnType
Column
BOOLEAN, DOUBLE, FLOAT, INSTANT, INTEGER, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, LONG, SHORT, SKIP, STRING, TEXT, values
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractColumnType(int byteSize,
String name,
String printerFriendlyName) |
Modifier and Type | Method | Description |
---|---|---|
int |
byteSize() |
Returns the size in bytes of a single element held in columns of this type
|
boolean |
equals(Object o) |
|
String |
getPrinterFriendlyName() |
Returns a printer-friendly version of this ColumnType's name
|
int |
hashCode() |
|
String |
name() |
Returns the name of this ColumnType
|
String |
toString() |
compare, compare, create, customParser, register, valueOf, values
public String name()
name
in interface ColumnType
public int byteSize()
byteSize
in interface ColumnType
public String getPrinterFriendlyName()
getPrinterFriendlyName
in interface ColumnType
Copyright © 2022. All rights reserved.