Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.wal |
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 |
---|---|
List<Mutation> |
RowMutations.getMutations() |
Modifier and Type | Method and Description |
---|---|
void |
RegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c,
MiniBatchOperationInProgress<Mutation> miniBatchOp)
This will be called after applying a batch of Mutations on a region.
|
void |
BaseRegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c,
MiniBatchOperationInProgress<Mutation> miniBatchOp) |
void |
RegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c,
MiniBatchOperationInProgress<Mutation> miniBatchOp)
This will be called for every batch mutation operation happening at the server.
|
void |
BaseRegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c,
MiniBatchOperationInProgress<Mutation> miniBatchOp) |
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 |
---|---|
void |
MultiTableOutputFormat.MultiTableRecordWriter.write(ImmutableBytesWritable tableName,
Mutation action)
Writes an action (Put or Delete) to the specified table.
|
void |
TableOutputFormat.TableRecordWriter.write(KEY key,
Mutation value)
Writes a key/value pair into the table.
|
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 . |
Modifier and Type | Method and Description |
---|---|
static Mutation |
ProtobufUtil.toMutation(ClientProtos.MutationProto proto)
Convert a MutateRequest to Mutation
|
Modifier and Type | Method and Description |
---|---|
static ClientProtos.MutationProto |
ProtobufUtil.toMutation(ClientProtos.MutationProto.MutationType type,
Mutation mutation)
Create a protocol buffer Mutate based on a client Mutation
|
static ClientProtos.MutationProto |
ProtobufUtil.toMutationNoData(ClientProtos.MutationProto.MutationType type,
Mutation mutation)
Create a protocol buffer MutationProto based on a client Mutation.
|
Modifier and Type | Method and Description |
---|---|
OperationStatus[] |
HRegion.batchMutate(Mutation[] mutations)
Perform a batch of mutations.
|
boolean |
HRegion.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Mutation w,
boolean writeToWAL) |
Modifier and Type | Method and Description |
---|---|
protected OperationStatus[] |
HRegionServer.doBatchOp(HRegion region,
List<Pair<ClientProtos.MutationProto.MutationType,Mutation>> mutations,
boolean isReplay)
Execute a list of Put/Delete mutations.
|
void |
HRegion.mutateRowsWithLocks(Collection<Mutation> mutations,
Collection<byte[]> rowsToLock)
Perform atomic mutations within the region.
|
void |
RegionCoprocessorHost.postBatchMutate(MiniBatchOperationInProgress<Mutation> miniBatchOp) |
boolean |
RegionCoprocessorHost.preBatchMutate(MiniBatchOperationInProgress<Mutation> miniBatchOp) |
Modifier and Type | Method and Description |
---|---|
static List<Pair<ClientProtos.MutationProto.MutationType,Mutation>> |
HLogSplitter.getMutationsFromWALEntry(AdminProtos.WALEntry entry,
CellScanner cells,
Pair<HLogKey,WALEdit> logEntry)
This function is used to construct mutations from a WALEntry.
|
Copyright © 2013 The Apache Software Foundation. All rights reserved.