public class RowWithStorage extends Row
Row
that explicitly stores all fields of the row.Row.Builder, Row.Equals, Row.FieldValueBuilder
Modifier and Type | Method and Description |
---|---|
int |
getFieldCount()
Return the size of data fields.
|
<T> T |
getValue(int fieldIdx)
Get value by field index,
ClassCastException is thrown if schema doesn't match. |
java.util.List<java.lang.Object> |
getValues()
Return the list of raw unmodified data values to enable 0-copy code.
|
equals, fromRow, getArray, getArray, getBaseValue, getBaseValue, getBaseValue, getBaseValue, getBaseValues, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getDateTime, getDateTime, getDecimal, getDecimal, getDouble, getDouble, getFloat, getFloat, getInt16, getInt16, getInt32, getInt32, getInt64, getInt64, getIterable, getIterable, getLogicalTypeValue, getLogicalTypeValue, getMap, getMap, getRow, getRow, getSchema, getString, getString, getValue, hashCode, nullRow, sorted, toCamelCase, toRow, toSnakeCase, toString, toString, withSchema
public <T> T getValue(int fieldIdx)
Row
ClassCastException
is thrown if schema doesn't match.public java.util.List<java.lang.Object> getValues()
Row
public int getFieldCount()
Row
getFieldCount
in class Row