Class CsvReadOptions
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class tech.tablesaw.io.ReadOptions
ReadOptions.ColumnTypeReadOptions
-
Field Summary
Fields inherited from class tech.tablesaw.io.ReadOptions
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormat, dateFormatter, dateTimeFormat, dateTimeFormatter, DEFAULT_IGNORE_ZERO_DECIMAL, DEFAULT_SKIP_ROWS_WITH_INVALID_COLUMN_COUNT, EXTENDED_TYPES, header, ignoreZeroDecimal, locale, maxCharsPerColumn, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormat, timeFormatter
-
Method Summary
Modifier and TypeMethodDescriptionstatic CsvReadOptions.Builder
static CsvReadOptions.Builder
builder
(InputStream stream) This method may cause tablesaw to buffer the entire InputStream.static CsvReadOptions.Builder
builder
(InputStreamReader reader) This method may cause tablesaw to buffer the entire InputStream.static CsvReadOptions.Builder
This method may cause tablesaw to buffer the entire InputStream.static CsvReadOptions.Builder
static CsvReadOptions.Builder
static CsvReadOptions.Builder
static CsvReadOptions.Builder
builderFromFile
(String fileName) static CsvReadOptions.Builder
builderFromString
(String contents) static CsvReadOptions.Builder
builderFromUrl
(String url) boolean
int
hashCode()
boolean
int
int
Methods inherited from class tech.tablesaw.io.ReadOptions
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormatter, dateTimeFormatter, header, ignoreZeroDecimal, locale, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormatter
-
Method Details
-
equals
-
hashCode
public int hashCode() -
builder
-
builder
-
builder
-
builder
- Throws:
IOException
-
builderFromFile
-
builderFromString
-
builderFromUrl
- Throws:
IOException
-
builder
This method may cause tablesaw to buffer the entire InputStream.If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a stream, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file
-
builder
This method may cause tablesaw to buffer the entire InputStream.If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file
-
builder
This method may cause tablesaw to buffer the entire InputStream.If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file
-
columnTypes
-
separator
-
quoteChar
-
escapeChar
-
lineEnding
-
lineSeparatorDetectionEnabled
public boolean lineSeparatorDetectionEnabled() -
maxNumberOfColumns
-
commentPrefix
-
maxCharsPerColumn
public int maxCharsPerColumn() -
sampleSize
public int sampleSize()
-