Uses of Class
org.apache.hadoop.hbase.client.Put
Package
Description
Provides HBase Client
Table of Contents
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Multi Cluster Replication
-
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addDaughtersToPut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.client.RegionInfo splitA, org.apache.hadoop.hbase.client.RegionInfo splitB) Adds split daughters to the Putstatic org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addEmptyLocation
(org.apache.hadoop.hbase.client.Put p, int replicaId) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addLocation
(org.apache.hadoop.hbase.client.Put p, org.apache.hadoop.hbase.ServerName sn, long openSeqNum, int replicaId) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addRegionInfo
(org.apache.hadoop.hbase.client.Put p, org.apache.hadoop.hbase.client.RegionInfo hri) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addRegionStateToPut
(org.apache.hadoop.hbase.client.Put put, int replicaId, org.apache.hadoop.hbase.master.RegionState.State state) Set the column value corresponding to thisreplicaId
'sRegionState
to the providedstate
.static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.makePutFromRegionInfo
(org.apache.hadoop.hbase.client.RegionInfo regionInfo) Generates and returns aPut
containing theRegionInfo
for the catalog table.static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.makePutFromRegionInfo
(org.apache.hadoop.hbase.client.RegionInfo regionInfo, long ts) Generates and returns aPut
containing theRegionInfo
for the catalog table.static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.makePutFromTableState
(org.apache.hadoop.hbase.client.TableState state, long ts) Construct PUT for given stateModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addDaughtersToPut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.client.RegionInfo splitA, org.apache.hadoop.hbase.client.RegionInfo splitB) Adds split daughters to the Putstatic org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addEmptyLocation
(org.apache.hadoop.hbase.client.Put p, int replicaId) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addLocation
(org.apache.hadoop.hbase.client.Put p, org.apache.hadoop.hbase.ServerName sn, long openSeqNum, int replicaId) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addRegionInfo
(org.apache.hadoop.hbase.client.Put p, org.apache.hadoop.hbase.client.RegionInfo hri) static org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addRegionStateToPut
(org.apache.hadoop.hbase.client.Put put, int replicaId, org.apache.hadoop.hbase.master.RegionState.State state) Set the column value corresponding to thisreplicaId
'sRegionState
to the providedstate
.Modifier and TypeMethodDescriptionstatic void
MetaTableAccessor.putsToMetaTable
(org.apache.hadoop.hbase.client.Connection connection, List<org.apache.hadoop.hbase.client.Put> ps) Put the passedps
to thehbase:meta
table. -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.Put
Put.add
(org.apache.hadoop.hbase.Cell cell) Add the specified KeyValue to this Put operation.org.apache.hadoop.hbase.client.Put
Put.addColumn
(byte[] family, byte[] qualifier, byte[] value) Add the specified column and value to this Put operation.org.apache.hadoop.hbase.client.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.org.apache.hadoop.hbase.client.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.org.apache.hadoop.hbase.client.Put
Put.setACL
(String user, org.apache.hadoop.hbase.security.access.Permission perms) org.apache.hadoop.hbase.client.Put
org.apache.hadoop.hbase.client.Put
Put.setAttribute
(String name, byte[] value) org.apache.hadoop.hbase.client.Put
Put.setCellVisibility
(org.apache.hadoop.hbase.security.visibility.CellVisibility expression) org.apache.hadoop.hbase.client.Put
org.apache.hadoop.hbase.client.Put
Put.setDurability
(org.apache.hadoop.hbase.client.Durability d) org.apache.hadoop.hbase.client.Put
Put.setId
(String id) org.apache.hadoop.hbase.client.Put
Put.setPriority
(int priority) org.apache.hadoop.hbase.client.Put
Put.setTimestamp
(long timestamp) org.apache.hadoop.hbase.client.Put
Put.setTTL
(long ttl) Modifier and TypeMethodDescriptionCheckAndMutate.Builder.build
(org.apache.hadoop.hbase.client.Put put) Build the CheckAndMutate objectAsyncTable.put
(org.apache.hadoop.hbase.client.Put put) Puts some data to the table.default void
Table.put
(org.apache.hadoop.hbase.client.Put put) Puts some data in the table.AsyncTable.CheckAndMutateBuilder.thenPut
(org.apache.hadoop.hbase.client.Put put) Deprecated.Specify a Put to commit if the check succeeds.AsyncTable.CheckAndMutateWithFilterBuilder.thenPut
(org.apache.hadoop.hbase.client.Put put) Deprecated.Specify a Put to commit if the check succeeds.boolean
Table.CheckAndMutateBuilder.thenPut
(org.apache.hadoop.hbase.client.Put put) Deprecated.Specify a Put to commit if the check succeeds.boolean
Table.CheckAndMutateWithFilterBuilder.thenPut
(org.apache.hadoop.hbase.client.Put put) Deprecated.Specify a Put to commit if the check succeeds.Modifier and TypeMethodDescriptionAsyncTable.put
(List<org.apache.hadoop.hbase.client.Put> puts) Puts some data in the table, in batch.default void
Table.put
(List<org.apache.hadoop.hbase.client.Put> puts) Batch puts the specified data into the table.default CompletableFuture<Void>
AsyncTable.putAll
(List<org.apache.hadoop.hbase.client.Put> puts) A simple version of batch put.ModifierConstructorDescriptionPut
(org.apache.hadoop.hbase.client.Put putToCopy) Copy constructor. -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault boolean
RegionObserver.postCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.postCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default void
RegionObserver.postPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) Called after the client stores a value.default void
RegionObserver.postPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPutAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPutAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default void
RegionObserver.prePut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) Called before the client stores a value.default void
RegionObserver.prePut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) Deprecated.since 3.0.0 and will be removed in 4.0.0. -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.mapred
Modifier and TypeMethodDescriptionvoid
TableOutputFormat.TableRecordWriter.write
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Put value) Modifier and TypeMethodDescriptionvoid
IdentityTableReduce.reduce
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterator<org.apache.hadoop.hbase.client.Put> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put> output, org.apache.hadoop.mapred.Reporter reporter) No aggregation, output pairs of (key, record)void
IdentityTableReduce.reduce
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterator<org.apache.hadoop.hbase.client.Put> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put> output, org.apache.hadoop.mapred.Reporter reporter) No aggregation, output pairs of (key, record) -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionprotected void
Import.Importer.addPutToKv
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.Cell kv) protected void
TsvImporterMapper.populatePut
(byte[] lineBytes, org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.ParsedLine parsed, org.apache.hadoop.hbase.client.Put put, int i) protected void
Import.Importer.processKV
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Mutation>.org.apache.hadoop.mapreduce.Mapper.Context context, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.client.Delete delete) Modifier and TypeMethodDescriptionprotected void
PutCombiner.reduce
(K row, Iterable<org.apache.hadoop.hbase.client.Put> vals, org.apache.hadoop.mapreduce.Reducer<K, org.apache.hadoop.hbase.client.Put, K, org.apache.hadoop.hbase.client.Put>.org.apache.hadoop.mapreduce.Reducer.Context context) protected void
PutSortReducer.reduce
(org.apache.hadoop.hbase.io.ImmutableBytesWritable row, Iterable<org.apache.hadoop.hbase.client.Put> puts, org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.KeyValue>.org.apache.hadoop.mapreduce.Reducer.Context context) -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionvoid
RegionCoprocessorHost.postPut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) boolean
RegionCoprocessorHost.prePut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) Supports Coprocessor 'bypass'.void
HRegion.put
(org.apache.hadoop.hbase.client.Put put) void
Region.put
(org.apache.hadoop.hbase.client.Put put) Puts some data in the table. -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.replication
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Put
ReplicationBarrierFamilyFormat.makePutForReplicationBarrier
(org.apache.hadoop.hbase.client.RegionInfo regionInfo, long openSeqNum, long ts) Modifier and TypeMethodDescriptionstatic void
ReplicationBarrierFamilyFormat.addReplicationBarrier
(org.apache.hadoop.hbase.client.Put put, long openSeqNum) static void
ReplicationBarrierFamilyFormat.addReplicationParent
(org.apache.hadoop.hbase.client.Put put, List<org.apache.hadoop.hbase.client.RegionInfo> parents) -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Put
ProtobufUtil.toPut
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto proto) Convert a protocol buffer Mutate to a Put.static org.apache.hadoop.hbase.client.Put
ProtobufUtil.toPut
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto proto, org.apache.hadoop.hbase.CellScanner cellScanner) Convert a protocol buffer Mutate to a Put.Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest
RequestConverter.buildMutateRequest
(byte[] regionName, org.apache.hadoop.hbase.client.Put put) Create a protocol buffer MutateRequest for a put -
Uses of org.apache.hadoop.hbase.client.Put in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionvoid
MultiThreadedWriter.HBaseWriterThread.insert
(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Put put, long keyBase) void
MultiThreadedWriterWithACL.HBaseWriterThreadWithACL.insert
(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Put put, long keyBase)