| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>WriteSinkCoprocessor (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.hadoop.hbase.tool, class: WriteSinkCoprocessor"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/WriteSinkCoprocessor.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.hadoop.hbase.tool</a></div> |
| <h1 title="Class WriteSinkCoprocessor" class="title">Class WriteSinkCoprocessor</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.hadoop.hbase.tool.WriteSinkCoprocessor</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../Coprocessor.html" title="interface in org.apache.hadoop.hbase">Coprocessor</a></code>, <code><a href="../coprocessor/RegionCoprocessor.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessor</a></code>, <code><a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Private |
| </span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-57">WriteSinkCoprocessor</a></span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> |
| implements <a href="../coprocessor/RegionCoprocessor.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessor</a>, <a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></span></div> |
| <div class="block"><p> |
| This coprocessor 'shallows' all the writes. It allows to test a pure write workload, going |
| through all the communication layers. The reads will work as well, but they as we never write, |
| they will always always return an empty structure. The WAL is also skipped. Obviously, the region |
| will never be split automatically. It's up to the user to split and move it. |
| </p> |
| <p> |
| For a table created like this: create 'usertable', {NAME => 'f1', VERSIONS => 1} |
| </p> |
| <p> |
| You can then add the coprocessor with this command: alter 'usertable', 'coprocessor' => |
| '|org.apache.hadoop.hbase.tool.WriteSinkCoprocessor|' |
| </p> |
| <p> |
| And then put 'usertable', 'f1', 'f1', 'f1' |
| </p> |
| <p> |
| scan 'usertable' Will return: 0 row(s) in 0.0050 seconds |
| </p> |
| TODO: It needs tests</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.apache.hadoop.hbase.Coprocessor">Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.<a href="../Coprocessor.html" title="interface in org.apache.hadoop.hbase">Coprocessor</a></h2> |
| <code><a href="../Coprocessor.State.html" title="enum class in org.apache.hadoop.hbase">Coprocessor.State</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.apache.hadoop.hbase.coprocessor.RegionObserver">Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.coprocessor.<a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></h2> |
| <code><a href="../coprocessor/RegionObserver.MutationType.html" title="enum class in org.apache.hadoop.hbase.coprocessor">RegionObserver.MutationType</a></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>private static final org.slf4j.Logger</code></div> |
| <div class="col-second even-row-color"><code><a href="#LOG" class="member-name-link">LOG</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicLong</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#ops" class="member-name-link">ops</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#regionName" class="member-name-link">regionName</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.Coprocessor">Fields inherited from interface org.apache.hadoop.hbase.<a href="../Coprocessor.html" title="interface in org.apache.hadoop.hbase">Coprocessor</a></h3> |
| <code><a href="../Coprocessor.html#PRIORITY_HIGHEST">PRIORITY_HIGHEST</a>, <a href="../Coprocessor.html#PRIORITY_LOWEST">PRIORITY_LOWEST</a>, <a href="../Coprocessor.html#PRIORITY_SYSTEM">PRIORITY_SYSTEM</a>, <a href="../Coprocessor.html#PRIORITY_USER">PRIORITY_USER</a>, <a href="../Coprocessor.html#VERSION">VERSION</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">WriteSinkCoprocessor</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Optional.html" title="class or interface in java.util" class="external-link">Optional</a><<a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRegionObserver()" class="member-name-link">getRegionObserver</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress)" class="member-name-link">preBatchMutate</a><wbr>(<a href="../coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> c, |
| <a href="../regionserver/MiniBatchOperationInProgress.html" title="class in org.apache.hadoop.hbase.regionserver">MiniBatchOperationInProgress</a><<a href="../client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a>> miniBatchOp)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This will be called for every batch mutation operation happening at the server.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext)" class="member-name-link">preOpen</a><wbr>(<a href="../coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> e)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Called before the region is reported as open to the master.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.Coprocessor">Methods inherited from interface org.apache.hadoop.hbase.<a href="../Coprocessor.html" title="interface in org.apache.hadoop.hbase">Coprocessor</a></h3> |
| <code><a href="../Coprocessor.html#getServices()">getServices</a>, <a href="../Coprocessor.html#start(org.apache.hadoop.hbase.CoprocessorEnvironment)">start</a>, <a href="../Coprocessor.html#stop(org.apache.hadoop.hbase.CoprocessorEnvironment)">stop</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.coprocessor.RegionCoprocessor">Methods inherited from interface org.apache.hadoop.hbase.coprocessor.<a href="../coprocessor/RegionCoprocessor.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessor</a></h3> |
| <code><a href="../coprocessor/RegionCoprocessor.html#getBulkLoadObserver()">getBulkLoadObserver</a>, <a href="../coprocessor/RegionCoprocessor.html#getEndpointObserver()">getEndpointObserver</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.coprocessor.RegionObserver">Methods inherited from interface org.apache.hadoop.hbase.coprocessor.<a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></h3> |
| <code><a href="../coprocessor/RegionObserver.html#postAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Append,org.apache.hadoop.hbase.client.Result)">postAppend</a>, <a href="../coprocessor/RegionObserver.html#postAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Append,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.wal.WALEdit)">postAppend</a>, <a href="../coprocessor/RegionObserver.html#postAppendBeforeWAL(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Mutation,java.util.List)">postAppendBeforeWAL</a>, <a href="../coprocessor/RegionObserver.html#postBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress)">postBatchMutate</a>, <a href="../coprocessor/RegionObserver.html#postBatchMutateIndispensably(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress,boolean)">postBatchMutateIndispensably</a>, <a href="../coprocessor/RegionObserver.html#postBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext,java.util.List,java.util.Map)">postBulkLoadHFile</a>, <a href="../coprocessor/RegionObserver.html#postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Delete,boolean)">postCheckAndDelete</a>, <a href="../coprocessor/RegionObserver.html#postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Delete,boolean)">postCheckAndDelete</a>, <a href="../coprocessor/RegionObserver.html#postCheckAndMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.CheckAndMutate,org.apache.hadoop.hbase.client.CheckAndMutateResult)">postCheckAndMutate</a>, <a href="../coprocessor/RegionObserver.html#postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Put,boolean)">postCheckAndPut</a>, <a href="../coprocessor/RegionObserver.html#postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Put,boolean)">postCheckAndPut</a>, <a href="../coprocessor/RegionObserver.html#postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext,boolean)">postClose</a>, <a href="../coprocessor/RegionObserver.html#postCloseRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Region.Operation)">postCloseRegionOperation</a>, <a href="../coprocessor/RegionObserver.html#postCommitStoreFile(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path)">postCommitStoreFile</a>, <a href="../coprocessor/RegionObserver.html#postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.StoreFile,org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker,org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest)">postCompact</a>, <a href="../coprocessor/RegionObserver.html#postCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,java.util.List,org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker,org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest)">postCompactSelection</a>, <a href="../coprocessor/RegionObserver.html#postDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Delete,org.apache.hadoop.hbase.wal.WALEdit)">postDelete</a>, <a href="../coprocessor/RegionObserver.html#postDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Delete,org.apache.hadoop.hbase.wal.WALEdit,org.apache.hadoop.hbase.client.Durability)">postDelete</a>, <a href="../coprocessor/RegionObserver.html#postExists(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Get,boolean)">postExists</a>, <a href="../coprocessor/RegionObserver.html#postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker)">postFlush</a>, <a href="../coprocessor/RegionObserver.html#postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.StoreFile,org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker)">postFlush</a>, <a href="../coprocessor/RegionObserver.html#postGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Get,java.util.List)">postGetOp</a>, <a href="../coprocessor/RegionObserver.html#postIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Increment,org.apache.hadoop.hbase.client.Result)">postIncrement</a>, <a href="../coprocessor/RegionObserver.html#postIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Increment,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.wal.WALEdit)">postIncrement</a>, <a href="../coprocessor/RegionObserver.html#postIncrementBeforeWAL(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Mutation,java.util.List)">postIncrementBeforeWAL</a>, <a href="../coprocessor/RegionObserver.html#postInstantiateDeleteTracker(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.querymatcher.DeleteTracker)">postInstantiateDeleteTracker</a>, <a href="../coprocessor/RegionObserver.html#postMemStoreCompaction(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store)">postMemStoreCompaction</a>, <a href="../coprocessor/RegionObserver.html#postMutationBeforeWAL(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType,org.apache.hadoop.hbase.client.Mutation,org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.Cell)">postMutationBeforeWAL</a>, <a href="../coprocessor/RegionObserver.html#postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext)">postOpen</a>, <a href="../coprocessor/RegionObserver.html#postPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.wal.WALEdit)">postPut</a>, <a href="../coprocessor/RegionObserver.html#postPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.wal.WALEdit,org.apache.hadoop.hbase.client.Durability)">postPut</a>, <a href="../coprocessor/RegionObserver.html#postReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.fs.Path)">postReplayWALs</a>, <a href="../coprocessor/RegionObserver.html#postScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.InternalScanner)">postScannerClose</a>, <a href="../coprocessor/RegionObserver.html#postScannerFilterRow(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.InternalScanner,org.apache.hadoop.hbase.Cell,boolean)">postScannerFilterRow</a>, <a href="../coprocessor/RegionObserver.html#postScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.InternalScanner,java.util.List,int,boolean)">postScannerNext</a>, <a href="../coprocessor/RegionObserver.html#postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Scan,org.apache.hadoop.hbase.regionserver.RegionScanner)">postScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#postStartRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Region.Operation)">postStartRegionOperation</a>, <a href="../coprocessor/RegionObserver.html#postStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.fs.FileSystem,org.apache.hadoop.fs.Path,org.apache.hadoop.hbase.io.FSDataInputStreamWrapper,long,org.apache.hadoop.hbase.io.hfile.CacheConfig,org.apache.hadoop.hbase.io.Reference,org.apache.hadoop.hbase.regionserver.StoreFileReader)">postStoreFileReaderOpen</a>, <a href="../coprocessor/RegionObserver.html#preAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Append)">preAppend</a>, <a href="../coprocessor/RegionObserver.html#preAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Append,org.apache.hadoop.hbase.wal.WALEdit)">preAppend</a>, <a href="../coprocessor/RegionObserver.html#preAppendAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Append)">preAppendAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext,java.util.List)">preBulkLoadHFile</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Delete,boolean)">preCheckAndDelete</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Delete,boolean)">preCheckAndDelete</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Delete,boolean)">preCheckAndDeleteAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Delete,boolean)">preCheckAndDeleteAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.CheckAndMutate,org.apache.hadoop.hbase.client.CheckAndMutateResult)">preCheckAndMutate</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndMutateAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.CheckAndMutate,org.apache.hadoop.hbase.client.CheckAndMutateResult)">preCheckAndMutateAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Put,boolean)">preCheckAndPut</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Put,boolean)">preCheckAndPut</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.CompareOperator,org.apache.hadoop.hbase.filter.ByteArrayComparable,org.apache.hadoop.hbase.client.Put,boolean)">preCheckAndPutAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,org.apache.hadoop.hbase.filter.Filter,org.apache.hadoop.hbase.client.Put,boolean)">preCheckAndPutAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext,boolean)">preClose</a>, <a href="../coprocessor/RegionObserver.html#preCommitStoreFile(org.apache.hadoop.hbase.coprocessor.ObserverContext,byte%5B%5D,java.util.List)">preCommitStoreFile</a>, <a href="../coprocessor/RegionObserver.html#preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.InternalScanner,org.apache.hadoop.hbase.regionserver.ScanType,org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker,org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest)">preCompact</a>, <a href="../coprocessor/RegionObserver.html#preCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.ScanType,org.apache.hadoop.hbase.regionserver.ScanOptions,org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker,org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest)">preCompactScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#preCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,java.util.List,org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker)">preCompactSelection</a>, <a href="../coprocessor/RegionObserver.html#preDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Delete,org.apache.hadoop.hbase.wal.WALEdit)">preDelete</a>, <a href="../coprocessor/RegionObserver.html#preDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Delete,org.apache.hadoop.hbase.wal.WALEdit,org.apache.hadoop.hbase.client.Durability)">preDelete</a>, <a href="../coprocessor/RegionObserver.html#preExists(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Get,boolean)">preExists</a>, <a href="../coprocessor/RegionObserver.html#preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker)">preFlush</a>, <a href="../coprocessor/RegionObserver.html#preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.InternalScanner,org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker)">preFlush</a>, <a href="../coprocessor/RegionObserver.html#preFlushScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.ScanOptions,org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker)">preFlushScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#preGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Get,java.util.List)">preGetOp</a>, <a href="../coprocessor/RegionObserver.html#preIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Increment)">preIncrement</a>, <a href="../coprocessor/RegionObserver.html#preIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Increment,org.apache.hadoop.hbase.wal.WALEdit)">preIncrement</a>, <a href="../coprocessor/RegionObserver.html#preIncrementAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Increment)">preIncrementAfterRowLock</a>, <a href="../coprocessor/RegionObserver.html#preMemStoreCompaction(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store)">preMemStoreCompaction</a>, <a href="../coprocessor/RegionObserver.html#preMemStoreCompactionCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.InternalScanner)">preMemStoreCompactionCompact</a>, <a href="../coprocessor/RegionObserver.html#preMemStoreCompactionCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.ScanOptions)">preMemStoreCompactionCompactScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#prePrepareTimeStampForDeleteVersion(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Mutation,org.apache.hadoop.hbase.Cell,byte%5B%5D,org.apache.hadoop.hbase.client.Get)">prePrepareTimeStampForDeleteVersion</a>, <a href="../coprocessor/RegionObserver.html#prePut(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.wal.WALEdit)">prePut</a>, <a href="../coprocessor/RegionObserver.html#prePut(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.wal.WALEdit,org.apache.hadoop.hbase.client.Durability)">prePut</a>, <a href="../coprocessor/RegionObserver.html#preReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.fs.Path)">preReplayWALs</a>, <a href="../coprocessor/RegionObserver.html#preScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.InternalScanner)">preScannerClose</a>, <a href="../coprocessor/RegionObserver.html#preScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.InternalScanner,java.util.List,int,boolean)">preScannerNext</a>, <a href="../coprocessor/RegionObserver.html#preScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.client.Scan)">preScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#preStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.fs.FileSystem,org.apache.hadoop.fs.Path,org.apache.hadoop.hbase.io.FSDataInputStreamWrapper,long,org.apache.hadoop.hbase.io.hfile.CacheConfig,org.apache.hadoop.hbase.io.Reference,org.apache.hadoop.hbase.regionserver.StoreFileReader)">preStoreFileReaderOpen</a>, <a href="../coprocessor/RegionObserver.html#preStoreScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.Store,org.apache.hadoop.hbase.regionserver.ScanOptions)">preStoreScannerOpen</a>, <a href="../coprocessor/RegionObserver.html#preWALAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.wal.WALKey,org.apache.hadoop.hbase.wal.WALEdit)">preWALAppend</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="LOG"> |
| <h3>LOG</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">org.slf4j.Logger</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-59">LOG</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="ops"> |
| <h3>ops</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicLong</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-60">ops</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="regionName"> |
| <h3>regionName</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-67">regionName</a></span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>WriteSinkCoprocessor</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-58">WriteSinkCoprocessor</a></span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getRegionObserver()"> |
| <h3>getRegionObserver</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Optional.html" title="class or interface in java.util" class="external-link">Optional</a><<a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-62">getRegionObserver</a></span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../coprocessor/RegionCoprocessor.html#getRegionObserver()">getRegionObserver</a></code> in interface <code><a href="../coprocessor/RegionCoprocessor.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessor</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext)"> |
| <h3>preOpen</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-69">preOpen</a></span><wbr><span class="parameters">(<a href="../coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> e)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../coprocessor/RegionObserver.html#preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext)">RegionObserver</a></code></span></div> |
| <div class="block">Called before the region is reported as open to the master.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../coprocessor/RegionObserver.html#preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext)">preOpen</a></code> in interface <code><a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>e</code> - the environment provided by the region server</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress)"> |
| <h3>preBatchMutate</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/tool/WriteSinkCoprocessor.html#line-74">preBatchMutate</a></span><wbr><span class="parameters">(<a href="../coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> c, |
| <a href="../regionserver/MiniBatchOperationInProgress.html" title="class in org.apache.hadoop.hbase.regionserver">MiniBatchOperationInProgress</a><<a href="../client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a>> miniBatchOp)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../coprocessor/RegionObserver.html#preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress)">RegionObserver</a></code></span></div> |
| <div class="block">This will be called for every batch mutation operation happening at the server. This will be |
| called after acquiring the locks on the mutating rows and after applying the proper timestamp |
| for each Mutation at the server. The batch may contain Put/Delete/Increment/Append. By setting |
| OperationStatus of Mutations |
| (<a href="../regionserver/MiniBatchOperationInProgress.html#setOperationStatus(int,org.apache.hadoop.hbase.regionserver.OperationStatus)"><code>MiniBatchOperationInProgress.setOperationStatus(int, OperationStatus)</code></a>), |
| <a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor"><code>RegionObserver</code></a> can make Region to skip these Mutations. |
| <p> |
| Note: Do not retain references to any Cells in Mutations beyond the life of this invocation. If |
| need a Cell reference for later use, copy the cell and use that.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../coprocessor/RegionObserver.html#preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext,org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress)">preBatchMutate</a></code> in interface <code><a href="../coprocessor/RegionObserver.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionObserver</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>c</code> - the environment provided by the region server</dd> |
| <dd><code>miniBatchOp</code> - batch of Mutations getting applied to region.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |