程序包 | 说明 |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
Table of Contents
Overview
Example API Usage
Overview
To administer HBase, create and drop tables, list and alter tables,
use
Admin . |
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.shaded.protobuf |
限定符和类型 | 方法和说明 |
---|---|
static void |
MetaTableAccessor.mutateMetaTable(Connection connection,
List<Mutation> mutations)
Execute the passed
mutations against hbase:meta table. |
限定符和类型 | 类和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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<Cell>> map)
已过时。
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.
|
限定符和类型 | 方法和说明 |
---|---|
List<Mutation> |
RowMutations.getMutations() |
限定符和类型 | 方法和说明 |
---|---|
RowMutations |
RowMutations.add(Mutation mutation)
|
default CompletableFuture<Void> |
AsyncBufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
void |
BufferedMutator.mutate(Mutation mutation)
Sends a
Mutation to the table. |
void |
BufferedMutatorImpl.mutate(Mutation m) |
限定符和类型 | 方法和说明 |
---|---|
RowMutations |
RowMutations.add(List<? extends Mutation> mutations)
|
List<CompletableFuture<Void>> |
AsyncBufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutation s to the table. |
void |
BufferedMutator.mutate(List<? extends Mutation> mutations)
Send some
Mutation s to the table. |
void |
BufferedMutatorImpl.mutate(List<? extends Mutation> ms) |
static RowMutations |
RowMutations.of(List<? extends Mutation> mutations)
Create a
RowMutations with the specified mutations. |
构造器和说明 |
---|
Mutation(Mutation clone) |
限定符和类型 | 方法和说明 |
---|---|
static Mutation |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto proto)
Convert a MutateRequest to Mutation
|
限定符和类型 | 方法和说明 |
---|---|
static Mutation |
ProtobufUtil.toMutation(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto proto)
Convert a MutateRequest to Mutation
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.