Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.constraint |
Restrict the domain of a data attribute, often times to fulfill business rules/requirements.
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.mapred |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.master.balancer | |
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.
|
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
static Put |
MetaTableAccessor.addDaughtersToPut(Put put,
HRegionInfo splitA,
HRegionInfo splitB)
Adds split daughters to the Put
|
static Put |
MetaTableAccessor.addEmptyLocation(Put p,
int replicaId) |
static Put |
MetaTableAccessor.addLocation(Put p,
ServerName sn,
long openSeqNum,
long time,
int replicaId) |
private static Put |
MetaTableAccessor.addRegionInfo(Put p,
HRegionInfo hri) |
static Put |
MetaTableAccessor.makePutFromRegionInfo(HRegionInfo regionInfo)
Generates and returns a Put containing the region into for the catalog table
|
static Put |
MetaTableAccessor.makePutFromRegionInfo(HRegionInfo regionInfo,
long ts)
Generates and returns a Put containing the region into for the catalog table
|
Modifier and Type | Method and Description |
---|---|
static Put |
MetaTableAccessor.addDaughtersToPut(Put put,
HRegionInfo splitA,
HRegionInfo splitB)
Adds split daughters to the Put
|
static Put |
MetaTableAccessor.addEmptyLocation(Put p,
int replicaId) |
static Put |
MetaTableAccessor.addLocation(Put p,
ServerName sn,
long openSeqNum,
long time,
int replicaId) |
private static Put |
MetaTableAccessor.addRegionInfo(Put p,
HRegionInfo hri) |
(package private) static void |
MetaMigrationConvertingToPB.migrateSplitIfNecessary(Result r,
Put p,
byte[] which)
Deprecated.
|
private static void |
MetaTableAccessor.put(Table t,
Put p) |
(package private) static void |
MetaTableAccessor.putToMetaTable(Connection connection,
Put p)
Put the passed
p to the hbase:meta table. |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableAccessor.putsToMetaTable(Connection connection,
List<Put> ps)
Put the passed
ps to the hbase:meta table. |
Modifier and Type | Field and Description |
---|---|
Put |
HTableMultiplexer.PutStatus.put |
Modifier and Type | Method and Description |
---|---|
Put |
Put.add(byte[] family,
byte[] qualifier,
byte[] value)
Deprecated.
Since 1.0.0. Use
addColumn(byte[], byte[], byte[]) |
Put |
Put.add(byte[] family,
byte[] qualifier,
long ts,
byte[] value)
Deprecated.
Since 1.0.0. Use
addColumn(byte[], byte[], long, byte[]) |
Put |
Put.add(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value)
Deprecated.
Since 1.0.0. Use
addColumn(byte[], ByteBuffer, long, ByteBuffer) |
Put |
Put.add(Cell kv)
Add the specified KeyValue to this Put operation.
|
Put |
Put.addColumn(byte[] family,
byte[] qualifier,
byte[] value)
Add the specified column and value to this Put operation.
|
Put |
Put.addColumn(byte[] family,
byte[] qualifier,
long ts,
byte[] value)
Add the specified column and value, with the specified timestamp as
its version to this Put operation.
|
Put |
Put.addColumn(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value)
Add the specified column and value, with the specified timestamp as
its version to this Put operation.
|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
byte[] value)
|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
byte[] value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
long ts,
byte[] value)
|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
long ts,
byte[] value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Put |
Put.addImmutable(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value)
|
Put |
Put.addImmutable(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Put |
Put.setACL(Map<String,Permission> perms) |
Put |
Put.setACL(String user,
Permission perms) |
Put |
Put.setAttribute(String name,
byte[] value) |
Put |
Put.setCellVisibility(CellVisibility expression) |
Put |
Put.setClusterIds(List<UUID> clusterIds) |
Put |
Put.setDurability(Durability d) |
Put |
Put.setFamilyCellMap(NavigableMap<byte[],List<Cell>> map) |
Put |
Put.setFamilyMap(NavigableMap<byte[],List<KeyValue>> map)
Deprecated.
|
Put |
Put.setId(String id) |
Put |
Put.setTTL(long ttl) |
Put |
Put.setWriteToWAL(boolean write)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private static Map<String,List<Put>> |
HTableUtil.createRsPutMap(RegionLocator htable,
List<Put> puts)
Deprecated.
|
List<Put> |
HTableMultiplexer.put(byte[] tableName,
List<Put> puts)
Deprecated.
|
List<Put> |
HTableMultiplexer.put(TableName tableName,
List<Put> puts)
The puts request will be buffered by their corresponding buffer queue.
|
Modifier and Type | Method and Description |
---|---|
void |
RowMutations.add(Put p)
Add a
Put operation to the list of mutations |
boolean |
HTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Put put)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
Table.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Put put)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
HTablePool.PooledHTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Put put) |
boolean |
HTableWrapper.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Put put) |
boolean |
HTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
Table.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
HTablePool.PooledHTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put) |
boolean |
HTableWrapper.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put) |
boolean |
HTableMultiplexer.put(byte[] tableName,
Put put)
Deprecated.
|
boolean |
HTableMultiplexer.put(byte[] tableName,
Put put,
int retry)
Deprecated.
|
void |
HTable.put(Put put)
Puts some data in the table.
|
void |
Table.put(Put put)
Puts some data in the table.
|
void |
HTablePool.PooledHTable.put(Put put) |
void |
HTableWrapper.put(Put put) |
boolean |
HTableMultiplexer.put(TableName tableName,
Put put)
The put request will be buffered by its corresponding buffer queue.
|
boolean |
HTableMultiplexer.put(TableName tableName,
Put put,
int maxAttempts)
The put request will be buffered by its corresponding buffer queue.
|
void |
HTable.validatePut(Put put) |
void |
BufferedMutatorImpl.validatePut(Put put) |
static void |
HTable.validatePut(Put put,
int maxKeyValueSize) |
Modifier and Type | Method and Description |
---|---|
static void |
HTableUtil.bucketRsPut(HTable htable,
List<Put> puts)
Deprecated.
Processes a List of Puts and writes them to an HTable instance in RegionServer buckets via the htable.put method.
|
private static Map<String,List<Put>> |
HTableUtil.createRsPutMap(RegionLocator htable,
List<Put> puts)
Deprecated.
|
List<Put> |
HTableMultiplexer.put(byte[] tableName,
List<Put> puts)
Deprecated.
|
void |
HTable.put(List<Put> puts)
Puts some data in the table, in batch.
|
void |
Table.put(List<Put> puts)
Puts some data in the table, in batch.
|
void |
HTablePool.PooledHTable.put(List<Put> puts) |
void |
HTableWrapper.put(List<Put> puts) |
List<Put> |
HTableMultiplexer.put(TableName tableName,
List<Put> puts)
The puts request will be buffered by their corresponding buffer queue.
|
Constructor and Description |
---|
HTableMultiplexer.PutStatus(HRegionInfo regionInfo,
Put put,
int retryCount) |
Put(Put putToCopy)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Constraint.check(Put p)
Check a
Put to ensure it is valid for the table. |
void |
ConstraintProcessor.prePut(ObserverContext<RegionCoprocessorEnvironment> e,
Put put,
WALEdit edit,
Durability durability) |
Modifier and Type | Method and Description |
---|---|
boolean |
RegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result)
Called after checkAndPut
|
boolean |
BaseRegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
void |
RegionObserver.postPut(ObserverContext<RegionCoprocessorEnvironment> c,
Put put,
WALEdit edit,
Durability durability)
Called after the client stores a value.
|
void |
BaseRegionObserver.postPut(ObserverContext<RegionCoprocessorEnvironment> e,
Put put,
WALEdit edit,
Durability durability) |
boolean |
RegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result)
Called before checkAndPut.
|
boolean |
BaseRegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
boolean |
RegionObserver.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result)
Called before checkAndPut but after acquiring rowlock.
|
boolean |
BaseRegionObserver.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
void |
RegionObserver.prePut(ObserverContext<RegionCoprocessorEnvironment> c,
Put put,
WALEdit edit,
Durability durability)
Called before the client stores a value.
|
void |
BaseRegionObserver.prePut(ObserverContext<RegionCoprocessorEnvironment> e,
Put put,
WALEdit edit,
Durability durability) |
Modifier and Type | Method and Description |
---|---|
void |
TableOutputFormat.TableRecordWriter.write(ImmutableBytesWritable key,
Put value) |
Modifier and Type | Method and Description |
---|---|
void |
IdentityTableReduce.reduce(ImmutableBytesWritable key,
Iterator<Put> values,
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Put> output,
org.apache.hadoop.mapred.Reporter reporter)
No aggregation, output pairs of (key, record)
|
void |
IdentityTableReduce.reduce(ImmutableBytesWritable key,
Iterator<Put> values,
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Put> output,
org.apache.hadoop.mapred.Reporter reporter)
No aggregation, output pairs of (key, record)
|
Modifier and Type | Method and Description |
---|---|
protected void |
Import.Importer.addPutToKv(Put put,
Cell kv) |
protected void |
TsvImporterMapper.populatePut(byte[] lineBytes,
ImportTsv.TsvParser.ParsedLine parsed,
Put put,
int i) |
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 |
---|---|
protected void |
PutSortReducer.reduce(ImmutableBytesWritable row,
Iterable<Put> puts,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
PutCombiner.reduce(K row,
Iterable<Put> vals,
org.apache.hadoop.mapreduce.Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
(package private) static Put |
FavoredNodeAssignmentHelper.makePutFromRegionInfo(HRegionInfo regionInfo,
List<ServerName> favoredNodeList)
Generates and returns a Put containing the region info for the catalog table
and the servers
|
Modifier and Type | Method and Description |
---|---|
private static void |
QuotaUtil.doPut(Connection connection,
Put put) |
Modifier and Type | Method and Description |
---|---|
private static Put |
SplitTransactionImpl.addEmptyLocation(Put p,
int replicaId) |
private static Put |
RegionMergeTransactionImpl.addEmptyLocation(Put p,
int replicaId) |
Put |
SplitTransactionImpl.addLocation(Put p,
ServerName sn,
long openSeqNum) |
Put |
RegionMergeTransactionImpl.addLocation(Put p,
ServerName sn,
long openSeqNum) |
Modifier and Type | Method and Description |
---|---|
private static Put |
SplitTransactionImpl.addEmptyLocation(Put p,
int replicaId) |
private static Put |
RegionMergeTransactionImpl.addEmptyLocation(Put p,
int replicaId) |
Put |
SplitTransactionImpl.addLocation(Put p,
ServerName sn,
long openSeqNum) |
Put |
RegionMergeTransactionImpl.addLocation(Put p,
ServerName sn,
long openSeqNum) |
boolean |
RegionCoprocessorHost.postCheckAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
void |
RegionCoprocessorHost.postPut(Put put,
WALEdit edit,
Durability durability) |
Boolean |
RegionCoprocessorHost.preCheckAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put) |
Boolean |
RegionCoprocessorHost.preCheckAndPutAfterRowLock(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put) |
boolean |
RegionCoprocessorHost.prePut(Put put,
WALEdit edit,
Durability durability) |
void |
Region.put(Put put)
Puts some data in the table.
|
void |
HRegion.put(Put put) |
Modifier and Type | Method and Description |
---|---|
protected CellSetModel |
RemoteHTable.buildModelFromPut(Put put) |
boolean |
RemoteHTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
byte[] value,
Put put) |
boolean |
RemoteHTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put) |
void |
RemoteHTable.put(Put put) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteHTable.put(List<Put> puts) |
Modifier and Type | Method and Description |
---|---|
void |
AccessController.postPut(ObserverContext<RegionCoprocessorEnvironment> c,
Put put,
WALEdit edit,
Durability durability) |
boolean |
AccessController.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
boolean |
AccessController.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
Put put,
boolean result) |
void |
AccessController.prePut(ObserverContext<RegionCoprocessorEnvironment> c,
Put put,
WALEdit edit,
Durability durability) |
Modifier and Type | Method and Description |
---|---|
static Put |
ThriftUtilities.putFromThrift(org.apache.hadoop.hbase.thrift2.generated.TPut in)
Creates a
Put (HBase) from a TPut (Thrift) |
Modifier and Type | Method and Description |
---|---|
static List<Put> |
ThriftUtilities.putsFromThrift(List<org.apache.hadoop.hbase.thrift2.generated.TPut> in)
Converts multiple
TPut s (Thrift) into a list of Put s (HBase). |
Modifier and Type | Method and Description |
---|---|
private ArrayList<Put> |
HBaseFsck.generatePuts(SortedMap<TableName,HBaseFsck.TableInfo> tablesInfo)
Generate set of puts to add to new meta.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.