http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b63bb380/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html index 972747d..d632ab3 100644 --- a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html +++ b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.230">WAL.Entry</a> +<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.229">WAL.Entry</a> extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">Utility class that lets us keep track of the edit with it's key.</div> </li> @@ -139,7 +139,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> -<td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a></code></td> +<td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html#edit">edit</a></span></code> </td> </tr> <tr class="rowColor"> @@ -164,8 +164,8 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html#Entry--">Entry</a></span>()</code> </td> </tr> <tr class="rowColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html#Entry-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.regionserver.wal.WALEdit-">Entry</a></span>(<a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, - <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edit)</code> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html#Entry-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">Entry</a></span>(<a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edit)</code> <div class="block">Constructor for both params</div> </td> </tr> @@ -185,7 +185,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a></code></td> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html#getEdit--">getEdit</a></span>()</code> <div class="block">Gets the edit</div> </td> @@ -238,7 +238,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>edit</h4> -<pre>private final <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.231">edit</a></pre> +<pre>private final <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.230">edit</a></pre> </li> </ul> <a name="key"> @@ -247,7 +247,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>key</h4> -<pre>private final <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.232">key</a></pre> +<pre>private final <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.231">key</a></pre> </li> </ul> </li> @@ -264,17 +264,17 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>Entry</h4> -<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.234">Entry</a>()</pre> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.233">Entry</a>()</pre> </li> </ul> -<a name="Entry-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.regionserver.wal.WALEdit-"> +<a name="Entry-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Entry</h4> -<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.244">Entry</a>(<a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, - <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edit)</pre> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.243">Entry</a>(<a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edit)</pre> <div class="block">Constructor for both params</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -297,7 +297,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getEdit</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.254">getEdit</a>()</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.253">getEdit</a>()</pre> <div class="block">Gets the edit</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -311,7 +311,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getKey</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.263">getKey</a>()</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.262">getKey</a>()</pre> <div class="block">Gets the key</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -325,7 +325,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setCompressionContext</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.273">setCompressionContext</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/CompressionContext.html" title="class in org.apache.hadoop.hbase.regionserver.wal">CompressionContext</a> compressionContext)</pre> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.272">setCompressionContext</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/CompressionContext.html" title="class in org.apache.hadoop.hbase.regionserver.wal">CompressionContext</a> compressionContext)</pre> <div class="block">Set compression context for this entry.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -339,7 +339,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>hasSerialReplicationScope</h4> -<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.277">hasSerialReplicationScope</a>()</pre> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.276">hasSerialReplicationScope</a>()</pre> </li> </ul> <a name="toString--"> @@ -348,7 +348,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.290">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.289">toString</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b63bb380/devapidocs/org/apache/hadoop/hbase/wal/WAL.Reader.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Reader.html b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Reader.html index 197b198..961acdd 100644 --- a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Reader.html +++ b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Reader.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/wal/WAL.Reader.html" target="_top">Frames</a></li> @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.219">WAL.Reader</a> +<pre>public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.218">WAL.Reader</a> extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> <div class="block">When outside clients need to consume persisted WALs, they rely on a provided Reader.</div> @@ -187,7 +187,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>next</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.220">next</a>() +<pre><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.219">next</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -201,7 +201,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>next</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.221">next</a>(<a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> reuse) +<pre><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.220">next</a>(<a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> reuse) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -215,7 +215,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>seek</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.222">seek</a>(long pos) +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.221">seek</a>(long pos) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -229,7 +229,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>getPosition</h4> -<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.223">getPosition</a>() +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.222">getPosition</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -243,7 +243,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockListLast"> <li class="blockList"> <h4>reset</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.224">reset</a>() +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Reader.html#line.223">reset</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -280,7 +280,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/wal/WAL.Reader.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b63bb380/devapidocs/org/apache/hadoop/hbase/wal/WAL.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WAL.html b/devapidocs/org/apache/hadoop/hbase/wal/WAL.html index c86f775..ad89fab 100644 --- a/devapidocs/org/apache/hadoop/hbase/wal/WAL.html +++ b/devapidocs/org/apache/hadoop/hbase/wal/WAL.html @@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab"; <br> <pre><a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> <a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Evolving.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceStability.Evolving</a> -public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.49">WAL</a> +public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.48">WAL</a> extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> <div class="block">A Write Ahead Log (WAL) provides service for reading, writing waledits. This interface provides APIs for WAL users (such as RegionServer) to use the WAL (do append, sync, etc). @@ -172,9 +172,9 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.html#append-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.regionserver.wal.WALEdit-boolean-">append</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> info, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.html#append-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-boolean-">append</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> info, <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, - <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edits, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edits, boolean inMemstore)</code> <div class="block">Append a set of edits to the WAL.</div> </td> @@ -302,7 +302,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>registerWALActionsListener</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.54">registerWALActionsListener</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.53">registerWALActionsListener</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> <div class="block">Registers WALActionsListener</div> </li> </ul> @@ -312,7 +312,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>unregisterWALActionsListener</h4> -<pre>boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.59">unregisterWALActionsListener</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> +<pre>boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.58">unregisterWALActionsListener</a>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> <div class="block">Unregisters WALActionsListener</div> </li> </ul> @@ -322,7 +322,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>rollWriter</h4> -<pre>byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.72">rollWriter</a>() +<pre>byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.71">rollWriter</a>() throws <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/FailedLogCloseException.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FailedLogCloseException</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Roll the log writer. That is, start writing log messages to a new file. @@ -347,7 +347,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>rollWriter</h4> -<pre>byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.88">rollWriter</a>(boolean force) +<pre>byte[][] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.87">rollWriter</a>(boolean force) throws <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/FailedLogCloseException.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FailedLogCloseException</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Roll the log writer. That is, start writing log messages to a new file. @@ -375,7 +375,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>shutdown</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.94">shutdown</a>() +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.93">shutdown</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Stop accepting new writes. If we have unsynced writes still in buffer, sync them. Extant edits are left in place in backing storage to be replayed later.</div> @@ -391,7 +391,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>close</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.101">close</a>() +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.100">close</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Caller no longer needs any edits from this WAL. Implementers are free to reclaim underlying resources after this call; i.e. filesystem based WALs can archive or @@ -406,15 +406,15 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html </dl> </li> </ul> -<a name="append-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.regionserver.wal.WALEdit-boolean-"> +<a name="append-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.118">append</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> info, +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.117">append</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> info, <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, - <a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edits, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edits, boolean inMemstore) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Append a set of edits to the WAL. The WAL is not flushed/sync'd after this transaction @@ -444,7 +444,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>updateStore</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.129">updateStore</a>(byte[] encodedRegionName, +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.128">updateStore</a>(byte[] encodedRegionName, byte[] familyName, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> sequenceid, boolean onlyIfGreater)</pre> @@ -466,7 +466,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>sync</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.136">sync</a>() +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.135">sync</a>() throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Sync what we have in the WAL.</div> <dl> @@ -481,7 +481,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>sync</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.143">sync</a>(long txid) +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.142">sync</a>(long txid) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Sync the WAL if the txId was not already sync'd.</div> <dl> @@ -498,7 +498,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>startCacheFlush</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.162">startCacheFlush</a>(byte[] encodedRegionName, +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.161">startCacheFlush</a>(byte[] encodedRegionName, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><byte[]> families)</pre> <div class="block">WAL keeps track of the sequence numbers that are as yet not flushed im memstores in order to be able to do accounting to figure which WALs can be let go. This method tells WAL @@ -528,7 +528,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>startCacheFlush</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.164">startCacheFlush</a>(byte[] encodedRegionName, +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.163">startCacheFlush</a>(byte[] encodedRegionName, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> familyToSeq)</pre> </li> </ul> @@ -538,7 +538,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>completeCacheFlush</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.172">completeCacheFlush</a>(byte[] encodedRegionName)</pre> +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.171">completeCacheFlush</a>(byte[] encodedRegionName)</pre> <div class="block">Complete the cache flush.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -555,7 +555,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>abortCacheFlush</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.180">abortCacheFlush</a>(byte[] encodedRegionName)</pre> +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.179">abortCacheFlush</a>(byte[] encodedRegionName)</pre> <div class="block">Abort a cache flush. Call if the flush fails. Note that the only recovery for an aborted flush currently is a restart of the regionserver so the snapshot content dropped by the failure gets restored to the memstore.</div> @@ -571,7 +571,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>getCoprocessorHost</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.185">getCoprocessorHost</a>()</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.184">getCoprocessorHost</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Coprocessor host.</dd> @@ -585,7 +585,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <li class="blockList"> <h4>getEarliestMemstoreSeqNum</h4> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.196">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName)</pre> +long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.195">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName)</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since version 1.2.0. Removing because not used and exposes subtle internal workings. Use <a href="../../../../../org/apache/hadoop/hbase/wal/WAL.html#getEarliestMemstoreSeqNum-byte:A-byte:A-"><code>getEarliestMemstoreSeqNum(byte[], byte[])</code></a></span></div> <div class="block">Gets the earliest unflushed sequence id in the memstore for the region.</div> @@ -603,7 +603,7 @@ long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html# <ul class="blockList"> <li class="blockList"> <h4>getEarliestMemstoreSeqNum</h4> -<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.204">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName, +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.203">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName, byte[] familyName)</pre> <div class="block">Gets the earliest unflushed sequence id in the memstore for the store.</div> <dl> @@ -621,7 +621,7 @@ long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html# <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.213">toString</a>()</pre> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.html#line.212">toString</a>()</pre> <div class="block">Human readable identifying information about the state of this WAL. Implementors are encouraged to include information appropriate for debugging. Consumers are advised not to rely on the details of the returned String; it does http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b63bb380/devapidocs/org/apache/hadoop/hbase/wal/WALEdit.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WALEdit.html b/devapidocs/org/apache/hadoop/hbase/wal/WALEdit.html new file mode 100644 index 0000000..4955917 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/wal/WALEdit.html @@ -0,0 +1,863 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>WALEdit (Apache HBase 3.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="WALEdit (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":9,"i5":10,"i6":9,"i7":10,"i8":9,"i9":9,"i10":9,"i11":9,"i12":10,"i13":9,"i14":10,"i15":10,"i16":9,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/WALEdit.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Reader.html" title="interface in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/wal/WALEdit.html" target="_top">Frames</a></li> +<li><a href="WALEdit.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </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="subNavList"> +<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> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.wal</div> +<h2 title="Class WALEdit" class="title">Class WALEdit</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.wal.WALEdit</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></dd> +</dl> +<hr> +<br> +<pre><a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.LimitedPrivate.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.LimitedPrivate</a>(<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.LimitedPrivate.html#value--">value</a>={"Replication","Coprocesssor"}) +public class <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.55">WALEdit</a> +extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></pre> +<div class="block">WALEdit: Used in HBase's transaction log (WAL) to represent + the collection of edits (KeyValue objects) corresponding to a + single transaction. + + All the edits for a given transaction are written out as a single record, in PB format followed + by Cells written via the WALCellEncoder.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#BULK_LOAD">BULK_LOAD</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#cells">cells</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#COMPACTION">COMPACTION</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#FLUSH">FLUSH</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isReplay">isReplay</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private static org.apache.commons.logging.Log</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#LOG">LOG</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#METAFAMILY">METAFAMILY</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#METAROW">METAROW</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#REGION_EVENT">REGION_EVENT</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#WALEdit--">WALEdit</a></span>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#WALEdit-boolean-">WALEdit</a></span>(boolean isReplay)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#WALEdit-int-">WALEdit</a></span>(int cellCount)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#WALEdit-int-boolean-">WALEdit</a></span>(int cellCount, + boolean isReplay)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#add-org.apache.hadoop.hbase.Cell-">add</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#createBulkLoadEvent-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor-">createBulkLoadEvent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor bulkLoadDescriptor)</code> +<div class="block">Create a bulk loader WALEdit</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#createCompaction-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor-">createCompaction</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor c)</code> +<div class="block">Create a compaction WALEdit</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#createFlushWALEdit-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor-">createFlushWALEdit</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor f)</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#createRegionEventWALEdit-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor-">createRegionEventWALEdit</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor regionEventDesc)</code> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#estimatedSerializedSizeOf--">estimatedSerializedSizeOf</a></span>()</code> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getBulkLoadDescriptor-org.apache.hadoop.hbase.Cell-">getBulkLoadDescriptor</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block">Deserialized and returns a BulkLoadDescriptor from the passed in Cell</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getCells--">getCells</a></span>()</code> </td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getCompaction-org.apache.hadoop.hbase.Cell-">getCompaction</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> kv)</code> +<div class="block">Deserialized and returns a CompactionDescriptor is the KeyValue contains one.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getFlushDescriptor-org.apache.hadoop.hbase.Cell-">getFlushDescriptor</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getRegionEventDescriptor-org.apache.hadoop.hbase.Cell-">getRegionEventDescriptor</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getRowForRegion-org.apache.hadoop.hbase.HRegionInfo-">getRowForRegion</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</code> </td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#heapSize--">heapSize</a></span>()</code> </td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isCompactionMarker-org.apache.hadoop.hbase.Cell-">isCompactionMarker</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block">Returns true if the given cell is a serialized <code>WALProtos.CompactionDescriptor</code></div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isEmpty--">isEmpty</a></span>()</code> </td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isMetaEdit--">isMetaEdit</a></span>()</code> </td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isMetaEditFamily-byte:A-">isMetaEditFamily</a></span>(byte[] f)</code> </td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isMetaEditFamily-org.apache.hadoop.hbase.Cell-">isMetaEditFamily</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#isReplay--">isReplay</a></span>()</code> </td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#readFromCells-org.apache.hadoop.hbase.codec.Codec.Decoder-int-">readFromCells</a></span>(<a href="../../../../../org/apache/hadoop/hbase/codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a> cellDecoder, + int expectedCount)</code> +<div class="block">Reads WALEdit from cells.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#setCells-java.util.ArrayList-">setCells</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</code> +<div class="block">This is not thread safe.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#size--">size</a></span>()</code> </td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="LOG"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LOG</h4> +<pre>private static final org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.56">LOG</a></pre> +</li> +</ul> +<a name="METAFAMILY"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>METAFAMILY</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.59">METAFAMILY</a></pre> +</li> +</ul> +<a name="METAROW"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>METAROW</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.61">METAROW</a></pre> +</li> +</ul> +<a name="COMPACTION"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COMPACTION</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.63">COMPACTION</a></pre> +</li> +</ul> +<a name="FLUSH"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FLUSH</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.65">FLUSH</a></pre> +</li> +</ul> +<a name="REGION_EVENT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>REGION_EVENT</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.67">REGION_EVENT</a></pre> +</li> +</ul> +<a name="BULK_LOAD"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>BULK_LOAD</h4> +<pre>public static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.69">BULK_LOAD</a></pre> +</li> +</ul> +<a name="isReplay"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isReplay</h4> +<pre>private final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.71">isReplay</a></pre> +</li> +</ul> +<a name="cells"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>cells</h4> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.73">cells</a></pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="WALEdit--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WALEdit</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.75">WALEdit</a>()</pre> +</li> +</ul> +<a name="WALEdit-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WALEdit</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.79">WALEdit</a>(boolean isReplay)</pre> +</li> +</ul> +<a name="WALEdit-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WALEdit</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.83">WALEdit</a>(int cellCount)</pre> +</li> +</ul> +<a name="WALEdit-int-boolean-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>WALEdit</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.87">WALEdit</a>(int cellCount, + boolean isReplay)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="isMetaEditFamily-byte:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isMetaEditFamily</h4> +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.96">isMetaEditFamily</a>(byte[] f)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>f</code> - </dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>True is <code>f</code> is <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#METAFAMILY"><code>METAFAMILY</code></a></dd> +</dl> +</li> +</ul> +<a name="isMetaEditFamily-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isMetaEditFamily</h4> +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.100">isMetaEditFamily</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +</li> +</ul> +<a name="isMetaEdit--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isMetaEdit</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.104">isMetaEdit</a>()</pre> +</li> +</ul> +<a name="isReplay--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isReplay</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.117">isReplay</a>()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>True when current WALEdit is created by log replay. Replication skips WALEdits from + replay.</dd> +</dl> +</li> +</ul> +<a name="add-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.121">add</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +</li> +</ul> +<a name="isEmpty--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isEmpty</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.126">isEmpty</a>()</pre> +</li> +</ul> +<a name="size--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>size</h4> +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.130">size</a>()</pre> +</li> +</ul> +<a name="getCells--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCells</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.134">getCells</a>()</pre> +</li> +</ul> +<a name="setCells-java.util.ArrayList-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCells</h4> +<pre><a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> +public void <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.146">setCells</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</pre> +<div class="block">This is not thread safe. + This will change the WALEdit and shouldn't be used unless you are sure that nothing + else depends on the contents being immutable.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cells</code> - the list of cells that this WALEdit now contains.</dd> +</dl> +</li> +</ul> +<a name="readFromCells-org.apache.hadoop.hbase.codec.Codec.Decoder-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>readFromCells</h4> +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.156">readFromCells</a>(<a href="../../../../../org/apache/hadoop/hbase/codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a> cellDecoder, + int expectedCount) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Reads WALEdit from cells.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cellDecoder</code> - Cell decoder.</dd> +<dd><code>expectedCount</code> - Expected cell count.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Number of KVs read.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +<a name="heapSize--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>heapSize</h4> +<pre>public long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.166">heapSize</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/io/HeapSize.html#heapSize--">heapSize</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Approximate 'exclusive deep size' of implementing object. Includes + count of payload and hosting object sizings.</dd> +</dl> +</li> +</ul> +<a name="estimatedSerializedSizeOf--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedSerializedSizeOf</h4> +<pre>public long <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.174">estimatedSerializedSizeOf</a>()</pre> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.183">toString</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="createFlushWALEdit-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createFlushWALEdit</h4> +<pre>public static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.195">createFlushWALEdit</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor f)</pre> +</li> +</ul> +<a name="getFlushDescriptor-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlushDescriptor</h4> +<pre>public static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.201">getFlushDescriptor</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +<a name="createRegionEventWALEdit-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createRegionEventWALEdit</h4> +<pre>public static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.208">createRegionEventWALEdit</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor regionEventDesc)</pre> +</li> +</ul> +<a name="getRegionEventDescriptor-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegionEventDescriptor</h4> +<pre>public static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.215">getRegionEventDescriptor</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +<a name="createCompaction-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCompaction</h4> +<pre>public static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.227">createCompaction</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor c)</pre> +<div class="block">Create a compaction WALEdit</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - </dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A WALEdit that has <code>c</code> serialized as its value</dd> +</dl> +</li> +</ul> +<a name="getRowForRegion-org.apache.hadoop.hbase.HRegionInfo-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRowForRegion</h4> +<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.234">getRowForRegion</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</pre> +</li> +</ul> +<a name="getCompaction-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCompaction</h4> +<pre>public static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.249">getCompaction</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> kv) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Deserialized and returns a CompactionDescriptor is the KeyValue contains one.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>kv</code> - the key value</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>deserialized CompactionDescriptor or null.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +<a name="isCompactionMarker-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isCompactionMarker</h4> +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.261">isCompactionMarker</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<div class="block">Returns true if the given cell is a serialized <code>WALProtos.CompactionDescriptor</code></div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html#getCompaction-org.apache.hadoop.hbase.Cell-"><code>getCompaction(Cell)</code></a></dd> +</dl> +</li> +</ul> +<a name="createBulkLoadEvent-org.apache.hadoop.hbase.HRegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createBulkLoadEvent</h4> +<pre>public static <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.272">createBulkLoadEvent</a>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, + org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor bulkLoadDescriptor)</pre> +<div class="block">Create a bulk loader WALEdit</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>hri</code> - The HRegionInfo for the region in which we are bulk loading</dd> +<dd><code>bulkLoadDescriptor</code> - The descriptor for the Bulk Loader</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The WALEdit for the BulkLoad</dd> +</dl> +</li> +</ul> +<a name="getBulkLoadDescriptor-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getBulkLoadDescriptor</h4> +<pre>public static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptor <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WALEdit.html#line.287">getBulkLoadDescriptor</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Deserialized and returns a BulkLoadDescriptor from the passed in Cell</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cell</code> - the key value</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>deserialized BulkLoadDescriptor or null.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/WALEdit.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Reader.html" title="interface in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/wal/WALEdit.html" target="_top">Frames</a></li> +<li><a href="WALEdit.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </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="subNavList"> +<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> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b63bb380/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html b/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html index ead2807..2eed8c8 100644 --- a/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html +++ b/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Reader.html" title="interface in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.Providers.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> @@ -965,7 +965,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/wal/WAL.Reader.html" title="interface in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.Providers.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList">