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