类 AbstractResultsetRow
- java.lang.Object
-
- com.mysql.cj.protocol.result.AbstractResultsetRow
-
- 所有已实现的接口:
ProtocolEntity,ResultsetRow,Row
- 直接已知子类:
AbstractBufferRow,ByteArrayRow
public abstract class AbstractResultsetRow extends Object implements ResultsetRow
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ExceptionInterceptorexceptionInterceptorprotected ColumnDefinitionmetadataThe metadata of the fields of this result set.protected ValueDecodervalueDecoderprotected booleanwasNullDid the previous value retrieval find a NULL?
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractResultsetRow(ExceptionInterceptor exceptionInterceptor)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected <T> TgetValueFromBytes(int columnIndex, byte[] bytes, int offset, int length, ValueFactory<T> vf)Get a value from a byte array.RowsetMetadata(ColumnDefinition f)Set metadata to enable getValue functionality.booleanwasNull()Was the last value retrieved a NULL value?-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.protocol.ResultsetRow
isBinaryEncoded
-
-
-
-
字段详细资料
-
exceptionInterceptor
protected ExceptionInterceptor exceptionInterceptor
-
metadata
protected ColumnDefinition metadata
The metadata of the fields of this result set.
-
valueDecoder
protected ValueDecoder valueDecoder
-
wasNull
protected boolean wasNull
Did the previous value retrieval find a NULL?
-
-
构造器详细资料
-
AbstractResultsetRow
protected AbstractResultsetRow(ExceptionInterceptor exceptionInterceptor)
-
-
方法详细资料
-
getValueFromBytes
protected <T> T getValueFromBytes(int columnIndex, byte[] bytes, int offset, int length, ValueFactory<T> vf)Get a value from a byte array. The byte array is interpreted by theValueDecoderwhich uses the value factory create the return value.- 类型参数:
T- value type- 参数:
columnIndex- The (internal) index of the columnbytes- byte arrayoffset- offset into byte arraylength- length of value in byte arrayvf- value factory- 返回:
- value
-
setMetadata
public Row setMetadata(ColumnDefinition f)
从接口复制的说明:RowSet metadata to enable getValue functionality.- 指定者:
setMetadata在接口中Row- 参数:
f-ColumnDefinition- 返回:
Row
-
-