Modifier and Type | Method | Description |
---|---|---|
abstract ColumnType |
AggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
AnyIntAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
BooleanAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
BooleanDoubleAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
BooleanIntAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
DateAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
DateTimeAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
InstantAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
NumericAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
StringAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
StringFunction.returnType() |
Deprecated.
Returns the
ColumnType to be used for the values returned by this function |
ColumnType |
TimeAggregateFunction.returnType() |
Returns the
ColumnType to be used for the values returned by this function |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
AggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
AnyIntAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
BooleanAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
BooleanDoubleAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
BooleanIntAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
DateAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
DateTimeAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
InstantAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
NumericAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
StringAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
boolean |
StringFunction.isCompatibleColumn(ColumnType type) |
Deprecated.
Returns true if the given
ColumnType is compatible with this function |
boolean |
TimeAggregateFunction.isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
Modifier and Type | Field | Description |
---|---|---|
static Map<String,ColumnType> |
ColumnType.values |
Modifier and Type | Method | Description |
---|---|---|
ColumnType |
Row.getColumnType(int columnIndex) |
|
ColumnType |
Row.getColumnType(String columnName) |
Returns the type of the named column
|
static ColumnType |
ColumnType.valueOf(String name) |
Returns the columnType named by the argument
|
static ColumnType[] |
ColumnType.values() |
Returns an array containing all supported ColumnTypes
|
Modifier and Type | Method | Description |
---|---|---|
static void |
ColumnType.register(ColumnType type) |
Registers the given ColumnType, identifying it as supported
|
Constructor | Description |
---|---|
NumberColumn(ColumnType type,
String name,
AbstractColumnParser<T> parser) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractColumnType |
Defines the type of data held by a
Column |
class |
SkipColumnType |
A special
ColumnType that can be used in a ColumnType[] for table
imports to instruct the system to skip (i.e. |
Modifier and Type | Method | Description |
---|---|---|
ColumnType |
AbstractColumnParser.columnType() |
|
ColumnType |
AbstractColumn.type() |
Returns this column's ColumnType
|
ColumnType |
Column.type() |
Returns this column's ColumnType
|
Constructor | Description |
---|---|
AbstractColumn(ColumnType type,
String name,
AbstractColumnParser<T> parser) |
Constructs a column with the given
ColumnType , name, and AbstractColumnParser |
AbstractColumnParser(ColumnType columnType) |
Modifier and Type | Class | Description |
---|---|---|
class |
BooleanColumnType |
Constructor | Description |
---|---|
BooleanParser(ColumnType columnType) |
Modifier and Type | Class | Description |
---|---|---|
class |
DateColumnType |
Constructor | Description |
---|---|
DateParser(ColumnType type) |
|
DateParser(ColumnType type,
ReadOptions readOptions) |
Modifier and Type | Class | Description |
---|---|---|
class |
DateTimeColumnType |
Constructor | Description |
---|---|
DateTimeParser(ColumnType columnType) |
Modifier and Type | Class | Description |
---|---|---|
class |
InstantColumnType |
Constructor | Description |
---|---|
InstantParser(ColumnType columnType) |
Modifier and Type | Class | Description |
---|---|---|
class |
DoubleColumnType |
The
ColumnType for DoubleColumn |
class |
FloatColumnType |
The
ColumnType for FloatColumn |
class |
IntColumnType |
The
ColumnType for IntColumn |
class |
LongColumnType |
The
ColumnType for LongColumn |
class |
ShortColumnType |
Modifier and Type | Method | Description |
---|---|---|
void |
NumberColumnFormatter.setColumnType(ColumnType columnType) |
Constructor | Description |
---|---|
DoubleParser(ColumnType columnType) |
|
FloatParser(ColumnType columnType) |
|
IntParser(ColumnType columnType) |
|
LongParser(ColumnType columnType) |
Modifier and Type | Class | Description |
---|---|---|
class |
StringColumnType |
|
class |
TextColumnType |
A ColumnType for columns that holds String values.
|
Constructor | Description |
---|---|
AbstractStringColumn(ColumnType type,
String name,
AbstractColumnParser<String> parser) |
Constructs a column of the given ColumnType, name, and parser
|
StringParser(ColumnType columnType) |
|
StringParser(ColumnType columnType,
ReadOptions readOptions) |
Modifier and Type | Class | Description |
---|---|---|
class |
TimeColumnType |
Constructor | Description |
---|---|
TimeParser(ColumnType columnType) |
|
TimeParser(ColumnType columnType,
ReadOptions readOptions) |
Modifier and Type | Field | Description |
---|---|---|
protected ColumnType[] |
ReadOptions.Builder.columnTypes |
Modifier and Type | Field | Description |
---|---|---|
protected Function<String,Optional<ColumnType>> |
ReadOptions.Builder.columnTypeFunction |
|
protected Map<String,ColumnType> |
ReadOptions.Builder.columnTypeMap |
|
protected List<ColumnType> |
ReadOptions.Builder.columnTypesToDetect |
|
protected List<ColumnType> |
ReadOptions.columnTypesToDetect |
|
protected Function<String,ColumnType> |
ReadOptions.Builder.completeColumnTypeFunction |
|
protected static List<ColumnType> |
ReadOptions.EXTENDED_TYPES |
An extended list of types that are used if minimizeColumnSizes is true.
|
Modifier and Type | Method | Description |
---|---|---|
default ColumnType[] |
ReadOptions.ColumnTypeReadOptions.columnTypes() |
|
ColumnType[] |
ColumnTypeDetector.detectColumnTypes(Iterator<String[]> rows,
ReadOptions options) |
Estimates and returns the type for each column in the input text
|
ColumnType[] |
FileReader.getColumnTypes(Reader reader,
ReadOptions options,
int linesToSkip,
com.univocity.parsers.common.AbstractParser<?> parser) |
|
ColumnType[] |
FileReader.getColumnTypes(Reader reader,
ReadOptions options,
int linesToSkip,
com.univocity.parsers.common.AbstractParser<?> parser,
String[] columnNames) |
Returns an array containing the inferred columnTypes for the file being read, as calculated by
the ColumnType inference logic.
|
Modifier and Type | Method | Description |
---|---|---|
Optional<ColumnType> |
ReadOptions.ColumnTypeReadOptions.columnType(int columnNumber,
String columnName) |
|
List<ColumnType> |
ReadOptions.columnTypesToDetect() |
Modifier and Type | Method | Description |
---|---|---|
ReadOptions.Builder |
ReadOptions.Builder.columnTypes(ColumnType[] columnTypes) |
Provide column types for all columns skipping autodetect column type logic.
|
static ReadOptions.ColumnTypeReadOptions |
ReadOptions.ColumnTypeReadOptions.of(ColumnType[] allColumnTypes) |
Modifier and Type | Method | Description |
---|---|---|
ReadOptions.Builder |
ReadOptions.Builder.columnTypes(Function<String,ColumnType> columnTypeFunction) |
Provide a function that determines ColumnType for all column names.
|
ReadOptions.Builder |
ReadOptions.Builder.columnTypesPartial(Function<String,Optional<ColumnType>> columnTypeFunction) |
Provide a function that determines ColumnType for some column names.
|
ReadOptions.Builder |
ReadOptions.Builder.columnTypesPartial(Map<String,ColumnType> columnTypeByName) |
Provide a map that determines ColumnType for given column names.
|
ReadOptions.Builder |
ReadOptions.Builder.columnTypesToDetect(List<ColumnType> columnTypesToDetect) |
Constructor | Description |
---|---|
ColumnTypeDetector(List<ColumnType> typeArray) |
Modifier and Type | Method | Description |
---|---|---|
ColumnType[] |
CsvReadOptions.columnTypes() |
|
protected ColumnType[] |
CsvReader.detectColumnTypes(Reader reader,
CsvReadOptions options) |
Estimates and returns the type for each column in the delimited text file
file |
Modifier and Type | Method | Description |
---|---|---|
CsvReadOptions.Builder |
CsvReadOptions.Builder.columnTypes(ColumnType[] columnTypes) |
Modifier and Type | Method | Description |
---|---|---|
CsvReadOptions.Builder |
CsvReadOptions.Builder.columnTypes(Function<String,ColumnType> columnTypeFunction) |
|
CsvReadOptions.Builder |
CsvReadOptions.Builder.columnTypesPartial(Function<String,Optional<ColumnType>> columnTypeFunction) |
|
CsvReadOptions.Builder |
CsvReadOptions.Builder.columnTypesPartial(Map<String,ColumnType> columnTypeByName) |
|
CsvReadOptions.Builder |
CsvReadOptions.Builder.columnTypesToDetect(List<ColumnType> columnTypesToDetect) |
Modifier and Type | Method | Description |
---|---|---|
ColumnType[] |
FixedWidthReadOptions.columnTypes() |
|
ColumnType[] |
FixedWidthReader.detectColumnTypes(Reader reader,
FixedWidthReadOptions options) |
Estimates and returns the type for each column in the delimited text file
file |
Modifier and Type | Method | Description |
---|---|---|
FixedWidthReadOptions.Builder |
FixedWidthReadOptions.Builder.columnTypes(ColumnType[] columnTypes) |
Modifier and Type | Method | Description |
---|---|---|
FixedWidthReadOptions.Builder |
FixedWidthReadOptions.Builder.columnTypes(Function<String,ColumnType> columnTypeFunction) |
|
FixedWidthReadOptions.Builder |
FixedWidthReadOptions.Builder.columnTypesPartial(Function<String,Optional<ColumnType>> columnTypeFunction) |
|
FixedWidthReadOptions.Builder |
FixedWidthReadOptions.Builder.columnTypesPartial(Map<String,ColumnType> columnTypeByName) |
Modifier and Type | Method | Description |
---|---|---|
protected static ColumnType |
SqlResultSetReader.getColumnType(int columnType,
int scale,
int precision) |
Modifier and Type | Method | Description |
---|---|---|
static void |
SqlResultSetReader.mapJdbcTypeToColumnType(Integer jdbc,
ColumnType columnType) |
Change or add a mapping between the given Jdbc type and column type.
|
Modifier and Type | Method | Description |
---|---|---|
ColumnType[] |
Relation.columnTypes() |
Deprecated.
for API name consistency. Use
Relation.typeArray() instead. |
ColumnType[] |
Relation.typeArray() |
Returns an array of the column types of all columns in the relation, including duplicates as
appropriate, and maintaining order
|
Modifier and Type | Method | Description |
---|---|---|
List<ColumnType> |
Relation.types() |
Returns a List of the column types of all columns in the relation, including duplicates as
appropriate, and maintaining order
|
Modifier and Type | Method | Description |
---|---|---|
List<Column<?>> |
Relation.columnsOfType(ColumnType type) |
Returns a list containing all the columns of the given type in this Relation
|
Copyright © 2022. All rights reserved.