Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
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
|
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 |
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 |
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,
CompareFilter.CompareOp compareOp,
byte[] value,
Delete delete)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
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.
|
void |
Table.delete(Delete delete)
Deletes the specified cells/row.
|
void |
HTable.delete(Delete delete)
Deletes the specified cells/row.
|
Modifier and Type | Method and Description |
---|---|
void |
Table.delete(List<Delete> deletes)
Deletes the specified cells/rows in bulk.
|
void |
HTable.delete(List<Delete> deletes)
Deletes the specified cells/rows in bulk.
|
Constructor and Description |
---|
Delete(Delete d) |
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,
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
|
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.