@InterfaceAudience.Public public class RowMutations extends Object implements Row
COMPARATOR
Constructor and Description |
---|
RowMutations(byte[] row) |
RowMutations(byte[] row,
int initialCapacity)
Create an atomic mutation for the specified row.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Delete d)
Add a
Delete operation to the list of mutations |
void |
add(Put p)
Add a
Put operation to the list of mutations |
int |
compareTo(Row i)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
Row.COMPARATOR instead |
boolean |
equals(Object obj)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
No replacement
|
int |
getMaxPriority() |
List<Mutation> |
getMutations() |
byte[] |
getRow() |
int |
hashCode()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
No replacement
|
public RowMutations(byte[] row)
public RowMutations(byte[] row, int initialCapacity)
row
- row keyinitialCapacity
- the initial capacity of the RowMutationspublic void add(Put p) throws IOException
Put
operation to the list of mutationsp
- The Put
to addIOException
public void add(Delete d) throws IOException
Delete
operation to the list of mutationsd
- The Delete
to addIOException
@Deprecated public int compareTo(Row i)
Row.COMPARATOR
insteadcompareTo
in interface Comparable<Row>
compareTo
in interface Row
@Deprecated public boolean equals(Object obj)
@Deprecated public int hashCode()
public List<Mutation> getMutations()
public int getMaxPriority()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.