Package com.mysql.cj.protocol.a
Class TextRowFactory
java.lang.Object
com.mysql.cj.protocol.a.AbstractRowFactory
com.mysql.cj.protocol.a.TextRowFactory
- All Implemented Interfaces:
ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
public class TextRowFactory extends AbstractRowFactory implements ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
-
Field Summary
Fields inherited from class com.mysql.cj.protocol.a.AbstractRowFactory
canReuseRowPacketForBufferRow, columnDefinition, exceptionInterceptor, resultSetConcurrency, useBufferRowSizeThreshold, valueDecoder
-
Constructor Summary
Constructors Constructor Description TextRowFactory(NativeProtocol protocol, ColumnDefinition colDefinition, 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
-
TextRowFactory
public TextRowFactory(NativeProtocol protocol, ColumnDefinition colDefinition, 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
-