| Package | Description |
|---|---|
| org.apache.hadoop.hbase | |
| org.apache.hadoop.hbase.client |
Provides HBase Client
|
| org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
| org.apache.hadoop.hbase.shaded.protobuf |
| Modifier and Type | Method and Description |
|---|---|
static void |
MetaTableAccessor.mutateMetaTable(Connection connection,
List<Mutation> mutations)
Execute the passed
mutations against hbase:meta table. |
| Modifier and Type | Class and Description |
|---|---|
class |
Append
Performs Append operations on a single row.
|
class |
Delete
Used to perform Delete operations on a single row.
|
class |
Increment
Used to perform Increment operations on a single row.
|
class |
Put
Used to perform Put operations for a single row.
|
| Modifier and Type | Method and Description |
|---|---|
Mutation |
Mutation.setACL(Map<String,Permission> perms) |
Mutation |
Mutation.setACL(String user,
Permission perms) |
Mutation |
Mutation.setCellVisibility(CellVisibility expression)
Sets the visibility expression associated with cells in this Mutation.
|
Mutation |
Mutation.setClusterIds(List<UUID> clusterIds)
Marks that the clusters with the given clusterIds have consumed the mutation
|
Mutation |
Mutation.setDurability(Durability d)
Set the durability for this mutation
|
Mutation |
Mutation.setFamilyCellMap(NavigableMap<byte[],List<org.apache.hadoop.hbase.Cell>> map)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
Mutation(byte[], long, NavigableMap) instead |
protected Mutation |
Mutation.setReturnResults(boolean returnResults) |
Mutation |
Mutation.setTimestamp(long timestamp)
Set the timestamp of the delete.
|
Mutation |
Mutation.setTTL(long ttl)
Set the TTL desired for the result of the mutation, in milliseconds.
|
| Modifier and Type | Method and Description |
|---|---|
List<Mutation> |
RowMutations.getMutations() |
| Modifier and Type | Method and Description |
|---|---|
RowMutations |
RowMutations.add(Mutation mutation)
|
void |
BufferedMutatorImpl.mutate(Mutation m) |
default CompletableFuture<Void> |
AsyncBufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
void |
BufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
| Modifier and Type | Method and Description |
|---|---|
RowMutations |
RowMutations.add(List<? extends Mutation> mutations)
|
void |
BufferedMutatorImpl.mutate(List<? extends Mutation> ms) |
List<CompletableFuture<Void>> |
AsyncBufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutations to the table. |
void |
BufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutations to the table. |
static RowMutations |
RowMutations.of(List<? extends Mutation> mutations)
Create a
RowMutations with the specified mutations. |
| Constructor and Description |
|---|
Mutation(Mutation clone) |
| Modifier and Type | Method and Description |
|---|---|
static Mutation |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto proto)
Convert a MutateRequest to Mutation
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation) |
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builder) |
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builder,
long nonce) |
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
long nonce)
Create a protocol buffer Mutate based on a client Mutation
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation)
Create a protocol buffer MutationProto based on a client Mutation.
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builder)
Create a protocol buffer MutationProto based on a client Mutation.
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builder,
long nonce) |
| Modifier and Type | Method and Description |
|---|---|
static Mutation |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto proto)
Convert a MutateRequest to Mutation
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.CompareType compareType,
org.apache.hadoop.hbase.io.TimeRange timeRange,
Mutation mutation,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.Builder builder) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.Builder builder,
long nonce) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
long nonce)
Create a protocol buffer Mutate based on a client Mutation
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation)
Create a protocol buffer MutationProto based on a client Mutation.
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.Builder builder)
Create a protocol buffer MutationProto based on a client Mutation.
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType type,
Mutation mutation,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.Builder builder,
long nonce) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.