public interface RSFormatter
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSOLE_LINES |
static String |
CONSOLE_WIDTH |
| Modifier and Type | Method and Description |
|---|---|
String |
format(ResultSet rs) |
String |
format(ResultSet rs,
int rows) |
int |
format(ResultSet rs,
Writer writer) |
int |
format(ResultSet rs,
Writer writer,
int rows,
String sql,
String tablename) |
int |
format(ResultSet rs,
Writer writer,
int rows,
String sql,
String tablename,
String[] columns) |
String |
header(String sql,
ResultSet rs) |
String |
header(String sql,
ResultSet rs,
String[] columns) |
void |
set(String key,
Object value) |
void |
setConnectionInfo(ConnectionInfo ci) |
void |
setMaxRows(int r)
Sets the max number of rows to be processed, if
|
static final String CONSOLE_WIDTH
static final String CONSOLE_LINES
String format(ResultSet rs) throws SQLException, IOException
SQLExceptionIOExceptionString format(ResultSet rs, int rows) throws SQLException, IOException
SQLExceptionIOExceptionint format(ResultSet rs, Writer writer) throws SQLException, IOException
SQLExceptionIOExceptionint format(ResultSet rs, Writer writer, int rows, String sql, String tablename) throws SQLException, IOException
SQLExceptionIOExceptionint format(ResultSet rs, Writer writer, int rows, String sql, String tablename, String[] columns) throws SQLException, IOException
SQLExceptionIOExceptionString header(String sql, ResultSet rs) throws SQLException
SQLExceptionString header(String sql, ResultSet rs, String[] columns) throws SQLException
SQLExceptionvoid setConnectionInfo(ConnectionInfo ci)
void setMaxRows(int r)
Copyright © 2014. All rights reserved.