Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
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,org.apache.hadoop.hbase.security.access.Permission> perms)
Set the ACL for this operation.
|
Mutation |
Mutation.setACL(String user,
org.apache.hadoop.hbase.security.access.Permission perms)
Set the ACL for this operation.
|
Mutation |
Mutation.setCellVisibility(org.apache.hadoop.hbase.security.visibility.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 n
|
Mutation |
Mutation.setFamilyCellMap(NavigableMap<byte[],List<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()
Returns An unmodifiable list of the current mutations.
|
Modifier and Type | Method and Description |
---|---|
RowMutations |
RowMutations.add(Mutation mutation)
|
void |
BufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
default CompletableFuture<Void> |
AsyncBufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
Modifier and Type | Method and Description |
---|---|
RowMutations |
RowMutations.add(List<? extends Mutation> mutations)
Add a list of mutations
|
void |
BufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutation s to the table. |
List<CompletableFuture<Void>> |
AsyncBufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutation s 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 |
---|---|
org.apache.hadoop.io.serializer.Deserializer<Mutation> |
MutationSerialization.getDeserializer(Class<Mutation> c) |
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,Mutation> |
MultiTableOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordWriter<KEY,Mutation> |
TableOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Creates a new record writer.
|
org.apache.hadoop.io.serializer.Serializer<Mutation> |
MutationSerialization.getSerializer(Class<Mutation> c) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.serializer.Deserializer<Mutation> |
MutationSerialization.getDeserializer(Class<Mutation> c) |
org.apache.hadoop.io.serializer.Serializer<Mutation> |
MutationSerialization.getSerializer(Class<Mutation> c) |
void |
IdentityTableReducer.reduce(org.apache.hadoop.io.Writable key,
Iterable<Mutation> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
Writes each given record, consisting of the row key and the given values, to the configured
OutputFormat . |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.