CsvReadOptions
, FixedWidthReadOptions
public class ReadOptions extends Object
Modifier and Type | Class | Description |
---|---|---|
protected static class |
ReadOptions.Builder |
|
static interface |
ReadOptions.ColumnTypeReadOptions |
Allows user to set column types.
|
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
allowDuplicateColumnNames |
|
protected ReadOptions.ColumnTypeReadOptions |
columnTypeReadOptions |
|
protected List<ColumnType> |
columnTypesToDetect |
|
protected String |
dateFormat |
|
protected DateTimeFormatter |
dateFormatter |
|
protected String |
dateTimeFormat |
|
protected DateTimeFormatter |
dateTimeFormatter |
|
static boolean |
DEFAULT_IGNORE_ZERO_DECIMAL |
|
static boolean |
DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT |
|
protected static List<ColumnType> |
EXTENDED_TYPES |
An extended list of types that are used if minimizeColumnSizes is true.
|
protected boolean |
header |
|
protected boolean |
ignoreZeroDecimal |
|
protected Locale |
locale |
|
protected int |
maxCharsPerColumn |
|
protected boolean |
minimizeColumnSizes |
|
protected String[] |
missingValueIndicators |
|
protected boolean |
sample |
|
protected boolean |
skipRowsWithInvalidColumnCount |
|
protected Source |
source |
|
protected String |
tableName |
|
protected String |
timeFormat |
|
protected DateTimeFormatter |
timeFormatter |
Modifier | Constructor | Description |
---|---|---|
protected |
ReadOptions(ReadOptions.Builder builder) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allowDuplicateColumnNames() |
|
ReadOptions.ColumnTypeReadOptions |
columnTypeReadOptions() |
|
List<ColumnType> |
columnTypesToDetect() |
|
DateTimeFormatter |
dateFormatter() |
|
DateTimeFormatter |
dateTimeFormatter() |
|
boolean |
header() |
|
boolean |
ignoreZeroDecimal() |
|
Locale |
locale() |
|
boolean |
minimizeColumnSizes() |
|
String[] |
missingValueIndicators() |
|
boolean |
sample() |
|
boolean |
skipRowsWithInvalidColumnCount() |
|
Source |
source() |
|
String |
tableName() |
|
DateTimeFormatter |
timeFormatter() |
public static final boolean DEFAULT_IGNORE_ZERO_DECIMAL
public static final boolean DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT
protected static final List<ColumnType> EXTENDED_TYPES
protected final Source source
protected final String tableName
protected final List<ColumnType> columnTypesToDetect
protected final boolean sample
protected final String dateFormat
protected final String dateTimeFormat
protected final String timeFormat
protected final Locale locale
protected final String[] missingValueIndicators
protected final boolean minimizeColumnSizes
protected final int maxCharsPerColumn
protected final boolean ignoreZeroDecimal
protected final boolean allowDuplicateColumnNames
protected final boolean skipRowsWithInvalidColumnCount
protected final DateTimeFormatter dateFormatter
protected final DateTimeFormatter dateTimeFormatter
protected final DateTimeFormatter timeFormatter
protected final ReadOptions.ColumnTypeReadOptions columnTypeReadOptions
protected final boolean header
protected ReadOptions(ReadOptions.Builder builder)
public Source source()
public String tableName()
public boolean allowDuplicateColumnNames()
public List<ColumnType> columnTypesToDetect()
public boolean sample()
public boolean minimizeColumnSizes()
public String[] missingValueIndicators()
public Locale locale()
public boolean header()
public boolean ignoreZeroDecimal()
public boolean skipRowsWithInvalidColumnCount()
public DateTimeFormatter dateTimeFormatter()
public DateTimeFormatter timeFormatter()
public DateTimeFormatter dateFormatter()
public ReadOptions.ColumnTypeReadOptions columnTypeReadOptions()
Copyright © 2022. All rights reserved.