public class ResultSetFactory extends java.lang.Object implements ProtocolEntityFactory<ResultSetImpl,NativePacketPayload>
| Constructor and Description |
|---|
ResultSetFactory(JdbcConnection connection,
StatementImpl creatorStmt) |
| Modifier and Type | Method and Description |
|---|---|
ResultSetImpl |
createFromProtocolEntity(ProtocolEntity protocolEntity)
Create object from protocol entity.
|
ResultSetImpl |
createFromResultsetRows(int resultSetConcurrency,
int resultSetType,
ResultsetRows rows)
Build ResultSet from ResultsetRows
|
int |
getFetchSize() |
Resultset.Concurrency |
getResultSetConcurrency() |
Resultset.Type |
getResultSetType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFromMessagepublic ResultSetFactory(JdbcConnection connection, StatementImpl creatorStmt) throws java.sql.SQLException
java.sql.SQLExceptionpublic Resultset.Type getResultSetType()
getResultSetType in interface ProtocolEntityFactory<ResultSetImpl,NativePacketPayload>public Resultset.Concurrency getResultSetConcurrency()
getResultSetConcurrency in interface ProtocolEntityFactory<ResultSetImpl,NativePacketPayload>public int getFetchSize()
getFetchSize in interface ProtocolEntityFactory<ResultSetImpl,NativePacketPayload>public ResultSetImpl createFromProtocolEntity(ProtocolEntity protocolEntity)
ProtocolEntityFactorycreateFromProtocolEntity in interface ProtocolEntityFactory<ResultSetImpl,NativePacketPayload>protocolEntity - the ProtocolEntity to create frompublic ResultSetImpl createFromResultsetRows(int resultSetConcurrency, int resultSetType, ResultsetRows rows) throws java.sql.SQLException
resultSetType - scrollability (TYPE_FORWARD_ONLY, TYPE_SCROLL_????)resultSetConcurrency - the type of result set (CONCUR_UPDATABLE or READ_ONLY)rows - ResultsetRowsjava.sql.SQLException - if an error occurs