public class RowWithStorage extends Row
Row
that explicitly stores all fields of the row.Row.Builder
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 data values.
|
equals, getArray, getArray, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getDateTime, getDateTime, getDecimal, getDecimal, getDouble, getDouble, getFloat, getFloat, getInt16, getInt16, getInt32, getInt32, getInt64, getInt64, getMap, getMap, getRow, getRow, getSchema, getString, getString, getValue, hashCode, nullRow, toRow, toString, withSchema
@Nullable 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