public class ResultsetFactory extends java.lang.Object implements ProtocolEntityFactory<Resultset,NativePacketPayload>
Constructor and Description |
---|
ResultsetFactory(Resultset.Type type,
Resultset.Concurrency concurrency) |
Modifier and Type | Method and Description |
---|---|
Resultset |
createFromProtocolEntity(ProtocolEntity protocolEntity)
Create object from protocol entity.
|
Resultset.Concurrency |
getResultSetConcurrency() |
Resultset.Type |
getResultSetType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFromMessage, getFetchSize
public ResultsetFactory(Resultset.Type type, Resultset.Concurrency concurrency)
public Resultset.Type getResultSetType()
getResultSetType
in interface ProtocolEntityFactory<Resultset,NativePacketPayload>
public Resultset.Concurrency getResultSetConcurrency()
getResultSetConcurrency
in interface ProtocolEntityFactory<Resultset,NativePacketPayload>
public Resultset createFromProtocolEntity(ProtocolEntity protocolEntity)
ProtocolEntityFactory
createFromProtocolEntity
in interface ProtocolEntityFactory<Resultset,NativePacketPayload>
protocolEntity
- the ProtocolEntity
to create from