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<? extends 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<? extends 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<? extends 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 3.0.0 and will be removed in 4.0.0.default org.apache.hadoop.hbase.client.Result
RegionObserver.postIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends 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<? 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 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) Called after aWALEdit
is writen to WAL.default org.apache.hadoop.hbase.client.Result
RegionObserver.preAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends 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<? extends 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<? extends 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 3.0.0 and will be removed in 4.0.0.default org.apache.hadoop.hbase.client.Result
RegionObserver.preIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends 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<? 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.default void
RegionObserver.preWALAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends 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
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) Called before aWALEdit
is writen to WAL. -
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.org.apache.hadoop.hbase.wal.WALEdit
MiniBatchOperationInProgress.getWalEditForReplicateIfExistsSkipWAL()
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
RegionCoprocessorHost.postPut
(org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit) 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'.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'.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) void
MiniBatchOperationInProgress.setWalEdit
(int index, org.apache.hadoop.hbase.wal.WALEdit walEdit) Sets the walEdit for the operation(Mutation) at the specified position.void
MiniBatchOperationInProgress.setWalEditForReplicateIfExistsSkipWAL
(org.apache.hadoop.hbase.wal.WALEdit walEditForReplicateSkipWAL) 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.regionreplication
Modifier and TypeMethodDescriptionvoid
RegionReplicationSink.add
(org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.ipc.ServerCall<?> rpcCall) Add this edit to replication queue. -
Uses of org.apache.hadoop.hbase.wal.WALEdit in org.apache.hadoop.hbase.regionserver.wal
Modifier and TypeMethodDescriptionprotected long
AbstractFSWAL.append
(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edits, boolean inMemstore) Append a set of edits to the WAL.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
WALEditInternalHelper.addExtendedCell
(org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.ExtendedCell cell) 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 TypeMethodDescriptionstatic void
WALEditInternalHelper.addExtendedCell
(org.apache.hadoop.hbase.wal.WALEdit edit, List<org.apache.hadoop.hbase.ExtendedCell> cells) static org.apache.hadoop.hbase.wal.WALEdit
WALEditInternalHelper.addExtendedCell
(org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.ExtendedCell cell) static void
WALEditInternalHelper.addMap
(org.apache.hadoop.hbase.wal.WALEdit edit, Map<byte[], List<org.apache.hadoop.hbase.ExtendedCell>> familyMap) long
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 List<org.apache.hadoop.hbase.ExtendedCell>
WALEditInternalHelper.getExtendedCells
(org.apache.hadoop.hbase.wal.WALEdit edit) static boolean
WALEdit.isReplicationMarkerEdit
(org.apache.hadoop.hbase.wal.WALEdit edit) Checks whether this edit is a replication marker edit.static void
WALEditInternalHelper.setExtendedCells
(org.apache.hadoop.hbase.wal.WALEdit edit, ArrayList<org.apache.hadoop.hbase.ExtendedCell> cells) 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.ExtendedCellScanner 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) Deprecated.Since 3.0.0, will be removed in 4.0.0.ModifierConstructorDescriptionEntry
(org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edit) Constructor for both paramsWALEdit
(org.apache.hadoop.hbase.wal.WALEdit walEdit) Create a new WALEdit from a existingWALEdit
.