Class ReadOptions

java.lang.Object
tech.tablesaw.io.ReadOptions
Direct Known Subclasses:
CsvReadOptions, FixedWidthReadOptions, HtmlReadOptions, JsonReadOptions, XlsxReadOptions

public class ReadOptions extends Object
  • 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

      protected static final List<ColumnType> 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

      protected final Source source
    • tableName

      protected final String tableName
    • columnTypesToDetect

      protected final List<ColumnType> columnTypesToDetect
    • sample

      protected final boolean sample
    • dateFormat

      protected final String dateFormat
    • dateTimeFormat

      protected final String dateTimeFormat
    • timeFormat

      protected final String timeFormat
    • locale

      protected final Locale locale
    • missingValueIndicators

      protected final String[] 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

      protected final DateTimeFormatter dateFormatter
    • dateTimeFormatter

      protected final DateTimeFormatter dateTimeFormatter
    • timeFormatter

      protected final DateTimeFormatter timeFormatter
    • columnTypeReadOptions

      protected final ReadOptions.ColumnTypeReadOptions columnTypeReadOptions
  • Constructor Details

  • Method Details

    • source

      public Source source()
    • tableName

      public String tableName()
    • allowDuplicateColumnNames

      public boolean allowDuplicateColumnNames()
    • columnTypesToDetect

      public List<ColumnType> columnTypesToDetect()
    • sample

      public boolean sample()
    • minimizeColumnSizes

      public boolean minimizeColumnSizes()
    • missingValueIndicators

      public String[] missingValueIndicators()
    • locale

      public Locale locale()
    • header

      public boolean header()
    • ignoreZeroDecimal

      public boolean ignoreZeroDecimal()
    • skipRowsWithInvalidColumnCount

      public boolean skipRowsWithInvalidColumnCount()
    • dateTimeFormatter

      public DateTimeFormatter dateTimeFormatter()
    • timeFormatter

      public DateTimeFormatter timeFormatter()
    • dateFormatter

      public DateTimeFormatter dateFormatter()
    • columnTypeReadOptions

      public ReadOptions.ColumnTypeReadOptions columnTypeReadOptions()