protected static class ReadOptions.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
dateFormat |
protected String |
dateTimeFormat |
protected boolean |
header |
protected Locale |
locale |
protected boolean |
minimizeColumnSizes |
protected String |
missingValueIndicator |
protected boolean |
sample |
protected Source |
source |
protected String |
tableName |
protected String |
timeFormat |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(File file) |
protected |
Builder(InputStream stream) |
protected |
Builder(Reader reader) |
protected |
Builder(Source source) |
protected |
Builder(URL url) |
Modifier and Type | Method and Description |
---|---|
ReadOptions |
build() |
ReadOptions.Builder |
dateFormat(String dateFormat) |
ReadOptions.Builder |
dateTimeFormat(String dateTimeFormat) |
ReadOptions.Builder |
header(boolean hasHeader) |
ReadOptions.Builder |
locale(Locale locale) |
ReadOptions.Builder |
minimizeColumnSizes(boolean minimize) |
ReadOptions.Builder |
missingValueIndicator(String missingValueIndicator) |
ReadOptions.Builder |
sample(boolean sample) |
ReadOptions.Builder |
tableName(String tableName) |
ReadOptions.Builder |
timeFormat(String timeFormat) |
protected final Source source
protected String tableName
protected boolean sample
protected String dateFormat
protected String timeFormat
protected String dateTimeFormat
protected Locale locale
protected String missingValueIndicator
protected boolean minimizeColumnSizes
protected boolean header
protected Builder()
protected Builder(Source source)
protected Builder(File file)
protected Builder(URL url) throws IOException
IOException
protected Builder(InputStream stream)
protected Builder(Reader reader)
public ReadOptions.Builder tableName(String tableName)
public ReadOptions.Builder dateFormat(String dateFormat)
public ReadOptions.Builder header(boolean hasHeader)
public ReadOptions.Builder timeFormat(String timeFormat)
public ReadOptions.Builder dateTimeFormat(String dateTimeFormat)
public ReadOptions.Builder missingValueIndicator(String missingValueIndicator)
public ReadOptions.Builder sample(boolean sample)
public ReadOptions.Builder locale(Locale locale)
public ReadOptions.Builder minimizeColumnSizes(boolean minimize)
public ReadOptions build()
Copyright © 2019. All rights reserved.