Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.coprocessor.example | |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rest.client | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
Modifier and Type | Method and Description |
---|---|
static Delete |
MetaTableAccessor.makeDeleteFromRegionInfo(HRegionInfo regionInfo)
Generates and returns a Delete containing the region info for the catalog
table
|
static Delete |
MetaTableAccessor.makeDeleteFromRegionInfo(HRegionInfo regionInfo,
long ts)
Generates and returns a Delete containing the region info for the catalog
table
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
MetaTableAccessor.deleteFromMetaTable(Connection connection,
Delete d)
Delete the passed
d from the hbase:meta table. |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableAccessor.deleteFromMetaTable(Connection connection,
List<Delete> deletes)
Delete the passed
deletes from the hbase:meta table. |
Modifier and Type | Method and Description |
---|---|
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)
Advanced use only.
|
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.deleteColumn(byte[] family,
byte[] qualifier)
Deprecated.
Since hbase-1.0.0. Use
addColumn(byte[], byte[]) |
Delete |
Delete.deleteColumn(byte[] family,
byte[] qualifier,
long timestamp)
Deprecated.
Since hbase-1.0.0. Use
addColumn(byte[], byte[], long) |
Delete |
Delete.deleteColumns(byte[] family,
byte[] qualifier)
Deprecated.
Since hbase-1.0.0. Use
addColumns(byte[], byte[]) |
Delete |
Delete.deleteColumns(byte[] family,
byte[] qualifier,
long timestamp)
Deprecated.
Since hbase-1.0.0. Use
addColumns(byte[], byte[], long) |
Delete |
Delete.deleteFamily(byte[] family)
Deprecated.
Since 1.0.0. Use
addFamily(byte[]) |
Delete |
Delete.deleteFamily(byte[] family,
long timestamp)
Deprecated.
Since 1.0.0. Use
addFamily(byte[], long) |
Delete |
Delete.deleteFamilyVersion(byte[] family,
long timestamp)
Deprecated.
Since hbase-1.0.0. Use
addFamilyVersion(byte[], long) |
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) |
Delete |
Delete.setFamilyMap(NavigableMap<byte[],List<KeyValue>> map)
Deprecated.
|
Delete |
Delete.setId(String id) |
Delete |
Delete.setTimestamp(long timestamp)
Set the timestamp of the delete.
|
Delete |
Delete.setTTL(long ttl) |
Delete |
Delete.setWriteToWAL(boolean write)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowMutations.add(Delete d)
Add a
Delete operation to the list of mutations |
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
HTablePool.PooledHTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete) |
boolean |
HTableWrapper.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Delete delete) |
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
HTablePool.PooledHTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete) |
boolean |
HTableWrapper.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete) |
void |
HTable.delete(Delete delete)
Deletes the specified cells/row.
|
void |
Table.delete(Delete delete)
Deletes the specified cells/row.
|
void |
HTablePool.PooledHTable.delete(Delete delete) |
void |
HTableWrapper.delete(Delete delete) |
Modifier and Type | Method and Description |
---|---|
void |
HTable.delete(List<Delete> deletes)
Deletes the specified cells/rows in bulk.
|
void |
Table.delete(List<Delete> deletes)
Deletes the specified cells/rows in bulk.
|
void |
HTablePool.PooledHTable.delete(List<Delete> deletes) |
void |
HTableWrapper.delete(List<Delete> deletes) |
Constructor and Description |
---|
Delete(Delete d) |
Modifier and Type | Method and Description |
---|---|
boolean |
RegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called after checkAndDelete
|
boolean |
BaseRegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
void |
RegionObserver.postDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability)
Called after the client deletes a value.
|
void |
BaseRegionObserver.postDelete(ObserverContext<RegionCoprocessorEnvironment> e,
Delete delete,
WALEdit edit,
Durability durability) |
boolean |
RegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete.
|
boolean |
BaseRegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
RegionObserver.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete but after acquiring rowock.
|
boolean |
BaseRegionObserver.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
void |
RegionObserver.preDelete(ObserverContext<RegionCoprocessorEnvironment> c,
Delete delete,
WALEdit edit,
Durability durability)
Called before the client deletes a value.
|
void |
BaseRegionObserver.preDelete(ObserverContext<RegionCoprocessorEnvironment> e,
Delete delete,
WALEdit edit,
Durability durability) |
Modifier and Type | Method and Description |
---|---|
private Delete |
BulkDeleteEndpoint.createDeleteMutation(List<Cell> deleteRow,
org.apache.hadoop.hbase.coprocessor.example.generated.BulkDeleteProtos.BulkDeleteRequest.DeleteType deleteType,
Long timestamp) |
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 |
---|---|
private static void |
QuotaUtil.doDelete(Connection connection,
Delete delete) |
Modifier and Type | Method and Description |
---|---|
void |
Region.delete(Delete delete)
Deletes the specified cells/row.
|
void |
HRegion.delete(Delete delete) |
boolean |
RegionCoprocessorHost.postCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
void |
RegionCoprocessorHost.postDelete(Delete delete,
WALEdit edit,
Durability durability) |
Boolean |
RegionCoprocessorHost.preCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete) |
Boolean |
RegionCoprocessorHost.preCheckAndDeleteAfterRowLock(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete) |
boolean |
RegionCoprocessorHost.preDelete(Delete delete,
WALEdit edit,
Durability durability) |
void |
Region.prepareDelete(Delete delete)
Prepare a delete for a row mutation processor
|
void |
HRegion.prepareDelete(Delete delete) |
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) |
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,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
AccessController.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
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 |
ThriftUtilities.deleteFromThrift(org.apache.hadoop.hbase.thrift2.generated.TDelete in)
Creates a
Delete (HBase) from a TDelete (Thrift). |
Modifier and Type | Method and Description |
---|---|
static List<Delete> |
ThriftUtilities.deletesFromThrift(List<org.apache.hadoop.hbase.thrift2.generated.TDelete> in)
Converts multiple
TDelete s (Thrift) into a list of Delete s (HBase). |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.thrift2.generated.TDelete |
ThriftUtilities.deleteFromHBase(Delete in) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.