ColumnType
public class TextColumnType extends AbstractColumnType
It is optimized for situations where the values in the column rarely if ever repeat, so the dictionary encoding performed by StringColumn would be detrimental to memory usage.
See also: StringColumn
Modifier and Type | Field | Description |
---|---|---|
static int |
BYTE_SIZE |
|
static StringParser |
DEFAULT_PARSER |
BOOLEAN, DOUBLE, FLOAT, INSTANT, INTEGER, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, LONG, SHORT, SKIP, STRING, TEXT, values
Modifier and Type | Method | Description |
---|---|---|
TextColumn |
create(String name) |
Returns a column of this type with the given name
|
StringParser |
customParser(ReadOptions options) |
TODO: Research this method to provide a good comment
|
static TextColumnType |
instance() |
|
static String |
missingValueIndicator() |
|
static boolean |
valueIsMissing(String string) |
byteSize, equals, getPrinterFriendlyName, hashCode, name, toString
public static final int BYTE_SIZE
public static final StringParser DEFAULT_PARSER
public static TextColumnType instance()
public static boolean valueIsMissing(String string)
public TextColumn create(String name)
ColumnType
public StringParser customParser(ReadOptions options)
ColumnType
public static String missingValueIndicator()
Copyright © 2022. All rights reserved.