protected class JdbcDataSource.ResultSetIterator extends Object
| Constructor and Description |
|---|
ResultSetIterator(String query) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected Iterator<Map<String,Object>> |
createIterator(boolean convertType,
Map<String,Integer> fieldNameVsType) |
protected Statement |
createStatement(Connection c,
int batchSize,
int maxRows) |
protected ResultSet |
executeStatement(Statement statement,
String query) |
protected Map<String,Object> |
getARow(boolean convertType,
Map<String,Integer> fieldNameVsType) |
protected List<String> |
getColNames() |
protected Iterator<Map<String,Object>> |
getIterator() |
protected ResultSet |
getResultSet() |
protected Statement |
getStatement() |
protected boolean |
hasnext() |
protected void |
setColNames(List<String> colNames) |
protected void |
setColNames(ResultSet resultSet) |
protected void |
setResultSet(ResultSet resultSet) |
protected void |
setStatement(Statement stmt) |
public ResultSetIterator(String query)
protected Statement createStatement(Connection c, int batchSize, int maxRows) throws SQLException
SQLExceptionprotected ResultSet executeStatement(Statement statement, String query) throws SQLException
SQLExceptionprotected void setColNames(ResultSet resultSet) throws SQLException
SQLExceptionprotected Iterator<Map<String,Object>> createIterator(boolean convertType, Map<String,Integer> fieldNameVsType)
protected Map<String,Object> getARow(boolean convertType, Map<String,Integer> fieldNameVsType)
protected boolean hasnext()
protected void close()
protected final Statement getStatement()
protected final void setStatement(Statement stmt)
protected final ResultSet getResultSet()
protected final void setResultSet(ResultSet resultSet)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.