Package org.apache.beam.sdk.values
Class RowWithStorage
java.lang.Object
org.apache.beam.sdk.values.Row
org.apache.beam.sdk.values.RowWithStorage
- All Implemented Interfaces:
Serializable
Concrete subclass of
Row that explicitly stores all fields of the row.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.beam.sdk.values.Row
Row.Builder, Row.Equals, Row.FieldValueBuilder -
Method Summary
Modifier and TypeMethodDescriptionintReturn the size of data fields.getValue(int fieldIdx) Get value by field index,ClassCastExceptionis thrown if schema doesn't match.Return the list of raw unmodified data values to enable 0-copy code.Methods inherited from class org.apache.beam.sdk.values.Row
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
-
Method Details
-
getValue
Description copied from class:RowGet value by field index,ClassCastExceptionis thrown if schema doesn't match. -
getValues
Description copied from class:RowReturn the list of raw unmodified data values to enable 0-copy code. -
getFieldCount
public int getFieldCount()Description copied from class:RowReturn the size of data fields.- Specified by:
getFieldCountin classRow
-