Package com.mysql.cj.protocol.a
Class ResultsetRowReader
java.lang.Object
com.mysql.cj.protocol.a.ResultsetRowReader
- All Implemented Interfaces:
ProtocolEntityReader<ResultsetRow,NativePacketPayload>
public class ResultsetRowReader extends java.lang.Object implements ProtocolEntityReader<ResultsetRow,NativePacketPayload>
-
Field Summary
Fields Modifier and Type Field Description protected PropertySetpropertySetprotected NativeProtocolprotocolprotected RuntimeProperty<java.lang.Integer>useBufferRowSizeThreshold -
Constructor Summary
Constructors Constructor Description ResultsetRowReader(NativeProtocol prot) -
Method Summary
Modifier and Type Method Description ResultsetRowread(ProtocolEntityFactory<ResultsetRow,NativePacketPayload> sf)Retrieve one row from the MySQL server.
-
Field Details
-
Constructor Details
-
Method Details
-
read
public ResultsetRow read(ProtocolEntityFactory<ResultsetRow,NativePacketPayload> sf) throws java.io.IOExceptionRetrieve 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.- Specified by:
readin interfaceProtocolEntityReader<ResultsetRow,NativePacketPayload>- Parameters:
sf- ProtocolEntityFactory- Returns:
ProtocolEntityinstance- Throws:
java.io.IOException- if an error occurs
-