Package com.mysql.cj.protocol.a
Class BinaryRowFactory
java.lang.Object
com.mysql.cj.protocol.a.AbstractRowFactory
com.mysql.cj.protocol.a.BinaryRowFactory
- All Implemented Interfaces:
ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
public class BinaryRowFactory extends AbstractRowFactory implements ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
Handle binary-encoded data for server-side PreparedStatements
-
Field Summary
Fields inherited from class com.mysql.cj.protocol.a.AbstractRowFactory
canReuseRowPacketForBufferRow, columnDefinition, exceptionInterceptor, resultSetConcurrency, useBufferRowSizeThreshold, valueDecoder
-
Constructor Summary
Constructors Constructor Description BinaryRowFactory(NativeProtocol protocol, ColumnDefinition columnDefinition, Resultset.Concurrency resultSetConcurrency, boolean canReuseRowPacketForBufferRow)
-
Method Summary
Modifier and Type Method Description boolean
canReuseRowPacketForBufferRow()
ResultsetRow
createFromMessage(NativePacketPayload rowPacket)
Create ProtocolEntity of typeProtocolEntityFactory
from protocol message.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
createFromProtocolEntity, getFetchSize, getResultSetConcurrency, getResultSetType
-
Constructor Details
-
BinaryRowFactory
public BinaryRowFactory(NativeProtocol protocol, ColumnDefinition columnDefinition, Resultset.Concurrency resultSetConcurrency, boolean canReuseRowPacketForBufferRow)
-
-
Method Details
-
createFromMessage
Description copied from interface:ProtocolEntityFactory
Create ProtocolEntity of typeProtocolEntityFactory
from protocol message.- Specified by:
createFromMessage
in interfaceProtocolEntityFactory<ResultsetRow,NativePacketPayload>
- Parameters:
rowPacket
-Message
instance- Returns:
- T
-
canReuseRowPacketForBufferRow
public boolean canReuseRowPacketForBufferRow()- Overrides:
canReuseRowPacketForBufferRow
in classAbstractRowFactory
-