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) |
Mutation |
Mutation.setACL(String user,
org.apache.hadoop.hbase.security.access.Permission perms) |
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
|
Mutation |
Mutation.setFamilyCellMap(NavigableMap<byte[],List<Cell>> map)
Method for setting the put's familyMap
|
Mutation |
Mutation.setFamilyMap(NavigableMap<byte[],List<org.apache.hadoop.hbase.KeyValue>> map)
Deprecated.
use
setFamilyCellMap(NavigableMap) instead. |
protected Mutation |
Mutation.setReturnResults(boolean returnResults) |
Mutation |
Mutation.setTTL(long ttl)
Set the TTL desired for the result of the mutation, in milliseconds.
|
Mutation |
Mutation.setWriteToWAL(boolean write)
Deprecated.
Use
setDurability(Durability) instead. |
Modifier and Type | Method and Description |
---|---|
List<Mutation> |
RowMutations.getMutations() |
Modifier and Type | Method and Description |
---|---|
void |
BufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
Modifier and Type | Method and Description |
---|---|
void |
BufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutation s to the table. |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.serializer.Deserializer<Mutation> |
MutationSerialization.getDeserializer(Class<Mutation> c) |
org.apache.hadoop.mapreduce.RecordWriter<KEY,Mutation> |
TableOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Creates a new record writer.
|
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,Mutation> |
MultiTableOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
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–2019 The Apache Software Foundation. All rights reserved.