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 methods.
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rest.client | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.shaded.protobuf | |
org.apache.hadoop.hbase.spark.example.hbasecontext | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
Modifier and Type | Method and Description |
---|---|
Delete |
Delete.add(Cell cell)
Add an existing delete marker to this Delete object.
|
Delete |
Delete.addColumn(byte[] family,
byte[] qualifier)
Delete the latest version of the specified column.
|
Delete |
Delete.addColumn(byte[] family,
byte[] qualifier,
long timestamp)
Delete the specified version of the specified column.
|
Delete |
Delete.addColumns(byte[] family,
byte[] qualifier)
Delete all versions of the specified column.
|
Delete |
Delete.addColumns(byte[] family,
byte[] qualifier,
long timestamp)
Delete all versions of the specified column with a timestamp less than
or equal to the specified timestamp.
|
Delete |
Delete.addDeleteMarker(Cell kv)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
add(Cell)
instead |
Delete |
Delete.addFamily(byte[] family)
Delete all versions of all columns of the specified family.
|
Delete |
Delete.addFamily(byte[] family,
long timestamp)
Delete all columns of the specified family with a timestamp less than
or equal to the specified timestamp.
|
Delete |
Delete.addFamilyVersion(byte[] family,
long timestamp)
Delete all columns of the specified family with a timestamp equal to
the specified timestamp.
|
Delete |
Delete.setACL(Map<String,Permission> perms) |
Delete |
Delete.setACL(String user,
Permission perms) |
Delete |
Delete.setAttribute(String name,
byte[] value) |
Delete |
Delete.setCellVisibility(CellVisibility expression) |
Delete |
Delete.setClusterIds(List<UUID> clusterIds) |
Delete |
Delete.setDurability(Durability d) |
Delete |
Delete.setFamilyCellMap(NavigableMap<byte[],List<Cell>> map)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
Delete(byte[], long, NavigableMap) instead |
Delete |
Delete.setId(String id) |
Delete |
Delete.setPriority(int priority) |
Delete |
Delete.setTimestamp(long timestamp) |
Delete |
Delete.setTTL(long ttl) |
Modifier and Type | Method and Description |
---|---|
void |
RowMutations.add(Delete d)
Deprecated.
since 2.0 version and will be removed in 3.0 version.
use
RowMutations.add(Mutation) |
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete)
Deprecated.
|
default boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Deprecated.
|
default boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Delete delete)
Deprecated.
|
default boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Delete delete)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
void |
HTable.delete(Delete delete) |
CompletableFuture<Void> |
AsyncTable.delete(Delete delete)
Deletes the specified cells/row.
|
default void |
Table.delete(Delete delete)
Deletes the specified cells/row.
|
CompletableFuture<Boolean> |
AsyncTable.CheckAndMutateBuilder.thenDelete(Delete delete) |
boolean |
Table.CheckAndMutateBuilder.thenDelete(Delete delete) |
Modifier and Type | Method and Description |
---|---|
void |
HTable.delete(List<Delete> deletes) |
List<CompletableFuture<Void>> |
AsyncTable.delete(List<Delete> deletes)
Deletes the specified cells/rows in bulk.
|
default void |
Table.delete(List<Delete> deletes)
Batch Deletes the specified cells/rows from the table.
|
default CompletableFuture<Void> |
AsyncTable.deleteAll(List<Delete> deletes)
A simple version of batch delete.
|
Constructor and Description |
---|
Delete(Delete deleteToCopy) |
Modifier and Type | Method and Description |
---|---|
default boolean |
RegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called after checkAndDelete
|
default void |
RegionObserver.postDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability)
Called after the client deletes a value.
|
default boolean |
RegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete.
|
default boolean |
RegionObserver.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete but after acquiring rowock.
|
default void |
RegionObserver.preDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability)
Called before the client deletes a value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Import.Importer.processKV(ImmutableBytesWritable key,
Result result,
org.apache.hadoop.mapreduce.Mapper.Context context,
Put put,
Delete delete) |
Modifier and Type | Method and Description |
---|---|
static Delete |
ProtobufUtil.toDelete(ClientProtos.MutationProto proto)
Convert a protocol buffer Mutate to a Delete
|
static Delete |
ProtobufUtil.toDelete(ClientProtos.MutationProto proto,
CellScanner cellScanner)
Convert a protocol buffer Mutate to a Delete
|
Modifier and Type | Method and Description |
---|---|
void |
HRegion.delete(Delete delete) |
void |
Region.delete(Delete delete)
Deletes the specified cells/row.
|
boolean |
RegionCoprocessorHost.postCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
void |
RegionCoprocessorHost.postDelete(Delete delete,
WALEdit edit,
Durability durability) |
Boolean |
RegionCoprocessorHost.preCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete)
Supports Coprocessor 'bypass'.
|
Boolean |
RegionCoprocessorHost.preCheckAndDeleteAfterRowLock(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete)
Supports Coprocessor 'bypass'.
|
boolean |
RegionCoprocessorHost.preDelete(Delete delete,
WALEdit edit,
Durability durability)
Supports Coprocessor 'bypass'.
|
void |
HRegion.prepareDelete(Delete delete)
Prepare a delete for a row mutation processor
|
Modifier and Type | Method and Description |
---|---|
boolean |
RemoteHTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete) |
boolean |
RemoteHTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Deprecated.
|
boolean |
RemoteHTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator compareOp,
byte[] value,
Delete delete)
Deprecated.
|
void |
RemoteHTable.delete(Delete delete) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteHTable.delete(List<Delete> deletes) |
Modifier and Type | Method and Description |
---|---|
void |
AccessController.postDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability) |
boolean |
AccessController.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
AccessController.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
void |
AccessController.preDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability) |
Modifier and Type | Method and Description |
---|---|
static Delete |
ProtobufUtil.toDelete(ClientProtos.MutationProto proto)
Convert a protocol buffer Mutate to a Delete
|
static Delete |
ProtobufUtil.toDelete(ClientProtos.MutationProto proto,
CellScanner cellScanner)
Convert a protocol buffer Mutate to a Delete
|
Modifier and Type | Method and Description |
---|---|
static ClientProtos.MutateRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
byte[] row,
byte[] family,
byte[] qualifier,
ByteArrayComparable comparator,
HBaseProtos.CompareType compareType,
TimeRange timeRange,
Delete delete)
Create a protocol buffer MutateRequest for a conditioned delete
|
static ClientProtos.MutateRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
Delete delete)
Create a protocol buffer MutateRequest for a delete
|
Modifier and Type | Method and Description |
---|---|
Delete |
JavaHBaseBulkDeleteExample.DeleteFunction.call(byte[] v) |
Modifier and Type | Method and Description |
---|---|
static Delete |
ThriftUtilities.deleteFromThrift(TDelete in)
|
Modifier and Type | Method and Description |
---|---|
static List<Delete> |
ThriftUtilities.deletesFromThrift(List<TDelete> in)
|
Modifier and Type | Method and Description |
---|---|
static TDelete |
ThriftUtilities.deleteFromHBase(Delete in) |
Copyright © 2007–2019 Cloudera. All rights reserved.