public class SqlResultSetReader extends Object
| Constructor | Description |
|---|---|
SqlResultSetReader() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
mapJdbcTypeToColumnType(Integer jdbc,
ColumnType columnType) |
Change or add a mapping between the given Jdbc type and column type.
|
static Table |
read(ResultSet resultSet,
String tableName) |
Returns a new table with the given tableName, constructed from the given result set
|
public static void mapJdbcTypeToColumnType(Integer jdbc, ColumnType columnType)
jdbc - an int representing a legal value from java.sql.types;columnType - a tablesaw column typepublic static Table read(ResultSet resultSet, String tableName) throws SQLException
SQLException - if there is a problem detected in the databaseCopyright © 2018. All rights reserved.