public class BinaryRowFactory extends AbstractRowFactory implements ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
canReuseRowPacketForBufferRow, columnDefinition, exceptionInterceptor, resultSetConcurrency, useBufferRowSizeThreshold, valueDecoder
Constructor and Description |
---|
BinaryRowFactory(NativeProtocol protocol,
ColumnDefinition columnDefinition,
Resultset.Concurrency resultSetConcurrency,
boolean canReuseRowPacketForBufferRow) |
Modifier and Type | Method and Description |
---|---|
boolean |
canReuseRowPacketForBufferRow() |
ResultsetRow |
createFromMessage(NativePacketPayload rowPacket)
Create ProtocolEntity of type
T from protocol message. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFromProtocolEntity, getFetchSize, getResultSetConcurrency, getResultSetType
public BinaryRowFactory(NativeProtocol protocol, ColumnDefinition columnDefinition, Resultset.Concurrency resultSetConcurrency, boolean canReuseRowPacketForBufferRow)
public ResultsetRow createFromMessage(NativePacketPayload rowPacket)
ProtocolEntityFactory
T
from protocol message.createFromMessage
in interface ProtocolEntityFactory<ResultsetRow,NativePacketPayload>
rowPacket
- Message
instancepublic boolean canReuseRowPacketForBufferRow()
canReuseRowPacketForBufferRow
in class AbstractRowFactory