public class DataFrameReader extends Object
| Constructor and Description |
|---|
DataFrameReader() |
| Modifier and Type | Method and Description |
|---|---|
Table |
csv(CsvReadOptions.Builder options) |
Table |
csv(CsvReadOptions options) |
Table |
csv(File file) |
Table |
csv(InputStream stream,
String tableName) |
Table |
csv(Reader reader,
String tableName) |
Table |
csv(String file) |
Table |
csv(String contents,
String tableName) |
Table |
db(ResultSet resultSet,
String tableName) |
Table |
fixedWidth(File file) |
Table |
fixedWidth(FixedWidthReadOptions.Builder options) |
Table |
fixedWidth(FixedWidthReadOptions options) |
Table |
fixedWidth(InputStream stream,
String tableName) |
Table |
fixedWidth(Reader reader,
String tableName) |
Table |
fixedWidth(String file) |
Table |
fixedWidth(String contents,
String tableName) |
Table |
html(String url)
Modules that call this method must add the optional dependency tech.tablesaw:tablesaw-html
|
Table |
json(Reader contents,
String tableName)
Modules that call this method must add the optional dependency tech.tablesaw:tablesaw-json
|
Table |
json(String url)
Modules that call this method must add the optional dependency tech.tablesaw:tablesaw-json
|
List<Table> |
xlsx(tech.tablesaw.io.xlsx.XlsxReadOptions.Builder options)
Modules that call this method must add the optional dependency tech.tablesaw:tablesaw-excel
|
List<Table> |
xlsx(tech.tablesaw.io.xlsx.XlsxReadOptions options)
Modules that call this method must add the optional dependency tech.tablesaw:tablesaw-excel
|
public Table csv(String file) throws IOException
IOExceptionpublic Table csv(File file) throws IOException
IOExceptionpublic Table csv(InputStream stream, String tableName) throws IOException
IOExceptionpublic Table csv(Reader reader, String tableName) throws IOException
IOExceptionpublic Table csv(CsvReadOptions.Builder options) throws IOException
IOExceptionpublic Table csv(CsvReadOptions options) throws IOException
IOExceptionpublic Table fixedWidth(String file) throws IOException
IOExceptionpublic Table fixedWidth(File file) throws IOException
IOExceptionpublic Table fixedWidth(InputStream stream, String tableName) throws IOException
IOExceptionpublic Table fixedWidth(Reader reader, String tableName) throws IOException
IOExceptionpublic Table fixedWidth(FixedWidthReadOptions.Builder options) throws IOException
IOExceptionpublic Table fixedWidth(FixedWidthReadOptions options) throws IOException
IOExceptionpublic Table db(ResultSet resultSet, String tableName) throws SQLException
SQLExceptionpublic Table json(String url) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic Table json(Reader contents, String tableName) throws IOException
IOExceptionpublic Table html(String url) throws IOException
IOExceptionpublic List<Table> xlsx(tech.tablesaw.io.xlsx.XlsxReadOptions options) throws IOException
IOExceptionpublic List<Table> xlsx(tech.tablesaw.io.xlsx.XlsxReadOptions.Builder options) throws IOException
IOExceptionCopyright © 2019. All rights reserved.