public class ResultSetRowQueryResult extends java.lang.Object implements QueryResult<Row>
ResultSetRowESTIMATED_RESULT_COUNT, RESPONSE_TIME| Constructor and Description |
|---|
ResultSetRowQueryResult(java.util.Map<QName,java.lang.String> columnMap,
java.sql.ResultSet resultSet)
Construct a ResultSetRowQueryResult with a map of columns and a ResultSet
to be wrapped.
|
ResultSetRowQueryResult(java.sql.ResultSet resultSet)
Construct a ResultSetRowQueryResult with a ResultSet to be wrapped.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Default implementation of the getProperties to subclasses to not have to
implement this directly.
|
boolean |
hasNext()
Wrapped implementation of the Iterator.hasNext method.
|
Row |
next()
Wrapped implementation of the Iterator.next method.
|
void |
remove()
To prohibit callers from removing entries in the Iterator, this method
always throws an Exception that "remove" is not supported.
|
public ResultSetRowQueryResult(java.util.Map<QName,java.lang.String> columnMap, java.sql.ResultSet resultSet)
columnMap - a map of columns from QName to column nameresultSet - a wrapped ResultSetpublic ResultSetRowQueryResult(java.sql.ResultSet resultSet)
resultSet - a wrapped ResultSetpublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface QueryResult<Row>public boolean hasNext()
hasNext in interface java.util.Iterator<Row>public Row next()
next in interface java.util.Iterator<Row>public void remove()
remove in interface java.util.Iterator<Row>