Class RowWithStorage

java.lang.Object
org.apache.beam.sdk.values.Row
org.apache.beam.sdk.values.RowWithStorage
All Implemented Interfaces:
Serializable

public class RowWithStorage extends Row
Concrete subclass of Row that explicitly stores all fields of the row.
See Also:
  • Method Details

    • getValue

      public <T extends @Nullable Object> T getValue(int fieldIdx)
      Description copied from class: Row
      Get value by field index, ClassCastException is thrown if schema doesn't match.
      Specified by:
      getValue in class Row
    • getValues

      public List<@Nullable Object> getValues()
      Description copied from class: Row
      Return the list of raw unmodified data values to enable 0-copy code.
      Specified by:
      getValues in class Row
    • getFieldCount

      public int getFieldCount()
      Description copied from class: Row
      Return the size of data fields.
      Specified by:
      getFieldCount in class Row