Class RowWithStorage

  • All Implemented Interfaces:
    java.io.Serializable

    @Experimental(SCHEMAS)
    public class RowWithStorage
    extends Row
    Concrete subclass of Row that explicitly stores all fields of the row.
    See Also:
    Serialized Form
    • Method Detail

      • getValue

        public <T extends @Nullable java.lang.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 java.util.List<@Nullable java.lang.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