Package tech.tablesaw.io
Class ReadOptions
java.lang.Object
tech.tablesaw.io.ReadOptions
- Direct Known Subclasses:
CsvReadOptions,FixedWidthReadOptions,HtmlReadOptions,JsonReadOptions,XlsxReadOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classstatic interfaceAllows user to set column types. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final ReadOptions.ColumnTypeReadOptionsprotected final List<ColumnType>protected final Stringprotected final DateTimeFormatterprotected final Stringprotected final DateTimeFormatterstatic final booleanstatic final booleanprotected static final List<ColumnType>An extended list of types that are used if minimizeColumnSizes is true.protected final booleanprotected final booleanprotected final Localeprotected final intprotected final booleanprotected final String[]protected final booleanprotected final booleanprotected final Sourceprotected final Stringprotected final Stringprotected final DateTimeFormatter -
Constructor Summary
Constructors -
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
-