类 AbstractBufferRow
- java.lang.Object
-
- com.mysql.cj.protocol.result.AbstractResultsetRow
-
- com.mysql.cj.protocol.a.result.AbstractBufferRow
-
- 所有已实现的接口:
ProtocolEntity,ResultsetRow,Row
- 直接已知子类:
BinaryBufferRow,TextBufferRow
public abstract class AbstractBufferRow extends AbstractResultsetRow
A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid allocations to break out the results as individual byte[]s. (this isn't possible when doing things like reading floating point values).
-
-
字段概要
字段 修饰符和类型 字段 说明 protected inthomePositionThe beginning of the row packetprotected intlastRequestedIndexThe last-requested index, used as an optimization, if you ask for the same index, we won't seek to find it.protected intlastRequestedPosThe position of the last-requested index, optimization in concert with lastRequestedIndex.protected NativePacketPayloadrowFromServer-
从类继承的字段 com.mysql.cj.protocol.result.AbstractResultsetRow
exceptionInterceptor, metadata, valueDecoder, wasNull
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractBufferRow(ExceptionInterceptor exceptionInterceptor)
-
方法概要
-
从类继承的方法 com.mysql.cj.protocol.result.AbstractResultsetRow
getValueFromBytes, setMetadata, wasNull
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.protocol.ResultsetRow
isBinaryEncoded
-
-
-
-
字段详细资料
-
rowFromServer
protected NativePacketPayload rowFromServer
-
homePosition
protected int homePosition
The beginning of the row packet
-
lastRequestedIndex
protected int lastRequestedIndex
The last-requested index, used as an optimization, if you ask for the same index, we won't seek to find it. If you ask for an index that is greater than the last one requested, we start seeking from the last requested index.
-
lastRequestedPos
protected int lastRequestedPos
The position of the last-requested index, optimization in concert with lastRequestedIndex.
-
-
构造器详细资料
-
AbstractBufferRow
protected AbstractBufferRow(ExceptionInterceptor exceptionInterceptor)
-
-