Class RowMutations

java.lang.Object
org.apache.hadoop.hbase.client.RowMutations
All Implemented Interfaces:
Comparable<Row>, Row

@Public public class RowMutations extends Object implements Row
Performs multiple mutations atomically on a single row. The mutations are performed in the order in which they were added.

We compare and equate mutations based off their row so be careful putting RowMutations into Sets or using them as keys in Maps.

  • Field Details

  • Constructor Details

    • RowMutations

      public RowMutations(byte[] row)
    • RowMutations

      public RowMutations(byte[] row, int initialCapacity)
      Create an atomic mutation for the specified row.
      Parameters:
      row - row key
      initialCapacity - the initial capacity of the RowMutations
  • Method Details