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 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) |
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) |
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 | 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 |
---|---|
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 |
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 |
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,
CompareFilter.CompareOp compareOp,
byte[] value,
Put put)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
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 |
HTableMultiplexer.put(byte[] tableName,
Put put)
Deprecated.
|
boolean |
HTableMultiplexer.put(byte[] tableName,
Put put,
int retry)
Deprecated.
|
void |
Table.put(Put put)
Puts some data in the table.
|
void |
HTable.put(Put put)
Puts some data in the table.
|
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 retry)
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.
|
List<Put> |
HTableMultiplexer.put(byte[] tableName,
List<Put> puts)
Deprecated.
|
void |
Table.put(List<Put> puts)
Puts some data in the table, in batch.
|
void |
HTable.put(List<Put> puts)
Puts some data in the table, in batch.
|
List<Put> |
HTableMultiplexer.put(TableName tableName,
List<Put> puts)
The puts request will be buffered by their corresponding buffer queue.
|
Constructor and Description |
---|
Put(Put putToCopy)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static Put |
ProtobufUtil.toPut(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto proto)
Convert a protocol buffer Mutate to a Put.
|
static Put |
ProtobufUtil.toPut(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto proto,
CellScanner cellScanner)
Convert a protocol buffer Mutate to a Put.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
byte[] row,
byte[] family,
byte[] qualifier,
ByteArrayComparable comparator,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType,
Put put)
Create a protocol buffer MutateRequest for a conditioned put
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
Put put)
Create a protocol buffer MutateRequest for a put
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.