public class DatabaseResultSetHelper extends Object
| Constructor and Description |
|---|
DatabaseResultSetHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
print(ResultSet resultSet,
boolean limited)
Prints the provided ResultSet to the
ResultSetMonospacedWriter writer. |
static String |
toJson(ResultSet resultSet,
boolean limited)
Prints the provided ResultSet to the
ResultSetJsonWriter writer. |
public static String print(ResultSet resultSet, boolean limited) throws SQLException
ResultSetMonospacedWriter writer.resultSet - the result setlimited - the limitedSQLException - the SQL exceptionpublic static String toJson(ResultSet resultSet, boolean limited) throws SQLException
ResultSetJsonWriter writer.resultSet - the result setlimited - the limitedSQLException - the SQL exceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.