http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dad9a249/apidocs/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html b/apidocs/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html index e4d575a..8f2b1e9 100644 --- a/apidocs/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html +++ b/apidocs/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -162,60 +162,76 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><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><<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/replication/ReplicationPeerConfig.html#getNamespaces--">getNamespaces</a></span>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#getExcludeNamespaces--">getExcludeNamespaces</a></span>()</code> </td> </tr> <tr id="i4" class="altColor"> +<td class="colFirst"><code><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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/replication/ReplicationPeerConfig.html#getExcludeTableCFsMap--">getExcludeTableCFsMap</a></span>()</code> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><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><<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/replication/ReplicationPeerConfig.html#getNamespaces--">getNamespaces</a></span>()</code> </td> +</tr> +<tr id="i6" class="altColor"> <td class="colFirst"><code><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[],byte[]></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#getPeerData--">getPeerData</a></span>()</code> </td> </tr> -<tr id="i5" class="rowColor"> +<tr id="i7" class="rowColor"> <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/replication/ReplicationPeerConfig.html#getReplicationEndpointImpl--">getReplicationEndpointImpl</a></span>()</code> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code><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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/replication/ReplicationPeerConfig.html#getTableCFsMap--">getTableCFsMap</a></span>()</code> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#needToReplicate-org.apache.hadoop.hbase.TableName-">needToReplicate</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> <div class="block">Decide whether the table need replicate to the peer cluster</div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#replicateAllUserTables--">replicateAllUserTables</a></span>()</code> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setBandwidth-long-">setBandwidth</a></span>(long bandwidth)</code> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setClusterKey-java.lang.String-">setClusterKey</a></span>(<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> clusterKey)</code> <div class="block">Set the clusterKey which is the concatenation of the slave cluster's: hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setExcludeNamespaces-java.util.Set-">setExcludeNamespaces</a></span>(<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><<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>> namespaces)</code> </td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setExcludeTableCFsMap-java.util.Map-">setExcludeTableCFsMap</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</code> </td> +</tr> +<tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setNamespaces-java.util.Set-">setNamespaces</a></span>(<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><<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>> namespaces)</code> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setReplicateAllUserTables-boolean-">setReplicateAllUserTables</a></span>(boolean replicateAllUserTables)</code> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setReplicationEndpointImpl-java.lang.String-">setReplicationEndpointImpl</a></span>(<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> replicationEndpointImpl)</code> <div class="block">Sets the ReplicationEndpoint plugin class for this peer.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setTableCFsMap-java.util.Map-">setTableCFsMap</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</code> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i19" class="rowColor"> <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/replication/ReplicationPeerConfig.html#toString--">toString</a></span>()</code> </td> </tr> @@ -247,7 +263,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>ReplicationPeerConfig</h4> -<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.48">ReplicationPeerConfig</a>()</pre> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.50">ReplicationPeerConfig</a>()</pre> </li> </ul> </li> @@ -264,7 +280,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setClusterKey</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.57">setClusterKey</a>(<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> clusterKey)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.59">setClusterKey</a>(<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> clusterKey)</pre> <div class="block">Set the clusterKey which is the concatenation of the slave cluster's: hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent</div> </li> @@ -275,7 +291,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setReplicationEndpointImpl</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.66">setReplicationEndpointImpl</a>(<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> replicationEndpointImpl)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.68">setReplicationEndpointImpl</a>(<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> replicationEndpointImpl)</pre> <div class="block">Sets the ReplicationEndpoint plugin class for this peer.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -289,7 +305,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getClusterKey</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/replication/ReplicationPeerConfig.html#line.71">getClusterKey</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/replication/ReplicationPeerConfig.html#line.73">getClusterKey</a>()</pre> </li> </ul> <a name="getReplicationEndpointImpl--"> @@ -298,7 +314,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getReplicationEndpointImpl</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/replication/ReplicationPeerConfig.html#line.75">getReplicationEndpointImpl</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/replication/ReplicationPeerConfig.html#line.77">getReplicationEndpointImpl</a>()</pre> </li> </ul> <a name="getPeerData--"> @@ -307,7 +323,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getPeerData</h4> -<pre>public <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[],byte[]> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.79">getPeerData</a>()</pre> +<pre>public <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[],byte[]> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.81">getPeerData</a>()</pre> </li> </ul> <a name="getConfiguration--"> @@ -316,7 +332,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getConfiguration</h4> -<pre>public <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><<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="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/replication/ReplicationPeerConfig.html#line.83">getConfiguration</a>()</pre> +<pre>public <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><<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="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/replication/ReplicationPeerConfig.html#line.85">getConfiguration</a>()</pre> </li> </ul> <a name="getTableCFsMap--"> @@ -325,7 +341,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getTableCFsMap</h4> -<pre>public <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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/replication/ReplicationPeerConfig.html#line.87">getTableCFsMap</a>()</pre> +<pre>public <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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/replication/ReplicationPeerConfig.html#line.89">getTableCFsMap</a>()</pre> </li> </ul> <a name="setTableCFsMap-java.util.Map-"> @@ -334,7 +350,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setTableCFsMap</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.91">setTableCFsMap</a>(<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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.93">setTableCFsMap</a>(<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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</pre> </li> </ul> <a name="getNamespaces--"> @@ -343,7 +359,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getNamespaces</h4> -<pre>public <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><<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/replication/ReplicationPeerConfig.html#line.97">getNamespaces</a>()</pre> +<pre>public <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><<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/replication/ReplicationPeerConfig.html#line.99">getNamespaces</a>()</pre> </li> </ul> <a name="setNamespaces-java.util.Set-"> @@ -352,7 +368,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setNamespaces</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.101">setNamespaces</a>(<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><<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>> namespaces)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.103">setNamespaces</a>(<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><<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>> namespaces)</pre> </li> </ul> <a name="getBandwidth--"> @@ -361,7 +377,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getBandwidth</h4> -<pre>public long <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.106">getBandwidth</a>()</pre> +<pre>public long <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.108">getBandwidth</a>()</pre> </li> </ul> <a name="setBandwidth-long-"> @@ -370,7 +386,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setBandwidth</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.110">setBandwidth</a>(long bandwidth)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.112">setBandwidth</a>(long bandwidth)</pre> </li> </ul> <a name="replicateAllUserTables--"> @@ -379,7 +395,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>replicateAllUserTables</h4> -<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.115">replicateAllUserTables</a>()</pre> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.117">replicateAllUserTables</a>()</pre> </li> </ul> <a name="setReplicateAllUserTables-boolean-"> @@ -388,7 +404,43 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>setReplicateAllUserTables</h4> -<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.119">setReplicateAllUserTables</a>(boolean replicateAllUserTables)</pre> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.121">setReplicateAllUserTables</a>(boolean replicateAllUserTables)</pre> +</li> +</ul> +<a name="getExcludeTableCFsMap--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExcludeTableCFsMap</h4> +<pre>public <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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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/replication/ReplicationPeerConfig.html#line.126">getExcludeTableCFsMap</a>()</pre> +</li> +</ul> +<a name="setExcludeTableCFsMap-java.util.Map-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setExcludeTableCFsMap</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.130">setExcludeTableCFsMap</a>(<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><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</pre> +</li> +</ul> +<a name="getExcludeNamespaces--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExcludeNamespaces</h4> +<pre>public <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><<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/replication/ReplicationPeerConfig.html#line.136">getExcludeNamespaces</a>()</pre> +</li> +</ul> +<a name="setExcludeNamespaces-java.util.Set-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setExcludeNamespaces</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.140">setExcludeNamespaces</a>(<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><<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>> namespaces)</pre> </li> </ul> <a name="toString--"> @@ -397,7 +449,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <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/replication/ReplicationPeerConfig.html#line.125">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/replication/ReplicationPeerConfig.html#line.146">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> @@ -410,7 +462,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>needToReplicate</h4> -<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.144">needToReplicate</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</pre> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#line.174">needToReplicate</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</pre> <div class="block">Decide whether the table need replicate to the peer cluster</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dad9a249/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationPeerConfig.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationPeerConfig.html b/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationPeerConfig.html index 1a42d1a..e9fb3a2 100644 --- a/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationPeerConfig.html +++ b/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationPeerConfig.html @@ -301,6 +301,14 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> +<td class="colLast"><span class="typeNameLabel">ReplicationPeerConfig.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setExcludeNamespaces-java.util.Set-">setExcludeNamespaces</a></span>(<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><<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>> namespaces)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> +<td class="colLast"><span class="typeNameLabel">ReplicationPeerConfig.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setExcludeTableCFsMap-java.util.Map-">setExcludeTableCFsMap</a></span>(<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><<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,? extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>>> tableCFsMap)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">ReplicationPeerConfig</a></code></td> <td class="colLast"><span class="typeNameLabel">ReplicationPeerConfig.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html#setNamespaces-java.util.Set-">setNamespaces</a></span>(<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><<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>> namespaces)</code> </td> </tr> <tr class="altColor"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dad9a249/apidocs/src-html/org/apache/hadoop/hbase/Cell.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/Cell.html b/apidocs/src-html/org/apache/hadoop/hbase/Cell.html index 2d020e2..a494b20 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/Cell.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/Cell.html @@ -141,66 +141,104 @@ <span class="sourceLineNo">133</span><a name="line.133"></a> <span class="sourceLineNo">134</span> /**<a name="line.134"></a> <span class="sourceLineNo">135</span> * @return The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc<a name="line.135"></a> -<span class="sourceLineNo">136</span> * @deprecated since 2.0.0, use appropriate {@link CellUtil#isDelete} or<a name="line.136"></a> -<span class="sourceLineNo">137</span> * {@link CellUtil#isPut(Cell)} methods instead. This will be removed in 3.0.0.<a name="line.137"></a> -<span class="sourceLineNo">138</span> */<a name="line.138"></a> -<span class="sourceLineNo">139</span> @Deprecated<a name="line.139"></a> -<span class="sourceLineNo">140</span> byte getTypeByte();<a name="line.140"></a> +<span class="sourceLineNo">136</span> * @deprecated As of HBase-2.0. Will be removed in HBase-3.0. Use {@link #getType()}.<a name="line.136"></a> +<span class="sourceLineNo">137</span> */<a name="line.137"></a> +<span class="sourceLineNo">138</span> @Deprecated<a name="line.138"></a> +<span class="sourceLineNo">139</span> byte getTypeByte();<a name="line.139"></a> +<span class="sourceLineNo">140</span><a name="line.140"></a> <span class="sourceLineNo">141</span><a name="line.141"></a> -<span class="sourceLineNo">142</span><a name="line.142"></a> -<span class="sourceLineNo">143</span> //6) SequenceId<a name="line.143"></a> -<span class="sourceLineNo">144</span><a name="line.144"></a> -<span class="sourceLineNo">145</span> /**<a name="line.145"></a> -<span class="sourceLineNo">146</span> * A region-specific unique monotonically increasing sequence ID given to each Cell. It always<a name="line.146"></a> -<span class="sourceLineNo">147</span> * exists for cells in the memstore but is not retained forever. It will be kept for<a name="line.147"></a> -<span class="sourceLineNo">148</span> * {@link HConstants#KEEP_SEQID_PERIOD} days, but generally becomes irrelevant after the cell's<a name="line.148"></a> -<span class="sourceLineNo">149</span> * row is no longer involved in any operations that require strict consistency.<a name="line.149"></a> -<span class="sourceLineNo">150</span> * @return seqId (always &gt; 0 if exists), or 0 if it no longer exists<a name="line.150"></a> +<span class="sourceLineNo">142</span> //6) SequenceId<a name="line.142"></a> +<span class="sourceLineNo">143</span><a name="line.143"></a> +<span class="sourceLineNo">144</span> /**<a name="line.144"></a> +<span class="sourceLineNo">145</span> * A region-specific unique monotonically increasing sequence ID given to each Cell. It always<a name="line.145"></a> +<span class="sourceLineNo">146</span> * exists for cells in the memstore but is not retained forever. It will be kept for<a name="line.146"></a> +<span class="sourceLineNo">147</span> * {@link HConstants#KEEP_SEQID_PERIOD} days, but generally becomes irrelevant after the cell's<a name="line.147"></a> +<span class="sourceLineNo">148</span> * row is no longer involved in any operations that require strict consistency.<a name="line.148"></a> +<span class="sourceLineNo">149</span> * @return seqId (always &gt; 0 if exists), or 0 if it no longer exists<a name="line.149"></a> +<span class="sourceLineNo">150</span> * @deprecated As of HBase-2.0. Will be removed in HBase-3.0.<a name="line.150"></a> <span class="sourceLineNo">151</span> */<a name="line.151"></a> -<span class="sourceLineNo">152</span> long getSequenceId();<a name="line.152"></a> -<span class="sourceLineNo">153</span><a name="line.153"></a> -<span class="sourceLineNo">154</span> //7) Value<a name="line.154"></a> -<span class="sourceLineNo">155</span><a name="line.155"></a> -<span class="sourceLineNo">156</span> /**<a name="line.156"></a> -<span class="sourceLineNo">157</span> * Contiguous raw bytes that may start at any index in the containing array. Max length is<a name="line.157"></a> -<span class="sourceLineNo">158</span> * Integer.MAX_VALUE which is 2,147,483,647 bytes.<a name="line.158"></a> -<span class="sourceLineNo">159</span> * @return The array containing the value bytes.<a name="line.159"></a> -<span class="sourceLineNo">160</span> */<a name="line.160"></a> -<span class="sourceLineNo">161</span> byte[] getValueArray();<a name="line.161"></a> -<span class="sourceLineNo">162</span><a name="line.162"></a> -<span class="sourceLineNo">163</span> /**<a name="line.163"></a> -<span class="sourceLineNo">164</span> * @return Array index of first value byte<a name="line.164"></a> -<span class="sourceLineNo">165</span> */<a name="line.165"></a> -<span class="sourceLineNo">166</span> int getValueOffset();<a name="line.166"></a> -<span class="sourceLineNo">167</span><a name="line.167"></a> -<span class="sourceLineNo">168</span> /**<a name="line.168"></a> -<span class="sourceLineNo">169</span> * @return Number of value bytes. Must be &lt; valueArray.length - offset.<a name="line.169"></a> -<span class="sourceLineNo">170</span> */<a name="line.170"></a> -<span class="sourceLineNo">171</span> int getValueLength();<a name="line.171"></a> -<span class="sourceLineNo">172</span><a name="line.172"></a> -<span class="sourceLineNo">173</span> /**<a name="line.173"></a> -<span class="sourceLineNo">174</span> * Contiguous raw bytes representing tags that may start at any index in the containing array.<a name="line.174"></a> -<span class="sourceLineNo">175</span> * @return the tags byte array<a name="line.175"></a> -<span class="sourceLineNo">176</span> */<a name="line.176"></a> -<span class="sourceLineNo">177</span> byte[] getTagsArray();<a name="line.177"></a> -<span class="sourceLineNo">178</span><a name="line.178"></a> -<span class="sourceLineNo">179</span> /**<a name="line.179"></a> -<span class="sourceLineNo">180</span> * @return the first offset where the tags start in the Cell<a name="line.180"></a> -<span class="sourceLineNo">181</span> */<a name="line.181"></a> -<span class="sourceLineNo">182</span> int getTagsOffset();<a name="line.182"></a> -<span class="sourceLineNo">183</span><a name="line.183"></a> -<span class="sourceLineNo">184</span> /**<a name="line.184"></a> -<span class="sourceLineNo">185</span> * HBase internally uses 2 bytes to store tags length in Cell.<a name="line.185"></a> -<span class="sourceLineNo">186</span> * As the tags length is always a non-negative number, to make good use of the sign bit,<a name="line.186"></a> -<span class="sourceLineNo">187</span> * the max of tags length is defined 2 * Short.MAX_VALUE + 1 = 65535.<a name="line.187"></a> -<span class="sourceLineNo">188</span> * As a result, the return type is int, because a short is not capable of handling that.<a name="line.188"></a> -<span class="sourceLineNo">189</span> * Please note that even if the return type is int, the max tags length is far<a name="line.189"></a> -<span class="sourceLineNo">190</span> * less than Integer.MAX_VALUE.<a name="line.190"></a> -<span class="sourceLineNo">191</span> *<a name="line.191"></a> -<span class="sourceLineNo">192</span> * @return the total length of the tags in the Cell.<a name="line.192"></a> -<span class="sourceLineNo">193</span> */<a name="line.193"></a> -<span class="sourceLineNo">194</span> int getTagsLength();<a name="line.194"></a> -<span class="sourceLineNo">195</span>}<a name="line.195"></a> +<span class="sourceLineNo">152</span> @Deprecated<a name="line.152"></a> +<span class="sourceLineNo">153</span> long getSequenceId();<a name="line.153"></a> +<span class="sourceLineNo">154</span><a name="line.154"></a> +<span class="sourceLineNo">155</span> //7) Value<a name="line.155"></a> +<span class="sourceLineNo">156</span><a name="line.156"></a> +<span class="sourceLineNo">157</span> /**<a name="line.157"></a> +<span class="sourceLineNo">158</span> * Contiguous raw bytes that may start at any index in the containing array. Max length is<a name="line.158"></a> +<span class="sourceLineNo">159</span> * Integer.MAX_VALUE which is 2,147,483,647 bytes.<a name="line.159"></a> +<span class="sourceLineNo">160</span> * @return The array containing the value bytes.<a name="line.160"></a> +<span class="sourceLineNo">161</span> */<a name="line.161"></a> +<span class="sourceLineNo">162</span> byte[] getValueArray();<a name="line.162"></a> +<span class="sourceLineNo">163</span><a name="line.163"></a> +<span class="sourceLineNo">164</span> /**<a name="line.164"></a> +<span class="sourceLineNo">165</span> * @return Array index of first value byte<a name="line.165"></a> +<span class="sourceLineNo">166</span> */<a name="line.166"></a> +<span class="sourceLineNo">167</span> int getValueOffset();<a name="line.167"></a> +<span class="sourceLineNo">168</span><a name="line.168"></a> +<span class="sourceLineNo">169</span> /**<a name="line.169"></a> +<span class="sourceLineNo">170</span> * @return Number of value bytes. Must be &lt; valueArray.length - offset.<a name="line.170"></a> +<span class="sourceLineNo">171</span> */<a name="line.171"></a> +<span class="sourceLineNo">172</span> int getValueLength();<a name="line.172"></a> +<span class="sourceLineNo">173</span><a name="line.173"></a> +<span class="sourceLineNo">174</span> /**<a name="line.174"></a> +<span class="sourceLineNo">175</span> * Contiguous raw bytes representing tags that may start at any index in the containing array.<a name="line.175"></a> +<span class="sourceLineNo">176</span> * @return the tags byte array<a name="line.176"></a> +<span class="sourceLineNo">177</span> * @deprecated As of HBase-2.0. Will be removed in HBase-3.0. Tags are are now internal.<a name="line.177"></a> +<span class="sourceLineNo">178</span> */<a name="line.178"></a> +<span class="sourceLineNo">179</span> @Deprecated<a name="line.179"></a> +<span class="sourceLineNo">180</span> byte[] getTagsArray();<a name="line.180"></a> +<span class="sourceLineNo">181</span><a name="line.181"></a> +<span class="sourceLineNo">182</span> /**<a name="line.182"></a> +<span class="sourceLineNo">183</span> * @return the first offset where the tags start in the Cell<a name="line.183"></a> +<span class="sourceLineNo">184</span> * @deprecated As of HBase-2.0. Will be removed in HBase-3.0. Tags are are now internal.<a name="line.184"></a> +<span class="sourceLineNo">185</span> */<a name="line.185"></a> +<span class="sourceLineNo">186</span> @Deprecated<a name="line.186"></a> +<span class="sourceLineNo">187</span> int getTagsOffset();<a name="line.187"></a> +<span class="sourceLineNo">188</span><a name="line.188"></a> +<span class="sourceLineNo">189</span> /**<a name="line.189"></a> +<span class="sourceLineNo">190</span> * HBase internally uses 2 bytes to store tags length in Cell.<a name="line.190"></a> +<span class="sourceLineNo">191</span> * As the tags length is always a non-negative number, to make good use of the sign bit,<a name="line.191"></a> +<span class="sourceLineNo">192</span> * the max of tags length is defined 2 * Short.MAX_VALUE + 1 = 65535.<a name="line.192"></a> +<span class="sourceLineNo">193</span> * As a result, the return type is int, because a short is not capable of handling that.<a name="line.193"></a> +<span class="sourceLineNo">194</span> * Please note that even if the return type is int, the max tags length is far<a name="line.194"></a> +<span class="sourceLineNo">195</span> * less than Integer.MAX_VALUE.<a name="line.195"></a> +<span class="sourceLineNo">196</span> *<a name="line.196"></a> +<span class="sourceLineNo">197</span> * @return the total length of the tags in the Cell.<a name="line.197"></a> +<span class="sourceLineNo">198</span> * @deprecated As of HBase-2.0. Will be removed in HBase-3.0. Tags are are now internal.<a name="line.198"></a> +<span class="sourceLineNo">199</span> */<a name="line.199"></a> +<span class="sourceLineNo">200</span> @Deprecated<a name="line.200"></a> +<span class="sourceLineNo">201</span> int getTagsLength();<a name="line.201"></a> +<span class="sourceLineNo">202</span><a name="line.202"></a> +<span class="sourceLineNo">203</span> /**<a name="line.203"></a> +<span class="sourceLineNo">204</span> * Returns the type of cell in a human readable format using {@link DataType}<a name="line.204"></a> +<span class="sourceLineNo">205</span> * @return The data type this cell: one of Put, Delete, etc<a name="line.205"></a> +<span class="sourceLineNo">206</span> */<a name="line.206"></a> +<span class="sourceLineNo">207</span> DataType getType();<a name="line.207"></a> +<span class="sourceLineNo">208</span><a name="line.208"></a> +<span class="sourceLineNo">209</span> /**<a name="line.209"></a> +<span class="sourceLineNo">210</span> * The valid types for user to build the cell. Currently, This is subset of {@link KeyValue.Type}.<a name="line.210"></a> +<span class="sourceLineNo">211</span> */<a name="line.211"></a> +<span class="sourceLineNo">212</span> public enum DataType {<a name="line.212"></a> +<span class="sourceLineNo">213</span> Put((byte) 4),<a name="line.213"></a> +<span class="sourceLineNo">214</span><a name="line.214"></a> +<span class="sourceLineNo">215</span> Delete((byte) 8),<a name="line.215"></a> +<span class="sourceLineNo">216</span><a name="line.216"></a> +<span class="sourceLineNo">217</span> DeleteFamilyVersion((byte) 10),<a name="line.217"></a> +<span class="sourceLineNo">218</span><a name="line.218"></a> +<span class="sourceLineNo">219</span> DeleteColumn((byte) 12),<a name="line.219"></a> +<span class="sourceLineNo">220</span><a name="line.220"></a> +<span class="sourceLineNo">221</span> DeleteFamily((byte) 14);<a name="line.221"></a> +<span class="sourceLineNo">222</span><a name="line.222"></a> +<span class="sourceLineNo">223</span> private final byte code;<a name="line.223"></a> +<span class="sourceLineNo">224</span><a name="line.224"></a> +<span class="sourceLineNo">225</span> DataType(final byte c) {<a name="line.225"></a> +<span class="sourceLineNo">226</span> this.code = c;<a name="line.226"></a> +<span class="sourceLineNo">227</span> }<a name="line.227"></a> +<span class="sourceLineNo">228</span><a name="line.228"></a> +<span class="sourceLineNo">229</span> public byte getCode() {<a name="line.229"></a> +<span class="sourceLineNo">230</span> return this.code;<a name="line.230"></a> +<span class="sourceLineNo">231</span> }<a name="line.231"></a> +<span class="sourceLineNo">232</span> }<a name="line.232"></a> +<span class="sourceLineNo">233</span>}<a name="line.233"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dad9a249/apidocs/src-html/org/apache/hadoop/hbase/CellBuilder.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/CellBuilder.html b/apidocs/src-html/org/apache/hadoop/hbase/CellBuilder.html index 69b6d44..783da41 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/CellBuilder.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/CellBuilder.html @@ -34,42 +34,30 @@ <span class="sourceLineNo">026</span>@InterfaceAudience.Public<a name="line.26"></a> <span class="sourceLineNo">027</span>public interface CellBuilder {<a name="line.27"></a> <span class="sourceLineNo">028</span><a name="line.28"></a> -<span class="sourceLineNo">029</span> /**<a name="line.29"></a> -<span class="sourceLineNo">030</span> * The valid types for user to build the cell.<a name="line.30"></a> -<span class="sourceLineNo">031</span> * Currently, This is subset of {@link KeyValue.Type}.<a name="line.31"></a> -<span class="sourceLineNo">032</span> */<a name="line.32"></a> -<span class="sourceLineNo">033</span> enum DataType {<a name="line.33"></a> -<span class="sourceLineNo">034</span> Put,<a name="line.34"></a> -<span class="sourceLineNo">035</span> Delete,<a name="line.35"></a> -<span class="sourceLineNo">036</span> DeleteFamilyVersion,<a name="line.36"></a> -<span class="sourceLineNo">037</span> DeleteColumn,<a name="line.37"></a> -<span class="sourceLineNo">038</span> DeleteFamily<a name="line.38"></a> -<span class="sourceLineNo">039</span> }<a name="line.39"></a> -<span class="sourceLineNo">040</span><a name="line.40"></a> -<span class="sourceLineNo">041</span> CellBuilder setRow(final byte[] row);<a name="line.41"></a> -<span class="sourceLineNo">042</span> CellBuilder setRow(final byte[] row, final int rOffset, final int rLength);<a name="line.42"></a> -<span class="sourceLineNo">043</span><a name="line.43"></a> -<span class="sourceLineNo">044</span> CellBuilder setFamily(final byte[] family);<a name="line.44"></a> -<span class="sourceLineNo">045</span> CellBuilder setFamily(final byte[] family, final int fOffset, final int fLength);<a name="line.45"></a> +<span class="sourceLineNo">029</span> CellBuilder setRow(final byte[] row);<a name="line.29"></a> +<span class="sourceLineNo">030</span> CellBuilder setRow(final byte[] row, final int rOffset, final int rLength);<a name="line.30"></a> +<span class="sourceLineNo">031</span><a name="line.31"></a> +<span class="sourceLineNo">032</span> CellBuilder setFamily(final byte[] family);<a name="line.32"></a> +<span class="sourceLineNo">033</span> CellBuilder setFamily(final byte[] family, final int fOffset, final int fLength);<a name="line.33"></a> +<span class="sourceLineNo">034</span><a name="line.34"></a> +<span class="sourceLineNo">035</span> CellBuilder setQualifier(final byte[] qualifier);<a name="line.35"></a> +<span class="sourceLineNo">036</span> CellBuilder setQualifier(final byte[] qualifier, final int qOffset, final int qLength);<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> CellBuilder setTimestamp(final long timestamp);<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span> CellBuilder setType(final Cell.DataType type);<a name="line.40"></a> +<span class="sourceLineNo">041</span><a name="line.41"></a> +<span class="sourceLineNo">042</span> CellBuilder setValue(final byte[] value);<a name="line.42"></a> +<span class="sourceLineNo">043</span> CellBuilder setValue(final byte[] value, final int vOffset, final int vLength);<a name="line.43"></a> +<span class="sourceLineNo">044</span><a name="line.44"></a> +<span class="sourceLineNo">045</span> Cell build();<a name="line.45"></a> <span class="sourceLineNo">046</span><a name="line.46"></a> -<span class="sourceLineNo">047</span> CellBuilder setQualifier(final byte[] qualifier);<a name="line.47"></a> -<span class="sourceLineNo">048</span> CellBuilder setQualifier(final byte[] qualifier, final int qOffset, final int qLength);<a name="line.48"></a> -<span class="sourceLineNo">049</span><a name="line.49"></a> -<span class="sourceLineNo">050</span> CellBuilder setTimestamp(final long timestamp);<a name="line.50"></a> -<span class="sourceLineNo">051</span><a name="line.51"></a> -<span class="sourceLineNo">052</span> CellBuilder setType(final DataType type);<a name="line.52"></a> -<span class="sourceLineNo">053</span><a name="line.53"></a> -<span class="sourceLineNo">054</span> CellBuilder setValue(final byte[] value);<a name="line.54"></a> -<span class="sourceLineNo">055</span> CellBuilder setValue(final byte[] value, final int vOffset, final int vLength);<a name="line.55"></a> -<span class="sourceLineNo">056</span><a name="line.56"></a> -<span class="sourceLineNo">057</span> Cell build();<a name="line.57"></a> -<span class="sourceLineNo">058</span><a name="line.58"></a> -<span class="sourceLineNo">059</span> /**<a name="line.59"></a> -<span class="sourceLineNo">060</span> * Remove all internal elements from builder.<a name="line.60"></a> -<span class="sourceLineNo">061</span> * @return this<a name="line.61"></a> -<span class="sourceLineNo">062</span> */<a name="line.62"></a> -<span class="sourceLineNo">063</span> CellBuilder clear();<a name="line.63"></a> -<span class="sourceLineNo">064</span>}<a name="line.64"></a> +<span class="sourceLineNo">047</span> /**<a name="line.47"></a> +<span class="sourceLineNo">048</span> * Remove all internal elements from builder.<a name="line.48"></a> +<span class="sourceLineNo">049</span> * @return this<a name="line.49"></a> +<span class="sourceLineNo">050</span> */<a name="line.50"></a> +<span class="sourceLineNo">051</span> CellBuilder clear();<a name="line.51"></a> +<span class="sourceLineNo">052</span>}<a name="line.52"></a>
