public class FixedWidthReadOptions extends ReadOptions
Modifier and Type | Class | Description |
---|---|---|
static class |
FixedWidthReadOptions.Builder |
ReadOptions.ColumnTypeReadOptions
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
Modifier and Type | Method | Description |
---|---|---|
static FixedWidthReadOptions.Builder |
builder(File file) |
|
static FixedWidthReadOptions.Builder |
builder(InputStream stream) |
This method may cause tablesaw to buffer the entire InputStream.
|
static FixedWidthReadOptions.Builder |
builder(Reader reader) |
This method may cause tablesaw to buffer the entire InputStream.
|
static FixedWidthReadOptions.Builder |
builder(String fileName) |
|
static FixedWidthReadOptions.Builder |
builder(Source source) |
|
com.univocity.parsers.fixed.FixedWidthFields |
columnSpecs() |
|
ColumnType[] |
columnTypes() |
|
String |
lineEnding() |
|
char |
lookupWildcard() |
|
Integer |
maxNumberOfColumns() |
|
char |
padding() |
|
boolean |
recordEndsOnNewline() |
|
boolean |
skipInvalidRows() |
|
boolean |
skipTrailingCharsUntilNewline() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowDuplicateColumnNames, columnTypeReadOptions, columnTypesToDetect, dateFormatter, dateTimeFormatter, header, ignoreZeroDecimal, locale, minimizeColumnSizes, missingValueIndicators, sample, skipRowsWithInvalidColumnCount, source, tableName, timeFormatter
public static FixedWidthReadOptions.Builder builder(Source source)
public static FixedWidthReadOptions.Builder builder(File file)
public static FixedWidthReadOptions.Builder builder(String fileName)
public static FixedWidthReadOptions.Builder builder(InputStream stream)
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
public static FixedWidthReadOptions.Builder builder(Reader reader)
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
public ColumnType[] columnTypes()
public com.univocity.parsers.fixed.FixedWidthFields columnSpecs()
public String lineEnding()
public char padding()
public char lookupWildcard()
public boolean skipTrailingCharsUntilNewline()
public boolean recordEndsOnNewline()
public boolean skipInvalidRows()
public Integer maxNumberOfColumns()
Copyright © 2021. All rights reserved.