Uses of Class
org.apache.hadoop.hbase.wal.WALEdit

Packages that use 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

    Methods in org.apache.hadoop.hbase.coprocessor with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    default 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 Append
    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)
    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 increment
    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)
    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 a WALEdit 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 a WALEdit 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

    Methods in org.apache.hadoop.hbase.mapreduce that return types with arguments of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    org.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)
     
    Methods in org.apache.hadoop.hbase.mapreduce with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    void
    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

    Methods in org.apache.hadoop.hbase.regionserver that return org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.wal.WALEdit
    MiniBatchOperationInProgress.getWalEdit(int index)
    Returns Gets the walEdit for the operation(Mutation) at the specified position.
    Methods in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    org.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.
    Constructors in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier
    Constructor
    Description
     
    MiniBatchOperationInProgress(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

    Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    protected 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

    Methods in org.apache.hadoop.hbase.wal that return org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    org.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 WALEdit
    static 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 has c serialized as its value
    static 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 with METAFAMILY family and REPLICATION_MARKER qualifier and has null value.
    org.apache.hadoop.hbase.wal.WALEdit
    WAL.Entry.getEdit()
    Gets the edit
    Methods in org.apache.hadoop.hbase.wal with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    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 boolean
    WALEdit.isReplicationMarkerEdit(org.apache.hadoop.hbase.wal.WALEdit edit)
    Checks whether this edit is a replication marker edit.
    Method parameters in org.apache.hadoop.hbase.wal with type arguments of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier and Type
    Method
    Description
    static 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.
    Constructors in org.apache.hadoop.hbase.wal with parameters of type org.apache.hadoop.hbase.wal.WALEdit in in
    Modifier
    Constructor
    Description
     
    Entry(org.apache.hadoop.hbase.wal.WALKeyImpl key, org.apache.hadoop.hbase.wal.WALEdit edit)
    Constructor for both params