public class JsonReadOptions
extends tech.tablesaw.io.ReadOptions
Modifier and Type | Class | Description |
---|---|---|
static class |
JsonReadOptions.Builder |
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 | Constructor | Description |
---|---|---|
protected |
JsonReadOptions(JsonReadOptions.Builder builder) |
Modifier and Type | Method | Description |
---|---|---|
static JsonReadOptions.Builder |
builder(File file) |
|
static JsonReadOptions.Builder |
builder(InputStream stream) |
This method may cause tablesaw to buffer the entire InputStream.
|
static JsonReadOptions.Builder |
builder(Reader reader) |
This method may cause tablesaw to buffer the entire InputStream.
|
static JsonReadOptions.Builder |
builder(String fileName) |
|
static JsonReadOptions.Builder |
builder(URL url) |
|
static JsonReadOptions.Builder |
builder(tech.tablesaw.io.Source source) |
|
static JsonReadOptions.Builder |
builderFromFile(String fileName) |
|
static JsonReadOptions.Builder |
builderFromString(String contents) |
|
static JsonReadOptions.Builder |
builderFromUrl(String url) |
|
String |
path() |
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
protected JsonReadOptions(JsonReadOptions.Builder builder)
public static JsonReadOptions.Builder builder(tech.tablesaw.io.Source source)
public static JsonReadOptions.Builder builder(File file)
public static JsonReadOptions.Builder builder(String fileName)
public static JsonReadOptions.Builder builder(URL url) throws IOException
IOException
public static JsonReadOptions.Builder builderFromFile(String fileName)
public static JsonReadOptions.Builder builderFromString(String contents)
public static JsonReadOptions.Builder builderFromUrl(String url) throws IOException
IOException
public static JsonReadOptions.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 JsonReadOptions.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 String path()
Copyright © 2022. All rights reserved.