Uses of Class
org.apache.hadoop.hbase.wal.WALEdit
Package
Description
Table of Contents
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault org.apache.hadoop.hbase.client.Result
RegionObserver.postAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.hbase.wal.WALEdit edit) Called after Appenddefault void
RegionObserver.postDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit) Called after the client deletes a value.default void
RegionObserver.postDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) Deprecated.since 2.5.0 and will be removed in 4.0.0.default org.apache.hadoop.hbase.client.Result
RegionObserver.postIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.hbase.wal.WALEdit edit) Called after incrementdefault void
RegionObserver.postPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<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<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 2.5.0 and will be removed in 4.0.0.default void
RegionObserver.postWALRestore
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Called after aWALEdit
replayed for this region.default void
WALObserver.postWALWrite
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.WALCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Deprecated.Since hbase-2.0.0.default org.apache.hadoop.hbase.client.Result
RegionObserver.preAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.wal.WALEdit edit) Called before Append.default void
RegionObserver.preDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit) Called before the client deletes a value.default void
RegionObserver.preDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) Deprecated.since 2.5.0 and will be removed in 4.0.0.default org.apache.hadoop.hbase.client.Result
RegionObserver.preIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.wal.WALEdit edit) Called before Increment.default void
RegionObserver.prePut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<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<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 2.5.0 and will be removed in 4.0.0.default void
RegionObserver.preWALAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit edit) Called just before the WAL Entry is appended to the WAL.default void
RegionObserver.preWALRestore
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Called before aWALEdit
replayed for this region.default void
WALObserver.preWALWrite
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.WALCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Deprecated.Since hbase-2.0.0. -
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.hbase.wal.WALKey,
org.apache.hadoop.hbase.wal.WALEdit> WALInputFormat.createRecordReader
(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) Modifier and TypeMethodDescriptionvoid
WALPlayer.WALMapper.map
(org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.wal.WALKey, org.apache.hadoop.hbase.wal.WALEdit, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Mutation>.org.apache.hadoop.mapreduce.Mapper.Context context) -
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.wal.WALEdit
MiniBatchOperationInProgress.getWalEdit
(int index) Returns Gets the walEdit for the operation(Mutation) at the specified position.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.Result
RegionCoprocessorHost.postAppend
(org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.hbase.wal.WALEdit edit) void
RegionCoprocessorHost.postDelete
(org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit) org.apache.hadoop.hbase.client.Result
RegionCoprocessorHost.postIncrement
(org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.hbase.wal.WALEdit edit) void
BaseRowProcessor.postProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit, boolean success) void
RowProcessor.postProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit, boolean success) Deprecated.The hook to be executed after process() and applying the Mutations to region.void
RegionCoprocessorHost.postPut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) void
RegionCoprocessorHost.postWALRestore
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Deprecated.Since hbase-2.0.0.org.apache.hadoop.hbase.client.Result
RegionCoprocessorHost.preAppend
(org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.wal.WALEdit edit) Supports Coprocessor 'bypass'.void
BaseRowProcessor.preBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) void
RowProcessor.preBatchMutate
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.The hook to be executed after the process() but before applying the Mutations to region.boolean
RegionCoprocessorHost.preDelete
(org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit) Supports Coprocessor 'bypass'.org.apache.hadoop.hbase.client.Result
RegionCoprocessorHost.preIncrement
(org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.wal.WALEdit edit) Supports Coprocessor 'bypass'.void
BaseRowProcessor.preProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) void
RowProcessor.preProcess
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.The hook to be executed before process().boolean
RegionCoprocessorHost.prePut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) Supports Coprocessor 'bypass'.void
RegionCoprocessorHost.preWALAppend
(org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit edit) boolean
RegionCoprocessorHost.preWALRestore
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Deprecated.Since hbase-2.0.0.void
RowProcessor.process
(long now, org.apache.hadoop.hbase.regionserver.HRegion region, List<org.apache.hadoop.hbase.client.Mutation> mutations, org.apache.hadoop.hbase.wal.WALEdit walEdit) Deprecated.HRegion handles the locks and MVCC and invokes this method properly.void
MiniBatchOperationInProgress.setWalEdit
(int index, org.apache.hadoop.hbase.wal.WALEdit walEdit) Sets the walEdit for the operation(Mutation) at the specified position.ModifierConstructorDescriptionMiniBatchOperationInProgress
(T[] operations, org.apache.hadoop.hbase.regionserver.OperationStatus[] retCodeDetails, org.apache.hadoop.hbase.wal.WALEdit[] walEditsFromCoprocessors, int firstIndex, int lastIndexExclusive, int readyToWriteCount) -
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.regionserver.wal
Modifier and TypeMethodDescriptionprotected abstract long
AbstractFSWAL.append
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits, boolean inMemstore) Append a set of edits to the WAL.protected long
AsyncFSWAL.append
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits, boolean inMemstore) protected long
FSHLog.append
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits, boolean inMemstore) long
AbstractFSWAL.appendData
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits) long
AbstractFSWAL.appendMarker
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits) static void
WALUtil.filterCells
(org.apache.hadoop.hbase.wal.WALEdit edit, Function<org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.Cell> mapper) void
MetricsWAL.postAppend
(long size, long time, org.apache.hadoop.hbase.wal.WALKey logkey, org.apache.hadoop.hbase.wal.WALEdit logEdit) default void
WALActionsListener.postAppend
(long entryLen, long elapsedTimeMillis, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) For notification post append to the writer.void
WALCoprocessorHost.postWALWrite
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) void
WALCoprocessorHost.preWALWrite
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) protected final long
AbstractFSWAL.stampSequenceIdAndPublishToRingBuffer
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits, boolean inMemstore, com.lmax.disruptor.RingBuffer<org.apache.hadoop.hbase.regionserver.wal.RingBufferTruck> ringBuffer) default void
WALActionsListener.visitLogEntryBeforeWrite
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) Called before each write. -
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.wal
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.wal.WALEdit
WALEdit.add
(org.apache.hadoop.hbase.Cell cell) org.apache.hadoop.hbase.wal.WALEdit
WALEdit.add
(org.apache.hadoop.hbase.Cell cell, byte[] family) static org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createBulkLoadEvent
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor bulkLoadDescriptor) Create a bulk loader WALEditstatic org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createCompaction
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor c) Returns A Marker WALEdit that hasc
serialized as its valuestatic org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createFlushWALEdit
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor f) static org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createRegionEventWALEdit
(byte[] rowForRegion, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor regionEventDesc) static org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createRegionEventWALEdit
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor regionEventDesc) static org.apache.hadoop.hbase.wal.WALEdit
WALEdit.createReplicationMarkerEdit
(byte[] rowKey, long timestamp) Creates a replication tracker edit withMETAFAMILY
family andREPLICATION_MARKER
qualifier and has null value.org.apache.hadoop.hbase.wal.WALEdit
WAL.Entry.getEdit()
Gets the editModifier and TypeMethodDescriptionlong
WAL.appendData
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits) Append a set of data edits to the WAL.long
WAL.appendMarker
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits) Append an operational 'meta' event marker edit to the WAL.static boolean
WALEdit.isReplicationMarkerEdit
(org.apache.hadoop.hbase.wal.WALEdit edit) Checks whether this edit is a replication marker edit.Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.wal.WALSplitUtil.MutationReplay>
WALSplitUtil.getMutationsFromWALEntry
(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry entry, org.apache.hadoop.hbase.CellScanner cells, org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.wal.WALKey, org.apache.hadoop.hbase.wal.WALEdit> logEntry, org.apache.hadoop.hbase.client.Durability durability) This function is used to construct mutations from a WALEntry.ModifierConstructorDescriptionEntry
(org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edit) Constructor for both params