Package com.mysql.cj.protocol.a
Class ResultsetFactory
java.lang.Object
com.mysql.cj.protocol.a.ResultsetFactory
- All Implemented Interfaces:
ProtocolEntityFactory<Resultset,NativePacketPayload>
public class ResultsetFactory extends java.lang.Object implements ProtocolEntityFactory<Resultset,NativePacketPayload>
-
Constructor Summary
Constructors Constructor Description ResultsetFactory(Resultset.Type type, Resultset.Concurrency concurrency)
-
Method Summary
Modifier and Type Method Description Resultset
createFromProtocolEntity(ProtocolEntity protocolEntity)
Create object from protocol entity.Resultset.Concurrency
getResultSetConcurrency()
Resultset.Type
getResultSetType()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mysql.cj.protocol.ProtocolEntityFactory
createFromMessage, getFetchSize
-
Constructor Details
-
Method Details
-
getResultSetType
- Specified by:
getResultSetType
in interfaceProtocolEntityFactory<Resultset,NativePacketPayload>
-
getResultSetConcurrency
- Specified by:
getResultSetConcurrency
in interfaceProtocolEntityFactory<Resultset,NativePacketPayload>
-
createFromProtocolEntity
Description copied from interface:ProtocolEntityFactory
Create object from protocol entity.- Specified by:
createFromProtocolEntity
in interfaceProtocolEntityFactory<Resultset,NativePacketPayload>
- Parameters:
protocolEntity
- theProtocolEntity
to create from- Returns:
- a new ProtocolEntity
-