Package tech.tablesaw.io
Class ReadOptions
java.lang.Object
tech.tablesaw.io.ReadOptions
- Direct Known Subclasses:
CsvReadOptions
,FixedWidthReadOptions
,HtmlReadOptions
,JsonReadOptions
,XlsxReadOptions
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static interface
Allows user to set column types. -
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final ReadOptions.ColumnTypeReadOptions
protected final List<ColumnType>
protected final String
protected final DateTimeFormatter
protected final String
protected final DateTimeFormatter
static final boolean
static final boolean
protected static final List<ColumnType>
An extended list of types that are used if minimizeColumnSizes is true.protected final boolean
protected final boolean
protected final Locale
protected final int
protected final boolean
protected final String[]
protected final boolean
protected final boolean
protected final Source
protected final String
protected final String
protected final DateTimeFormatter
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_IGNORE_ZERO_DECIMAL
public static final boolean DEFAULT_IGNORE_ZERO_DECIMAL- See Also:
-
DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT
public static final boolean DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT- See Also:
-
EXTENDED_TYPES
An extended list of types that are used if minimizeColumnSizes is true. By including extra types like Short the resulting table size is reduced at the cost of some additional complexity for the programmer if, for example, they will subsequently modify the data in a way that exceeds the range of the type. -
source
-
tableName
-
columnTypesToDetect
-
sample
protected final boolean sample -
dateFormat
-
dateTimeFormat
-
timeFormat
-
locale
-
missingValueIndicators
-
minimizeColumnSizes
protected final boolean minimizeColumnSizes -
maxCharsPerColumn
protected final int maxCharsPerColumn -
ignoreZeroDecimal
protected final boolean ignoreZeroDecimal -
allowDuplicateColumnNames
protected final boolean allowDuplicateColumnNames -
skipRowsWithInvalidColumnCount
protected final boolean skipRowsWithInvalidColumnCount -
dateFormatter
-
dateTimeFormatter
-
timeFormatter
-
columnTypeReadOptions
-
header
protected final boolean header
-
-
Constructor Details
-
ReadOptions
-
-
Method Details
-
source
-
tableName
-
allowDuplicateColumnNames
public boolean allowDuplicateColumnNames() -
columnTypesToDetect
-
sample
public boolean sample() -
minimizeColumnSizes
public boolean minimizeColumnSizes() -
missingValueIndicators
-
locale
-
header
public boolean header() -
ignoreZeroDecimal
public boolean ignoreZeroDecimal() -
skipRowsWithInvalidColumnCount
public boolean skipRowsWithInvalidColumnCount() -
dateTimeFormatter
-
timeFormatter
-
dateFormatter
-
columnTypeReadOptions
-