类 XProtocolRow
- java.lang.Object
-
- com.mysql.cj.protocol.x.XProtocolRow
-
- 所有已实现的接口:
ProtocolEntity,Row
public class XProtocolRow extends Object implements Row
ProtocolEntity representing an X Protocol result row.
-
-
构造器概要
构造器 构造器 说明 XProtocolRow(MysqlxResultset.Row rowMessage)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleangetNull(int columnIndex)Check whether a column is NULL and update the 'wasNull' status.<T> TgetValue(int columnIndex, ValueFactory<T> vf)Retrieve a value for the given column.RowsetMetadata(ColumnDefinition columnDefinition)Set metadata to enable getValue functionality.booleanwasNull()Was the last value retrieved a NULL value?
-
-
-
构造器详细资料
-
XProtocolRow
public XProtocolRow(MysqlxResultset.Row rowMessage)
-
-
方法详细资料
-
setMetadata
public Row setMetadata(ColumnDefinition columnDefinition)
从接口复制的说明:RowSet metadata to enable getValue functionality.- 指定者:
setMetadata在接口中Row- 参数:
columnDefinition-ColumnDefinition- 返回:
Row
-
getValue
public <T> T getValue(int columnIndex, ValueFactory<T> vf)从接口复制的说明:RowRetrieve a value for the given column. This is the main facility to access values from the Row involvingValueDecoderandValueFactorychain. Metadata must be set via Row constructor orRow.setMetadata(ColumnDefinition)call before calling this method to allow correct columnIndex boundaries check and data type recognition.
-
getNull
public boolean getNull(int columnIndex)
从接口复制的说明:RowCheck whether a column is NULL and update the 'wasNull' status.
-
-