Top Fields Constructors Methods
com.mysql.cj.protocol.a

public Class ResultsetRowReader

extends Object
implements ProtocolEntityReader<ResultsetRow, NativePacketPayload>
Class Inheritance
All Implemented Interfaces
com.mysql.cj.protocol.ProtocolEntityReader
Imports
java.io.IOException, java.util.Optional, com.mysql.cj.conf.PropertyKey, .PropertySet, .RuntimeProperty, com.mysql.cj.protocol.ProtocolEntityFactory, .ProtocolEntityReader, .ResultsetRow

Field Summary

Modifier and TypeField and Description
protected PropertySet
protected NativeProtocol
protected RuntimeProperty<Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ResultsetRow
read(ProtocolEntityFactory<ResultsetRow, NativePacketPayload>
ProtocolEntityFactory
sf
)

Overrides default com.mysql.cj.protocol.ProtocolEntityReader.read.

Retrieve one row from the MySQL server.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propertySetback to summary
protected PropertySet propertySet
protocolback to summary
protected NativeProtocol protocol
useBufferRowSizeThresholdback to summary
protected RuntimeProperty<Integer> useBufferRowSizeThreshold

Constructor Detail

ResultsetRowReaderback to summary
public ResultsetRowReader(NativeProtocol prot)

Method Detail

readback to summary
public ResultsetRow read(ProtocolEntityFactory<ResultsetRow, NativePacketPayload> sf) throws IOException

Overrides default com.mysql.cj.protocol.ProtocolEntityReader.read.

Retrieve one row from the MySQL server.

Note

this method is not thread-safe, but it is only called from methods that are guarded by synchronizing on this object.

Parameters
sf:ProtocolEntityFactory<ResultsetRow, NativePacketPayload>

ProtocolEntityFactory

Returns:ResultsetRow

Doc from com.mysql.cj.protocol.ProtocolEntityReader.read.

ProtocolEntity instance

Annotations
@Override
Exceptions
IOException:
if an error occurs