public class XProtocolRow extends java.lang.Object implements Row
| Constructor and Description |
|---|
XProtocolRow(MysqlxResultset.Row rowMessage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNull(int columnIndex)
Check whether a column is NULL and update the 'wasNull' status.
|
<T> T |
getValue(int columnIndex,
ValueFactory<T> vf)
Retrieve a value for the given column.
|
Row |
setMetadata(ColumnDefinition columnDefinition)
Set metadata to enable getValue functionality.
|
boolean |
wasNull()
Was the last value retrieved a NULL value?
|
public XProtocolRow(MysqlxResultset.Row rowMessage)
public Row setMetadata(ColumnDefinition columnDefinition)
RowsetMetadata in interface RowcolumnDefinition - ColumnDefinitionRowpublic <T> T getValue(int columnIndex,
ValueFactory<T> vf)
RowValueDecoder and ValueFactory chain. Metadata must be set via
Row constructor or Row.setMetadata(ColumnDefinition) call before calling this method to allow
correct columnIndex boundaries check and data type recognition.public boolean getNull(int columnIndex)
Row