Published site at 416b70f461694bf981d508b49368cc66881c2ef3.
authorjenkins <builds@apache.org>
Thu, 24 Jan 2019 14:48:16 +0000 (14:48 +0000)
committerjenkins <builds@apache.org>
Thu, 24 Jan 2019 14:48:16 +0000 (14:48 +0000)
221 files changed:
acid-semantics.html
apache_hbase_reference_guide.pdf
apidocs/index-all.html
apidocs/org/apache/hadoop/hbase/HTableDescriptor.html
apidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
apidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
apidocs/org/apache/hadoop/hbase/client/RegionLocator.html
apidocs/org/apache/hadoop/hbase/client/TableDescriptor.html
apidocs/org/apache/hadoop/hbase/util/class-use/Pair.html
apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
apidocs/src-html/org/apache/hadoop/hbase/client/RegionLocator.html
apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html
book.html
bulk-loads.html
checkstyle-aggregate.html
checkstyle.rss
coc.html
dependencies.html
dependency-convergence.html
dependency-info.html
dependency-management.html
devapidocs/constant-values.html
devapidocs/index-all.html
devapidocs/org/apache/hadoop/hbase/HTableDescriptor.html
devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
devapidocs/org/apache/hadoop/hbase/class-use/TableName.html
devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocatorImpl.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.AbortProcedureFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.AddColumnFamilyFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.CreateTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.DeleteColumnFamilyFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.DeleteTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.DisableTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.EnableTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.MergeTableRegionsFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ModifyColumnFamilyFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ModifyTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.NamespaceFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ProcedureFuture.WaitForStateCallable.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ProcedureFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ReplicationFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.RestoreSnapshotFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.SplitTableRegionFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.TableFuture.TableWaitForStateCallable.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.TableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.ThrowableAbortable.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.TruncateTableFuture.html
devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html
devapidocs/org/apache/hadoop/hbase/client/HRegionLocator.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.CallStats.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.CallTracker.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.NewMetric.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.RegionStats.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.RunnerStats.html
devapidocs/org/apache/hadoop/hbase/client/MetricsConnection.html
devapidocs/org/apache/hadoop/hbase/client/RegionLocator.html
devapidocs/org/apache/hadoop/hbase/client/TableDescriptor.html
devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html
devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html
devapidocs/org/apache/hadoop/hbase/client/class-use/AsyncConnectionImpl.html
devapidocs/org/apache/hadoop/hbase/client/class-use/AsyncRegionLocator.html
devapidocs/org/apache/hadoop/hbase/client/package-tree.html
devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.AbstractRpcChannel.html
devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.BlockingRpcChannelImplementation.html
devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.RpcChannelImplementation.html
devapidocs/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html
devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
devapidocs/org/apache/hadoop/hbase/master/package-tree.html
devapidocs/org/apache/hadoop/hbase/monitoring/package-tree.html
devapidocs/org/apache/hadoop/hbase/package-tree.html
devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BulkLoadListener.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.ReplayBatchOperation.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockContext.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html
devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
devapidocs/org/apache/hadoop/hbase/replication/package-tree.html
devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
devapidocs/org/apache/hadoop/hbase/security/package-tree.html
devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html
devapidocs/org/apache/hadoop/hbase/util/FutureUtils.html
devapidocs/org/apache/hadoop/hbase/util/class-use/Pair.html
devapidocs/org/apache/hadoop/hbase/util/package-tree.html
devapidocs/org/apache/hadoop/hbase/wal/package-tree.html
devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
devapidocs/src-html/org/apache/hadoop/hbase/Version.html
devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncConnectionImpl.html
devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocatorImpl.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.AbortProcedureFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.AddColumnFamilyFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.CreateTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.DeleteColumnFamilyFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.DeleteTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.DisableTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.EnableTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.MergeTableRegionsFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ModifyColumnFamilyFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ModifyTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.NamespaceFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ProcedureFuture.WaitForStateCallable.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ProcedureFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ReplicationFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.RestoreSnapshotFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.SplitTableRegionFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.TableFuture.TableWaitForStateCallable.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.TableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.ThrowableAbortable.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.TruncateTableFuture.html
devapidocs/src-html/org/apache/hadoop/hbase/client/HBaseAdmin.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.CallStats.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.CallTracker.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.NewMetric.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.RegionStats.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.RunnerStats.html
devapidocs/src-html/org/apache/hadoop/hbase/client/MetricsConnection.html
devapidocs/src-html/org/apache/hadoop/hbase/client/RegionLocator.html
devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html
devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html
devapidocs/src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.AbstractRpcChannel.html
devapidocs/src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.BlockingRpcChannelImplementation.html
devapidocs/src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.RpcChannelImplementation.html
devapidocs/src-html/org/apache/hadoop/hbase/ipc/AbstractRpcClient.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.Visitor.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BulkLoadListener.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.Result.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.ObservedExceptionsInBatch.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.ReplayBatchOperation.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.RowLockContext.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html
devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.html
devapidocs/src-html/org/apache/hadoop/hbase/util/FutureUtils.html
downloads.html
export_control.html
index.html
integration.html
issue-tracking.html
license.html
mail-lists.html
metrics.html
old_news.html
plugin-management.html
plugins.html
poweredbyhbase.html
project-info.html
project-reports.html
project-summary.html
pseudo-distributed.html
replication.html
resources.html
source-repository.html
sponsors.html
supportingprojects.html
team-list.html
testdevapidocs/allclasses-frame.html
testdevapidocs/allclasses-noframe.html
testdevapidocs/index-all.html
testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseClassTestRule.html
testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseTestingUtility.html
testdevapidocs/org/apache/hadoop/hbase/client/AbstractTestCITimeout.SleepCoprocessor.html
testdevapidocs/org/apache/hadoop/hbase/client/AbstractTestRegionLocator.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/client/AbstractTestResultScannerCursor.html
testdevapidocs/org/apache/hadoop/hbase/client/TestAsyncTableRegionLocator.html
testdevapidocs/org/apache/hadoop/hbase/client/TestMobSnapshotFromClient.html
testdevapidocs/org/apache/hadoop/hbase/client/TestMultiActionMetricsFromClient.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/client/TestMultiParallel.html
testdevapidocs/org/apache/hadoop/hbase/client/TestRegionLocator.html
testdevapidocs/org/apache/hadoop/hbase/client/class-use/AbstractTestRegionLocator.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/client/class-use/TestMultiActionMetricsFromClient.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/client/package-frame.html
testdevapidocs/org/apache/hadoop/hbase/client/package-summary.html
testdevapidocs/org/apache/hadoop/hbase/client/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/client/package-use.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteCellCoprocessor.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteFamilyCoprocessor.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteRowCoprocessor.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestMultiMutationCoprocessor.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestPutWithTTLCoprocessor.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/class-use/TestRegionObserverForAddingMutationsFromCoprocessors.TestPutWithTTLCoprocessor.html [new file with mode: 0644]
testdevapidocs/org/apache/hadoop/hbase/coprocessor/package-frame.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/package-summary.html
testdevapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
testdevapidocs/overview-tree.html
testdevapidocs/src-html/org/apache/hadoop/hbase/client/AbstractTestRegionLocator.html [new file with mode: 0644]
testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestAsyncTableRegionLocator.html
testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestMultiActionMetricsFromClient.html [new file with mode: 0644]
testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestRegionLocator.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteCellCoprocessor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteFamilyCoprocessor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestDeleteRowCoprocessor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestMultiMutationCoprocessor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestPutWithTTLCoprocessor.html [new file with mode: 0644]
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.TestWALObserver.html
testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.html

index 411f300..7f6be8a 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20190123" />
+    <meta name="Date-Revision-yyyymmdd" content="20190124" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) ACID Properties
@@ -611,7 +611,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2019-01-23</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2019-01-24</li>
             </p>
                 </div>
 
index c0792a2..75cfa98 100644 (file)
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2)
 /Producer (Apache HBase Team)
-/ModDate (D:20190123142934+00'00')
-/CreationDate (D:20190123144440+00'00')
+/ModDate (D:20190124142939+00'00')
+/CreationDate (D:20190124144430+00'00')
 >>
 endobj
 2 0 obj
index 139c0fc..7b856f6 100644 (file)
 <dd>
 <div class="block">Clear dead region servers from master.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#clearRegionLocationCache--">clearRegionLocationCache()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Clear all the entries in the region location cache.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/RegionLocator.html#clearRegionLocationCache--">clearRegionLocationCache()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></dt>
 <dd>
 <div class="block">Clear all the entries in the region location cache.</div>
              over in hbase-server module.</span></div>
 </div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getEndKeys--">getEndKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Gets the ending row key for every region in the currently open table.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/RegionLocator.html#getEndKeys--">getEndKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></dt>
 <dd>
 <div class="block">Gets the ending row key for every region in the currently open table.</div>
 <dd>
 <div class="block">Returns the region location.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-">getRegionLocations(byte[])</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-boolean-">getRegionLocations(byte[], boolean)</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/RegionLocator.html#getRegionLocations-byte:A-">getRegionLocations(byte[])</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></dt>
 <dd>
 <div class="block">Find all the replicas for the region on which the given row is being served.</div>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/ServerName.html#getStartcode--">getStartcode()</a></span> - Method in class org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getStartEndKeys--">getStartEndKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Gets the starting and ending row keys for every region in the currently open table.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/RegionLocator.html#getStartEndKeys--">getStartEndKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></dt>
 <dd>
 <div class="block">Gets the starting and ending row keys for every region in the currently open table.</div>
              over in hbase-server module.</span></div>
 </div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getStartKeys--">getStartKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></dt>
+<dd>
+<div class="block">Gets the starting row key for every region in the currently open table.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/RegionLocator.html#getStartKeys--">getStartKeys()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></dt>
 <dd>
 <div class="block">Gets the starting row key for every region in the currently open table.</div>
@@ -19389,6 +19413,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html#toStringCustomizedValues--">toStringCustomizedValues()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/TableDescriptor.html#toStringCustomizedValues--">toStringCustomizedValues()</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></dt>
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/HColumnDescriptor.html#toStringCustomizedValues--">toStringCustomizedValues()</a></span> - Method in class org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a></dt>
 <dd>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
index d19ace8..2e69a0b 100644 (file)
@@ -1310,7 +1310,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>NAMESPACE_FAMILY_INFO</h4>
-<pre>public static final&nbsp;<a href="https://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/HTableDescriptor.html#line.806">NAMESPACE_FAMILY_INFO</a></pre>
+<pre>public static final&nbsp;<a href="https://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/HTableDescriptor.html#line.807">NAMESPACE_FAMILY_INFO</a></pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -1324,7 +1324,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>NAMESPACE_FAMILY_INFO_BYTES</h4>
-<pre>public static final&nbsp;byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.807">NAMESPACE_FAMILY_INFO_BYTES</a></pre>
+<pre>public static final&nbsp;byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.808">NAMESPACE_FAMILY_INFO_BYTES</a></pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
@@ -1334,7 +1334,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>NAMESPACE_COL_DESC_BYTES</h4>
-<pre>public static final&nbsp;byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.808">NAMESPACE_COL_DESC_BYTES</a></pre>
+<pre>public static final&nbsp;byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.809">NAMESPACE_COL_DESC_BYTES</a></pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
@@ -1344,7 +1344,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockListLast">
 <li class="blockList">
 <h4>NAMESPACE_TABLEDESC</h4>
-<pre>public static final&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.811">NAMESPACE_TABLEDESC</a></pre>
+<pre>public static final&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> <a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.812">NAMESPACE_TABLEDESC</a></pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Table descriptor for namespace table</div>
 </li>
@@ -2066,9 +2066,11 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>toStringCustomizedValues</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.499">toStringCustomizedValues</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.500">toStringCustomizedValues</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#toStringCustomizedValues--">toStringCustomizedValues</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>Name of this table and then a map of all of the column family
  descriptors (with only the non-default column family attributes)</dd>
@@ -2081,7 +2083,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>toStringTableAttributes</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.506">toStringTableAttributes</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.507">toStringTableAttributes</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2095,7 +2097,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>equals</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.520">equals</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.521">equals</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Compare the contents of the descriptor with another one passed as a parameter.
  Checks if the obj passed is an instance of HTableDescriptor, if yes then the
@@ -2116,7 +2118,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>hashCode</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.534">hashCode</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.535">hashCode</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -2132,7 +2134,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <ul class="blockList">
 <li class="blockList">
 <h4>compareTo</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.548">compareTo</a>(<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;other)</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.549">compareTo</a>(<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;other)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Compares the descriptor with another descriptor which is passed as a parameter.
  This compares the content of the two descriptors and not the reference.</div>
@@ -2152,7 +2154,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.h
 <li class="blockList">
 <h4>getFamilies</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.560">getFamilies</a>()</pre>
+public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.561">getFamilies</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html#getColumnFamilies--"><code>getColumnFamilies()</code></a>.</span></div>
 <div class="block">Returns an unmodifiable collection of all the <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase"><code>HColumnDescriptor</code></a>
  of all the column families of the table.</div>
@@ -2169,7 +2171,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collect
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionReplication</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.570">getRegionReplication</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.571">getRegionReplication</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Returns the configured replicas per region</div>
 <dl>
@@ -2186,7 +2188,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collect
 <ul class="blockList">
 <li class="blockList">
 <h4>setRegionReplication</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.578">setRegionReplication</a>(int&nbsp;regionReplication)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.579">setRegionReplication</a>(int&nbsp;regionReplication)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Sets the number of replicas per region.</div>
 <dl>
@@ -2202,7 +2204,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collect
 <li class="blockList">
 <h4>hasRegionMemstoreReplication</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.588">hasRegionMemstoreReplication</a>()</pre>
+public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.589">hasRegionMemstoreReplication</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of release 2.0.0, this will be removed in HBase 3.0.0.
              Use <a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html#hasRegionMemStoreReplication--"><code>hasRegionMemStoreReplication()</code></a> instead</span></div>
 </li>
@@ -2213,7 +2215,7 @@ public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/H
 <ul class="blockList">
 <li class="blockList">
 <h4>hasRegionMemStoreReplication</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.596">hasRegionMemStoreReplication</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.597">hasRegionMemStoreReplication</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -2230,7 +2232,7 @@ public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/H
 <li class="blockList">
 <h4>setRegionMemstoreReplication</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.605">setRegionMemstoreReplication</a>(boolean&nbsp;memstoreReplication)</pre>
+public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.606">setRegionMemstoreReplication</a>(boolean&nbsp;memstoreReplication)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of release 2.0.0, this will be removed in HBase 3.0.0.
              Use <a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html#setRegionMemStoreReplication-boolean-"><code>setRegionMemStoreReplication(boolean)</code></a> instead</span></div>
 </li>
@@ -2241,7 +2243,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>setRegionMemStoreReplication</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.618">setRegionMemStoreReplication</a>(boolean&nbsp;memstoreReplication)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.619">setRegionMemStoreReplication</a>(boolean&nbsp;memstoreReplication)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Enable or Disable the memstore replication from the primary region to the replicas.
  The replication will be used only for meta operations (e.g. flush, compaction, ...)</div>
@@ -2260,7 +2262,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>setPriority</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.623">setPriority</a>(int&nbsp;priority)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.624">setPriority</a>(int&nbsp;priority)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
@@ -2270,7 +2272,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>getPriority</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.629">getPriority</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.630">getPriority</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -2285,7 +2287,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <li class="blockList">
 <h4>getFamiliesKeys</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;byte[]&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.645">getFamiliesKeys</a>()</pre>
+public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;byte[]&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.646">getFamiliesKeys</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of release 2.0.0, this will be removed in HBase 3.0.0
              (<a href="https://issues.apache.org/jira/browse/HBASE-18008">HBASE-18008</a>).
              Use <a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html#getColumnFamilyNames--"><code>getColumnFamilyNames()</code></a>.</span></div>
@@ -2305,7 +2307,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getColumnFamilyCount</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.655">getColumnFamilyCount</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.656">getColumnFamilyCount</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Returns the count of the column families of the table.</div>
 <dl>
@@ -2323,7 +2325,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.htm
 <li class="blockList">
 <h4>getColumnFamilies</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.669">getColumnFamilies</a>()</pre>
+public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.670">getColumnFamilies</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Returns an array all the <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase"><code>HColumnDescriptor</code></a> of the column families
  of the table.</div>
@@ -2344,7 +2346,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <li class="blockList">
 <h4>getFamily</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.684">getFamily</a>(byte[]&nbsp;column)</pre>
+public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.685">getFamily</a>(byte[]&nbsp;column)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html#getColumnFamily-byte:A-"><code>getColumnFamily(byte[])</code></a>.</span></div>
 <div class="block">Returns the HColumnDescriptor for a specific column family with name as
  specified by the parameter column.</div>
@@ -2363,7 +2365,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>removeFamily</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.697">removeFamily</a>(byte[]&nbsp;column)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.698">removeFamily</a>(byte[]&nbsp;column)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Removes the HColumnDescriptor with name specified by the parameter column
  from the table descriptor</div>
@@ -2382,7 +2384,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>toHColumnDescriptor</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.706">toHColumnDescriptor</a>(<a href="../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a>&nbsp;desc)</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html" title="class in org.apache.hadoop.hbase">HColumnDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.707">toHColumnDescriptor</a>(<a href="../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a>&nbsp;desc)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Return a HColumnDescriptor for user to keep the compatibility as much as possible.</div>
 <dl>
@@ -2399,7 +2401,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>addCoprocessor</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.727">addCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.728">addCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)
                                 throws <a href="https://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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Add a table coprocessor to this table. The coprocessor
@@ -2421,7 +2423,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>addCoprocessor</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.745">addCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.746">addCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                                        org.apache.hadoop.fs.Path&nbsp;jarFilePath,
                                        int&nbsp;priority,
                                        <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;kvs)
@@ -2450,7 +2452,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>addCoprocessorWithSpec</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.767">addCoprocessorWithSpec</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;specStr)
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.768">addCoprocessorWithSpec</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;specStr)
                                         throws <a href="https://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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Add a table coprocessor to this table. The coprocessor
@@ -2473,7 +2475,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>hasCoprocessor</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.779">hasCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;classNameToMatch)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.780">hasCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;classNameToMatch)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Check if the table has an attached co-processor represented by the name className</div>
 <dl>
@@ -2492,7 +2494,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>getCoprocessorDescriptors</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/hadoop/hbase/client/CoprocessorDescriptor.html" title="interface in org.apache.hadoop.hbase.client">CoprocessorDescriptor</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.784">getCoprocessorDescriptors</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/hadoop/hbase/client/CoprocessorDescriptor.html" title="interface in org.apache.hadoop.hbase.client">CoprocessorDescriptor</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.785">getCoprocessorDescriptors</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getCoprocessorDescriptors--">TableDescriptor</a></code></span></div>
 <div class="block">Return the list of attached co-processor represented</div>
@@ -2510,7 +2512,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>getCoprocessors</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.793">getCoprocessors</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.794">getCoprocessors</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Return the list of attached co-processor represented by their name className</div>
 <dl>
@@ -2525,7 +2527,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>removeCoprocessor</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.802">removeCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.803">removeCoprocessor</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Remove a coprocessor from those set on the table</div>
 <dl>
@@ -2541,7 +2543,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html"
 <li class="blockList">
 <h4>setOwner</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.815">setOwner</a>(<a href="../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a>&nbsp;owner)</pre>
+public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.816">setOwner</a>(<a href="../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a>&nbsp;owner)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
@@ -2552,7 +2554,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <li class="blockList">
 <h4>setOwnerString</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.822">setOwnerString</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ownerString)</pre>
+public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.823">setOwnerString</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ownerString)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
@@ -2563,7 +2565,7 @@ public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html"
 <li class="blockList">
 <h4>getOwnerString</h4>
 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.829">getOwnerString</a>()</pre>
+public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.830">getOwnerString</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -2577,7 +2579,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>toByteArray</h4>
-<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.837">toByteArray</a>()</pre>
+<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.838">toByteArray</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2593,7 +2595,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>parseFrom</h4>
-<pre>public static&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.848">parseFrom</a>(byte[]&nbsp;bytes)
+<pre>public static&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.849">parseFrom</a>(byte[]&nbsp;bytes)
                                   throws org.apache.hadoop.hbase.exceptions.DeserializationException,
                                          <a href="https://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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
@@ -2616,7 +2618,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getConfigurationValue</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.861">getConfigurationValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.862">getConfigurationValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Getter for accessing the configuration value by key</div>
 </li>
@@ -2627,7 +2629,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getConfiguration</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.868">getConfiguration</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.869">getConfiguration</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Getter for fetching an unmodifiable map.</div>
 </li>
@@ -2638,7 +2640,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>setConfiguration</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.881">setConfiguration</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.882">setConfiguration</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                                          <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Setter for storing a configuration setting in map.</div>
@@ -2655,7 +2657,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>removeConfiguration</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.889">removeConfiguration</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.890">removeConfiguration</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block">Remove a config setting represented by the key from the map</div>
 </li>
@@ -2666,7 +2668,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getValue</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/util/Bytes.html" title="class in org.apache.hadoop.hbase.util">Bytes</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.894">getValue</a>(<a href="../../../../org/apache/hadoop/hbase/util/Bytes.html" title="class in org.apache.hadoop.hbase.util">Bytes</a>&nbsp;key)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/util/Bytes.html" title="class in org.apache.hadoop.hbase.util">Bytes</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.895">getValue</a>(<a href="../../../../org/apache/hadoop/hbase/util/Bytes.html" title="class in org.apache.hadoop.hbase.util">Bytes</a>&nbsp;key)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getValue-org.apache.hadoop.hbase.util.Bytes-">TableDescriptor</a></code></span></div>
 <div class="block">Getter for accessing the metadata associated with the key.</div>
@@ -2686,7 +2688,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getValue</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.899">getValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.900">getValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getValue-java.lang.String-">TableDescriptor</a></code></span></div>
 <div class="block">Getter for accessing the metadata associated with the key.</div>
@@ -2706,7 +2708,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getValue</h4>
-<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.904">getValue</a>(byte[]&nbsp;key)</pre>
+<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.905">getValue</a>(byte[]&nbsp;key)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getValue-byte:A-">TableDescriptor</a></code></span></div>
 <div class="block">Getter for accessing the metadata associated with the key.</div>
@@ -2726,7 +2728,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getColumnFamilyNames</h4>
-<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;byte[]&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.909">getColumnFamilyNames</a>()</pre>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;byte[]&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.910">getColumnFamilyNames</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getColumnFamilyNames--">TableDescriptor</a></code></span></div>
 <div class="block">Returns all the column family names of the current table. The map of
@@ -2747,7 +2749,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>hasColumnFamily</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.914">hasColumnFamily</a>(byte[]&nbsp;name)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.915">hasColumnFamily</a>(byte[]&nbsp;name)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#hasColumnFamily-byte:A-">TableDescriptor</a></code></span></div>
 <div class="block">Checks to see if this table contains the given column family</div>
@@ -2767,7 +2769,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getColumnFamily</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.919">getColumnFamily</a>(byte[]&nbsp;name)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.920">getColumnFamily</a>(byte[]&nbsp;name)</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/client/TableDescriptor.html#getColumnFamily-byte:A-">TableDescriptor</a></code></span></div>
 <div class="block">Returns the ColumnDescriptor for a specific column family with name as
@@ -2789,7 +2791,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getDelegateeForModification</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.client.TableDescriptorBuilder.ModifyableTableDescriptor&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.923">getDelegateeForModification</a>()</pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.client.TableDescriptorBuilder.ModifyableTableDescriptor&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/HTableDescriptor.html#line.924">getDelegateeForModification</a>()</pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
 </li>
 </ul>
index 036463a..d033561 100644 (file)
 </td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">AsyncTableRegionLocator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-">getRegionLocations</a></span>(byte[]&nbsp;row)</code>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><span class="typeNameLabel">RegionLocator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html#getRegionLocations-byte:A-">getRegionLocations</a></span>(byte[]&nbsp;row)</code>
 <div class="block">Find all the replicas for the region on which the given row is being served.</div>
 </td>
 </tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">AsyncTableRegionLocator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-boolean-">getRegionLocations</a></span>(byte[]&nbsp;row,
+                  boolean&nbsp;reload)</code>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</td>
+</tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><span class="typeNameLabel">RegionLocator.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html#getRegionLocations-byte:A-boolean-">getRegionLocations</a></span>(byte[]&nbsp;row,
index 87ede16..4327b08 100644 (file)
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":6,"i1":6,"i2":18,"i3":18,"i4":18,"i5":6};
+var methods = {"i0":6,"i1":6,"i2":18,"i3":6,"i4":18,"i5":18,"i6":18,"i7":6,"i8":18,"i9":6,"i10":18,"i11":18};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -102,7 +102,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.34">AsyncTableRegionLocator</a></pre>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.37">AsyncTableRegionLocator</a></pre>
 <div class="block">The asynchronous version of RegionLocator.
  <p>
  Usually the implementations will not throw any exception directly, you need to get the exception
@@ -130,38 +130,50 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#clearRegionLocationCache--">clearRegionLocationCache</a></span>()</code>
+<div class="block">Clear all the entries in the region location cache.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getAllRegionLocations--">getAllRegionLocations</a></span>()</code>
 <div class="block">Retrieves all of the regions associated with this table.</div>
 </td>
 </tr>
-<tr id="i1" class="rowColor">
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;byte[]&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getEndKeys--">getEndKeys</a></span>()</code>
+<div class="block">Gets the ending row key for every region in the currently open table.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getName--">getName</a></span>()</code>
 <div class="block">Gets the fully qualified table name instance of the table whose region we want to locate.</div>
 </td>
 </tr>
-<tr id="i2" class="altColor">
+<tr id="i4" class="altColor">
 <td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocation-byte:A-">getRegionLocation</a></span>(byte[]&nbsp;row)</code>
 <div class="block">Finds the region on which the given row is being served.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<tr id="i5" class="rowColor">
 <td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocation-byte:A-boolean-">getRegionLocation</a></span>(byte[]&nbsp;row,
                  boolean&nbsp;reload)</code>
 <div class="block">Finds the region on which the given row is being served.</div>
 </td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i6" class="altColor">
 <td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocation-byte:A-int-">getRegionLocation</a></span>(byte[]&nbsp;row,
                  int&nbsp;replicaId)</code>
 <div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.</div>
 </td>
 </tr>
-<tr id="i5" class="rowColor">
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocation-byte:A-int-boolean-">getRegionLocation</a></span>(byte[]&nbsp;row,
                  int&nbsp;replicaId,
@@ -169,6 +181,31 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.</div>
 </td>
 </tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-">getRegionLocations</a></span>(byte[]&nbsp;row)</code>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getRegionLocations-byte:A-boolean-">getRegionLocations</a></span>(byte[]&nbsp;row,
+                  boolean&nbsp;reload)</code>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a>&lt;byte[],byte[]&gt;&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getStartEndKeys--">getStartEndKeys</a></span>()</code>
+<div class="block">Gets the starting and ending row keys for every region in the currently open table.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;byte[]&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getStartKeys--">getStartKeys</a></span>()</code>
+<div class="block">Gets the starting row key for every region in the currently open table.</div>
+</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -190,7 +227,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockList">
 <li class="blockList">
 <h4>getName</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.39">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.42">getName</a>()</pre>
 <div class="block">Gets the fully qualified table name instance of the table whose region we want to locate.</div>
 </li>
 </ul>
@@ -200,7 +237,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionLocation</h4>
-<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.47">getRegionLocation</a>(byte[]&nbsp;row)</pre>
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.50">getRegionLocation</a>(byte[]&nbsp;row)</pre>
 <div class="block">Finds the region on which the given row is being served. Does not reload the cache.
  <p/>
  Returns the location of the region to which the row belongs.</div>
@@ -216,7 +253,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionLocation</h4>
-<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.58">getRegionLocation</a>(byte[]&nbsp;row,
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.61">getRegionLocation</a>(byte[]&nbsp;row,
                                                              boolean&nbsp;reload)</pre>
 <div class="block">Finds the region on which the given row is being served.
  <p/>
@@ -234,7 +271,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionLocation</h4>
-<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.70">getRegionLocation</a>(byte[]&nbsp;row,
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.73">getRegionLocation</a>(byte[]&nbsp;row,
                                                              int&nbsp;replicaId)</pre>
 <div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
  <p/>
@@ -253,7 +290,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionLocation</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.83">getRegionLocation</a>(byte[]&nbsp;row,
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.86">getRegionLocation</a>(byte[]&nbsp;row,
                                                      int&nbsp;replicaId,
                                                      boolean&nbsp;reload)</pre>
 <div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
@@ -268,20 +305,132 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 </dl>
 </li>
 </ul>
+<a name="getRegionLocations-byte:A-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRegionLocations</h4>
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.94">getRegionLocations</a>(byte[]&nbsp;row)</pre>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - Row to find.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Locations for all the replicas of the row.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
+</dl>
+</li>
+</ul>
+<a name="getRegionLocations-byte:A-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRegionLocations</h4>
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.105">getRegionLocations</a>(byte[]&nbsp;row,
+                                                            boolean&nbsp;reload)</pre>
+<div class="block">Find all the replicas for the region on which the given row is being served.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - Row to find.</dd>
+<dd><code>reload</code> - true to reload information or false to use cached information</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Locations for all the replicas of the row.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
+</dl>
+</li>
+</ul>
 <a name="getAllRegionLocations--">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>getAllRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.89">getAllRegionLocations</a>()</pre>
-<div class="block">Retrieves all of the regions associated with this table.</div>
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.116">getAllRegionLocations</a>()</pre>
+<div class="block">Retrieves all of the regions associated with this table.
+ <p/>
+ Usually we will go to meta table directly in this method so there is no <code>reload</code>
+ parameter.
+ <p/>
+ Notice that the location for region replicas other than the default replica are also returned.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all regions associated with this table.</dd>
 </dl>
 </li>
 </ul>
+<a name="getStartKeys--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getStartKeys</h4>
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;byte[]&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.125">getStartKeys</a>()
+                                              throws <a href="https://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">Gets the starting row key for every region in the currently open table.
+ <p>
+ This is mainly useful for the MapReduce integration.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Array of region starting row keys</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
+</dl>
+</li>
+</ul>
+<a name="getEndKeys--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEndKeys</h4>
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;byte[]&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.137">getEndKeys</a>()
+                                            throws <a href="https://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">Gets the ending row key for every region in the currently open table.
+ <p>
+ This is mainly useful for the MapReduce integration.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Array of region ending row keys</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
+</dl>
+</li>
+</ul>
+<a name="getStartEndKeys--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getStartEndKeys</h4>
+<pre>default&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a>&lt;byte[],byte[]&gt;&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.149">getStartEndKeys</a>()
+                                                              throws <a href="https://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">Gets the starting and ending row keys for every region in the currently open table.
+ <p>
+ This is mainly useful for the MapReduce integration.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Pair of arrays of region starting and ending row keys</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
+</dl>
+</li>
+</ul>
+<a name="clearRegionLocationCache--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>clearRegionLocationCache</h4>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.161">clearRegionLocationCache</a>()</pre>
+<div class="block">Clear all the entries in the region location cache.
+ <p/>
+ This may cause performance issue so use it with caution.</div>
+</li>
+</ul>
 </li>
 </ul>
 </li>
index 0fba39a..dcfba96 100644 (file)
@@ -377,10 +377,13 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getAllRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.115">getAllRegionLocations</a>()
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.118">getAllRegionLocations</a>()
                                      throws <a href="https://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">Retrieves all of the regions associated with this table.
  <p/>
+ Usually we will go to meta table directly in this method so there is no <code>reload</code>
+ parameter.
+ <p/>
  Notice that the location for region replicas other than the default replica are also returned.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -396,7 +399,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getStartKeys</h4>
-<pre>default&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.124">getStartKeys</a>()
+<pre>default&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.127">getStartKeys</a>()
                        throws <a href="https://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">Gets the starting row key for every region in the currently open table.
  <p>
@@ -415,7 +418,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getEndKeys</h4>
-<pre>default&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.135">getEndKeys</a>()
+<pre>default&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.138">getEndKeys</a>()
                      throws <a href="https://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">Gets the ending row key for every region in the currently open table.
  <p>
@@ -434,7 +437,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getStartEndKeys</h4>
-<pre>default&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a>&lt;byte[][],byte[][]&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.146">getStartEndKeys</a>()
+<pre>default&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a>&lt;byte[][],byte[][]&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.149">getStartEndKeys</a>()
                                          throws <a href="https://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">Gets the starting and ending row keys for every region in the currently open table.
  <p>
@@ -453,7 +456,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getName</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.163">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/RegionLocator.html#line.166">getName</a>()</pre>
 <div class="block">Gets the fully qualified table name instance of this table.</div>
 </li>
 </ul>
index 7bfc59a..0da3d75 100644 (file)
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":17,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":38,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":18,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":18};
+var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":17,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":38,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":18,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":18,"i31":6};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -313,6 +313,10 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <div class="block">Check if the table's cfs' replication scope matched with the replication state</div>
 </td>
 </tr>
+<tr id="i31" class="rowColor">
+<td class="colFirst"><code><a href="https://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/client/TableDescriptor.html#toStringCustomizedValues--">toStringCustomizedValues</a></span>()</code>&nbsp;</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -752,13 +756,27 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 </dl>
 </li>
 </ul>
+<a name="toStringCustomizedValues--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toStringCustomizedValues</h4>
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/TableDescriptor.html#line.291">toStringCustomizedValues</a>()</pre>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Name of this table and then a map of all of the column family descriptors (with only
+         the non-default column family attributes)</dd>
+</dl>
+</li>
+</ul>
 <a name="hasGlobalReplicationScope--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>hasGlobalReplicationScope</h4>
-<pre>default&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/TableDescriptor.html#line.292">hasGlobalReplicationScope</a>()</pre>
+<pre>default&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/TableDescriptor.html#line.298">hasGlobalReplicationScope</a>()</pre>
 <div class="block">Check if any of the table's cfs' replication scope are set to
  <a href="../../../../../org/apache/hadoop/hbase/HConstants.html#REPLICATION_SCOPE_GLOBAL"><code>HConstants.REPLICATION_SCOPE_GLOBAL</code></a>.</div>
 <dl>
@@ -773,7 +791,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
 <ul class="blockListLast">
 <li class="blockList">
 <h4>matchReplicationScope</h4>
-<pre>default&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/TableDescriptor.html#line.302">matchReplicationScope</a>(boolean&nbsp;enabled)</pre>
+<pre>default&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/TableDescriptor.html#line.308">matchReplicationScope</a>(boolean&nbsp;enabled)</pre>
 <div class="block">Check if the table's cfs' replication scope matched with the replication state</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
index bf75c63..207349d 100644 (file)
@@ -148,6 +148,21 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 </tr>
 </tbody>
 </table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../../../org/apache/hadoop/hbase/client/package-summary.html">org.apache.hadoop.hbase.client</a> that return types with arguments of type <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a>&lt;byte[],byte[]&gt;&gt;&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">AsyncTableRegionLocator.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#getStartEndKeys--">getStartEndKeys</a></span>()</code>
+<div class="block">Gets the starting and ending row keys for every region in the currently open table.</div>
+</td>
+</tr>
+</tbody>
+</table>
 </li>
 <li class="blockList"><a name="org.apache.hadoop.hbase.filter">
 <!--   -->
index dc5095c..af2bb3d 100644 (file)
 <span class="sourceLineNo">496</span>   * @return Name of this table and then a map of all of the column family<a name="line.496"></a>
 <span class="sourceLineNo">497</span>   * descriptors (with only the non-default column family attributes)<a name="line.497"></a>
 <span class="sourceLineNo">498</span>   */<a name="line.498"></a>
-<span class="sourceLineNo">499</span>  public String toStringCustomizedValues() {<a name="line.499"></a>
-<span class="sourceLineNo">500</span>    return delegatee.toStringCustomizedValues();<a name="line.500"></a>
-<span class="sourceLineNo">501</span>  }<a name="line.501"></a>
-<span class="sourceLineNo">502</span><a name="line.502"></a>
-<span class="sourceLineNo">503</span>  /**<a name="line.503"></a>
-<span class="sourceLineNo">504</span>   * @return map of all table attributes formatted into string.<a name="line.504"></a>
-<span class="sourceLineNo">505</span>   */<a name="line.505"></a>
-<span class="sourceLineNo">506</span>  public String toStringTableAttributes() {<a name="line.506"></a>
-<span class="sourceLineNo">507</span>   return delegatee.toStringTableAttributes();<a name="line.507"></a>
-<span class="sourceLineNo">508</span>  }<a name="line.508"></a>
-<span class="sourceLineNo">509</span><a name="line.509"></a>
-<span class="sourceLineNo">510</span>  /**<a name="line.510"></a>
-<span class="sourceLineNo">511</span>   * Compare the contents of the descriptor with another one passed as a parameter.<a name="line.511"></a>
-<span class="sourceLineNo">512</span>   * Checks if the obj passed is an instance of HTableDescriptor, if yes then the<a name="line.512"></a>
-<span class="sourceLineNo">513</span>   * contents of the descriptors are compared.<a name="line.513"></a>
-<span class="sourceLineNo">514</span>   *<a name="line.514"></a>
-<span class="sourceLineNo">515</span>   * @return true if the contents of the the two descriptors exactly match<a name="line.515"></a>
-<span class="sourceLineNo">516</span>   *<a name="line.516"></a>
-<span class="sourceLineNo">517</span>   * @see java.lang.Object#equals(java.lang.Object)<a name="line.517"></a>
-<span class="sourceLineNo">518</span>   */<a name="line.518"></a>
-<span class="sourceLineNo">519</span>  @Override<a name="line.519"></a>
-<span class="sourceLineNo">520</span>  public boolean equals(Object obj) {<a name="line.520"></a>
-<span class="sourceLineNo">521</span>    if (this == obj) {<a name="line.521"></a>
-<span class="sourceLineNo">522</span>      return true;<a name="line.522"></a>
-<span class="sourceLineNo">523</span>    }<a name="line.523"></a>
-<span class="sourceLineNo">524</span>    if (obj instanceof HTableDescriptor) {<a name="line.524"></a>
-<span class="sourceLineNo">525</span>      return delegatee.equals(((HTableDescriptor) obj).delegatee);<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    }<a name="line.526"></a>
-<span class="sourceLineNo">527</span>    return false;<a name="line.527"></a>
-<span class="sourceLineNo">528</span>  }<a name="line.528"></a>
-<span class="sourceLineNo">529</span><a name="line.529"></a>
-<span class="sourceLineNo">530</span>  /**<a name="line.530"></a>
-<span class="sourceLineNo">531</span>   * @see java.lang.Object#hashCode()<a name="line.531"></a>
-<span class="sourceLineNo">532</span>   */<a name="line.532"></a>
-<span class="sourceLineNo">533</span>  @Override<a name="line.533"></a>
-<span class="sourceLineNo">534</span>  public int hashCode() {<a name="line.534"></a>
-<span class="sourceLineNo">535</span>    return delegatee.hashCode();<a name="line.535"></a>
-<span class="sourceLineNo">536</span>  }<a name="line.536"></a>
-<span class="sourceLineNo">537</span><a name="line.537"></a>
-<span class="sourceLineNo">538</span>  // Comparable<a name="line.538"></a>
-<span class="sourceLineNo">539</span><a name="line.539"></a>
-<span class="sourceLineNo">540</span>  /**<a name="line.540"></a>
-<span class="sourceLineNo">541</span>   * Compares the descriptor with another descriptor which is passed as a parameter.<a name="line.541"></a>
-<span class="sourceLineNo">542</span>   * This compares the content of the two descriptors and not the reference.<a name="line.542"></a>
-<span class="sourceLineNo">543</span>   *<a name="line.543"></a>
-<span class="sourceLineNo">544</span>   * @return 0 if the contents of the descriptors are exactly matching,<a name="line.544"></a>
-<span class="sourceLineNo">545</span>   *         1 if there is a mismatch in the contents<a name="line.545"></a>
-<span class="sourceLineNo">546</span>   */<a name="line.546"></a>
-<span class="sourceLineNo">547</span>  @Override<a name="line.547"></a>
-<span class="sourceLineNo">548</span>  public int compareTo(final HTableDescriptor other) {<a name="line.548"></a>
-<span class="sourceLineNo">549</span>    return TableDescriptor.COMPARATOR.compare(this, other);<a name="line.549"></a>
-<span class="sourceLineNo">550</span>  }<a name="line.550"></a>
-<span class="sourceLineNo">551</span><a name="line.551"></a>
-<span class="sourceLineNo">552</span>  /**<a name="line.552"></a>
-<span class="sourceLineNo">553</span>   * Returns an unmodifiable collection of all the {@link HColumnDescriptor}<a name="line.553"></a>
-<span class="sourceLineNo">554</span>   * of all the column families of the table.<a name="line.554"></a>
-<span class="sourceLineNo">555</span>   * @deprecated Use {@link #getColumnFamilies}.<a name="line.555"></a>
-<span class="sourceLineNo">556</span>   * @return Immutable collection of {@link HColumnDescriptor} of all the<a name="line.556"></a>
-<span class="sourceLineNo">557</span>   * column families.<a name="line.557"></a>
-<span class="sourceLineNo">558</span>   */<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  @Deprecated<a name="line.559"></a>
-<span class="sourceLineNo">560</span>  public Collection&lt;HColumnDescriptor&gt; getFamilies() {<a name="line.560"></a>
-<span class="sourceLineNo">561</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.561"></a>
-<span class="sourceLineNo">562</span>            .map(this::toHColumnDescriptor)<a name="line.562"></a>
-<span class="sourceLineNo">563</span>            .collect(Collectors.toList());<a name="line.563"></a>
-<span class="sourceLineNo">564</span>  }<a name="line.564"></a>
-<span class="sourceLineNo">565</span><a name="line.565"></a>
-<span class="sourceLineNo">566</span>  /**<a name="line.566"></a>
-<span class="sourceLineNo">567</span>   * Returns the configured replicas per region<a name="line.567"></a>
-<span class="sourceLineNo">568</span>   */<a name="line.568"></a>
-<span class="sourceLineNo">569</span>  @Override<a name="line.569"></a>
-<span class="sourceLineNo">570</span>  public int getRegionReplication() {<a name="line.570"></a>
-<span class="sourceLineNo">571</span>    return delegatee.getRegionReplication();<a name="line.571"></a>
-<span class="sourceLineNo">572</span>  }<a name="line.572"></a>
-<span class="sourceLineNo">573</span><a name="line.573"></a>
-<span class="sourceLineNo">574</span>  /**<a name="line.574"></a>
-<span class="sourceLineNo">575</span>   * Sets the number of replicas per region.<a name="line.575"></a>
-<span class="sourceLineNo">576</span>   * @param regionReplication the replication factor per region<a name="line.576"></a>
-<span class="sourceLineNo">577</span>   */<a name="line.577"></a>
-<span class="sourceLineNo">578</span>  public HTableDescriptor setRegionReplication(int regionReplication) {<a name="line.578"></a>
-<span class="sourceLineNo">579</span>    getDelegateeForModification().setRegionReplication(regionReplication);<a name="line.579"></a>
-<span class="sourceLineNo">580</span>    return this;<a name="line.580"></a>
-<span class="sourceLineNo">581</span>  }<a name="line.581"></a>
-<span class="sourceLineNo">582</span><a name="line.582"></a>
-<span class="sourceLineNo">583</span>  /**<a name="line.583"></a>
-<span class="sourceLineNo">584</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.584"></a>
-<span class="sourceLineNo">585</span>   *             Use {@link #hasRegionMemStoreReplication()} instead<a name="line.585"></a>
-<span class="sourceLineNo">586</span>   */<a name="line.586"></a>
-<span class="sourceLineNo">587</span>  @Deprecated<a name="line.587"></a>
-<span class="sourceLineNo">588</span>  public boolean hasRegionMemstoreReplication() {<a name="line.588"></a>
-<span class="sourceLineNo">589</span>    return hasRegionMemStoreReplication();<a name="line.589"></a>
-<span class="sourceLineNo">590</span>  }<a name="line.590"></a>
-<span class="sourceLineNo">591</span><a name="line.591"></a>
-<span class="sourceLineNo">592</span>  /**<a name="line.592"></a>
-<span class="sourceLineNo">593</span>   * @return true if the read-replicas memstore replication is enabled.<a name="line.593"></a>
-<span class="sourceLineNo">594</span>   */<a name="line.594"></a>
-<span class="sourceLineNo">595</span>  @Override<a name="line.595"></a>
-<span class="sourceLineNo">596</span>  public boolean hasRegionMemStoreReplication() {<a name="line.596"></a>
-<span class="sourceLineNo">597</span>    return delegatee.hasRegionMemStoreReplication();<a name="line.597"></a>
-<span class="sourceLineNo">598</span>  }<a name="line.598"></a>
-<span class="sourceLineNo">599</span><a name="line.599"></a>
-<span class="sourceLineNo">600</span>  /**<a name="line.600"></a>
-<span class="sourceLineNo">601</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.601"></a>
-<span class="sourceLineNo">602</span>   *             Use {@link #setRegionMemStoreReplication(boolean)} instead<a name="line.602"></a>
-<span class="sourceLineNo">603</span>   */<a name="line.603"></a>
-<span class="sourceLineNo">604</span>  @Deprecated<a name="line.604"></a>
-<span class="sourceLineNo">605</span>  public HTableDescriptor setRegionMemstoreReplication(boolean memstoreReplication) {<a name="line.605"></a>
-<span class="sourceLineNo">606</span>    return setRegionMemStoreReplication(memstoreReplication);<a name="line.606"></a>
-<span class="sourceLineNo">607</span>  }<a name="line.607"></a>
-<span class="sourceLineNo">608</span><a name="line.608"></a>
-<span class="sourceLineNo">609</span>  /**<a name="line.609"></a>
-<span class="sourceLineNo">610</span>   * Enable or Disable the memstore replication from the primary region to the replicas.<a name="line.610"></a>
-<span class="sourceLineNo">611</span>   * The replication will be used only for meta operations (e.g. flush, compaction, ...)<a name="line.611"></a>
-<span class="sourceLineNo">612</span>   *<a name="line.612"></a>
-<span class="sourceLineNo">613</span>   * @param memstoreReplication true if the new data written to the primary region<a name="line.613"></a>
-<span class="sourceLineNo">614</span>   *                                 should be replicated.<a name="line.614"></a>
-<span class="sourceLineNo">615</span>   *                            false if the secondaries can tollerate to have new<a name="line.615"></a>
-<span class="sourceLineNo">616</span>   *                                  data only when the primary flushes the memstore.<a name="line.616"></a>
-<span class="sourceLineNo">617</span>   */<a name="line.617"></a>
-<span class="sourceLineNo">618</span>  public HTableDescriptor setRegionMemStoreReplication(boolean memstoreReplication) {<a name="line.618"></a>
-<span class="sourceLineNo">619</span>    getDelegateeForModification().setRegionMemStoreReplication(memstoreReplication);<a name="line.619"></a>
-<span class="sourceLineNo">620</span>    return this;<a name="line.620"></a>
-<span class="sourceLineNo">621</span>  }<a name="line.621"></a>
-<span class="sourceLineNo">622</span><a name="line.622"></a>
-<span class="sourceLineNo">623</span>  public HTableDescriptor setPriority(int priority) {<a name="line.623"></a>
-<span class="sourceLineNo">624</span>    getDelegateeForModification().setPriority(priority);<a name="line.624"></a>
-<span class="sourceLineNo">625</span>    return this;<a name="line.625"></a>
-<span class="sourceLineNo">626</span>  }<a name="line.626"></a>
-<span class="sourceLineNo">627</span><a name="line.627"></a>
-<span class="sourceLineNo">628</span>  @Override<a name="line.628"></a>
-<span class="sourceLineNo">629</span>  public int getPriority() {<a name="line.629"></a>
-<span class="sourceLineNo">630</span>    return delegatee.getPriority();<a name="line.630"></a>
-<span class="sourceLineNo">631</span>  }<a name="line.631"></a>
-<span class="sourceLineNo">632</span><a name="line.632"></a>
-<span class="sourceLineNo">633</span>  /**<a name="line.633"></a>
-<span class="sourceLineNo">634</span>   * Returns all the column family names of the current table. The map of<a name="line.634"></a>
-<span class="sourceLineNo">635</span>   * HTableDescriptor contains mapping of family name to HColumnDescriptors.<a name="line.635"></a>
-<span class="sourceLineNo">636</span>   * This returns all the keys of the family map which represents the column<a name="line.636"></a>
-<span class="sourceLineNo">637</span>   * family names of the table.<a name="line.637"></a>
-<span class="sourceLineNo">638</span>   *<a name="line.638"></a>
-<span class="sourceLineNo">639</span>   * @return Immutable sorted set of the keys of the families.<a name="line.639"></a>
-<span class="sourceLineNo">640</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.640"></a>
-<span class="sourceLineNo">641</span>   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a name="line.641"></a>
-<span class="sourceLineNo">642</span>   *             Use {@link #getColumnFamilyNames()}.<a name="line.642"></a>
-<span class="sourceLineNo">643</span>   */<a name="line.643"></a>
-<span class="sourceLineNo">644</span>  @Deprecated<a name="line.644"></a>
-<span class="sourceLineNo">645</span>  public Set&lt;byte[]&gt; getFamiliesKeys() {<a name="line.645"></a>
-<span class="sourceLineNo">646</span>    return delegatee.getColumnFamilyNames();<a name="line.646"></a>
-<span class="sourceLineNo">647</span>  }<a name="line.647"></a>
-<span class="sourceLineNo">648</span><a name="line.648"></a>
-<span class="sourceLineNo">649</span>  /**<a name="line.649"></a>
-<span class="sourceLineNo">650</span>   * Returns the count of the column families of the table.<a name="line.650"></a>
-<span class="sourceLineNo">651</span>   *<a name="line.651"></a>
-<span class="sourceLineNo">652</span>   * @return Count of column families of the table<a name="line.652"></a>
-<span class="sourceLineNo">653</span>   */<a name="line.653"></a>
-<span class="sourceLineNo">654</span>  @Override<a name="line.654"></a>
-<span class="sourceLineNo">655</span>  public int getColumnFamilyCount() {<a name="line.655"></a>
-<span class="sourceLineNo">656</span>    return delegatee.getColumnFamilyCount();<a name="line.656"></a>
-<span class="sourceLineNo">657</span>  }<a name="line.657"></a>
-<span class="sourceLineNo">658</span><a name="line.658"></a>
-<span class="sourceLineNo">659</span>  /**<a name="line.659"></a>
-<span class="sourceLineNo">660</span>   * Returns an array all the {@link HColumnDescriptor} of the column families<a name="line.660"></a>
-<span class="sourceLineNo">661</span>   * of the table.<a name="line.661"></a>
-<span class="sourceLineNo">662</span>   *<a name="line.662"></a>
-<span class="sourceLineNo">663</span>   * @return Array of all the HColumnDescriptors of the current table<a name="line.663"></a>
-<span class="sourceLineNo">664</span>   *<a name="line.664"></a>
-<span class="sourceLineNo">665</span>   * @see #getFamilies()<a name="line.665"></a>
-<span class="sourceLineNo">666</span>   */<a name="line.666"></a>
-<span class="sourceLineNo">667</span>  @Deprecated<a name="line.667"></a>
-<span class="sourceLineNo">668</span>  @Override<a name="line.668"></a>
-<span class="sourceLineNo">669</span>  public HColumnDescriptor[] getColumnFamilies() {<a name="line.669"></a>
-<span class="sourceLineNo">670</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.670"></a>
-<span class="sourceLineNo">671</span>            .map(this::toHColumnDescriptor)<a name="line.671"></a>
-<span class="sourceLineNo">672</span>            .toArray(size -&gt; new HColumnDescriptor[size]);<a name="line.672"></a>
-<span class="sourceLineNo">673</span>  }<a name="line.673"></a>
-<span class="sourceLineNo">674</span><a name="line.674"></a>
-<span class="sourceLineNo">675</span>  /**<a name="line.675"></a>
-<span class="sourceLineNo">676</span>   * Returns the HColumnDescriptor for a specific column family with name as<a name="line.676"></a>
-<span class="sourceLineNo">677</span>   * specified by the parameter column.<a name="line.677"></a>
-<span class="sourceLineNo">678</span>   * @param column Column family name<a name="line.678"></a>
-<span class="sourceLineNo">679</span>   * @return Column descriptor for the passed family name or the family on<a name="line.679"></a>
-<span class="sourceLineNo">680</span>   * passed in column.<a name="line.680"></a>
-<span class="sourceLineNo">681</span>   * @deprecated Use {@link #getColumnFamily(byte[])}.<a name="line.681"></a>
-<span class="sourceLineNo">682</span>   */<a name="line.682"></a>
-<span class="sourceLineNo">683</span>  @Deprecated<a name="line.683"></a>
-<span class="sourceLineNo">684</span>  public HColumnDescriptor getFamily(final byte[] column) {<a name="line.684"></a>
-<span class="sourceLineNo">685</span>    return toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.685"></a>
-<span class="sourceLineNo">686</span>  }<a name="line.686"></a>
-<span class="sourceLineNo">687</span><a name="line.687"></a>
+<span class="sourceLineNo">499</span>  @Override<a name="line.499"></a>
+<span class="sourceLineNo">500</span>  public String toStringCustomizedValues() {<a name="line.500"></a>
+<span class="sourceLineNo">501</span>    return delegatee.toStringCustomizedValues();<a name="line.501"></a>
+<span class="sourceLineNo">502</span>  }<a name="line.502"></a>
+<span class="sourceLineNo">503</span><a name="line.503"></a>
+<span class="sourceLineNo">504</span>  /**<a name="line.504"></a>
+<span class="sourceLineNo">505</span>   * @return map of all table attributes formatted into string.<a name="line.505"></a>
+<span class="sourceLineNo">506</span>   */<a name="line.506"></a>
+<span class="sourceLineNo">507</span>  public String toStringTableAttributes() {<a name="line.507"></a>
+<span class="sourceLineNo">508</span>   return delegatee.toStringTableAttributes();<a name="line.508"></a>
+<span class="sourceLineNo">509</span>  }<a name="line.509"></a>
+<span class="sourceLineNo">510</span><a name="line.510"></a>
+<span class="sourceLineNo">511</span>  /**<a name="line.511"></a>
+<span class="sourceLineNo">512</span>   * Compare the contents of the descriptor with another one passed as a parameter.<a name="line.512"></a>
+<span class="sourceLineNo">513</span>   * Checks if the obj passed is an instance of HTableDescriptor, if yes then the<a name="line.513"></a>
+<span class="sourceLineNo">514</span>   * contents of the descriptors are compared.<a name="line.514"></a>
+<span class="sourceLineNo">515</span>   *<a name="line.515"></a>
+<span class="sourceLineNo">516</span>   * @return true if the contents of the the two descriptors exactly match<a name="line.516"></a>
+<span class="sourceLineNo">517</span>   *<a name="line.517"></a>
+<span class="sourceLineNo">518</span>   * @see java.lang.Object#equals(java.lang.Object)<a name="line.518"></a>
+<span class="sourceLineNo">519</span>   */<a name="line.519"></a>
+<span class="sourceLineNo">520</span>  @Override<a name="line.520"></a>
+<span class="sourceLineNo">521</span>  public boolean equals(Object obj) {<a name="line.521"></a>
+<span class="sourceLineNo">522</span>    if (this == obj) {<a name="line.522"></a>
+<span class="sourceLineNo">523</span>      return true;<a name="line.523"></a>
+<span class="sourceLineNo">524</span>    }<a name="line.524"></a>
+<span class="sourceLineNo">525</span>    if (obj instanceof HTableDescriptor) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span>      return delegatee.equals(((HTableDescriptor) obj).delegatee);<a name="line.526"></a>
+<span class="sourceLineNo">527</span>    }<a name="line.527"></a>
+<span class="sourceLineNo">528</span>    return false;<a name="line.528"></a>
+<span class="sourceLineNo">529</span>  }<a name="line.529"></a>
+<span class="sourceLineNo">530</span><a name="line.530"></a>
+<span class="sourceLineNo">531</span>  /**<a name="line.531"></a>
+<span class="sourceLineNo">532</span>   * @see java.lang.Object#hashCode()<a name="line.532"></a>
+<span class="sourceLineNo">533</span>   */<a name="line.533"></a>
+<span class="sourceLineNo">534</span>  @Override<a name="line.534"></a>
+<span class="sourceLineNo">535</span>  public int hashCode() {<a name="line.535"></a>
+<span class="sourceLineNo">536</span>    return delegatee.hashCode();<a name="line.536"></a>
+<span class="sourceLineNo">537</span>  }<a name="line.537"></a>
+<span class="sourceLineNo">538</span><a name="line.538"></a>
+<span class="sourceLineNo">539</span>  // Comparable<a name="line.539"></a>
+<span class="sourceLineNo">540</span><a name="line.540"></a>
+<span class="sourceLineNo">541</span>  /**<a name="line.541"></a>
+<span class="sourceLineNo">542</span>   * Compares the descriptor with another descriptor which is passed as a parameter.<a name="line.542"></a>
+<span class="sourceLineNo">543</span>   * This compares the content of the two descriptors and not the reference.<a name="line.543"></a>
+<span class="sourceLineNo">544</span>   *<a name="line.544"></a>
+<span class="sourceLineNo">545</span>   * @return 0 if the contents of the descriptors are exactly matching,<a name="line.545"></a>
+<span class="sourceLineNo">546</span>   *         1 if there is a mismatch in the contents<a name="line.546"></a>
+<span class="sourceLineNo">547</span>   */<a name="line.547"></a>
+<span class="sourceLineNo">548</span>  @Override<a name="line.548"></a>
+<span class="sourceLineNo">549</span>  public int compareTo(final HTableDescriptor other) {<a name="line.549"></a>
+<span class="sourceLineNo">550</span>    return TableDescriptor.COMPARATOR.compare(this, other);<a name="line.550"></a>
+<span class="sourceLineNo">551</span>  }<a name="line.551"></a>
+<span class="sourceLineNo">552</span><a name="line.552"></a>
+<span class="sourceLineNo">553</span>  /**<a name="line.553"></a>
+<span class="sourceLineNo">554</span>   * Returns an unmodifiable collection of all the {@link HColumnDescriptor}<a name="line.554"></a>
+<span class="sourceLineNo">555</span>   * of all the column families of the table.<a name="line.555"></a>
+<span class="sourceLineNo">556</span>   * @deprecated Use {@link #getColumnFamilies}.<a name="line.556"></a>
+<span class="sourceLineNo">557</span>   * @return Immutable collection of {@link HColumnDescriptor} of all the<a name="line.557"></a>
+<span class="sourceLineNo">558</span>   * column families.<a name="line.558"></a>
+<span class="sourceLineNo">559</span>   */<a name="line.559"></a>
+<span class="sourceLineNo">560</span>  @Deprecated<a name="line.560"></a>
+<span class="sourceLineNo">561</span>  public Collection&lt;HColumnDescriptor&gt; getFamilies() {<a name="line.561"></a>
+<span class="sourceLineNo">562</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.562"></a>
+<span class="sourceLineNo">563</span>            .map(this::toHColumnDescriptor)<a name="line.563"></a>
+<span class="sourceLineNo">564</span>            .collect(Collectors.toList());<a name="line.564"></a>
+<span class="sourceLineNo">565</span>  }<a name="line.565"></a>
+<span class="sourceLineNo">566</span><a name="line.566"></a>
+<span class="sourceLineNo">567</span>  /**<a name="line.567"></a>
+<span class="sourceLineNo">568</span>   * Returns the configured replicas per region<a name="line.568"></a>
+<span class="sourceLineNo">569</span>   */<a name="line.569"></a>
+<span class="sourceLineNo">570</span>  @Override<a name="line.570"></a>
+<span class="sourceLineNo">571</span>  public int getRegionReplication() {<a name="line.571"></a>
+<span class="sourceLineNo">572</span>    return delegatee.getRegionReplication();<a name="line.572"></a>
+<span class="sourceLineNo">573</span>  }<a name="line.573"></a>
+<span class="sourceLineNo">574</span><a name="line.574"></a>
+<span class="sourceLineNo">575</span>  /**<a name="line.575"></a>
+<span class="sourceLineNo">576</span>   * Sets the number of replicas per region.<a name="line.576"></a>
+<span class="sourceLineNo">577</span>   * @param regionReplication the replication factor per region<a name="line.577"></a>
+<span class="sourceLineNo">578</span>   */<a name="line.578"></a>
+<span class="sourceLineNo">579</span>  public HTableDescriptor setRegionReplication(int regionReplication) {<a name="line.579"></a>
+<span class="sourceLineNo">580</span>    getDelegateeForModification().setRegionReplication(regionReplication);<a name="line.580"></a>
+<span class="sourceLineNo">581</span>    return this;<a name="line.581"></a>
+<span class="sourceLineNo">582</span>  }<a name="line.582"></a>
+<span class="sourceLineNo">583</span><a name="line.583"></a>
+<span class="sourceLineNo">584</span>  /**<a name="line.584"></a>
+<span class="sourceLineNo">585</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.585"></a>
+<span class="sourceLineNo">586</span>   *             Use {@link #hasRegionMemStoreReplication()} instead<a name="line.586"></a>
+<span class="sourceLineNo">587</span>   */<a name="line.587"></a>
+<span class="sourceLineNo">588</span>  @Deprecated<a name="line.588"></a>
+<span class="sourceLineNo">589</span>  public boolean hasRegionMemstoreReplication() {<a name="line.589"></a>
+<span class="sourceLineNo">590</span>    return hasRegionMemStoreReplication();<a name="line.590"></a>
+<span class="sourceLineNo">591</span>  }<a name="line.591"></a>
+<span class="sourceLineNo">592</span><a name="line.592"></a>
+<span class="sourceLineNo">593</span>  /**<a name="line.593"></a>
+<span class="sourceLineNo">594</span>   * @return true if the read-replicas memstore replication is enabled.<a name="line.594"></a>
+<span class="sourceLineNo">595</span>   */<a name="line.595"></a>
+<span class="sourceLineNo">596</span>  @Override<a name="line.596"></a>
+<span class="sourceLineNo">597</span>  public boolean hasRegionMemStoreReplication() {<a name="line.597"></a>
+<span class="sourceLineNo">598</span>    return delegatee.hasRegionMemStoreReplication();<a name="line.598"></a>
+<span class="sourceLineNo">599</span>  }<a name="line.599"></a>
+<span class="sourceLineNo">600</span><a name="line.600"></a>
+<span class="sourceLineNo">601</span>  /**<a name="line.601"></a>
+<span class="sourceLineNo">602</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.602"></a>
+<span class="sourceLineNo">603</span>   *             Use {@link #setRegionMemStoreReplication(boolean)} instead<a name="line.603"></a>
+<span class="sourceLineNo">604</span>   */<a name="line.604"></a>
+<span class="sourceLineNo">605</span>  @Deprecated<a name="line.605"></a>
+<span class="sourceLineNo">606</span>  public HTableDescriptor setRegionMemstoreReplication(boolean memstoreReplication) {<a name="line.606"></a>
+<span class="sourceLineNo">607</span>    return setRegionMemStoreReplication(memstoreReplication);<a name="line.607"></a>
+<span class="sourceLineNo">608</span>  }<a name="line.608"></a>
+<span class="sourceLineNo">609</span><a name="line.609"></a>
+<span class="sourceLineNo">610</span>  /**<a name="line.610"></a>
+<span class="sourceLineNo">611</span>   * Enable or Disable the memstore replication from the primary region to the replicas.<a name="line.611"></a>
+<span class="sourceLineNo">612</span>   * The replication will be used only for meta operations (e.g. flush, compaction, ...)<a name="line.612"></a>
+<span class="sourceLineNo">613</span>   *<a name="line.613"></a>
+<span class="sourceLineNo">614</span>   * @param memstoreReplication true if the new data written to the primary region<a name="line.614"></a>
+<span class="sourceLineNo">615</span>   *                                 should be replicated.<a name="line.615"></a>
+<span class="sourceLineNo">616</span>   *                            false if the secondaries can tollerate to have new<a name="line.616"></a>
+<span class="sourceLineNo">617</span>   *                                  data only when the primary flushes the memstore.<a name="line.617"></a>
+<span class="sourceLineNo">618</span>   */<a name="line.618"></a>
+<span class="sourceLineNo">619</span>  public HTableDescriptor setRegionMemStoreReplication(boolean memstoreReplication) {<a name="line.619"></a>
+<span class="sourceLineNo">620</span>    getDelegateeForModification().setRegionMemStoreReplication(memstoreReplication);<a name="line.620"></a>
+<span class="sourceLineNo">621</span>    return this;<a name="line.621"></a>
+<span class="sourceLineNo">622</span>  }<a name="line.622"></a>
+<span class="sourceLineNo">623</span><a name="line.623"></a>
+<span class="sourceLineNo">624</span>  public HTableDescriptor setPriority(int priority) {<a name="line.624"></a>
+<span class="sourceLineNo">625</span>    getDelegateeForModification().setPriority(priority);<a name="line.625"></a>
+<span class="sourceLineNo">626</span>    return this;<a name="line.626"></a>
+<span class="sourceLineNo">627</span>  }<a name="line.627"></a>
+<span class="sourceLineNo">628</span><a name="line.628"></a>
+<span class="sourceLineNo">629</span>  @Override<a name="line.629"></a>
+<span class="sourceLineNo">630</span>  public int getPriority() {<a name="line.630"></a>
+<span class="sourceLineNo">631</span>    return delegatee.getPriority();<a name="line.631"></a>
+<span class="sourceLineNo">632</span>  }<a name="line.632"></a>
+<span class="sourceLineNo">633</span><a name="line.633"></a>
+<span class="sourceLineNo">634</span>  /**<a name="line.634"></a>
+<span class="sourceLineNo">635</span>   * Returns all the column family names of the current table. The map of<a name="line.635"></a>
+<span class="sourceLineNo">636</span>   * HTableDescriptor contains mapping of family name to HColumnDescriptors.<a name="line.636"></a>
+<span class="sourceLineNo">637</span>   * This returns all the keys of the family map which represents the column<a name="line.637"></a>
+<span class="sourceLineNo">638</span>   * family names of the table.<a name="line.638"></a>
+<span class="sourceLineNo">639</span>   *<a name="line.639"></a>
+<span class="sourceLineNo">640</span>   * @return Immutable sorted set of the keys of the families.<a name="line.640"></a>
+<span class="sourceLineNo">641</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.641"></a>
+<span class="sourceLineNo">642</span>   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a name="line.642"></a>
+<span class="sourceLineNo">643</span>   *             Use {@link #getColumnFamilyNames()}.<a name="line.643"></a>
+<span class="sourceLineNo">644</span>   */<a name="line.644"></a>
+<span class="sourceLineNo">645</span>  @Deprecated<a name="line.645"></a>
+<span class="sourceLineNo">646</span>  public Set&lt;byte[]&gt; getFamiliesKeys() {<a name="line.646"></a>
+<span class="sourceLineNo">647</span>    return delegatee.getColumnFamilyNames();<a name="line.647"></a>
+<span class="sourceLineNo">648</span>  }<a name="line.648"></a>
+<span class="sourceLineNo">649</span><a name="line.649"></a>
+<span class="sourceLineNo">650</span>  /**<a name="line.650"></a>
+<span class="sourceLineNo">651</span>   * Returns the count of the column families of the table.<a name="line.651"></a>
+<span class="sourceLineNo">652</span>   *<a name="line.652"></a>
+<span class="sourceLineNo">653</span>   * @return Count of column families of the table<a name="line.653"></a>
+<span class="sourceLineNo">654</span>   */<a name="line.654"></a>
+<span class="sourceLineNo">655</span>  @Override<a name="line.655"></a>
+<span class="sourceLineNo">656</span>  public int getColumnFamilyCount() {<a name="line.656"></a>
+<span class="sourceLineNo">657</span>    return delegatee.getColumnFamilyCount();<a name="line.657"></a>
+<span class="sourceLineNo">658</span>  }<a name="line.658"></a>
+<span class="sourceLineNo">659</span><a name="line.659"></a>
+<span class="sourceLineNo">660</span>  /**<a name="line.660"></a>
+<span class="sourceLineNo">661</span>   * Returns an array all the {@link HColumnDescriptor} of the column families<a name="line.661"></a>
+<span class="sourceLineNo">662</span>   * of the table.<a name="line.662"></a>
+<span class="sourceLineNo">663</span>   *<a name="line.663"></a>
+<span class="sourceLineNo">664</span>   * @return Array of all the HColumnDescriptors of the current table<a name="line.664"></a>
+<span class="sourceLineNo">665</span>   *<a name="line.665"></a>
+<span class="sourceLineNo">666</span>   * @see #getFamilies()<a name="line.666"></a>
+<span class="sourceLineNo">667</span>   */<a name="line.667"></a>
+<span class="sourceLineNo">668</span>  @Deprecated<a name="line.668"></a>
+<span class="sourceLineNo">669</span>  @Override<a name="line.669"></a>
+<span class="sourceLineNo">670</span>  public HColumnDescriptor[] getColumnFamilies() {<a name="line.670"></a>
+<span class="sourceLineNo">671</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.671"></a>
+<span class="sourceLineNo">672</span>            .map(this::toHColumnDescriptor)<a name="line.672"></a>
+<span class="sourceLineNo">673</span>            .toArray(size -&gt; new HColumnDescriptor[size]);<a name="line.673"></a>
+<span class="sourceLineNo">674</span>  }<a name="line.674"></a>
+<span class="sourceLineNo">675</span><a name="line.675"></a>
+<span class="sourceLineNo">676</span>  /**<a name="line.676"></a>
+<span class="sourceLineNo">677</span>   * Returns the HColumnDescriptor for a specific column family with name as<a name="line.677"></a>
+<span class="sourceLineNo">678</span>   * specified by the parameter column.<a name="line.678"></a>
+<span class="sourceLineNo">679</span>   * @param column Column family name<a name="line.679"></a>
+<span class="sourceLineNo">680</span>   * @return Column descriptor for the passed family name or the family on<a name="line.680"></a>
+<span class="sourceLineNo">681</span>   * passed in column.<a name="line.681"></a>
+<span class="sourceLineNo">682</span>   * @deprecated Use {@link #getColumnFamily(byte[])}.<a name="line.682"></a>
+<span class="sourceLineNo">683</span>   */<a name="line.683"></a>
+<span class="sourceLineNo">684</span>  @Deprecated<a name="line.684"></a>
+<span class="sourceLineNo">685</span>  public HColumnDescriptor getFamily(final byte[] column) {<a name="line.685"></a>
+<span class="sourceLineNo">686</span>    return toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.686"></a>
+<span class="sourceLineNo">687</span>  }<a name="line.687"></a>
 <span class="sourceLineNo">688</span><a name="line.688"></a>
-<span class="sourceLineNo">689</span>  /**<a name="line.689"></a>
-<span class="sourceLineNo">690</span>   * Removes the HColumnDescriptor with name specified by the parameter column<a name="line.690"></a>
-<span class="sourceLineNo">691</span>   * from the table descriptor<a name="line.691"></a>
-<span class="sourceLineNo">692</span>   *<a name="line.692"></a>
-<span class="sourceLineNo">693</span>   * @param column Name of the column family to be removed.<a name="line.693"></a>
-<span class="sourceLineNo">694</span>   * @return Column descriptor for the passed family name or the family on<a name="line.694"></a>
-<span class="sourceLineNo">695</span>   * passed in column.<a name="line.695"></a>
-<span class="sourceLineNo">696</span>   */<a name="line.696"></a>
-<span class="sourceLineNo">697</span>  public HColumnDescriptor removeFamily(final byte [] column) {<a name="line.697"></a>
-<span class="sourceLineNo">698</span>    return toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a name="line.698"></a>
-<span class="sourceLineNo">699</span>  }<a name="line.699"></a>
-<span class="sourceLineNo">700</span><a name="line.700"></a>
-<span class="sourceLineNo">701</span>  /**<a name="line.701"></a>
-<span class="sourceLineNo">702</span>   * Return a HColumnDescriptor for user to keep the compatibility as much as possible.<a name="line.702"></a>
-<span class="sourceLineNo">703</span>   * @param desc read-only ColumnFamilyDescriptor<a name="line.703"></a>
-<span class="sourceLineNo">704</span>   * @return The older implementation of ColumnFamilyDescriptor<a name="line.704"></a>
-<span class="sourceLineNo">705</span>   */<a name="line.705"></a>
-<span class="sourceLineNo">706</span>  protected HColumnDescriptor toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.706"></a>
-<span class="sourceLineNo">707</span>    if (desc == null) {<a name="line.707"></a>
-<span class="sourceLineNo">708</span>      return null;<a name="line.708"></a>
-<span class="sourceLineNo">709</span>    } else if (desc instanceof ModifyableColumnFamilyDescriptor) {<a name="line.709"></a>
-<span class="sourceLineNo">710</span>      return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a name="line.710"></a>
-<span class="sourceLineNo">711</span>    } else if (desc instanceof HColumnDescriptor) {<a name="line.711"></a>
-<span class="sourceLineNo">712</span>      return (HColumnDescriptor) desc;<a name="line.712"></a>
-<span class="sourceLineNo">713</span>    } else {<a name="line.713"></a>
-<span class="sourceLineNo">714</span>      return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc));<a name="line.714"></a>
-<span class="sourceLineNo">715</span>    }<a name="line.715"></a>
-<span class="sourceLineNo">716</span>  }<a name="line.716"></a>
-<span class="sourceLineNo">717</span><a name="line.717"></a>
-<span class="sourceLineNo">718</span>  /**<a name="line.718"></a>
-<span class="sourceLineNo">719</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.719"></a>
-<span class="sourceLineNo">720</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.720"></a>
-<span class="sourceLineNo">721</span>   * It won't check if the class can be loaded or not.<a name="line.721"></a>
-<span class="sourceLineNo">722</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.722"></a>
-<span class="sourceLineNo">723</span>   * a region is opened.<a name="line.723"></a>
-<span class="sourceLineNo">724</span>   * @param className Full class name.<a name="line.724"></a>
-<span class="sourceLineNo">725</span>   * @throws IOException<a name="line.725"></a>
-<span class="sourceLineNo">726</span>   */<a name="line.726"></a>
-<span class="sourceLineNo">727</span>  public HTableDescriptor addCoprocessor(String className) throws IOException {<a name="line.727"></a>
-<span class="sourceLineNo">728</span>    getDelegateeForModification().setCoprocessor(className);<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    return this;<a name="line.729"></a>
-<span class="sourceLineNo">730</span>  }<a name="line.730"></a>
-<span class="sourceLineNo">731</span><a name="line.731"></a>
-<span class="sourceLineNo">732</span>  /**<a name="line.732"></a>
-<span class="sourceLineNo">733</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.733"></a>
-<span class="sourceLineNo">734</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.734"></a>
-<span class="sourceLineNo">735</span>   * It won't check if the class can be loaded or not.<a name="line.735"></a>
-<span class="sourceLineNo">736</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.736"></a>
-<span class="sourceLineNo">737</span>   * a region is opened.<a name="line.737"></a>
-<span class="sourceLineNo">738</span>   * @param jarFilePath Path of the jar file. If it's null, the class will be<a name="line.738"></a>
-<span class="sourceLineNo">739</span>   * loaded from default classloader.<a name="line.739"></a>
-<span class="sourceLineNo">740</span>   * @param className Full class name.<a name="line.740"></a>
-<span class="sourceLineNo">741</span>   * @param priority Priority<a name="line.741"></a>
-<span class="sourceLineNo">742</span>   * @param kvs Arbitrary key-value parameter pairs passed into the coprocessor.<a name="line.742"></a>
-<span class="sourceLineNo">743</span>   * @throws IOException<a name="line.743"></a>
-<span class="sourceLineNo">744</span>   */<a name="line.744"></a>
-<span class="sourceLineNo">745</span>  public HTableDescriptor addCoprocessor(String className, Path jarFilePath,<a name="line.745"></a>
-<span class="sourceLineNo">746</span>                             int priority, final Map&lt;String, String&gt; kvs)<a name="line.746"></a>
-<span class="sourceLineNo">747</span>  throws IOException {<a name="line.747"></a>
-<span class="sourceLineNo">748</span>    getDelegateeForModification().setCoprocessor(<a name="line.748"></a>
-<span class="sourceLineNo">749</span>      CoprocessorDescriptorBuilder.newBuilder(className)<a name="line.749"></a>
-<span class="sourceLineNo">750</span>        .setJarPath(jarFilePath == null ? null : jarFilePath.toString())<a name="line.750"></a>
-<span class="sourceLineNo">751</span>        .setPriority(priority)<a name="line.751"></a>
-<span class="sourceLineNo">752</span>        .setProperties(kvs == null ? Collections.emptyMap() : kvs)<a name="line.752"></a>
-<span class="sourceLineNo">753</span>        .build());<a name="line.753"></a>
-<span class="sourceLineNo">754</span>    return this;<a name="line.754"></a>
-<span class="sourceLineNo">755</span>  }<a name="line.755"></a>
-<span class="sourceLineNo">756</span><a name="line.756"></a>
-<span class="sourceLineNo">757</span>  /**<a name="line.757"></a>
-<span class="sourceLineNo">758</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.758"></a>
-<span class="sourceLineNo">759</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.759"></a>
-<span class="sourceLineNo">760</span>   * It won't check if the class can be loaded or not.<a name="line.760"></a>
-<span class="sourceLineNo">761</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.761"></a>
-<span class="sourceLineNo">762</span>   * a region is opened.<a name="line.762"></a>
-<span class="sourceLineNo">763</span>   * @param specStr The Coprocessor specification all in in one String formatted so matches<a name="line.763"></a>
-<span class="sourceLineNo">764</span>   * {@link HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.764"></a>
-<span class="sourceLineNo">765</span>   * @throws IOException<a name="line.765"></a>
-<span class="sourceLineNo">766</span>   */<a name="line.766"></a>
-<span class="sourceLineNo">767</span>  public HTableDescriptor addCoprocessorWithSpec(final String specStr) throws IOException {<a name="line.767"></a>
-<span class="sourceLineNo">768</span>    getDelegateeForModification().setCoprocessorWithSpec(specStr);<a name="line.768"></a>
-<span class="sourceLineNo">769</span>    return this;<a name="line.769"></a>
-<span class="sourceLineNo">770</span>  }<a name="line.770"></a>
-<span class="sourceLineNo">771</span><a name="line.771"></a>
-<span class="sourceLineNo">772</span>  /**<a name="line.772"></a>
-<span class="sourceLineNo">773</span>   * Check if the table has an attached co-processor represented by the name className<a name="line.773"></a>
-<span class="sourceLineNo">774</span>   *<a name="line.774"></a>
-<span class="sourceLineNo">775</span>   * @param classNameToMatch - Class name of the co-processor<a name="line.775"></a>
-<span class="sourceLineNo">776</span>   * @return true of the table has a co-processor className<a name="line.776"></a>
-<span class="sourceLineNo">777</span>   */<a name="line.777"></a>
-<span class="sourceLineNo">778</span>  @Override<a name="line.778"></a>
-<span class="sourceLineNo">779</span>  public boolean hasCoprocessor(String classNameToMatch) {<a name="line.779"></a>
-<span class="sourceLineNo">780</span>    return delegatee.hasCoprocessor(classNameToMatch);<a name="line.780"></a>
-<span class="sourceLineNo">781</span>  }<a name="line.781"></a>
-<span class="sourceLineNo">782</span><a name="line.782"></a>
-<span class="sourceLineNo">783</span>  @Override<a name="line.783"></a>
-<span class="sourceLineNo">784</span>  public Collection&lt;CoprocessorDescriptor&gt; getCoprocessorDescriptors() {<a name="line.784"></a>
-<span class="sourceLineNo">785</span>    return delegatee.getCoprocessorDescriptors();<a name="line.785"></a>
-<span class="sourceLineNo">786</span>  }<a name="line.786"></a>
-<span class="sourceLineNo">787</span><a name="line.787"></a>
-<span class="sourceLineNo">788</span>  /**<a name="line.788"></a>
-<span class="sourceLineNo">789</span>   * Return the list of attached co-processor represented by their name className<a name="line.789"></a>
-<span class="sourceLineNo">790</span>   *<a name="line.790"></a>
-<span class="sourceLineNo">791</span>   * @return The list of co-processors classNames<a name="line.791"></a>
-<span class="sourceLineNo">792</span>   */<a name="line.792"></a>
-<span class="sourceLineNo">793</span>  public List&lt;String&gt; getCoprocessors() {<a name="line.793"></a>
-<span class="sourceLineNo">794</span>    return getCoprocessorDescriptors().stream().map(CoprocessorDescriptor::getClassName)<a name="line.794"></a>
-<span class="sourceLineNo">795</span>      .collect(Collectors.toList());<a name="line.795"></a>
-<span class="sourceLineNo">796</span>  }<a name="line.796"></a>
-<span class="sourceLineNo">797</span><a name="line.797"></a>
-<span class="sourceLineNo">798</span>  /**<a name="line.798"></a>
-<span class="sourceLineNo">799</span>   * Remove a coprocessor from those set on the table<a name="line.799"></a>
-<span class="sourceLineNo">800</span>   * @param className Class name of the co-processor<a name="line.800"></a>
-<span class="sourceLineNo">801</span>   */<a name="line.801"></a>
-<span class="sourceLineNo">802</span>  public void removeCoprocessor(String className) {<a name="line.802"></a>
-<span class="sourceLineNo">803</span>    getDelegateeForModification().removeCoprocessor(className);<a name="line.803"></a>
-<span class="sourceLineNo">804</span>  }<a name="line.804"></a>
-<span class="sourceLineNo">805</span><a name="line.805"></a>
-<span class="sourceLineNo">806</span>  public final static String NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a name="line.806"></a>
-<span class="sourceLineNo">807</span>  public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.807"></a>
-<span class="sourceLineNo">808</span>  public final static byte[] NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a name="line.808"></a>
-<span class="sourceLineNo">809</span><a name="line.809"></a>
-<span class="sourceLineNo">810</span>  /** Table descriptor for namespace table */<a name="line.810"></a>
-<span class="sourceLineNo">811</span>  public static final HTableDescriptor NAMESPACE_TABLEDESC<a name="line.811"></a>
-<span class="sourceLineNo">812</span>    = new HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a name="line.812"></a>
-<span class="sourceLineNo">813</span><a name="line.813"></a>
-<span class="sourceLineNo">814</span>  @Deprecated<a name="line.814"></a>
-<span class="sourceLineNo">815</span>  public HTableDescriptor setOwner(User owner) {<a name="line.815"></a>
-<span class="sourceLineNo">816</span>    getDelegateeForModification().setOwner(owner);<a name="line.816"></a>
-<span class="sourceLineNo">817</span>    return this;<a name="line.817"></a>
-<span class="sourceLineNo">818</span>  }<a name="line.818"></a>
-<span class="sourceLineNo">819</span><a name="line.819"></a>
-<span class="sourceLineNo">820</span>  // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.820"></a>
-<span class="sourceLineNo">821</span>  @Deprecated<a name="line.821"></a>
-<span class="sourceLineNo">822</span>  public HTableDescriptor setOwnerString(String ownerString) {<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    getDelegateeForModification().setOwnerString(ownerString);<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    return this;<a name="line.824"></a>
-<span class="sourceLineNo">825</span>  }<a name="line.825"></a>
-<span class="sourceLineNo">826</span><a name="line.826"></a>
-<span class="sourceLineNo">827</span>  @Override<a name="line.827"></a>
-<span class="sourceLineNo">828</span>  @Deprecated<a name="line.828"></a>
-<span class="sourceLineNo">829</span>  public String getOwnerString() {<a name="line.829"></a>
-<span class="sourceLineNo">830</span>    return delegatee.getOwnerString();<a name="line.830"></a>
-<span class="sourceLineNo">831</span>  }<a name="line.831"></a>
-<span class="sourceLineNo">832</span><a name="line.832"></a>
-<span class="sourceLineNo">833</span>  /**<a name="line.833"></a>
-<span class="sourceLineNo">834</span>   * @return This instance serialized with pb with pb magic prefix<a name="line.834"></a>
-<span class="sourceLineNo">835</span>   * @see #parseFrom(byte[])<a name="line.835"></a>
-<span class="sourceLineNo">836</span>   */<a name="line.836"></a>
-<span class="sourceLineNo">837</span>  public byte[] toByteArray() {<a name="line.837"></a>
-<span class="sourceLineNo">838</span>    return TableDescriptorBuilder.toByteArray(delegatee);<a name="line.838"></a>
-<span class="sourceLineNo">839</span>  }<a name="line.839"></a>
-<span class="sourceLineNo">840</span><a name="line.840"></a>
-<span class="sourceLineNo">841</span>  /**<a name="line.841"></a>
-<span class="sourceLineNo">842</span>   * @param bytes A pb serialized {@link HTableDescriptor} instance with pb magic prefix<a name="line.842"></a>
-<span class="sourceLineNo">843</span>   * @return An instance of {@link HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.843"></a>
-<span class="sourceLineNo">844</span>   * @throws DeserializationException<a name="line.844"></a>
-<span class="sourceLineNo">845</span>   * @throws IOException<a name="line.845"></a>
-<span class="sourceLineNo">846</span>   * @see #toByteArray()<a name="line.846"></a>
-<span class="sourceLineNo">847</span>   */<a name="line.847"></a>
-<span class="sourceLineNo">848</span>  public static HTableDescriptor parseFrom(final byte [] bytes)<a name="line.848"></a>
-<span class="sourceLineNo">849</span>  throws DeserializationException, IOException {<a name="line.849"></a>
-<span class="sourceLineNo">850</span>    TableDescriptor desc = TableDescriptorBuilder.parseFrom(bytes);<a name="line.850"></a>
-<span class="sourceLineNo">851</span>    if (desc instanceof ModifyableTableDescriptor) {<a name="line.851"></a>
-<span class="sourceLineNo">852</span>      return new HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    } else {<a name="line.853"></a>
-<span class="sourceLineNo">854</span>      return new HTableDescriptor(desc);<a name="line.854"></a>
-<span class="sourceLineNo">855</span>    }<a name="line.855"></a>
-<span class="sourceLineNo">856</span>  }<a name="line.856"></a>
-<span class="sourceLineNo">857</span><a name="line.857"></a>
-<span class="sourceLineNo">858</span>  /**<a name="line.858"></a>
-<span class="sourceLineNo">859</span>   * Getter for accessing the configuration value by key<a name="line.859"></a>
-<span class="sourceLineNo">860</span>   */<a name="line.860"></a>
-<span class="sourceLineNo">861</span>  public String getConfigurationValue(String key) {<a name="line.861"></a>
-<span class="sourceLineNo">862</span>    return delegatee.getValue(key);<a name="line.862"></a>
-<span class="sourceLineNo">863</span>  }<a name="line.863"></a>
-<span class="sourceLineNo">864</span><a name="line.864"></a>
-<span class="sourceLineNo">865</span>  /**<a name="line.865"></a>
-<span class="sourceLineNo">866</span>   * Getter for fetching an unmodifiable map.<a name="line.866"></a>
-<span class="sourceLineNo">867</span>   */<a name="line.867"></a>
-<span class="sourceLineNo">868</span>  public Map&lt;String, String&gt; getConfiguration() {<a name="line.868"></a>
-<span class="sourceLineNo">869</span>    return delegatee.getValues().entrySet().stream()<a name="line.869"></a>
-<span class="sourceLineNo">870</span>            .collect(Collectors.toMap(<a name="line.870"></a>
-<span class="sourceLineNo">871</span>                    e -&gt; Bytes.toString(e.getKey().get(), e.getKey().getOffset(), e.getKey().getLength()),<a name="line.871"></a>
-<span class="sourceLineNo">872</span>                    e -&gt; Bytes.toString(e.getValue().get(), e.getValue().getOffset(), e.getValue().getLength())<a name="line.872"></a>
-<span class="sourceLineNo">873</span>            ));<a name="line.873"></a>
-<span class="sourceLineNo">874</span>  }<a name="line.874"></a>
-<span class="sourceLineNo">875</span><a name="line.875"></a>
-<span class="sourceLineNo">876</span>  /**<a name="line.876"></a>
-<span class="sourceLineNo">877</span>   * Setter for storing a configuration setting in map.<a name="line.877"></a>
-<span class="sourceLineNo">878</span>   * @param key Config key. Same as XML config key e.g. hbase.something.or.other.<a name="line.878"></a>
-<span class="sourceLineNo">879</span>   * @param value String value. If null, removes the setting.<a name="line.879"></a>
-<span class="sourceLineNo">880</span>   */<a name="line.880"></a>
-<span class="sourceLineNo">881</span>  public HTableDescriptor setConfiguration(String key, String value) {<a name="line.881"></a>
-<span class="sourceLineNo">882</span>    getDelegateeForModification().setValue(key, value);<a name="line.882"></a>
-<span class="sourceLineNo">883</span>    return this;<a name="line.883"></a>
-<span class="sourceLineNo">884</span>  }<a name="line.884"></a>
-<span class="sourceLineNo">885</span><a name="line.885"></a>
-<span class="sourceLineNo">886</span>  /**<a name="line.886"></a>
-<span class="sourceLineNo">887</span>   * Remove a config setting represented by the key from the map<a name="line.887"></a>
-<span class="sourceLineNo">888</span>   */<a name="line.888"></a>
-<span class="sourceLineNo">889</span>  public void removeConfiguration(final String key) {<a name="line.889"></a>
-<span class="sourceLineNo">890</span>    getDelegateeForModification().removeValue(Bytes.toBytes(key));<a name="line.890"></a>
-<span class="sourceLineNo">891</span>  }<a name="line.891"></a>
-<span class="sourceLineNo">892</span><a name="line.892"></a>
-<span class="sourceLineNo">893</span>  @Override<a name="line.893"></a>
-<span class="sourceLineNo">894</span>  public Bytes getValue(Bytes key) {<a name="line.894"></a>
-<span class="sourceLineNo">895</span>    return delegatee.getValue(key);<a name="line.895"></a>
-<span class="sourceLineNo">896</span>  }<a name="line.896"></a>
-<span class="sourceLineNo">897</span><a name="line.897"></a>
-<span class="sourceLineNo">898</span>  @Override<a name="line.898"></a>
-<span class="sourceLineNo">899</span>  public String getValue(String key) {<a name="line.899"></a>
-<span class="sourceLineNo">900</span>    return delegatee.getValue(key);<a name="line.900"></a>
-<span class="sourceLineNo">901</span>  }<a name="line.901"></a>
-<span class="sourceLineNo">902</span><a name="line.902"></a>
-<span class="sourceLineNo">903</span>  @Override<a name="line.903"></a>
-<span class="sourceLineNo">904</span>  public byte[] getValue(byte[] key) {<a name="line.904"></a>
-<span class="sourceLineNo">905</span>    return delegatee.getValue(key);<a name="line.905"></a>
-<span class="sourceLineNo">906</span>  }<a name="line.906"></a>
-<span class="sourceLineNo">907</span><a name="line.907"></a>
-<span class="sourceLineNo">908</span>  @Override<a name="line.908"></a>
-<span class="sourceLineNo">909</span>  public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.909"></a>
-<span class="sourceLineNo">910</span>    return delegatee.getColumnFamilyNames();<a name="line.910"></a>
-<span class="sourceLineNo">911</span>  }<a name="line.911"></a>
-<span class="sourceLineNo">912</span><a name="line.912"></a>
-<span class="sourceLineNo">913</span>  @Override<a name="line.913"></a>
-<span class="sourceLineNo">914</span>  public boolean hasColumnFamily(byte[] name) {<a name="line.914"></a>
-<span class="sourceLineNo">915</span>    return delegatee.hasColumnFamily(name);<a name="line.915"></a>
-<span class="sourceLineNo">916</span>  }<a name="line.916"></a>
-<span class="sourceLineNo">917</span><a name="line.917"></a>
-<span class="sourceLineNo">918</span>  @Override<a name="line.918"></a>
-<span class="sourceLineNo">919</span>  public ColumnFamilyDescriptor getColumnFamily(byte[] name) {<a name="line.919"></a>
-<span class="sourceLineNo">920</span>    return delegatee.getColumnFamily(name);<a name="line.920"></a>
-<span class="sourceLineNo">921</span>  }<a name="line.921"></a>
-<span class="sourceLineNo">922</span><a name="line.922"></a>
-<span class="sourceLineNo">923</span>  protected ModifyableTableDescriptor getDelegateeForModification() {<a name="line.923"></a>
-<span class="sourceLineNo">924</span>    return delegatee;<a name="line.924"></a>
-<span class="sourceLineNo">925</span>  }<a name="line.925"></a>
-<span class="sourceLineNo">926</span>}<a name="line.926"></a>
+<span class="sourceLineNo">689</span><a name="line.689"></a>
+<span class="sourceLineNo">690</span>  /**<a name="line.690"></a>
+<span class="sourceLineNo">691</span>   * Removes the HColumnDescriptor with name specified by the parameter column<a name="line.691"></a>
+<span class="sourceLineNo">692</span>   * from the table descriptor<a name="line.692"></a>
+<span class="sourceLineNo">693</span>   *<a name="line.693"></a>
+<span class="sourceLineNo">694</span>   * @param column Name of the column family to be removed.<a name="line.694"></a>
+<span class="sourceLineNo">695</span>   * @return Column descriptor for the passed family name or the family on<a name="line.695"></a>
+<span class="sourceLineNo">696</span>   * passed in column.<a name="line.696"></a>
+<span class="sourceLineNo">697</span>   */<a name="line.697"></a>
+<span class="sourceLineNo">698</span>  public HColumnDescriptor removeFamily(final byte [] column) {<a name="line.698"></a>
+<span class="sourceLineNo">699</span>    return toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a name="line.699"></a>
+<span class="sourceLineNo">700</span>  }<a name="line.700"></a>
+<span class="sourceLineNo">701</span><a name="line.701"></a>
+<span class="sourceLineNo">702</span>  /**<a name="line.702"></a>
+<span class="sourceLineNo">703</span>   * Return a HColumnDescriptor for user to keep the compatibility as much as possible.<a name="line.703"></a>
+<span class="sourceLineNo">704</span>   * @param desc read-only ColumnFamilyDescriptor<a name="line.704"></a>
+<span class="sourceLineNo">705</span>   * @return The older implementation of ColumnFamilyDescriptor<a name="line.705"></a>
+<span class="sourceLineNo">706</span>   */<a name="line.706"></a>
+<span class="sourceLineNo">707</span>  protected HColumnDescriptor toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.707"></a>
+<span class="sourceLineNo">708</span>    if (desc == null) {<a name="line.708"></a>
+<span class="sourceLineNo">709</span>      return null;<a name="line.709"></a>
+<span class="sourceLineNo">710</span>    } else if (desc instanceof ModifyableColumnFamilyDescriptor) {<a name="line.710"></a>
+<span class="sourceLineNo">711</span>      return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a name="line.711"></a>
+<span class="sourceLineNo">712</span>    } else if (desc instanceof HColumnDescriptor) {<a name="line.712"></a>
+<span class="sourceLineNo">713</span>      return (HColumnDescriptor) desc;<a name="line.713"></a>
+<span class="sourceLineNo">714</span>    } else {<a name="line.714"></a>
+<span class="sourceLineNo">715</span>      return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc));<a name="line.715"></a>
+<span class="sourceLineNo">716</span>    }<a name="line.716"></a>
+<span class="sourceLineNo">717</span>  }<a name="line.717"></a>
+<span class="sourceLineNo">718</span><a name="line.718"></a>
+<span class="sourceLineNo">719</span>  /**<a name="line.719"></a>
+<span class="sourceLineNo">720</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.720"></a>
+<span class="sourceLineNo">721</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.721"></a>
+<span class="sourceLineNo">722</span>   * It won't check if the class can be loaded or not.<a name="line.722"></a>
+<span class="sourceLineNo">723</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.723"></a>
+<span class="sourceLineNo">724</span>   * a region is opened.<a name="line.724"></a>
+<span class="sourceLineNo">725</span>   * @param className Full class name.<a name="line.725"></a>
+<span class="sourceLineNo">726</span>   * @throws IOException<a name="line.726"></a>
+<span class="sourceLineNo">727</span>   */<a name="line.727"></a>
+<span class="sourceLineNo">728</span>  public HTableDescriptor addCoprocessor(String className) throws IOException {<a name="line.728"></a>
+<span class="sourceLineNo">729</span>    getDelegateeForModification().setCoprocessor(className);<a name="line.729"></a>
+<span class="sourceLineNo">730</span>    return this;<a name="line.730"></a>
+<span class="sourceLineNo">731</span>  }<a name="line.731"></a>
+<span class="sourceLineNo">732</span><a name="line.732"></a>
+<span class="sourceLineNo">733</span>  /**<a name="line.733"></a>
+<span class="sourceLineNo">734</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.734"></a>
+<span class="sourceLineNo">735</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.735"></a>
+<span class="sourceLineNo">736</span>   * It won't check if the class can be loaded or not.<a name="line.736"></a>
+<span class="sourceLineNo">737</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.737"></a>
+<span class="sourceLineNo">738</span>   * a region is opened.<a name="line.738"></a>
+<span class="sourceLineNo">739</span>   * @param jarFilePath Path of the jar file. If it's null, the class will be<a name="line.739"></a>
+<span class="sourceLineNo">740</span>   * loaded from default classloader.<a name="line.740"></a>
+<span class="sourceLineNo">741</span>   * @param className Full class name.<a name="line.741"></a>
+<span class="sourceLineNo">742</span>   * @param priority Priority<a name="line.742"></a>
+<span class="sourceLineNo">743</span>   * @param kvs Arbitrary key-value parameter pairs passed into the coprocessor.<a name="line.743"></a>
+<span class="sourceLineNo">744</span>   * @throws IOException<a name="line.744"></a>
+<span class="sourceLineNo">745</span>   */<a name="line.745"></a>
+<span class="sourceLineNo">746</span>  public HTableDescriptor addCoprocessor(String className, Path jarFilePath,<a name="line.746"></a>
+<span class="sourceLineNo">747</span>                             int priority, final Map&lt;String, String&gt; kvs)<a name="line.747"></a>
+<span class="sourceLineNo">748</span>  throws IOException {<a name="line.748"></a>
+<span class="sourceLineNo">749</span>    getDelegateeForModification().setCoprocessor(<a name="line.749"></a>
+<span class="sourceLineNo">750</span>      CoprocessorDescriptorBuilder.newBuilder(className)<a name="line.750"></a>
+<span class="sourceLineNo">751</span>        .setJarPath(jarFilePath == null ? null : jarFilePath.toString())<a name="line.751"></a>
+<span class="sourceLineNo">752</span>        .setPriority(priority)<a name="line.752"></a>
+<span class="sourceLineNo">753</span>        .setProperties(kvs == null ? Collections.emptyMap() : kvs)<a name="line.753"></a>
+<span class="sourceLineNo">754</span>        .build());<a name="line.754"></a>
+<span class="sourceLineNo">755</span>    return this;<a name="line.755"></a>
+<span class="sourceLineNo">756</span>  }<a name="line.756"></a>
+<span class="sourceLineNo">757</span><a name="line.757"></a>
+<span class="sourceLineNo">758</span>  /**<a name="line.758"></a>
+<span class="sourceLineNo">759</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.759"></a>
+<span class="sourceLineNo">760</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.760"></a>
+<span class="sourceLineNo">761</span>   * It won't check if the class can be loaded or not.<a name="line.761"></a>
+<span class="sourceLineNo">762</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.762"></a>
+<span class="sourceLineNo">763</span>   * a region is opened.<a name="line.763"></a>
+<span class="sourceLineNo">764</span>   * @param specStr The Coprocessor specification all in in one String formatted so matches<a name="line.764"></a>
+<span class="sourceLineNo">765</span>   * {@link HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.765"></a>
+<span class="sourceLineNo">766</span>   * @throws IOException<a name="line.766"></a>
+<span class="sourceLineNo">767</span>   */<a name="line.767"></a>
+<span class="sourceLineNo">768</span>  public HTableDescriptor addCoprocessorWithSpec(final String specStr) throws IOException {<a name="line.768"></a>
+<span class="sourceLineNo">769</span>    getDelegateeForModification().setCoprocessorWithSpec(specStr);<a name="line.769"></a>
+<span class="sourceLineNo">770</span>    return this;<a name="line.770"></a>
+<span class="sourceLineNo">771</span>  }<a name="line.771"></a>
+<span class="sourceLineNo">772</span><a name="line.772"></a>
+<span class="sourceLineNo">773</span>  /**<a name="line.773"></a>
+<span class="sourceLineNo">774</span>   * Check if the table has an attached co-processor represented by the name className<a name="line.774"></a>
+<span class="sourceLineNo">775</span>   *<a name="line.775"></a>
+<span class="sourceLineNo">776</span>   * @param classNameToMatch - Class name of the co-processor<a name="line.776"></a>
+<span class="sourceLineNo">777</span>   * @return true of the table has a co-processor className<a name="line.777"></a>
+<span class="sourceLineNo">778</span>   */<a name="line.778"></a>
+<span class="sourceLineNo">779</span>  @Override<a name="line.779"></a>
+<span class="sourceLineNo">780</span>  public boolean hasCoprocessor(String classNameToMatch) {<a name="line.780"></a>
+<span class="sourceLineNo">781</span>    return delegatee.hasCoprocessor(classNameToMatch);<a name="line.781"></a>
+<span class="sourceLineNo">782</span>  }<a name="line.782"></a>
+<span class="sourceLineNo">783</span><a name="line.783"></a>
+<span class="sourceLineNo">784</span>  @Override<a name="line.784"></a>
+<span class="sourceLineNo">785</span>  public Collection&lt;CoprocessorDescriptor&gt; getCoprocessorDescriptors() {<a name="line.785"></a>
+<span class="sourceLineNo">786</span>    return delegatee.getCoprocessorDescriptors();<a name="line.786"></a>
+<span class="sourceLineNo">787</span>  }<a name="line.787"></a>
+<span class="sourceLineNo">788</span><a name="line.788"></a>
+<span class="sourceLineNo">789</span>  /**<a name="line.789"></a>
+<span class="sourceLineNo">790</span>   * Return the list of attached co-processor represented by their name className<a name="line.790"></a>
+<span class="sourceLineNo">791</span>   *<a name="line.791"></a>
+<span class="sourceLineNo">792</span>   * @return The list of co-processors classNames<a name="line.792"></a>
+<span class="sourceLineNo">793</span>   */<a name="line.793"></a>
+<span class="sourceLineNo">794</span>  public List&lt;String&gt; getCoprocessors() {<a name="line.794"></a>
+<span class="sourceLineNo">795</span>    return getCoprocessorDescriptors().stream().map(CoprocessorDescriptor::getClassName)<a name="line.795"></a>
+<span class="sourceLineNo">796</span>      .collect(Collectors.toList());<a name="line.796"></a>
+<span class="sourceLineNo">797</span>  }<a name="line.797"></a>
+<span class="sourceLineNo">798</span><a name="line.798"></a>
+<span class="sourceLineNo">799</span>  /**<a name="line.799"></a>
+<span class="sourceLineNo">800</span>   * Remove a coprocessor from those set on the table<a name="line.800"></a>
+<span class="sourceLineNo">801</span>   * @param className Class name of the co-processor<a name="line.801"></a>
+<span class="sourceLineNo">802</span>   */<a name="line.802"></a>
+<span class="sourceLineNo">803</span>  public void removeCoprocessor(String className) {<a name="line.803"></a>
+<span class="sourceLineNo">804</span>    getDelegateeForModification().removeCoprocessor(className);<a name="line.804"></a>
+<span class="sourceLineNo">805</span>  }<a name="line.805"></a>
+<span class="sourceLineNo">806</span><a name="line.806"></a>
+<span class="sourceLineNo">807</span>  public final static String NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a name="line.807"></a>
+<span class="sourceLineNo">808</span>  public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.808"></a>
+<span class="sourceLineNo">809</span>  public final static byte[] NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a name="line.809"></a>
+<span class="sourceLineNo">810</span><a name="line.810"></a>
+<span class="sourceLineNo">811</span>  /** Table descriptor for namespace table */<a name="line.811"></a>
+<span class="sourceLineNo">812</span>  public static final HTableDescriptor NAMESPACE_TABLEDESC<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    = new HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a name="line.813"></a>
+<span class="sourceLineNo">814</span><a name="line.814"></a>
+<span class="sourceLineNo">815</span>  @Deprecated<a name="line.815"></a>
+<span class="sourceLineNo">816</span>  public HTableDescriptor setOwner(User owner) {<a name="line.816"></a>
+<span class="sourceLineNo">817</span>    getDelegateeForModification().setOwner(owner);<a name="line.817"></a>
+<span class="sourceLineNo">818</span>    return this;<a name="line.818"></a>
+<span class="sourceLineNo">819</span>  }<a name="line.819"></a>
+<span class="sourceLineNo">820</span><a name="line.820"></a>
+<span class="sourceLineNo">821</span>  // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.821"></a>
+<span class="sourceLineNo">822</span>  @Deprecated<a name="line.822"></a>
+<span class="sourceLineNo">823</span>  public HTableDescriptor setOwnerString(String ownerString) {<a name="line.823"></a>
+<span class="sourceLineNo">824</span>    getDelegateeForModification().setOwnerString(ownerString);<a name="line.824"></a>
+<span class="sourceLineNo">825</span>    return this;<a name="line.825"></a>
+<span class="sourceLineNo">826</span>  }<a name="line.826"></a>
+<span class="sourceLineNo">827</span><a name="line.827"></a>
+<span class="sourceLineNo">828</span>  @Override<a name="line.828"></a>
+<span class="sourceLineNo">829</span>  @Deprecated<a name="line.829"></a>
+<span class="sourceLineNo">830</span>  public String getOwnerString() {<a name="line.830"></a>
+<span class="sourceLineNo">831</span>    return delegatee.getOwnerString();<a name="line.831"></a>
+<span class="sourceLineNo">832</span>  }<a name="line.832"></a>
+<span class="sourceLineNo">833</span><a name="line.833"></a>
+<span class="sourceLineNo">834</span>  /**<a name="line.834"></a>
+<span class="sourceLineNo">835</span>   * @return This instance serialized with pb with pb magic prefix<a name="line.835"></a>
+<span class="sourceLineNo">836</span>   * @see #parseFrom(byte[])<a name="line.836"></a>
+<span class="sourceLineNo">837</span>   */<a name="line.837"></a>
+<span class="sourceLineNo">838</span>  public byte[] toByteArray() {<a name="line.838"></a>
+<span class="sourceLineNo">839</span>    return TableDescriptorBuilder.toByteArray(delegatee);<a name="line.839"></a>
+<span class="sourceLineNo">840</span>  }<a name="line.840"></a>
+<span class="sourceLineNo">841</span><a name="line.841"></a>
+<span class="sourceLineNo">842</span>  /**<a name="line.842"></a>
+<span class="sourceLineNo">843</span>   * @param bytes A pb serialized {@link HTableDescriptor} instance with pb magic prefix<a name="line.843"></a>
+<span class="sourceLineNo">844</span>   * @return An instance of {@link HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.844"></a>
+<span class="sourceLineNo">845</span>   * @throws DeserializationException<a name="line.845"></a>
+<span class="sourceLineNo">846</span>   * @throws IOException<a name="line.846"></a>
+<span class="sourceLineNo">847</span>   * @see #toByteArray()<a name="line.847"></a>
+<span class="sourceLineNo">848</span>   */<a name="line.848"></a>
+<span class="sourceLineNo">849</span>  public static HTableDescriptor parseFrom(final byte [] bytes)<a name="line.849"></a>
+<span class="sourceLineNo">850</span>  throws DeserializationException, IOException {<a name="line.850"></a>
+<span class="sourceLineNo">851</span>    TableDescriptor desc = TableDescriptorBuilder.parseFrom(bytes);<a name="line.851"></a>
+<span class="sourceLineNo">852</span>    if (desc instanceof ModifyableTableDescriptor) {<a name="line.852"></a>
+<span class="sourceLineNo">853</span>      return new HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.853"></a>
+<span class="sourceLineNo">854</span>    } else {<a name="line.854"></a>
+<span class="sourceLineNo">855</span>      return new HTableDescriptor(desc);<a name="line.855"></a>
+<span class="sourceLineNo">856</span>    }<a name="line.856"></a>
+<span class="sourceLineNo">857</span>  }<a name="line.857"></a>
+<span class="sourceLineNo">858</span><a name="line.858"></a>
+<span class="sourceLineNo">859</span>  /**<a name="line.859"></a>
+<span class="sourceLineNo">860</span>   * Getter for accessing the configuration value by key<a name="line.860"></a>
+<span class="sourceLineNo">861</span>   */<a name="line.861"></a>
+<span class="sourceLineNo">862</span>  public String getConfigurationValue(String key) {<a name="line.862"></a>
+<span class="sourceLineNo">863</span>    return delegatee.getValue(key);<a name="line.863"></a>
+<span class="sourceLineNo">864</span>  }<a name="line.864"></a>
+<span class="sourceLineNo">865</span><a name="line.865"></a>
+<span class="sourceLineNo">866</span>  /**<a name="line.866"></a>
+<span class="sourceLineNo">867</span>   * Getter for fetching an unmodifiable map.<a name="line.867"></a>
+<span class="sourceLineNo">868</span>   */<a name="line.868"></a>
+<span class="sourceLineNo">869</span>  public Map&lt;String, String&gt; getConfiguration() {<a name="line.869"></a>
+<span class="sourceLineNo">870</span>    return delegatee.getValues().entrySet().stream()<a name="line.870"></a>
+<span class="sourceLineNo">871</span>            .collect(Collectors.toMap(<a name="line.871"></a>
+<span class="sourceLineNo">872</span>                    e -&gt; Bytes.toString(e.getKey().get(), e.getKey().getOffset(), e.getKey().getLength()),<a name="line.872"></a>
+<span class="sourceLineNo">873</span>                    e -&gt; Bytes.toString(e.getValue().get(), e.getValue().getOffset(), e.getValue().getLength())<a name="line.873"></a>
+<span class="sourceLineNo">874</span>            ));<a name="line.874"></a>
+<span class="sourceLineNo">875</span>  }<a name="line.875"></a>
+<span class="sourceLineNo">876</span><a name="line.876"></a>
+<span class="sourceLineNo">877</span>  /**<a name="line.877"></a>
+<span class="sourceLineNo">878</span>   * Setter for storing a configuration setting in map.<a name="line.878"></a>
+<span class="sourceLineNo">879</span>   * @param key Config key. Same as XML config key e.g. hbase.something.or.other.<a name="line.879"></a>
+<span class="sourceLineNo">880</span>   * @param value String value. If null, removes the setting.<a name="line.880"></a>
+<span class="sourceLineNo">881</span>   */<a name="line.881"></a>
+<span class="sourceLineNo">882</span>  public HTableDescriptor setConfiguration(String key, String value) {<a name="line.882"></a>
+<span class="sourceLineNo">883</span>    getDelegateeForModification().setValue(key, value);<a name="line.883"></a>
+<span class="sourceLineNo">884</span>    return this;<a name="line.884"></a>
+<span class="sourceLineNo">885</span>  }<a name="line.885"></a>
+<span class="sourceLineNo">886</span><a name="line.886"></a>
+<span class="sourceLineNo">887</span>  /**<a name="line.887"></a>
+<span class="sourceLineNo">888</span>   * Remove a config setting represented by the key from the map<a name="line.888"></a>
+<span class="sourceLineNo">889</span>   */<a name="line.889"></a>
+<span class="sourceLineNo">890</span>  public void removeConfiguration(final String key) {<a name="line.890"></a>
+<span class="sourceLineNo">891</span>    getDelegateeForModification().removeValue(Bytes.toBytes(key));<a name="line.891"></a>
+<span class="sourceLineNo">892</span>  }<a name="line.892"></a>
+<span class="sourceLineNo">893</span><a name="line.893"></a>
+<span class="sourceLineNo">894</span>  @Override<a name="line.894"></a>
+<span class="sourceLineNo">895</span>  public Bytes getValue(Bytes key) {<a name="line.895"></a>
+<span class="sourceLineNo">896</span>    return delegatee.getValue(key);<a name="line.896"></a>
+<span class="sourceLineNo">897</span>  }<a name="line.897"></a>
+<span class="sourceLineNo">898</span><a name="line.898"></a>
+<span class="sourceLineNo">899</span>  @Override<a name="line.899"></a>
+<span class="sourceLineNo">900</span>  public String getValue(String key) {<a name="line.900"></a>
+<span class="sourceLineNo">901</span>    return delegatee.getValue(key);<a name="line.901"></a>
+<span class="sourceLineNo">902</span>  }<a name="line.902"></a>
+<span class="sourceLineNo">903</span><a name="line.903"></a>
+<span class="sourceLineNo">904</span>  @Override<a name="line.904"></a>
+<span class="sourceLineNo">905</span>  public byte[] getValue(byte[] key) {<a name="line.905"></a>
+<span class="sourceLineNo">906</span>    return delegatee.getValue(key);<a name="line.906"></a>
+<span class="sourceLineNo">907</span>  }<a name="line.907"></a>
+<span class="sourceLineNo">908</span><a name="line.908"></a>
+<span class="sourceLineNo">909</span>  @Override<a name="line.909"></a>
+<span class="sourceLineNo">910</span>  public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.910"></a>
+<span class="sourceLineNo">911</span>    return delegatee.getColumnFamilyNames();<a name="line.911"></a>
+<span class="sourceLineNo">912</span>  }<a name="line.912"></a>
+<span class="sourceLineNo">913</span><a name="line.913"></a>
+<span class="sourceLineNo">914</span>  @Override<a name="line.914"></a>
+<span class="sourceLineNo">915</span>  public boolean hasColumnFamily(byte[] name) {<a name="line.915"></a>
+<span class="sourceLineNo">916</span>    return delegatee.hasColumnFamily(name);<a name="line.916"></a>
+<span class="sourceLineNo">917</span>  }<a name="line.917"></a>
+<span class="sourceLineNo">918</span><a name="line.918"></a>
+<span class="sourceLineNo">919</span>  @Override<a name="line.919"></a>
+<span class="sourceLineNo">920</span>  public ColumnFamilyDescriptor getColumnFamily(byte[] name) {<a name="line.920"></a>
+<span class="sourceLineNo">921</span>    return delegatee.getColumnFamily(name);<a name="line.921"></a>
+<span class="sourceLineNo">922</span>  }<a name="line.922"></a>
+<span class="sourceLineNo">923</span><a name="line.923"></a>
+<span class="sourceLineNo">924</span>  protected ModifyableTableDescriptor getDelegateeForModification() {<a name="line.924"></a>
+<span class="sourceLineNo">925</span>    return delegatee;<a name="line.925"></a>
+<span class="sourceLineNo">926</span>  }<a name="line.926"></a>
+<span class="sourceLineNo">927</span>}<a name="line.927"></a>
 
 
 
index e4b05ff..7598d47 100644 (file)
 <span class="sourceLineNo">017</span> */<a name="line.17"></a>
 <span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.client;<a name="line.18"></a>
 <span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.util.List;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.concurrent.CompletableFuture;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.TableName;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.24"></a>
-<span class="sourceLineNo">025</span><a name="line.25"></a>
-<span class="sourceLineNo">026</span>/**<a name="line.26"></a>
-<span class="sourceLineNo">027</span> * The asynchronous version of RegionLocator.<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * &lt;p&gt;<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * from the returned {@link CompletableFuture}.<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * @since 2.0.0<a name="line.31"></a>
-<span class="sourceLineNo">032</span> */<a name="line.32"></a>
-<span class="sourceLineNo">033</span>@InterfaceAudience.Public<a name="line.33"></a>
-<span class="sourceLineNo">034</span>public interface AsyncTableRegionLocator {<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span>  /**<a name="line.36"></a>
-<span class="sourceLineNo">037</span>   * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   */<a name="line.38"></a>
-<span class="sourceLineNo">039</span>  TableName getName();<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>  /**<a name="line.41"></a>
-<span class="sourceLineNo">042</span>   * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.42"></a>
-<span class="sourceLineNo">043</span>   * &lt;p/&gt;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   * Returns the location of the region to which the row belongs.<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   * @param row Row to find.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   */<a name="line.46"></a>
-<span class="sourceLineNo">047</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row) {<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    return getRegionLocation(row, false);<a name="line.48"></a>
-<span class="sourceLineNo">049</span>  }<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>  /**<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   * Finds the region on which the given row is being served.<a name="line.52"></a>
-<span class="sourceLineNo">053</span>   * &lt;p/&gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>   * Returns the location of the region to which the row belongs.<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   * @param row Row to find.<a name="line.55"></a>
-<span class="sourceLineNo">056</span>   * @param reload true to reload information or false to use cached information<a name="line.56"></a>
-<span class="sourceLineNo">057</span>   */<a name="line.57"></a>
-<span class="sourceLineNo">058</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, boolean reload) {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    return getRegionLocation(row, RegionReplicaUtil.DEFAULT_REPLICA_ID, reload);<a name="line.59"></a>
-<span class="sourceLineNo">060</span>  }<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>  /**<a name="line.62"></a>
-<span class="sourceLineNo">063</span>   * Finds the region with the given &lt;code&gt;replicaId&lt;/code&gt; on which the given row is being served.<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   * &lt;p/&gt;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   * Returns the location of the region with the given &lt;code&gt;replicaId&lt;/code&gt; to which the row<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   * belongs.<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   * @param row Row to find.<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   * @param replicaId the replica id of the region<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   */<a name="line.69"></a>
-<span class="sourceLineNo">070</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, int replicaId) {<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    return getRegionLocation(row, replicaId, false);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>  }<a name="line.72"></a>
-<span class="sourceLineNo">073</span><a name="line.73"></a>
-<span class="sourceLineNo">074</span>  /**<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   * Finds the region with the given &lt;code&gt;replicaId&lt;/code&gt; on which the given row is being served.<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   * &lt;p/&gt;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   * Returns the location of the region with the given &lt;code&gt;replicaId&lt;/code&gt; to which the row<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   * belongs.<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   * @param row Row to find.<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   * @param replicaId the replica id of the region<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   * @param reload true to reload information or false to use cached information<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   */<a name="line.82"></a>
-<span class="sourceLineNo">083</span>  CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.83"></a>
-<span class="sourceLineNo">084</span><a name="line.84"></a>
-<span class="sourceLineNo">085</span>  /**<a name="line.85"></a>
-<span class="sourceLineNo">086</span>   * Retrieves all of the regions associated with this table.<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   * @return a {@link List} of all regions associated with this table.<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   */<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  CompletableFuture&lt;List&lt;HRegionLocation&gt;&gt; getAllRegionLocations();<a name="line.89"></a>
-<span class="sourceLineNo">090</span>}<a name="line.90"></a>
+<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.concurrent.CompletableFuture;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.stream.Collectors;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.TableName;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.Pair;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<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 asynchronous version of RegionLocator.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * &lt;p&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * from the returned {@link CompletableFuture}.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * @since 2.0.0<a name="line.34"></a>
+<span class="sourceLineNo">035</span> */<a name="line.35"></a>
+<span class="sourceLineNo">036</span>@InterfaceAudience.Public<a name="line.36"></a>
+<span class="sourceLineNo">037</span>public interface AsyncTableRegionLocator {<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span>  /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span>   * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>   */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>  TableName getName();<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>  /**<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   * &lt;p/&gt;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   * Returns the location of the region to which the row belongs.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   * @param row Row to find.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row) {<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    return getRegionLocation(row, false);<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  }<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span>  /**<a name="line.54"></a>
+<span class="sourceLineNo">055</span>   * Finds the region on which the given row is being served.<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   * &lt;p/&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   * Returns the location of the region to which the row belongs.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   * @param row Row to find.<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   * @param reload true to reload information or false to use cached information<a name="line.59"></a>
+<span class="sourceLineNo">060</span>   */<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, boolean reload) {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    return getRegionLocation(row, RegionInfo.DEFAULT_REPLICA_ID, reload);<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>  /**<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   * Finds the region with the given &lt;code&gt;replicaId&lt;/code&gt; on which the given row is being served.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   * &lt;p/&gt;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   * Returns the location of the region with the given &lt;code&gt;replicaId&lt;/code&gt; to which the row<a name="line.68"></a>
+<span class="sourceLineNo">069</span>   * belongs.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   * @param row Row to find.<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   * @param replicaId the replica id of the region<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  default CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, int replicaId) {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    return getRegionLocation(row, replicaId, false);<a name="line.74"></a>
+<span class="sourceLineNo">075</span>  }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>  /**<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   * Finds the region with the given &lt;code&gt;replicaId&lt;/code&gt; on which the given row is being served.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>   * &lt;p/&gt;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   * Returns the location of the region with the given &lt;code&gt;replicaId&lt;/code&gt; to which the row<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   * belongs.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   * @param row Row to find.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   * @param replicaId the replica id of the region<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   * @param reload true to reload information or false to use cached information<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   */<a name="line.85"></a>
+<span class="sourceLineNo">086</span>  CompletableFuture&lt;HRegionLocation&gt; getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>  /**<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   * Find all the replicas for the region on which the given row is being served.<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   * @param row Row to find.<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   * @return Locations for all the replicas of the row.<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   * @throws IOException if a remote or network exception occurs<a name="line.92"></a>
+<span class="sourceLineNo">093</span>   */<a name="line.93"></a>
+<span class="sourceLineNo">094</span>  default CompletableFuture&lt;List&lt;HRegionLocation&gt;&gt; getRegionLocations(byte[] row) {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    return getRegionLocations(row, false);<a name="line.95"></a>
+<span class="sourceLineNo">096</span>  }<a name="line.96"></a>
+<span class="sourceLineNo">097</span><a name="line.97"></a>
+<span class="sourceLineNo">098</span>  /**<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   * Find all the replicas for the region on which the given row is being served.<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   * @param row Row to find.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   * @param reload true to reload information or false to use cached information<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   * @return Locations for all the replicas of the row.<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   * @throws IOException if a remote or network exception occurs<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   */<a name="line.104"></a>
+<span class="sourceLineNo">105</span>  CompletableFuture&lt;List&lt;HRegionLocation&gt;&gt; getRegionLocations(byte[] row, boolean reload);<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span>  /**<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   * Retrieves all of the regions associated with this table.<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   * &lt;p/&gt;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>   * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   * parameter.<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   * &lt;p/&gt;<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * Notice that the location for region replicas other than the default replica are also returned.<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   * @return a {@link List} of all regions associated with this table.<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   */<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  CompletableFuture&lt;List&lt;HRegionLocation&gt;&gt; getAllRegionLocations();<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>  /**<a name="line.118"></a>
+<span class="sourceLineNo">119</span>   * Gets the starting row key for every region in the currently open table.<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   * &lt;p&gt;<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   * This is mainly useful for the MapReduce integration.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>   * @return Array of region starting row keys<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   * @throws IOException if a remote or network exception occurs<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   */<a name="line.124"></a>
+<span class="sourceLineNo">125</span>  default CompletableFuture&lt;List&lt;byte[]&gt;&gt; getStartKeys() throws IOException {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    return getStartEndKeys().thenApply(<a name="line.126"></a>
+<span class="sourceLineNo">127</span>      startEndKeys -&gt; startEndKeys.stream().map(Pair::getFirst).collect(Collectors.toList()));<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>  /**<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   * Gets the ending row key for every region in the currently open table.<a name="line.131"></a>
+<span class="sourceLineNo">132</span>   * &lt;p&gt;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   * This is mainly useful for the MapReduce integration.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   * @return Array of region ending row keys<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   * @throws IOException if a remote or network exception occurs<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   */<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  default CompletableFuture&lt;List&lt;byte[]&gt;&gt; getEndKeys() throws IOException {<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    return getStartEndKeys().thenApply(<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      startEndKeys -&gt; startEndKeys.stream().map(Pair::getSecond).collect(Collectors.toList()));<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>   * Gets the starting and ending row keys for every region in the currently open table.<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   * &lt;p&gt;<a name="line.144"></a>
+<span class="sourceLineNo">145</span>   * This is mainly useful for the MapReduce integration.<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   * @return Pair of arrays of region starting and ending row keys<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   * @throws IOException if a remote or network exception occurs<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  default CompletableFuture&lt;List&lt;Pair&lt;byte[], byte[]&gt;&gt;&gt; getStartEndKeys() throws IOException {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    return getAllRegionLocations().thenApply(<a name="line.150"></a>
+<span class="sourceLineNo">151</span>      locs -&gt; locs.stream().filter(loc -&gt; RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.151"></a>
+<span class="sourceLineNo">152</span>        .map(HRegionLocation::getRegion).map(r -&gt; Pair.newPair(r.getStartKey(), r.getEndKey()))<a name="line.152"></a>
+<span class="sourceLineNo">153</span>        .collect(Collectors.toList()));<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  }<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>   * Clear all the entries in the region location cache.<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   * &lt;p/&gt;<a name="line.158"></a>
+<span class="sourceLineNo">159</span>   * This may cause performance issue so use it with caution.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>   */<a name="line.160"></a>
+<span class="sourceLineNo">161</span>  void clearRegionLocationCache();<a name="line.161"></a>
+<span class="sourceLineNo">162</span>}<a name="line.162"></a>
 
 
 
index eca5be4..cce6fc9 100644 (file)
 <span class="sourceLineNo">108</span>  /**<a name="line.108"></a>
 <span class="sourceLineNo">109</span>   * Retrieves all of the regions associated with this table.<a name="line.109"></a>
 <span class="sourceLineNo">110</span>   * &lt;p/&gt;<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   * Notice that the location for region replicas other than the default replica are also returned.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>   * @return a {@link List} of all regions associated with this table.<a name="line.112"></a>
-<span class="sourceLineNo">113</span>   * @throws IOException if a remote or network exception occurs<a name="line.113"></a>
-<span class="sourceLineNo">114</span>   */<a name="line.114"></a>
-<span class="sourceLineNo">115</span>  List&lt;HRegionLocation&gt; getAllRegionLocations() throws IOException;<a name="line.115"></a>
-<span class="sourceLineNo">116</span><a name="line.116"></a>
-<span class="sourceLineNo">117</span>  /**<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   * Gets the starting row key for every region in the currently open table.<a name="line.118"></a>
-<span class="sourceLineNo">119</span>   * &lt;p&gt;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>   * This is mainly useful for the MapReduce integration.<a name="line.120"></a>
-<span class="sourceLineNo">121</span>   * @return Array of region starting row keys<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   * @throws IOException if a remote or network exception occurs<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   */<a name="line.123"></a>
-<span class="sourceLineNo">124</span>  default byte[][] getStartKeys() throws IOException {<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    return getStartEndKeys().getFirst();<a name="line.125"></a>
-<span class="sourceLineNo">126</span>  }<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>  /**<a name="line.128"></a>
-<span class="sourceLineNo">129</span>   * Gets the ending row key for every region in the currently open table.<a name="line.129"></a>
-<span class="sourceLineNo">130</span>   * &lt;p&gt;<a name="line.130"></a>
-<span class="sourceLineNo">131</span>   * This is mainly useful for the MapReduce integration.<a name="line.131"></a>
-<span class="sourceLineNo">132</span>   * @return Array of region ending row keys<a name="line.132"></a>
-<span class="sourceLineNo">133</span>   * @throws IOException if a remote or network exception occurs<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   */<a name="line.134"></a>
-<span class="sourceLineNo">135</span>  default byte[][] getEndKeys() throws IOException {<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    return getStartEndKeys().getSecond();<a name="line.136"></a>
-<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
-<span class="sourceLineNo">138</span><a name="line.138"></a>
-<span class="sourceLineNo">139</span>  /**<a name="line.139"></a>
-<span class="sourceLineNo">140</span>   * Gets the starting and ending row keys for every region in the currently open table.<a name="line.140"></a>
-<span class="sourceLineNo">141</span>   * &lt;p&gt;<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   * This is mainly useful for the MapReduce integration.<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * @return Pair of arrays of region starting and ending row keys<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * @throws IOException if a remote or network exception occurs<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   */<a name="line.145"></a>
-<span class="sourceLineNo">146</span>  default Pair&lt;byte[][], byte[][]&gt; getStartEndKeys() throws IOException {<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    List&lt;HRegionLocation&gt; regions = getAllRegionLocations().stream()<a name="line.147"></a>
-<span class="sourceLineNo">148</span>      .filter(loc -&gt; RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      .collect(Collectors.toList());<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    byte[][] startKeys = new byte[regions.size()][];<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    byte[][] endKeys = new byte[regions.size()][];<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    for (int i = 0, n = regions.size(); i &lt; n; i++) {<a name="line.152"></a>
-<span class="sourceLineNo">153</span>      RegionInfo region = regions.get(i).getRegion();<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      startKeys[i] = region.getStartKey();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      endKeys[i] = region.getEndKey();<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    }<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    return Pair.newPair(startKeys, endKeys);<a name="line.157"></a>
-<span class="sourceLineNo">158</span>  }<a name="line.158"></a>
-<span class="sourceLineNo">159</span><a name="line.159"></a>
-<span class="sourceLineNo">160</span>  /**<a name="line.160"></a>
-<span class="sourceLineNo">161</span>   * Gets the fully qualified table name instance of this table.<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   */<a name="line.162"></a>
-<span class="sourceLineNo">163</span>  TableName getName();<a name="line.163"></a>
-<span class="sourceLineNo">164</span>}<a name="line.164"></a>
+<span class="sourceLineNo">111</span>   * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   * parameter.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * &lt;p/&gt;<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   * Notice that the location for region replicas other than the default replica are also returned.<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   * @return a {@link List} of all regions associated with this table.<a name="line.115"></a>
+<span class="sourceLineNo">116</span>   * @throws IOException if a remote or network exception occurs<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   */<a name="line.117"></a>
+<span class="sourceLineNo">118</span>  List&lt;HRegionLocation&gt; getAllRegionLocations() throws IOException;<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span>  /**<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   * Gets the starting row key for every region in the currently open table.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>   * &lt;p&gt;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   * This is mainly useful for the MapReduce integration.<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   * @return Array of region starting row keys<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   * @throws IOException if a remote or network exception occurs<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   */<a name="line.126"></a>
+<span class="sourceLineNo">127</span>  default byte[][] getStartKeys() throws IOException {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    return getStartEndKeys().getFirst();<a name="line.128"></a>
+<span class="sourceLineNo">129</span>  }<a name="line.129"></a>
+<span class="sourceLineNo">130</span><a name="line.130"></a>
+<span class="sourceLineNo">131</span>  /**<a name="line.131"></a>
+<span class="sourceLineNo">132</span>   * Gets the ending row key for every region in the currently open table.<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   * &lt;p&gt;<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   * This is mainly useful for the MapReduce integration.<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   * @return Array of region ending row keys<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   * @throws IOException if a remote or network exception occurs<a name="line.136"></a>
+<span class="sourceLineNo">137</span>   */<a name="line.137"></a>
+<span class="sourceLineNo">138</span>  default byte[][] getEndKeys() throws IOException {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    return getStartEndKeys().getSecond();<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>   * Gets the starting and ending row keys for every region in the currently open table.<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   * &lt;p&gt;<a name="line.144"></a>
+<span class="sourceLineNo">145</span>   * This is mainly useful for the MapReduce integration.<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   * @return Pair of arrays of region starting and ending row keys<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   * @throws IOException if a remote or network exception occurs<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  default Pair&lt;byte[][], byte[][]&gt; getStartEndKeys() throws IOException {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    List&lt;HRegionLocation&gt; regions = getAllRegionLocations().stream()<a name="line.150"></a>
+<span class="sourceLineNo">151</span>      .filter(loc -&gt; RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      .collect(Collectors.toList());<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    byte[][] startKeys = new byte[regions.size()][];<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    byte[][] endKeys = new byte[regions.size()][];<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    for (int i = 0, n = regions.size(); i &lt; n; i++) {<a name="line.155"></a>
+<span class="sourceLineNo">156</span>      RegionInfo region = regions.get(i).getRegion();<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      startKeys[i] = region.getStartKey();<a name="line.157"></a>
+<span class="sourceLineNo">158</span>      endKeys[i] = region.getEndKey();<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    }<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    return Pair.newPair(startKeys, endKeys);<a name="line.160"></a>
+<span class="sourceLineNo">161</span>  }<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>   * Gets the fully qualified table name instance of this table.<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>  TableName getName();<a name="line.166"></a>
+<span class="sourceLineNo">167</span>}<a name="line.167"></a>
 
 
 
index da2617c..45ffd69 100644 (file)
 <span class="sourceLineNo">285</span>  boolean isReadOnly();<a name="line.285"></a>
 <span class="sourceLineNo">286</span><a name="line.286"></a>
 <span class="sourceLineNo">287</span>  /**<a name="line.287"></a>
-<span class="sourceLineNo">288</span>   * Check if any of the table's cfs' replication scope are set to<a name="line.288"></a>
-<span class="sourceLineNo">289</span>   * {@link HConstants#REPLICATION_SCOPE_GLOBAL}.<a name="line.289"></a>
-<span class="sourceLineNo">290</span>   * @return {@code true} if we have, otherwise {@code false}.<a name="line.290"></a>
-<span class="sourceLineNo">291</span>   */<a name="line.291"></a>
-<span class="sourceLineNo">292</span>  default boolean hasGlobalReplicationScope() {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    return Stream.of(getColumnFamilies())<a name="line.293"></a>
-<span class="sourceLineNo">294</span>      .anyMatch(cf -&gt; cf.getScope() == HConstants.REPLICATION_SCOPE_GLOBAL);<a name="line.294"></a>
-<span class="sourceLineNo">295</span>  }<a name="line.295"></a>
-<span class="sourceLineNo">296</span><a name="line.296"></a>
-<span class="sourceLineNo">297</span>  /**<a name="line.297"></a>
-<span class="sourceLineNo">298</span>   * Check if the table's cfs' replication scope matched with the replication state<a name="line.298"></a>
-<span class="sourceLineNo">299</span>   * @param enabled replication state<a name="line.299"></a>
-<span class="sourceLineNo">300</span>   * @return true if matched, otherwise false<a name="line.300"></a>
-<span class="sourceLineNo">301</span>   */<a name="line.301"></a>
-<span class="sourceLineNo">302</span>  default boolean matchReplicationScope(boolean enabled) {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    boolean hasEnabled = false;<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    boolean hasDisabled = false;<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>    for (ColumnFamilyDescriptor cf : getColumnFamilies()) {<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      if (cf.getScope() != HConstants.REPLICATION_SCOPE_GLOBAL) {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>        hasDisabled = true;<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      } else {<a name="line.309"></a>
-<span class="sourceLineNo">310</span>        hasEnabled = true;<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      }<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    }<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span>    if (hasEnabled &amp;&amp; hasDisabled) {<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      return false;<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    }<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    if (hasEnabled) {<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      return enabled;<a name="line.318"></a>
-<span class="sourceLineNo">319</span>    }<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    return !enabled;<a name="line.320"></a>
-<span class="sourceLineNo">321</span>  }<a name="line.321"></a>
-<span class="sourceLineNo">322</span>}<a name="line.322"></a>
+<span class="sourceLineNo">288</span>   * @return Name of this table and then a map of all of the column family descriptors (with only<a name="line.288"></a>
+<span class="sourceLineNo">289</span>   *         the non-default column family attributes)<a name="line.289"></a>
+<span class="sourceLineNo">290</span>   */<a name="line.290"></a>
+<span class="sourceLineNo">291</span>  String toStringCustomizedValues();<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span>  /**<a name="line.293"></a>
+<span class="sourceLineNo">294</span>   * Check if any of the table's cfs' replication scope are set to<a name="line.294"></a>
+<span class="sourceLineNo">295</span>   * {@link HConstants#REPLICATION_SCOPE_GLOBAL}.<a name="line.295"></a>
+<span class="sourceLineNo">296</span>   * @return {@code true} if we have, otherwise {@code false}.<a name="line.296"></a>
+<span class="sourceLineNo">297</span>   */<a name="line.297"></a>
+<span class="sourceLineNo">298</span>  default boolean hasGlobalReplicationScope() {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    return Stream.of(getColumnFamilies())<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      .anyMatch(cf -&gt; cf.getScope() == HConstants.REPLICATION_SCOPE_GLOBAL);<a name="line.300"></a>
+<span class="sourceLineNo">301</span>  }<a name="line.301"></a>
+<span class="sourceLineNo">302</span><a name="line.302"></a>
+<span class="sourceLineNo">303</span>  /**<a name="line.303"></a>
+<span class="sourceLineNo">304</span>   * Check if the table's cfs' replication scope matched with the replication state<a name="line.304"></a>
+<span class="sourceLineNo">305</span>   * @param enabled replication state<a name="line.305"></a>
+<span class="sourceLineNo">306</span>   * @return true if matched, otherwise false<a name="line.306"></a>
+<span class="sourceLineNo">307</span>   */<a name="line.307"></a>
+<span class="sourceLineNo">308</span>  default boolean matchReplicationScope(boolean enabled) {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    boolean hasEnabled = false;<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    boolean hasDisabled = false;<a name="line.310"></a>
+<span class="sourceLineNo">311</span><a name="line.311"></a>
+<span class="sourceLineNo">312</span>    for (ColumnFamilyDescriptor cf : getColumnFamilies()) {<a name="line.312"></a>
+<span class="sourceLineNo">313</span>      if (cf.getScope() != HConstants.REPLICATION_SCOPE_GLOBAL) {<a name="line.313"></a>
+<span class="sourceLineNo">314</span>        hasDisabled = true;<a name="line.314"></a>
+<span class="sourceLineNo">315</span>      } else {<a name="line.315"></a>
+<span class="sourceLineNo">316</span>        hasEnabled = true;<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      }<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    }<a name="line.318"></a>
+<span class="sourceLineNo">319</span><a name="line.319"></a>
+<span class="sourceLineNo">320</span>    if (hasEnabled &amp;&amp; hasDisabled) {<a name="line.320"></a>
+<span class="sourceLineNo">321</span>      return false;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>    }<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    if (hasEnabled) {<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      return enabled;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    }<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    return !enabled;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>  }<a name="line.327"></a>
+<span class="sourceLineNo">328</span>}<a name="line.328"></a>
 
 
 
index a626878..6f90f23 100644 (file)
 <span class="sourceLineNo">1003</span>     * @return Name of this table and then a map of all of the column family<a name="line.1003"></a>
 <span class="sourceLineNo">1004</span>     * descriptors (with only the non-default column family attributes)<a name="line.1004"></a>
 <span class="sourceLineNo">1005</span>     */<a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    public String toStringCustomizedValues() {<a name="line.1006"></a>
-<span class="sourceLineNo">1007</span>      StringBuilder s = new StringBuilder();<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span>      s.append('\'').append(Bytes.toString(name.getName())).append('\'');<a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>      s.append(getValues(false));<a name="line.1009"></a>
-<span class="sourceLineNo">1010</span>      families.values().forEach(hcd -&gt; s.append(", ").append(hcd.toStringCustomizedValues()));<a name="line.1010"></a>
-<span class="sourceLineNo">1011</span>      return s.toString();<a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>    }<a name="line.1012"></a>
-<span class="sourceLineNo">1013</span><a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>    /**<a name="line.1014"></a>
-<span class="sourceLineNo">1015</span>     * @return map of all table attributes formatted into string.<a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>     */<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>    public String toStringTableAttributes() {<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>      return getValues(true).toString();<a name="line.1018"></a>
-<span class="sourceLineNo">1019</span>    }<a name="line.1019"></a>
-<span class="sourceLineNo">1020</span><a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>    private StringBuilder getValues(boolean printDefaults) {<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>      StringBuilder s = new StringBuilder();<a name="line.1022"></a>
-<span class="sourceLineNo">1023</span><a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>      // step 1: set partitioning and pruning<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>      Set&lt;Bytes&gt; reservedKeys = new TreeSet&lt;&gt;();<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span>      Set&lt;Bytes&gt; userKeys = new TreeSet&lt;&gt;();<a name="line.1026"></a>
-<span class="sourceLineNo">1027</span>      for (Map.Entry&lt;Bytes, Bytes&gt; entry : values.entrySet()) {<a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>        if (entry.getKey() == null || entry.getKey().get() == null) {<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>          continue;<a name="line.1029"></a>
-<span class="sourceLineNo">1030</span>        }<a name="line.1030"></a>
-<span class="sourceLineNo">1031</span>        String key = Bytes.toString(entry.getKey().get());<a name="line.1031"></a>
-<span class="sourceLineNo">1032</span>        // in this section, print out reserved keywords + coprocessor info<a name="line.1032"></a>
-<span class="sourceLineNo">1033</span>        if (!RESERVED_KEYWORDS.contains(entry.getKey()) &amp;&amp; !key.startsWith("coprocessor$")) {<a name="line.1033"></a>
-<span class="sourceLineNo">1034</span>          userKeys.add(entry.getKey());<a name="line.1034"></a>
-<span class="sourceLineNo">1035</span>          continue;<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>        }<a name="line.1036"></a>
-<span class="sourceLineNo">1037</span>        // only print out IS_META if true<a name="line.1037"></a>
-<span class="sourceLineNo">1038</span>        String value = Bytes.toString(entry.getValue().get());<a name="line.1038"></a>
-<span class="sourceLineNo">1039</span>        if (key.equalsIgnoreCase(IS_META)) {<a name="line.1039"></a>
-<span class="sourceLineNo">1040</span>          if (Boolean.valueOf(value) == false) {<a name="line.1040"></a>
-<span class="sourceLineNo">1041</span>            continue;<a name="line.1041"></a>
-<span class="sourceLineNo">1042</span>          }<a name="line.1042"></a>
-<span class="sourceLineNo">1043</span>        }<a name="line.1043"></a>
-<span class="sourceLineNo">1044</span>        // see if a reserved key is a default value. may not want to print it out<a name="line.1044"></a>
-<span class="sourceLineNo">1045</span>        if (printDefaults<a name="line.1045"></a>
-<span class="sourceLineNo">1046</span>                || !DEFAULT_VALUES.containsKey(key)<a name="line.1046"></a>
-<span class="sourceLineNo">1047</span>                || !DEFAULT_VALUES.get(key).equalsIgnoreCase(value)) {<a name="line.1047"></a>
-<span class="sourceLineNo">1048</span>          reservedKeys.add(entry.getKey());<a name="line.1048"></a>
-<span class="sourceLineNo">1049</span>        }<a name="line.1049"></a>
-<span class="sourceLineNo">1050</span>      }<a name="line.1050"></a>
-<span class="sourceLineNo">1051</span><a name="line.1051"></a>
-<span class="sourceLineNo">1052</span>      // early exit optimization<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span>      boolean hasAttributes = !reservedKeys.isEmpty() || !userKeys.isEmpty();<a name="line.1053"></a>
-<span class="sourceLineNo">1054</span>      if (!hasAttributes) {<a name="line.1054"></a>
-<span class="sourceLineNo">1055</span>        return s;<a name="line.1055"></a>
-<span class="sourceLineNo">1056</span>      }<a name="line.1056"></a>
-<span class="sourceLineNo">1057</span><a name="line.1057"></a>
-<span class="sourceLineNo">1058</span>      s.append(", {");<a name="line.1058"></a>
-<span class="sourceLineNo">1059</span>      // step 2: printing attributes<a name="line.1059"></a>
-<span class="sourceLineNo">1060</span>      if (hasAttributes) {<a name="line.1060"></a>
-<span class="sourceLineNo">1061</span>        s.append("TABLE_ATTRIBUTES =&gt; {");<a name="line.1061"></a>
-<span class="sourceLineNo">1062</span><a name="line.1062"></a>
-<span class="sourceLineNo">1063</span>        // print all reserved keys first<a name="line.1063"></a>
-<span class="sourceLineNo">1064</span>        boolean printCommaForAttr = false;<a name="line.1064"></a>
-<span class="sourceLineNo">1065</span>        for (Bytes k : reservedKeys) {<a name="line.1065"></a>
-<span class="sourceLineNo">1066</span>          String key = Bytes.toString(k.get());<a name="line.1066"></a>
-<span class="sourceLineNo">1067</span>          String value = Bytes.toStringBinary(values.get(k).get());<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>          if (printCommaForAttr) {<a name="line.1068"></a>
-<span class="sourceLineNo">1069</span>            s.append(", ");<a name="line.1069"></a>
-<span class="sourceLineNo">1070</span>          }<a name="line.1070"></a>
-<span class="sourceLineNo">1071</span>          printCommaForAttr = true;<a name="line.1071"></a>
-<span class="sourceLineNo">1072</span>          s.append(key);<a name="line.1072"></a>
-<span class="sourceLineNo">1073</span>          s.append(" =&gt; ");<a name="line.1073"></a>
-<span class="sourceLineNo">1074</span>          s.append('\'').append(value).append('\'');<a name="line.1074"></a>
-<span class="sourceLineNo">1075</span>        }<a name="line.1075"></a>
-<span class="sourceLineNo">1076</span><a name="line.1076"></a>
-<span class="sourceLineNo">1077</span>        if (!userKeys.isEmpty()) {<a name="line.1077"></a>
-<span class="sourceLineNo">1078</span>          // print all non-reserved as a separate subset<a name="line.1078"></a>
-<span class="sourceLineNo">1079</span>          if (printCommaForAttr) {<a name="line.1079"></a>
-<span class="sourceLineNo">1080</span>            s.append(", ");<a name="line.1080"></a>
-<span class="sourceLineNo">1081</span>          }<a name="line.1081"></a>
-<span class="sourceLineNo">1082</span>          s.append(HConstants.METADATA).append(" =&gt; ");<a name="line.1082"></a>
-<span class="sourceLineNo">1083</span>          s.append("{");<a name="line.1083"></a>
-<span class="sourceLineNo">1084</span>          boolean printCommaForCfg = false;<a name="line.1084"></a>
-<span class="sourceLineNo">1085</span>          for (Bytes k : userKeys) {<a name="line.1085"></a>
-<span class="sourceLineNo">1086</span>            String key = Bytes.toString(k.get());<a name="line.1086"></a>
-<span class="sourceLineNo">1087</span>            String value = Bytes.toStringBinary(values.get(k).get());<a name="line.1087"></a>
-<span class="sourceLineNo">1088</span>            if (printCommaForCfg) {<a name="line.1088"></a>
-<span class="sourceLineNo">1089</span>              s.append(", ");<a name="line.1089"></a>
-<span class="sourceLineNo">1090</span>            }<a name="line.1090"></a>
-<span class="sourceLineNo">1091</span>            printCommaForCfg = true;<a name="line.1091"></a>
-<span class="sourceLineNo">1092</span>            s.append('\'').append(key).append('\'');<a name="line.1092"></a>
-<span class="sourceLineNo">1093</span>            s.append(" =&gt; ");<a name="line.1093"></a>
-<span class="sourceLineNo">1094</span>            s.append('\'').append(value).append('\'');<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>          }<a name="line.1095"></a>
-<span class="sourceLineNo">1096</span>          s.append("}");<a name="line.1096"></a>
-<span class="sourceLineNo">1097</span>        }<a name="line.1097"></a>
-<span class="sourceLineNo">1098</span>      }<a name="line.1098"></a>
-<span class="sourceLineNo">1099</span><a name="line.1099"></a>
-<span class="sourceLineNo">1100</span>      s.append("}"); // end METHOD<a name="line.1100"></a>
-<span class="sourceLineNo">1101</span>      return s;<a name="line.1101"></a>
-<span class="sourceLineNo">1102</span>    }<a name="line.1102"></a>
-<span class="sourceLineNo">1103</span><a name="line.1103"></a>
-<span class="sourceLineNo">1104</span>    /**<a name="line.1104"></a>
-<span class="sourceLineNo">1105</span>     * Compare the contents of the descriptor with another one passed as a<a name="line.1105"></a>
-<span class="sourceLineNo">1106</span>     * parameter. Checks if the obj passed is an instance of ModifyableTableDescriptor,<a name="line.1106"></a>
-<span class="sourceLineNo">1107</span>     * if yes then the contents of the descriptors are compared.<a name="line.1107"></a>
-<span class="sourceLineNo">1108</span>     *<a name="line.1108"></a>
-<span class="sourceLineNo">1109</span>     * @param obj The object to compare<a name="line.1109"></a>
-<span class="sourceLineNo">1110</span>     * @return true if the contents of the the two descriptors exactly match<a name="line.1110"></a>
-<span class="sourceLineNo">1111</span>     *<a name="line.1111"></a>
-<span class="sourceLineNo">1112</span>     * @see java.lang.Object#equals(java.lang.Object)<a name="line.1112"></a>
-<span class="sourceLineNo">1113</span>     */<a name="line.1113"></a>
-<span class="sourceLineNo">1114</span>    @Override<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span>    public boolean equals(Object obj) {<a name="line.1115"></a>
-<span class="sourceLineNo">1116</span>      if (this == obj) {<a name="line.1116"></a>
-<span class="sourceLineNo">1117</span>        return true;<a name="line.1117"></a>
-<span class="sourceLineNo">1118</span>      }<a name="line.1118"></a>
-<span class="sourceLineNo">1119</span>      if (obj instanceof ModifyableTableDescriptor) {<a name="line.1119"></a>
-<span class="sourceLineNo">1120</span>        return TableDescriptor.COMPARATOR.compare(this, (ModifyableTableDescriptor) obj) == 0;<a name="line.1120"></a>
-<span class="sourceLineNo">1121</span>      }<a name="line.1121"></a>
-<span class="sourceLineNo">1122</span>      return false;<a name="line.1122"></a>
-<span class="sourceLineNo">1123</span>    }<a name="line.1123"></a>
-<span class="sourceLineNo">1124</span><a name="line.1124"></a>
-<span class="sourceLineNo">1125</span>    /**<a name="line.1125"></a>
-<span class="sourceLineNo">1126</span>     * @return hash code<a name="line.1126"></a>
-<span class="sourceLineNo">1127</span>     */<a name="line.1127"></a>
-<span class="sourceLineNo">1128</span>    @Override<a name="line.1128"></a>
-<span class="sourceLineNo">1129</span>    public int hashCode() {<a name="line.1129"></a>
-<span class="sourceLineNo">1130</span>      int result = this.name.hashCode();<a name="line.1130"></a>
-<span class="sourceLineNo">1131</span>      if (this.families.size() &gt; 0) {<a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>        for (ColumnFamilyDescriptor e : this.families.values()) {<a name="line.1132"></a>
-<span class="sourceLineNo">1133</span>          result ^= e.hashCode();<a name="line.1133"></a>
-<span class="sourceLineNo">1134</span>        }<a name="line.1134"></a>
-<span class="sourceLineNo">1135</span>      }<a name="line.1135"></a>
-<span class="sourceLineNo">1136</span>      result ^= values.hashCode();<a name="line.1136"></a>
-<span class="sourceLineNo">1137</span>      return result;<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    }<a name="line.1138"></a>
-<span class="sourceLineNo">1139</span><a name="line.1139"></a>
-<span class="sourceLineNo">1140</span>    // Comparable<a name="line.1140"></a>
-<span class="sourceLineNo">1141</span>    /**<a name="line.1141"></a>
-<span class="sourceLineNo">1142</span>     * Compares the descriptor with another descriptor which is passed as a<a name="line.1142"></a>
-<span class="sourceLineNo">1143</span>     * parameter. This compares the content of the two descriptors and not the<a name="line.1143"></a>
-<span class="sourceLineNo">1144</span>     * reference.<a name="line.1144"></a>
-<span class="sourceLineNo">1145</span>     *<a name="line.1145"></a>
-<span class="sourceLineNo">1146</span>     * @param other The MTD to compare<a name="line.1146"></a>
-<span class="sourceLineNo">1147</span>     * @return 0 if the contents of the descriptors are exactly matching, 1 if<a name="line.1147"></a>
-<span class="sourceLineNo">1148</span>     * there is a mismatch in the contents<a name="line.1148"></a>
-<span class="sourceLineNo">1149</span>     */<a name="line.1149"></a>
-<span class="sourceLineNo">1150</span>    @Override<a name="line.1150"></a>
-<span class="sourceLineNo">1151</span>    public int compareTo(final ModifyableTableDescriptor other) {<a name="line.1151"></a>
-<span class="sourceLineNo">1152</span>      return TableDescriptor.COMPARATOR.compare(this, other);<a name="line.1152"></a>
-<span class="sourceLineNo">1153</span>    }<a name="line.1153"></a>
-<span class="sourceLineNo">1154</span><a name="line.1154"></a>
-<span class="sourceLineNo">1155</span>    @Override<a name="line.1155"></a>
-<span class="sourceLineNo">1156</span>    public ColumnFamilyDescriptor[] getColumnFamilies() {<a name="line.1156"></a>
-<span class="sourceLineNo">1157</span>      return families.values().toArray(new ColumnFamilyDescriptor[families.size()]);<a name="line.1157"></a>
-<span class="sourceLineNo">1158</span>    }<a name="line.1158"></a>
-<span class="sourceLineNo">1159</span><a name="line.1159"></a>
-<span class="sourceLineNo">1160</span>    /**<a name="line.1160"></a>
-<span class="sourceLineNo">1161</span>     * Returns the configured replicas per region<a name="line.1161"></a>
-<span class="sourceLineNo">1162</span>     */<a name="line.1162"></a>
-<span class="sourceLineNo">1163</span>    @Override<a name="line.1163"></a>
-<span class="sourceLineNo">1164</span>    public int getRegionReplication() {<a name="line.1164"></a>
-<span class="sourceLineNo">1165</span>      return getOrDefault(REGION_REPLICATION_KEY, Integer::valueOf, DEFAULT_REGION_REPLICATION);<a name="line.1165"></a>
-<span class="sourceLineNo">1166</span>    }<a name="line.1166"></a>
-<span class="sourceLineNo">1167</span><a name="line.1167"></a>
-<span class="sourceLineNo">1168</span>    /**<a name="line.1168"></a>
-<span class="sourceLineNo">1169</span>     * Sets the number of replicas per region.<a name="line.1169"></a>
-<span class="sourceLineNo">1170</span>     *<a name="line.1170"></a>
-<span class="sourceLineNo">1171</span>     * @param regionReplication the replication factor per region<a name="line.1171"></a>
-<span class="sourceLineNo">1172</span>     * @return the modifyable TD<a name="line.1172"></a>
-<span class="sourceLineNo">1173</span>     */<a name="line.1173"></a>
-<span class="sourceLineNo">1174</span>    public ModifyableTableDescriptor setRegionReplication(int regionReplication) {<a name="line.1174"></a>
-<span class="sourceLineNo">1175</span>      return setValue(REGION_REPLICATION_KEY, Integer.toString(regionReplication));<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    }<a name="line.1176"></a>
-<span class="sourceLineNo">1177</span><a name="line.1177"></a>
-<span class="sourceLineNo">1178</span>    /**<a name="line.1178"></a>
-<span class="sourceLineNo">1179</span>     * @return true if the read-replicas memstore replication is enabled.<a name="line.1179"></a>
-<span class="sourceLineNo">1180</span>     */<a name="line.1180"></a>
-<span class="sourceLineNo">1181</span>    @Override<a name="line.1181"></a>
-<span class="sourceLineNo">1182</span>    public boolean hasRegionMemStoreReplication() {<a name="line.1182"></a>
-<span class="sourceLineNo">1183</span>      return getOrDefault(REGION_MEMSTORE_REPLICATION_KEY, Boolean::valueOf, DEFAULT_REGION_MEMSTORE_REPLICATION);<a name="line.1183"></a>
-<span class="sourceLineNo">1184</span>    }<a name="line.1184"></a>
-<span class="sourceLineNo">1185</span><a name="line.1185"></a>
-<span class="sourceLineNo">1186</span>    /**<a name="line.1186"></a>
-<span class="sourceLineNo">1187</span>     * Enable or Disable the memstore replication from the primary region to the<a name="line.1187"></a>
-<span class="sourceLineNo">1188</span>     * replicas. The replication will be used only for meta operations (e.g.<a name="line.1188"></a>
-<span class="sourceLineNo">1189</span>     * flush, compaction, ...)<a name="line.1189"></a>
-<span class="sourceLineNo">1190</span>     *<a name="line.1190"></a>
-<span class="sourceLineNo">1191</span>     * @param memstoreReplication true if the new data written to the primary<a name="line.1191"></a>
-<span class="sourceLineNo">1192</span>     * region should be replicated. false if the secondaries can tollerate to<a name="line.1192"></a>
-<span class="sourceLineNo">1193</span>     * have new data only when the primary flushes the memstore.<a name="line.1193"></a>
-<span class="sourceLineNo">1194</span>     * @return the modifyable TD<a name="line.1194"></a>
-<span class="sourceLineNo">1195</span>     */<a name="line.1195"></a>
-<span class="sourceLineNo">1196</span>    public ModifyableTableDescriptor setRegionMemStoreReplication(boolean memstoreReplication) {<a name="line.1196"></a>
-<span class="sourceLineNo">1197</span>      setValue(REGION_MEMSTORE_REPLICATION_KEY, Boolean.toString(memstoreReplication));<a name="line.1197"></a>
-<span class="sourceLineNo">1198</span>      // If the memstore replication is setup, we do not have to wait for observing a flush event<a name="line.1198"></a>
-<span class="sourceLineNo">1199</span>      // from primary before starting to serve reads, because gaps from replication is not applicable<a name="line.1199"></a>
-<span class="sourceLineNo">1200</span>      return setValue(REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY,<a name="line.1200"></a>
-<span class="sourceLineNo">1201</span>              Boolean.toString(memstoreReplication));<a name="line.1201"></a>
-<span class="sourceLineNo">1202</span>    }<a name="line.1202"></a>
-<span class="sourceLineNo">1203</span><a name="line.1203"></a>
-<span class="sourceLineNo">1204</span>    public ModifyableTableDescriptor setPriority(int priority) {<a name="line.1204"></a>
-<span class="sourceLineNo">1205</span>      return setValue(PRIORITY_KEY, Integer.toString(priority));<a name="line.1205"></a>
-<span class="sourceLineNo">1206</span>    }<a name="line.1206"></a>
-<span class="sourceLineNo">1207</span><a name="line.1207"></a>
-<span class="sourceLineNo">1208</span>    @Override<a name="line.1208"></a>
-<span class="sourceLineNo">1209</span>    public int getPriority() {<a name="line.1209"></a>
-<span class="sourceLineNo">1210</span>      return getOrDefault(PRIORITY_KEY, Integer::valueOf, DEFAULT_PRIORITY);<a name="line.1210"></a>
-<span class="sourceLineNo">1211</span>    }<a name="line.1211"></a>
-<span class="sourceLineNo">1212</span><a name="line.1212"></a>
-<span class="sourceLineNo">1213</span>    /**<a name="line.1213"></a>
-<span class="sourceLineNo">1214</span>     * Returns all the column family names of the current table. The map of<a name="line.1214"></a>
-<span class="sourceLineNo">1215</span>     * TableDescriptor contains mapping of family name to ColumnFamilyDescriptor.<a name="line.1215"></a>
-<span class="sourceLineNo">1216</span>     * This returns all the keys of the family map which represents the column<a name="line.1216"></a>
-<span class="sourceLineNo">1217</span>     * family names of the table.<a name="line.1217"></a>
-<span class="sourceLineNo">1218</span>     *<a name="line.1218"></a>
-<span class="sourceLineNo">1219</span>     * @return Immutable sorted set of the keys of the families.<a name="line.1219"></a>
-<span class="sourceLineNo">1220</span>     */<a name="line.1220"></a>
-<span class="sourceLineNo">1221</span>    @Override<a name="line.1221"></a>
-<span class="sourceLineNo">1222</span>    public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.1222"></a>
-<span class="sourceLineNo">1223</span>      return Collections.unmodifiableSet(this.families.keySet());<a name="line.1223"></a>
-<span class="sourceLineNo">1224</span>    }<a name="line.1224"></a>
-<span class="sourceLineNo">1225</span><a name="line.1225"></a>
-<span class="sourceLineNo">1226</span>    /**<a name="line.1226"></a>
-<span class="sourceLineNo">1227</span>     * Returns the ColumnFamilyDescriptor for a specific column family with name as<a name="line.1227"></a>
-<span class="sourceLineNo">1228</span>     * specified by the parameter column.<a name="line.1228"></a>
-<span class="sourceLineNo">1229</span>     *<a name="line.1229"></a>
-<span class="sourceLineNo">1230</span>     * @param column Column family name<a name="line.1230"></a>
-<span class="sourceLineNo">1231</span>     * @return Column descriptor for the passed family name or the family on<a name="line.1231"></a>
-<span class="sourceLineNo">1232</span>     * passed in column.<a name="line.1232"></a>
-<span class="sourceLineNo">1233</span>     */<a name="line.1233"></a>
-<span class="sourceLineNo">1234</span>    @Override<a name="line.1234"></a>
-<span class="sourceLineNo">1235</span>    public ColumnFamilyDescriptor getColumnFamily(final byte[] column) {<a name="line.1235"></a>
-<span class="sourceLineNo">1236</span>      return this.families.get(column);<a name="line.1236"></a>
-<span class="sourceLineNo">1237</span>    }<a name="line.1237"></a>
-<span class="sourceLineNo">1238</span><a name="line.1238"></a>
-<span class="sourceLineNo">1239</span>    /**<a name="line.1239"></a>
-<span class="sourceLineNo">1240</span>     * Removes the ColumnFamilyDescriptor with name specified by the parameter column<a name="line.1240"></a>
-<span class="sourceLineNo">1241</span>     * from the table descriptor<a name="line.1241"></a>
-<span class="sourceLineNo">1242</span>     *<a name="line.1242"></a>
-<span class="sourceLineNo">1243</span>     * @param column Name of the column family to be removed.<a name="line.1243"></a>
-<span class="sourceLineNo">1244</span>     * @return Column descriptor for the passed family name or the family on<a name="line.1244"></a>
-<span class="sourceLineNo">1245</span>     * passed in column.<a name="line.1245"></a>
-<span class="sourceLineNo">1246</span>     */<a name="line.1246"></a>
-<span class="sourceLineNo">1247</span>    public ColumnFamilyDescriptor removeColumnFamily(final byte[] column) {<a name="line.1247"></a>
-<span class="sourceLineNo">1248</span>      return this.families.remove(column);<a name="line.1248"></a>
-<span class="sourceLineNo">1249</span>    }<a name="line.1249"></a>
-<span class="sourceLineNo">1250</span><a name="line.1250"></a>
-<span class="sourceLineNo">1251</span>    /**<a name="line.1251"></a>
-<span class="sourceLineNo">1252</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1252"></a>
-<span class="sourceLineNo">1253</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1253"></a>
-<span class="sourceLineNo">1254</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1254"></a>
-<span class="sourceLineNo">1255</span>     * loadable or not will be determined when a region is opened.<a name="line.1255"></a>
-<span class="sourceLineNo">1256</span>     *<a name="line.1256"></a>
-<span class="sourceLineNo">1257</span>     * @param className Full class name.<a name="line.1257"></a>
-<span class="sourceLineNo">1258</span>     * @throws IOException<a name="line.1258"></a>
-<span class="sourceLineNo">1259</span>     * @return the modifyable TD<a name="line.1259"></a>
-<span class="sourceLineNo">1260</span>     */<a name="line.1260"></a>
-<span class="sourceLineNo">1261</span>    public ModifyableTableDescriptor setCoprocessor(String className) throws IOException {<a name="line.1261"></a>
-<span class="sourceLineNo">1262</span>      return setCoprocessor(<a name="line.1262"></a>
-<span class="sourceLineNo">1263</span>        CoprocessorDescriptorBuilder.newBuilder(className).setPriority(Coprocessor.PRIORITY_USER)<a name="line.1263"></a>
-<span class="sourceLineNo">1264</span>          .build());<a name="line.1264"></a>
-<span class="sourceLineNo">1265</span>    }<a name="line.1265"></a>
-<span class="sourceLineNo">1266</span><a name="line.1266"></a>
-<span class="sourceLineNo">1267</span>    /**<a name="line.1267"></a>
-<span class="sourceLineNo">1268</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1268"></a>
-<span class="sourceLineNo">1269</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1269"></a>
-<span class="sourceLineNo">1270</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1270"></a>
-<span class="sourceLineNo">1271</span>     * loadable or not will be determined when a region is opened.<a name="line.1271"></a>
-<span class="sourceLineNo">1272</span>     *<a name="line.1272"></a>
-<span class="sourceLineNo">1273</span>     * @throws IOException any illegal parameter key/value<a name="line.1273"></a>
-<span class="sourceLineNo">1274</span>     * @return the modifyable TD<a name="line.1274"></a>
-<span class="sourceLineNo">1275</span>     */<a name="line.1275"></a>
-<span class="sourceLineNo">1276</span>    public ModifyableTableDescriptor setCoprocessor(CoprocessorDescriptor cp)<a name="line.1276"></a>
-<span class="sourceLineNo">1277</span>            throws IOException {<a name="line.1277"></a>
-<span class="sourceLineNo">1278</span>      checkHasCoprocessor(cp.getClassName());<a name="line.1278"></a>
-<span class="sourceLineNo">1279</span>      if (cp.getPriority() &lt; 0) {<a name="line.1279"></a>
-<span class="sourceLineNo">1280</span>        throw new IOException("Priority must be bigger than or equal with zero, current:"<a name="line.1280"></a>
-<span class="sourceLineNo">1281</span>          + cp.getPriority());<a name="line.1281"></a>
-<span class="sourceLineNo">1282</span>      }<a name="line.1282"></a>
-<span class="sourceLineNo">1283</span>      // Validate parameter kvs and then add key/values to kvString.<a name="line.1283"></a>
-<span class="sourceLineNo">1284</span>      StringBuilder kvString = new StringBuilder();<a name="line.1284"></a>
-<span class="sourceLineNo">1285</span>      for (Map.Entry&lt;String, String&gt; e : cp.getProperties().entrySet()) {<a name="line.1285"></a>
-<span class="sourceLineNo">1286</span>        if (!e.getKey().matches(CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN)) {<a name="line.1286"></a>
-<span class="sourceLineNo">1287</span>          throw new IOException("Illegal parameter key = " + e.getKey());<a name="line.1287"></a>
-<span class="sourceLineNo">1288</span>        }<a name="line.1288"></a>
-<span class="sourceLineNo">1289</span>        if (!e.getValue().matches(CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN)) {<a name="line.1289"></a>
-<span class="sourceLineNo">1290</span>          throw new IOException("Illegal parameter (" + e.getKey()<a name="line.1290"></a>
-<span class="sourceLineNo">1291</span>                  + ") value = " + e.getValue());<a name="line.1291"></a>
-<span class="sourceLineNo">1292</span>        }<a name="line.1292"></a>
-<span class="sourceLineNo">1293</span>        if (kvString.length() != 0) {<a name="line.1293"></a>
-<span class="sourceLineNo">1294</span>          kvString.append(',');<a name="line.1294"></a>
-<span class="sourceLineNo">1295</span>        }<a name="line.1295"></a>
-<span class="sourceLineNo">1296</span>        kvString.append(e.getKey());<a name="line.1296"></a>
-<span class="sourceLineNo">1297</span>        kvString.append('=');<a name="line.1297"></a>
-<span class="sourceLineNo">1298</span>        kvString.append(e.getValue());<a name="line.1298"></a>
-<span class="sourceLineNo">1299</span>      }<a name="line.1299"></a>
-<span class="sourceLineNo">1300</span><a name="line.1300"></a>
-<span class="sourceLineNo">1301</span>      String value = cp.getJarPath().orElse("")<a name="line.1301"></a>
-<span class="sourceLineNo">1302</span>              + "|" + cp.getClassName() + "|" + Integer.toString(cp.getPriority()) + "|"<a name="line.1302"></a>
-<span class="sourceLineNo">1303</span>              + kvString.toString();<a name="line.1303"></a>
-<span class="sourceLineNo">1304</span>      return setCoprocessorToMap(value);<a name="line.1304"></a>
-<span class="sourceLineNo">1305</span>    }<a name="line.1305"></a>
-<span class="sourceLineNo">1306</span><a name="line.1306"></a>
-<span class="sourceLineNo">1307</span>    /**<a name="line.1307"></a>
-<span class="sourceLineNo">1308</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1308"></a>
-<span class="sourceLineNo">1309</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1309"></a>
-<span class="sourceLineNo">1310</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1310"></a>
-<span class="sourceLineNo">1311</span>     * loadable or not will be determined when a region is opened.<a name="line.1311"></a>
-<span class="sourceLineNo">1312</span>     *<a name="line.1312"></a>
-<span class="sourceLineNo">1313</span>     * @param specStr The Coprocessor specification all in in one String<a name="line.1313"></a>
-<span class="sourceLineNo">1314</span>     * @throws IOException<a name="line.1314"></a>
-<span class="sourceLineNo">1315</span>     * @return the modifyable TD<a name="line.1315"></a>
-<span class="sourceLineNo">1316</span>     * @deprecated used by HTableDescriptor and admin.rb.<a name="line.1316"></a>
-<span class="sourceLineNo">1317</span>     *                       As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.1317"></a>
-<span class="sourceLineNo">1318</span>     */<a name="line.1318"></a>
-<span class="sourceLineNo">1319</span>    @Deprecated<a name="line.1319"></a>
-<span class="sourceLineNo">1320</span>    public ModifyableTableDescriptor setCoprocessorWithSpec(final String specStr)<a name="line.1320"></a>
-<span class="sourceLineNo">1321</span>      throws IOException {<a name="line.1321"></a>
-<span class="sourceLineNo">1322</span>      CoprocessorDescriptor cpDesc = toCoprocessorDescriptor(specStr).orElseThrow(<a name="line.1322"></a>
-<span class="sourceLineNo">1323</span>        () -&gt; new IllegalArgumentException(<a name="line.1323"></a>
-<span class="sourceLineNo">1324</span>          "Format does not match " + CP_HTD_ATTR_VALUE_PATTERN + ": " + specStr));<a name="line.1324"></a>
-<span class="sourceLineNo">1325</span>      checkHasCoprocessor(cpDesc.getClassName());<a name="line.1325"></a>
-<span class="sourceLineNo">1326</span>      return setCoprocessorToMap(specStr);<a name="line.1326"></a>
-<span class="sourceLineNo">1327</span>    }<a name="line.1327"></a>
-<span class="sourceLineNo">1328</span><a name="line.1328"></a>
-<span class="sourceLineNo">1329</span>    private void checkHasCoprocessor(final String className) throws IOException {<a name="line.1329"></a>
-<span class="sourceLineNo">1330</span>      if (hasCoprocessor(className)) {<a name="line.1330"></a>
-<span class="sourceLineNo">1331</span>        throw new IOException("Coprocessor " + className + " already exists.");<a name="line.1331"></a>
-<span class="sourceLineNo">1332</span>      }<a name="line.1332"></a>
-<span class="sourceLineNo">1333</span>    }<a name="line.1333"></a>
-<span class="sourceLineNo">1334</span><a name="line.1334"></a>
-<span class="sourceLineNo">1335</span>    /**<a name="line.1335"></a>
-<span class="sourceLineNo">1336</span>     * Add coprocessor to values Map<a name="line.1336"></a>
-<span class="sourceLineNo">1337</span>     * @param specStr The Coprocessor specification all in in one String<a name="line.1337"></a>
-<span class="sourceLineNo">1338</span>     * @return Returns &lt;code&gt;this&lt;/code&gt;<a name="line.1338"></a>
-<span class="sourceLineNo">1339</span>     */<a name="line.1339"></a>
-<span class="sourceLineNo">1340</span>    private ModifyableTableDescriptor setCoprocessorToMap(final String specStr) {<a name="line.1340"></a>
-<span class="sourceLineNo">1341</span>      if (specStr == null) {<a name="line.1341"></a>
-<span class="sourceLineNo">1342</span>        return this;<a name="line.1342"></a>
-<span class="sourceLineNo">1343</span>      }<a name="line.1343"></a>
-<span class="sourceLineNo">1344</span>      // generate a coprocessor key<a name="line.1344"></a>
-<span class="sourceLineNo">1345</span>      int maxCoprocessorNumber = 0;<a name="line.1345"></a>
-<span class="sourceLineNo">1346</span>      Matcher keyMatcher;<a name="line.1346"></a>
-<span class="sourceLineNo">1347</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e : this.values.entrySet()) {<a name="line.1347"></a>
-<span class="sourceLineNo">1348</span>        keyMatcher = CP_HTD_ATTR_KEY_PATTERN.matcher(Bytes.toString(e.getKey().get()));<a name="line.1348"></a>
-<span class="sourceLineNo">1349</span>        if (!keyMatcher.matches()) {<a name="line.1349"></a>
-<span class="sourceLineNo">1350</span>          continue;<a name="line.1350"></a>
-<span class="sourceLineNo">1351</span>        }<a name="line.1351"></a>
-<span class="sourceLineNo">1352</span>        maxCoprocessorNumber = Math.max(Integer.parseInt(keyMatcher.group(1)), maxCoprocessorNumber);<a name="line.1352"></a>
-<span class="sourceLineNo">1353</span>      }<a name="line.1353"></a>
-<span class="sourceLineNo">1354</span>      maxCoprocessorNumber++;<a name="line.1354"></a>
-<span class="sourceLineNo">1355</span>      String key = "coprocessor$" + Integer.toString(maxCoprocessorNumber);<a name="line.1355"></a>
-<span class="sourceLineNo">1356</span>      return setValue(new Bytes(Bytes.toBytes(key)), new Bytes(Bytes.toBytes(specStr)));<a name="line.1356"></a>
-<span class="sourceLineNo">1357</span>    }<a name="line.1357"></a>
-<span class="sourceLineNo">1358</span><a name="line.1358"></a>
-<span class="sourceLineNo">1359</span>    /**<a name="line.1359"></a>
-<span class="sourceLineNo">1360</span>     * Check if the table has an attached co-processor represented by the name<a name="line.1360"></a>
-<span class="sourceLineNo">1361</span>     * className<a name="line.1361"></a>
-<span class="sourceLineNo">1362</span>     *<a name="line.1362"></a>
-<span class="sourceLineNo">1363</span>     * @param classNameToMatch - Class name of the co-processor<a name="line.1363"></a>
-<span class="sourceLineNo">1364</span>     * @return true of the table has a co-processor className<a name="line.1364"></a>
-<span class="sourceLineNo">1365</span>     */<a name="line.1365"></a>
-<span class="sourceLineNo">1366</span>    @Override<a name="line.1366"></a>
-<span class="sourceLineNo">1367</span>    public boolean hasCoprocessor(String classNameToMatch) {<a name="line.1367"></a>
-<span class="sourceLineNo">1368</span>      return getCoprocessorDescriptors().stream().anyMatch(cp -&gt; cp.getClassName()<a name="line.1368"></a>
-<span class="sourceLineNo">1369</span>        .equals(classNameToMatch));<a name="line.1369"></a>
-<span class="sourceLineNo">1370</span>    }<a name="line.1370"></a>
-<span class="sourceLineNo">1371</span><a name="line.1371"></a>
-<span class="sourceLineNo">1372</span>    /**<a name="line.1372"></a>
-<span class="sourceLineNo">1373</span>     * Return the list of attached co-processor represented by their name<a name="line.1373"></a>
-<span class="sourceLineNo">1374</span>     * className<a name="line.1374"></a>
-<span class="sourceLineNo">1375</span>     *<a name="line.1375"></a>
-<span class="sourceLineNo">1376</span>     * @return The list of co-processors classNames<a name="line.1376"></a>
-<span class="sourceLineNo">1377</span>     */<a name="line.1377"></a>
-<span class="sourceLineNo">1378</span>    @Override<a name="line.1378"></a>
-<span class="sourceLineNo">1379</span>    public List&lt;CoprocessorDescriptor&gt; getCoprocessorDescriptors() {<a name="line.1379"></a>
-<span class="sourceLineNo">1380</span>      List&lt;CoprocessorDescriptor&gt; result = new ArrayList&lt;&gt;();<a name="line.1380"></a>
-<span class="sourceLineNo">1381</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e: getValues().entrySet()) {<a name="line.1381"></a>
-<span class="sourceLineNo">1382</span>        String key = Bytes.toString(e.getKey().get()).trim();<a name="line.1382"></a>
-<span class="sourceLineNo">1383</span>        if (CP_HTD_ATTR_KEY_PATTERN.matcher(key).matches()) {<a name="line.1383"></a>
-<span class="sourceLineNo">1384</span>          toCoprocessorDescriptor(Bytes.toString(e.getValue().get()).trim())<a name="line.1384"></a>
-<span class="sourceLineNo">1385</span>            .ifPresent(result::add);<a name="line.1385"></a>
-<span class="sourceLineNo">1386</span>        }<a name="line.1386"></a>
-<span class="sourceLineNo">1387</span>      }<a name="line.1387"></a>
-<span class="sourceLineNo">1388</span>      return result;<a name="line.1388"></a>
-<span class="sourceLineNo">1389</span>    }<a name="line.1389"></a>
-<span class="sourceLineNo">1390</span><a name="line.1390"></a>
-<span class="sourceLineNo">1391</span>    /**<a name="line.1391"></a>
-<span class="sourceLineNo">1392</span>     * Remove a coprocessor from those set on the table<a name="line.1392"></a>
-<span class="sourceLineNo">1393</span>     *<a name="line.1393"></a>
-<span class="sourceLineNo">1394</span>     * @param className Class name of the co-processor<a name="line.1394"></a>
-<span class="sourceLineNo">1395</span>     */<a name="line.1395"></a>
-<span class="sourceLineNo">1396</span>    public void removeCoprocessor(String className) {<a name="line.1396"></a>
-<span class="sourceLineNo">1397</span>      Bytes match = null;<a name="line.1397"></a>
-<span class="sourceLineNo">1398</span>      Matcher keyMatcher;<a name="line.1398"></a>
-<span class="sourceLineNo">1399</span>      Matcher valueMatcher;<a name="line.1399"></a>
-<span class="sourceLineNo">1400</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e : this.values<a name="line.1400"></a>
-<span class="sourceLineNo">1401</span>              .entrySet()) {<a name="line.1401"></a>
-<span class="sourceLineNo">1402</span>        keyMatcher = CP_HTD_ATTR_KEY_PATTERN.matcher(Bytes.toString(e<a name="line.1402"></a>
-<span class="sourceLineNo">1403</span>                .getKey().get()));<a name="line.1403"></a>
-<span class="sourceLineNo">1404</span>        if (!keyMatcher.matches()) {<a name="line.1404"></a>
-<span class="sourceLineNo">1405</span>          continue;<a name="line.1405"></a>
-<span class="sourceLineNo">1406</span>        }<a name="line.1406"></a>
-<span class="sourceLineNo">1407</span>        valueMatcher = CP_HTD_ATTR_VALUE_PATTERN.matcher(Bytes<a name="line.1407"></a>
-<span class="sourceLineNo">1408</span>                .toString(e.getValue().get()));<a name="line.1408"></a>
-<span class="sourceLineNo">1409</span>        if (!valueMatcher.matches()) {<a name="line.1409"></a>
-<span class="sourceLineNo">1410</span>          continue;<a name="line.1410"></a>
-<span class="sourceLineNo">1411</span>        }<a name="line.1411"></a>
-<span class="sourceLineNo">1412</span>        // get className and compare<a name="line.1412"></a>
-<span class="sourceLineNo">1413</span>        String clazz = valueMatcher.group(2).trim(); // classname is the 2nd field<a name="line.1413"></a>
-<span class="sourceLineNo">1414</span>        // remove the CP if it is present<a name="line.1414"></a>
-<span class="sourceLineNo">1415</span>        if (clazz.equals(className.trim())) {<a name="line.1415"></a>
-<span class="sourceLineNo">1416</span>          match = e.getKey();<a name="line.1416"></a>
-<span class="sourceLineNo">1417</span>          break;<a name="line.1417"></a>
-<span class="sourceLineNo">1418</span>        }<a name="line.1418"></a>
-<span class="sourceLineNo">1419</span>      }<a name="line.1419"></a>
-<span class="sourceLineNo">1420</span>      // if we found a match, remove it<a name="line.1420"></a>
-<span class="sourceLineNo">1421</span>      if (match != null) {<a name="line.1421"></a>
-<span class="sourceLineNo">1422</span>        ModifyableTableDescriptor.this.removeValue(match);<a name="line.1422"></a>
-<span class="sourceLineNo">1423</span>      }<a name="line.1423"></a>
-<span class="sourceLineNo">1424</span>    }<a name="line.1424"></a>
-<span class="sourceLineNo">1425</span><a name="line.1425"></a>
-<span class="sourceLineNo">1426</span>    @Deprecated<a name="line.1426"></a>
-<span class="sourceLineNo">1427</span>    public ModifyableTableDescriptor setOwner(User owner) {<a name="line.1427"></a>
-<span class="sourceLineNo">1428</span>      return setOwnerString(owner != null ? owner.getShortName() : null);<a name="line.1428"></a>
-<span class="sourceLineNo">1429</span>    }<a name="line.1429"></a>
-<span class="sourceLineNo">1430</span><a name="line.1430"></a>
-<span class="sourceLineNo">1431</span>    // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.1431"></a>
-<span class="sourceLineNo">1432</span>    @Deprecated<a name="line.1432"></a>
-<span class="sourceLineNo">1433</span>    public ModifyableTableDescriptor setOwnerString(String ownerString) {<a name="line.1433"></a>
-<span class="sourceLineNo">1434</span>      return setValue(OWNER_KEY, ownerString);<a name="line.1434"></a>
-<span class="sourceLineNo">1435</span>    }<a name="line.1435"></a>
-<span class="sourceLineNo">1436</span><a name="line.1436"></a>
-<span class="sourceLineNo">1437</span>    @Override<a name="line.1437"></a>
-<span class="sourceLineNo">1438</span>    @Deprecated<a name="line.1438"></a>
-<span class="sourceLineNo">1439</span>    public String getOwnerString() {<a name="line.1439"></a>
-<span class="sourceLineNo">1440</span>      // Note that every table should have an owner (i.e. should have OWNER_KEY set).<a name="line.1440"></a>
-<span class="sourceLineNo">1441</span>      // hbase:meta should return system user as owner, not null (see<a name="line.1441"></a>
-<span class="sourceLineNo">1442</span>      // MasterFileSystem.java:bootstrap()).<a name="line.1442"></a>
-<span class="sourceLineNo">1443</span>      return getOrDefault(OWNER_KEY, Function.identity(), null);<a name="line.1443"></a>
-<span class="sourceLineNo">1444</span>    }<a name="line.1444"></a>
-<span class="sourceLineNo">1445</span><a name="line.1445"></a>
-<span class="sourceLineNo">1446</span>    /**<a name="line.1446"></a>
-<span class="sourceLineNo">1447</span>     * @return the bytes in pb format<a name="line.1447"></a>
-<span class="sourceLineNo">1448</span>     */<a name="line.1448"></a>
-<span class="sourceLineNo">1449</span>    private byte[] toByteArray() {<a name="line.1449"></a>
-<span class="sourceLineNo">1450</span>      return ProtobufUtil.prependPBMagic(ProtobufUtil.toTableSchema(this).toByteArray());<a name="line.1450"></a>
-<span class="sourceLineNo">1451</span>    }<a name="line.1451"></a>
-<span class="sourceLineNo">1452</span><a name="line.1452"></a>
-<span class="sourceLineNo">1453</span>    /**<a name="line.1453"></a>
-<span class="sourceLineNo">1454</span>     * @param bytes A pb serialized {@link ModifyableTableDescriptor} instance<a name="line.1454"></a>
-<span class="sourceLineNo">1455</span>     * with pb magic prefix<a name="line.1455"></a>
-<span class="sourceLineNo">1456</span>     * @return An instance of {@link ModifyableTableDescriptor} made from<a name="line.1456"></a>
-<span class="sourceLineNo">1457</span>     * &lt;code&gt;bytes&lt;/code&gt;<a name="line.1457"></a>
-<span class="sourceLineNo">1458</span>     * @throws DeserializationException<a name="line.1458"></a>
-<span class="sourceLineNo">1459</span>     * @see #toByteArray()<a name="line.1459"></a>
-<span class="sourceLineNo">1460</span>     */<a name="line.1460"></a>
-<span class="sourceLineNo">1461</span>    private static TableDescriptor parseFrom(final byte[] bytes)<a name="line.1461"></a>
-<span class="sourceLineNo">1462</span>            throws DeserializationException {<a name="line.1462"></a>
-<span class="sourceLineNo">1463</span>      if (!ProtobufUtil.isPBMagicPrefix(bytes)) {<a name="line.1463"></a>
-<span class="sourceLineNo">1464</span>        throw new DeserializationException("Expected PB encoded ModifyableTableDescriptor");<a name="line.1464"></a>
-<span class="sourceLineNo">1465</span>      }<a name="line.1465"></a>
-<span class="sourceLineNo">1466</span>      int pblen = ProtobufUtil.lengthOfPBMagic();<a name="line.1466"></a>
-<span class="sourceLineNo">1467</span>      HBaseProtos.TableSchema.Builder builder = HBaseProtos.TableSchema.newBuilder();<a name="line.1467"></a>
-<span class="sourceLineNo">1468</span>      try {<a name="line.1468"></a>
-<span class="sourceLineNo">1469</span>        ProtobufUtil.mergeFrom(builder, bytes, pblen, bytes.length - pblen);<a name="line.1469"></a>
-<span class="sourceLineNo">1470</span>        return ProtobufUtil.toTableDescriptor(builder.build());<a name="line.1470"></a>
-<span class="sourceLineNo">1471</span>      } catch (IOException e) {<a name="line.1471"></a>
-<span class="sourceLineNo">1472</span>        throw new DeserializationException(e);<a name="line.1472"></a>
-<span class="sourceLineNo">1473</span>      }<a name="line.1473"></a>
-<span class="sourceLineNo">1474</span>    }<a name="line.1474"></a>
-<span class="sourceLineNo">1475</span><a name="line.1475"></a>
-<span class="sourceLineNo">1476</span>    @Override<a name="line.1476"></a>
-<span class="sourceLineNo">1477</span>    public int getColumnFamilyCount() {<a name="line.1477"></a>
-<span class="sourceLineNo">1478</span>      return families.size();<a name="line.1478"></a>
-<span class="sourceLineNo">1479</span>    }<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>  }<a name="line.1480"></a>
-<span class="sourceLineNo">1481</span><a name="line.1481"></a>
-<span class="sourceLineNo">1482</span>  private static Optional&lt;CoprocessorDescriptor&gt; toCoprocessorDescriptor(String spec) {<a name="line.1482"></a>
-<span class="sourceLineNo">1483</span>    Matcher matcher = CP_HTD_ATTR_VALUE_PATTERN.matcher(spec);<a name="line.1483"></a>
-<span class="sourceLineNo">1484</span>    if (matcher.matches()) {<a name="line.1484"></a>
-<span class="sourceLineNo">1485</span>      // jar file path can be empty if the cp class can be loaded<a name="line.1485"></a>
-<span class="sourceLineNo">1486</span>      // from class loader.<a name="line.1486"></a>
-<span class="sourceLineNo">1487</span>      String path = matcher.group(1).trim().isEmpty() ?<a name="line.1487"></a>
-<span class="sourceLineNo">1488</span>        null : matcher.group(1).trim();<a name="line.1488"></a>
-<span class="sourceLineNo">1489</span>      String className = matcher.group(2).trim();<a name="line.1489"></a>
-<span class="sourceLineNo">1490</span>      if (className.isEmpty()) {<a name="line.1490"></a>
-<span class="sourceLineNo">1491</span>        return Optional.empty();<a name="line.1491"></a>
-<span class="sourceLineNo">1492</span>      }<a name="line.1492"></a>
-<span class="sourceLineNo">1493</span>      String priorityStr = matcher.group(3).trim();<a name="line.1493"></a>
-<span class="sourceLineNo">1494</span>      int priority = priorityStr.isEmpty() ?<a name="line.1494"></a>
-<span class="sourceLineNo">1495</span>        Coprocessor.PRIORITY_USER : Integer.parseInt(priorityStr);<a name="line.1495"></a>
-<span class="sourceLineNo">1496</span>      String cfgSpec = null;<a name="line.1496"></a>
-<span class="sourceLineNo">1497</span>      try {<a name="line.1497"></a>
-<span class="sourceLineNo">1498</span>        cfgSpec = matcher.group(4);<a name="line.1498"></a>
-<span class="sourceLineNo">1499</span>      } catch (IndexOutOfBoundsException ex) {<a name="line.1499"></a>
-<span class="sourceLineNo">1500</span>        // ignore<a name="line.1500"></a>
-<span class="sourceLineNo">1501</span>      }<a name="line.1501"></a>
-<span class="sourceLineNo">1502</span>      Map&lt;String, String&gt; ourConf = new TreeMap&lt;&gt;();<a name="line.1502"></a>
-<span class="sourceLineNo">1503</span>      if (cfgSpec != null &amp;&amp; !cfgSpec.trim().equals("|")) {<a name="line.1503"></a>
-<span class="sourceLineNo">1504</span>        cfgSpec = cfgSpec.substring(cfgSpec.indexOf('|') + 1);<a name="line.1504"></a>
-<span class="sourceLineNo">1505</span>        Matcher m = CP_HTD_ATTR_VALUE_PARAM_PATTERN.matcher(cfgSpec);<a name="line.1505"></a>
-<span class="sourceLineNo">1506</span>        while (m.find()) {<a name="line.1506"></a>
-<span class="sourceLineNo">1507</span>          ourConf.put(m.group(1), m.group(2));<a name="line.1507"></a>
-<span class="sourceLineNo">1508</span>        }<a name="line.1508"></a>
-<span class="sourceLineNo">1509</span>      }<a name="line.1509"></a>
-<span class="sourceLineNo">1510</span>      return Optional.of(CoprocessorDescriptorBuilder.newBuilder(className)<a name="line.1510"></a>
-<span class="sourceLineNo">1511</span>        .setJarPath(path)<a name="line.1511"></a>
-<span class="sourceLineNo">1512</span>        .setPriority(priority)<a name="line.1512"></a>
-<span class="sourceLineNo">1513</span>        .setProperties(ourConf)<a name="line.1513"></a>
-<span class="sourceLineNo">1514</span>        .build());<a name="line.1514"></a>
-<span class="sourceLineNo">1515</span>    }<a name="line.1515"></a>
-<span class="sourceLineNo">1516</span>    return Optional.empty();<a name="line.1516"></a>
-<span class="sourceLineNo">1517</span>  }<a name="line.1517"></a>
-<span class="sourceLineNo">1518</span>}<a name="line.1518"></a>
+<span class="sourceLineNo">1006</span>    @Override<a name="line.1006"></a>
+<span class="sourceLineNo">1007</span>    public String toStringCustomizedValues() {<a name="line.1007"></a>
+<span class="sourceLineNo">1008</span>      StringBuilder s = new StringBuilder();<a name="line.1008"></a>
+<span class="sourceLineNo">1009</span>      s.append('\'').append(Bytes.toString(name.getName())).append('\'');<a name="line.1009"></a>
+<span class="sourceLineNo">1010</span>      s.append(getValues(false));<a name="line.1010"></a>
+<span class="sourceLineNo">1011</span>      families.values().forEach(hcd -&gt; s.append(", ").append(hcd.toStringCustomizedValues()));<a name="line.1011"></a>
+<span class="sourceLineNo">1012</span>      return s.toString();<a name="line.1012"></a>
+<span class="sourceLineNo">1013</span>    }<a name="line.1013"></a>
+<span class="sourceLineNo">1014</span><a name="line.1014"></a>
+<span class="sourceLineNo">1015</span>    /**<a name="line.1015"></a>
+<span class="sourceLineNo">1016</span>     * @return map of all table attributes formatted into string.<a name="line.1016"></a>
+<span class="sourceLineNo">1017</span>     */<a name="line.1017"></a>
+<span class="sourceLineNo">1018</span>    public String toStringTableAttributes() {<a name="line.1018"></a>
+<span class="sourceLineNo">1019</span>      return getValues(true).toString();<a name="line.1019"></a>
+<span class="sourceLineNo">1020</span>    }<a name="line.1020"></a>
+<span class="sourceLineNo">1021</span><a name="line.1021"></a>
+<span class="sourceLineNo">1022</span>    private StringBuilder getValues(boolean printDefaults) {<a name="line.1022"></a>
+<span class="sourceLineNo">1023</span>      StringBuilder s = new StringBuilder();<a name="line.1023"></a>
+<span class="sourceLineNo">1024</span><a name="line.1024"></a>
+<span class="sourceLineNo">1025</span>      // step 1: set partitioning and pruning<a name="line.1025"></a>
+<span class="sourceLineNo">1026</span>      Set&lt;Bytes&gt; reservedKeys = new TreeSet&lt;&gt;();<a name="line.1026"></a>
+<span class="sourceLineNo">1027</span>      Set&lt;Bytes&gt; userKeys = new TreeSet&lt;&gt;();<a name="line.1027"></a>
+<span class="sourceLineNo">1028</span>      for (Map.Entry&lt;Bytes, Bytes&gt; entry : values.entrySet()) {<a name="line.1028"></a>
+<span class="sourceLineNo">1029</span>        if (entry.getKey() == null || entry.getKey().get() == null) {<a name="line.1029"></a>
+<span class="sourceLineNo">1030</span>          continue;<a name="line.1030"></a>
+<span class="sourceLineNo">1031</span>        }<a name="line.1031"></a>
+<span class="sourceLineNo">1032</span>        String key = Bytes.toString(entry.getKey().get());<a name="line.1032"></a>
+<span class="sourceLineNo">1033</span>        // in this section, print out reserved keywords + coprocessor info<a name="line.1033"></a>
+<span class="sourceLineNo">1034</span>        if (!RESERVED_KEYWORDS.contains(entry.getKey()) &amp;&amp; !key.startsWith("coprocessor$")) {<a name="line.1034"></a>
+<span class="sourceLineNo">1035</span>          userKeys.add(entry.getKey());<a name="line.1035"></a>
+<span class="sourceLineNo">1036</span>          continue;<a name="line.1036"></a>
+<span class="sourceLineNo">1037</span>        }<a name="line.1037"></a>
+<span class="sourceLineNo">1038</span>        // only print out IS_META if true<a name="line.1038"></a>
+<span class="sourceLineNo">1039</span>        String value = Bytes.toString(entry.getValue().get());<a name="line.1039"></a>
+<span class="sourceLineNo">1040</span>        if (key.equalsIgnoreCase(IS_META)) {<a name="line.1040"></a>
+<span class="sourceLineNo">1041</span>          if (Boolean.valueOf(value) == false) {<a name="line.1041"></a>
+<span class="sourceLineNo">1042</span>            continue;<a name="line.1042"></a>
+<span class="sourceLineNo">1043</span>          }<a name="line.1043"></a>
+<span class="sourceLineNo">1044</span>        }<a name="line.1044"></a>
+<span class="sourceLineNo">1045</span>        // see if a reserved key is a default value. may not want to print it out<a name="line.1045"></a>
+<span class="sourceLineNo">1046</span>        if (printDefaults<a name="line.1046"></a>
+<span class="sourceLineNo">1047</span>                || !DEFAULT_VALUES.containsKey(key)<a name="line.1047"></a>
+<span class="sourceLineNo">1048</span>                || !DEFAULT_VALUES.get(key).equalsIgnoreCase(value)) {<a name="line.1048"></a>
+<span class="sourceLineNo">1049</span>          reservedKeys.add(entry.getKey());<a name="line.1049"></a>
+<span class="sourceLineNo">1050</span>        }<a name="line.1050"></a>
+<span class="sourceLineNo">1051</span>      }<a name="line.1051"></a>
+<span class="sourceLineNo">1052</span><a name="line.1052"></a>
+<span class="sourceLineNo">1053</span>      // early exit optimization<a name="line.1053"></a>
+<span class="sourceLineNo">1054</span>      boolean hasAttributes = !reservedKeys.isEmpty() || !userKeys.isEmpty();<a name="line.1054"></a>
+<span class="sourceLineNo">1055</span>      if (!hasAttributes) {<a name="line.1055"></a>
+<span class="sourceLineNo">1056</span>        return s;<a name="line.1056"></a>
+<span class="sourceLineNo">1057</span>      }<a name="line.1057"></a>
+<span class="sourceLineNo">1058</span><a name="line.1058"></a>
+<span class="sourceLineNo">1059</span>      s.append(", {");<a name="line.1059"></a>
+<span class="sourceLineNo">1060</span>      // step 2: printing attributes<a name="line.1060"></a>
+<span class="sourceLineNo">1061</span>      if (hasAttributes) {<a name="line.1061"></a>
+<span class="sourceLineNo">1062</span>        s.append("TABLE_ATTRIBUTES =&gt; {");<a name="line.1062"></a>
+<span class="sourceLineNo">1063</span><a name="line.1063"></a>
+<span class="sourceLineNo">1064</span>        // print all reserved keys first<a name="line.1064"></a>
+<span class="sourceLineNo">1065</span>        boolean printCommaForAttr = false;<a name="line.1065"></a>
+<span class="sourceLineNo">1066</span>        for (Bytes k : reservedKeys) {<a name="line.1066"></a>
+<span class="sourceLineNo">1067</span>          String key = Bytes.toString(k.get());<a name="line.1067"></a>
+<span class="sourceLineNo">1068</span>          String value = Bytes.toStringBinary(values.get(k).get());<a name="line.1068"></a>
+<span class="sourceLineNo">1069</span>          if (printCommaForAttr) {<a name="line.1069"></a>
+<span class="sourceLineNo">1070</span>            s.append(", ");<a name="line.1070"></a>
+<span class="sourceLineNo">1071</span>          }<a name="line.1071"></a>
+<span class="sourceLineNo">1072</span>          printCommaForAttr = true;<a name="line.1072"></a>
+<span class="sourceLineNo">1073</span>          s.append(key);<a name="line.1073"></a>
+<span class="sourceLineNo">1074</span>          s.append(" =&gt; ");<a name="line.1074"></a>
+<span class="sourceLineNo">1075</span>          s.append('\'').append(value).append('\'');<a name="line.1075"></a>
+<span class="sourceLineNo">1076</span>        }<a name="line.1076"></a>
+<span class="sourceLineNo">1077</span><a name="line.1077"></a>
+<span class="sourceLineNo">1078</span>        if (!userKeys.isEmpty()) {<a name="line.1078"></a>
+<span class="sourceLineNo">1079</span>          // print all non-reserved as a separate subset<a name="line.1079"></a>
+<span class="sourceLineNo">1080</span>          if (printCommaForAttr) {<a name="line.1080"></a>
+<span class="sourceLineNo">1081</span>            s.append(", ");<a name="line.1081"></a>
+<span class="sourceLineNo">1082</span>          }<a name="line.1082"></a>
+<span class="sourceLineNo">1083</span>          s.append(HConstants.METADATA).append(" =&gt; ");<a name="line.1083"></a>
+<span class="sourceLineNo">1084</span>          s.append("{");<a name="line.1084"></a>
+<span class="sourceLineNo">1085</span>          boolean printCommaForCfg = false;<a name="line.1085"></a>
+<span class="sourceLineNo">1086</span>          for (Bytes k : userKeys) {<a name="line.1086"></a>
+<span class="sourceLineNo">1087</span>            String key = Bytes.toString(k.get());<a name="line.1087"></a>
+<span class="sourceLineNo">1088</span>            String value = Bytes.toStringBinary(values.get(k).get());<a name="line.1088"></a>
+<span class="sourceLineNo">1089</span>            if (printCommaForCfg) {<a name="line.1089"></a>
+<span class="sourceLineNo">1090</span>              s.append(", ");<a name="line.1090"></a>
+<span class="sourceLineNo">1091</span>            }<a name="line.1091"></a>
+<span class="sourceLineNo">1092</span>            printCommaForCfg = true;<a name="line.1092"></a>
+<span class="sourceLineNo">1093</span>            s.append('\'').append(key).append('\'');<a name="line.1093"></a>
+<span class="sourceLineNo">1094</span>            s.append(" =&gt; ");<a name="line.1094"></a>
+<span class="sourceLineNo">1095</span>            s.append('\'').append(value).append('\'');<a name="line.1095"></a>
+<span class="sourceLineNo">1096</span>          }<a name="line.1096"></a>
+<span class="sourceLineNo">1097</span>          s.append("}");<a name="line.1097"></a>
+<span class="sourceLineNo">1098</span>        }<a name="line.1098"></a>
+<span class="sourceLineNo">1099</span>      }<a name="line.1099"></a>
+<span class="sourceLineNo">1100</span><a name="line.1100"></a>
+<span class="sourceLineNo">1101</span>      s.append("}"); // end METHOD<a name="line.1101"></a>
+<span class="sourceLineNo">1102</span>      return s;<a name="line.1102"></a>
+<span class="sourceLineNo">1103</span>    }<a name="line.1103"></a>
+<span class="sourceLineNo">1104</span><a name="line.1104"></a>
+<span class="sourceLineNo">1105</span>    /**<a name="line.1105"></a>
+<span class="sourceLineNo">1106</span>     * Compare the contents of the descriptor with another one passed as a<a name="line.1106"></a>
+<span class="sourceLineNo">1107</span>     * parameter. Checks if the obj passed is an instance of ModifyableTableDescriptor,<a name="line.1107"></a>
+<span class="sourceLineNo">1108</span>     * if yes then the contents of the descriptors are compared.<a name="line.1108"></a>
+<span class="sourceLineNo">1109</span>     *<a name="line.1109"></a>
+<span class="sourceLineNo">1110</span>     * @param obj The object to compare<a name="line.1110"></a>
+<span class="sourceLineNo">1111</span>     * @return true if the contents of the the two descriptors exactly match<a name="line.1111"></a>
+<span class="sourceLineNo">1112</span>     *<a name="line.1112"></a>
+<span class="sourceLineNo">1113</span>     * @see java.lang.Object#equals(java.lang.Object)<a name="line.1113"></a>
+<span class="sourceLineNo">1114</span>     */<a name="line.1114"></a>
+<span class="sourceLineNo">1115</span>    @Override<a name="line.1115"></a>
+<span class="sourceLineNo">1116</span>    public boolean equals(Object obj) {<a name="line.1116"></a>
+<span class="sourceLineNo">1117</span>      if (this == obj) {<a name="line.1117"></a>
+<span class="sourceLineNo">1118</span>        return true;<a name="line.1118"></a>
+<span class="sourceLineNo">1119</span>      }<a name="line.1119"></a>
+<span class="sourceLineNo">1120</span>      if (obj instanceof ModifyableTableDescriptor) {<a name="line.1120"></a>
+<span class="sourceLineNo">1121</span>        return TableDescriptor.COMPARATOR.compare(this, (ModifyableTableDescriptor) obj) == 0;<a name="line.1121"></a>
+<span class="sourceLineNo">1122</span>      }<a name="line.1122"></a>
+<span class="sourceLineNo">1123</span>      return false;<a name="line.1123"></a>
+<span class="sourceLineNo">1124</span>    }<a name="line.1124"></a>
+<span class="sourceLineNo">1125</span><a name="line.1125"></a>
+<span class="sourceLineNo">1126</span>    /**<a name="line.1126"></a>
+<span class="sourceLineNo">1127</span>     * @return hash code<a name="line.1127"></a>
+<span class="sourceLineNo">1128</span>     */<a name="line.1128"></a>
+<span class="sourceLineNo">1129</span>    @Override<a name="line.1129"></a>
+<span class="sourceLineNo">1130</span>    public int hashCode() {<a name="line.1130"></a>
+<span class="sourceLineNo">1131</span>      int result = this.name.hashCode();<a name="line.1131"></a>
+<span class="sourceLineNo">1132</span>      if (this.families.size() &gt; 0) {<a name="line.1132"></a>
+<span class="sourceLineNo">1133</span>        for (ColumnFamilyDescriptor e : this.families.values()) {<a name="line.1133"></a>
+<span class="sourceLineNo">1134</span>          result ^= e.hashCode();<a name="line.1134"></a>
+<span class="sourceLineNo">1135</span>        }<a name="line.1135"></a>
+<span class="sourceLineNo">1136</span>      }<a name="line.1136"></a>
+<span class="sourceLineNo">1137</span>      result ^= values.hashCode();<a name="line.1137"></a>
+<span class="sourceLineNo">1138</span>      return result;<a name="line.1138"></a>
+<span class="sourceLineNo">1139</span>    }<a name="line.1139"></a>
+<span class="sourceLineNo">1140</span><a name="line.1140"></a>
+<span class="sourceLineNo">1141</span>    // Comparable<a name="line.1141"></a>
+<span class="sourceLineNo">1142</span>    /**<a name="line.1142"></a>
+<span class="sourceLineNo">1143</span>     * Compares the descriptor with another descriptor which is passed as a<a name="line.1143"></a>
+<span class="sourceLineNo">1144</span>     * parameter. This compares the content of the two descriptors and not the<a name="line.1144"></a>
+<span class="sourceLineNo">1145</span>     * reference.<a name="line.1145"></a>
+<span class="sourceLineNo">1146</span>     *<a name="line.1146"></a>
+<span class="sourceLineNo">1147</span>     * @param other The MTD to compare<a name="line.1147"></a>
+<span class="sourceLineNo">1148</span>     * @return 0 if the contents of the descriptors are exactly matching, 1 if<a name="line.1148"></a>
+<span class="sourceLineNo">1149</span>     * there is a mismatch in the contents<a name="line.1149"></a>
+<span class="sourceLineNo">1150</span>     */<a name="line.1150"></a>
+<span class="sourceLineNo">1151</span>    @Override<a name="line.1151"></a>
+<span class="sourceLineNo">1152</span>    public int compareTo(final ModifyableTableDescriptor other) {<a name="line.1152"></a>
+<span class="sourceLineNo">1153</span>      return TableDescriptor.COMPARATOR.compare(this, other);<a name="line.1153"></a>
+<span class="sourceLineNo">1154</span>    }<a name="line.1154"></a>
+<span class="sourceLineNo">1155</span><a name="line.1155"></a>
+<span class="sourceLineNo">1156</span>    @Override<a name="line.1156"></a>
+<span class="sourceLineNo">1157</span>    public ColumnFamilyDescriptor[] getColumnFamilies() {<a name="line.1157"></a>
+<span class="sourceLineNo">1158</span>      return families.values().toArray(new ColumnFamilyDescriptor[families.size()]);<a name="line.1158"></a>
+<span class="sourceLineNo">1159</span>    }<a name="line.1159"></a>
+<span class="sourceLineNo">1160</span><a name="line.1160"></a>
+<span class="sourceLineNo">1161</span>    /**<a name="line.1161"></a>
+<span class="sourceLineNo">1162</span>     * Returns the configured replicas per region<a name="line.1162"></a>
+<span class="sourceLineNo">1163</span>     */<a name="line.1163"></a>
+<span class="sourceLineNo">1164</span>    @Override<a name="line.1164"></a>
+<span class="sourceLineNo">1165</span>    public int getRegionReplication() {<a name="line.1165"></a>
+<span class="sourceLineNo">1166</span>      return getOrDefault(REGION_REPLICATION_KEY, Integer::valueOf, DEFAULT_REGION_REPLICATION);<a name="line.1166"></a>
+<span class="sourceLineNo">1167</span>    }<a name="line.1167"></a>
+<span class="sourceLineNo">1168</span><a name="line.1168"></a>
+<span class="sourceLineNo">1169</span>    /**<a name="line.1169"></a>
+<span class="sourceLineNo">1170</span>     * Sets the number of replicas per region.<a name="line.1170"></a>
+<span class="sourceLineNo">1171</span>     *<a name="line.1171"></a>
+<span class="sourceLineNo">1172</span>     * @param regionReplication the replication factor per region<a name="line.1172"></a>
+<span class="sourceLineNo">1173</span>     * @return the modifyable TD<a name="line.1173"></a>
+<span class="sourceLineNo">1174</span>     */<a name="line.1174"></a>
+<span class="sourceLineNo">1175</span>    public ModifyableTableDescriptor setRegionReplication(int regionReplication) {<a name="line.1175"></a>
+<span class="sourceLineNo">1176</span>      return setValue(REGION_REPLICATION_KEY, Integer.toString(regionReplication));<a name="line.1176"></a>
+<span class="sourceLineNo">1177</span>    }<a name="line.1177"></a>
+<span class="sourceLineNo">1178</span><a name="line.1178"></a>
+<span class="sourceLineNo">1179</span>    /**<a name="line.1179"></a>
+<span class="sourceLineNo">1180</span>     * @return true if the read-replicas memstore replication is enabled.<a name="line.1180"></a>
+<span class="sourceLineNo">1181</span>     */<a name="line.1181"></a>
+<span class="sourceLineNo">1182</span>    @Override<a name="line.1182"></a>
+<span class="sourceLineNo">1183</span>    public boolean hasRegionMemStoreReplication() {<a name="line.1183"></a>
+<span class="sourceLineNo">1184</span>      return getOrDefault(REGION_MEMSTORE_REPLICATION_KEY, Boolean::valueOf, DEFAULT_REGION_MEMSTORE_REPLICATION);<a name="line.1184"></a>
+<span class="sourceLineNo">1185</span>    }<a name="line.1185"></a>
+<span class="sourceLineNo">1186</span><a name="line.1186"></a>
+<span class="sourceLineNo">1187</span>    /**<a name="line.1187"></a>
+<span class="sourceLineNo">1188</span>     * Enable or Disable the memstore replication from the primary region to the<a name="line.1188"></a>
+<span class="sourceLineNo">1189</span>     * replicas. The replication will be used only for meta operations (e.g.<a name="line.1189"></a>
+<span class="sourceLineNo">1190</span>     * flush, compaction, ...)<a name="line.1190"></a>
+<span class="sourceLineNo">1191</span>     *<a name="line.1191"></a>
+<span class="sourceLineNo">1192</span>     * @param memstoreReplication true if the new data written to the primary<a name="line.1192"></a>
+<span class="sourceLineNo">1193</span>     * region should be replicated. false if the secondaries can tollerate to<a name="line.1193"></a>
+<span class="sourceLineNo">1194</span>     * have new data only when the primary flushes the memstore.<a name="line.1194"></a>
+<span class="sourceLineNo">1195</span>     * @return the modifyable TD<a name="line.1195"></a>
+<span class="sourceLineNo">1196</span>     */<a name="line.1196"></a>
+<span class="sourceLineNo">1197</span>    public ModifyableTableDescriptor setRegionMemStoreReplication(boolean memstoreReplication) {<a name="line.1197"></a>
+<span class="sourceLineNo">1198</span>      setValue(REGION_MEMSTORE_REPLICATION_KEY, Boolean.toString(memstoreReplication));<a name="line.1198"></a>
+<span class="sourceLineNo">1199</span>      // If the memstore replication is setup, we do not have to wait for observing a flush event<a name="line.1199"></a>
+<span class="sourceLineNo">1200</span>      // from primary before starting to serve reads, because gaps from replication is not applicable<a name="line.1200"></a>
+<span class="sourceLineNo">1201</span>      return setValue(REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY,<a name="line.1201"></a>
+<span class="sourceLineNo">1202</span>              Boolean.toString(memstoreReplication));<a name="line.1202"></a>
+<span class="sourceLineNo">1203</span>    }<a name="line.1203"></a>
+<span class="sourceLineNo">1204</span><a name="line.1204"></a>
+<span class="sourceLineNo">1205</span>    public ModifyableTableDescriptor setPriority(int priority) {<a name="line.1205"></a>
+<span class="sourceLineNo">1206</span>      return setValue(PRIORITY_KEY, Integer.toString(priority));<a name="line.1206"></a>
+<span class="sourceLineNo">1207</span>    }<a name="line.1207"></a>
+<span class="sourceLineNo">1208</span><a name="line.1208"></a>
+<span class="sourceLineNo">1209</span>    @Override<a name="line.1209"></a>
+<span class="sourceLineNo">1210</span>    public int getPriority() {<a name="line.1210"></a>
+<span class="sourceLineNo">1211</span>      return getOrDefault(PRIORITY_KEY, Integer::valueOf, DEFAULT_PRIORITY);<a name="line.1211"></a>
+<span class="sourceLineNo">1212</span>    }<a name="line.1212"></a>
+<span class="sourceLineNo">1213</span><a name="line.1213"></a>
+<span class="sourceLineNo">1214</span>    /**<a name="line.1214"></a>
+<span class="sourceLineNo">1215</span>     * Returns all the column family names of the current table. The map of<a name="line.1215"></a>
+<span class="sourceLineNo">1216</span>     * TableDescriptor contains mapping of family name to ColumnFamilyDescriptor.<a name="line.1216"></a>
+<span class="sourceLineNo">1217</span>     * This returns all the keys of the family map which represents the column<a name="line.1217"></a>
+<span class="sourceLineNo">1218</span>     * family names of the table.<a name="line.1218"></a>
+<span class="sourceLineNo">1219</span>     *<a name="line.1219"></a>
+<span class="sourceLineNo">1220</span>     * @return Immutable sorted set of the keys of the families.<a name="line.1220"></a>
+<span class="sourceLineNo">1221</span>     */<a name="line.1221"></a>
+<span class="sourceLineNo">1222</span>    @Override<a name="line.1222"></a>
+<span class="sourceLineNo">1223</span>    public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.1223"></a>
+<span class="sourceLineNo">1224</span>      return Collections.unmodifiableSet(this.families.keySet());<a name="line.1224"></a>
+<span class="sourceLineNo">1225</span>    }<a name="line.1225"></a>
+<span class="sourceLineNo">1226</span><a name="line.1226"></a>
+<span class="sourceLineNo">1227</span>    /**<a name="line.1227"></a>
+<span class="sourceLineNo">1228</span>     * Returns the ColumnFamilyDescriptor for a specific column family with name as<a name="line.1228"></a>
+<span class="sourceLineNo">1229</span>     * specified by the parameter column.<a name="line.1229"></a>
+<span class="sourceLineNo">1230</span>     *<a name="line.1230"></a>
+<span class="sourceLineNo">1231</span>     * @param column Column family name<a name="line.1231"></a>
+<span class="sourceLineNo">1232</span>     * @return Column descriptor for the passed family name or the family on<a name="line.1232"></a>
+<span class="sourceLineNo">1233</span>     * passed in column.<a name="line.1233"></a>
+<span class="sourceLineNo">1234</span>     */<a name="line.1234"></a>
+<span class="sourceLineNo">1235</span>    @Override<a name="line.1235"></a>
+<span class="sourceLineNo">1236</span>    public ColumnFamilyDescriptor getColumnFamily(final byte[] column) {<a name="line.1236"></a>
+<span class="sourceLineNo">1237</span>      return this.families.get(column);<a name="line.1237"></a>
+<span class="sourceLineNo">1238</span>    }<a name="line.1238"></a>
+<span class="sourceLineNo">1239</span><a name="line.1239"></a>
+<span class="sourceLineNo">1240</span>    /**<a name="line.1240"></a>
+<span class="sourceLineNo">1241</span>     * Removes the ColumnFamilyDescriptor with name specified by the parameter column<a name="line.1241"></a>
+<span class="sourceLineNo">1242</span>     * from the table descriptor<a name="line.1242"></a>
+<span class="sourceLineNo">1243</span>     *<a name="line.1243"></a>
+<span class="sourceLineNo">1244</span>     * @param column Name of the column family to be removed.<a name="line.1244"></a>
+<span class="sourceLineNo">1245</span>     * @return Column descriptor for the passed family name or the family on<a name="line.1245"></a>
+<span class="sourceLineNo">1246</span>     * passed in column.<a name="line.1246"></a>
+<span class="sourceLineNo">1247</span>     */<a name="line.1247"></a>
+<span class="sourceLineNo">1248</span>    public ColumnFamilyDescriptor removeColumnFamily(final byte[] column) {<a name="line.1248"></a>
+<span class="sourceLineNo">1249</span>      return this.families.remove(column);<a name="line.1249"></a>
+<span class="sourceLineNo">1250</span>    }<a name="line.1250"></a>
+<span class="sourceLineNo">1251</span><a name="line.1251"></a>
+<span class="sourceLineNo">1252</span>    /**<a name="line.1252"></a>
+<span class="sourceLineNo">1253</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1253"></a>
+<span class="sourceLineNo">1254</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1254"></a>
+<span class="sourceLineNo">1255</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1255"></a>
+<span class="sourceLineNo">1256</span>     * loadable or not will be determined when a region is opened.<a name="line.1256"></a>
+<span class="sourceLineNo">1257</span>     *<a name="line.1257"></a>
+<span class="sourceLineNo">1258</span>     * @param className Full class name.<a name="line.1258"></a>
+<span class="sourceLineNo">1259</span>     * @throws IOException<a name="line.1259"></a>
+<span class="sourceLineNo">1260</span>     * @return the modifyable TD<a name="line.1260"></a>
+<span class="sourceLineNo">1261</span>     */<a name="line.1261"></a>
+<span class="sourceLineNo">1262</span>    public ModifyableTableDescriptor setCoprocessor(String className) throws IOException {<a name="line.1262"></a>
+<span class="sourceLineNo">1263</span>      return setCoprocessor(<a name="line.1263"></a>
+<span class="sourceLineNo">1264</span>        CoprocessorDescriptorBuilder.newBuilder(className).setPriority(Coprocessor.PRIORITY_USER)<a name="line.1264"></a>
+<span class="sourceLineNo">1265</span>          .build());<a name="line.1265"></a>
+<span class="sourceLineNo">1266</span>    }<a name="line.1266"></a>
+<span class="sourceLineNo">1267</span><a name="line.1267"></a>
+<span class="sourceLineNo">1268</span>    /**<a name="line.1268"></a>
+<span class="sourceLineNo">1269</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1269"></a>
+<span class="sourceLineNo">1270</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1270"></a>
+<span class="sourceLineNo">1271</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1271"></a>
+<span class="sourceLineNo">1272</span>     * loadable or not will be determined when a region is opened.<a name="line.1272"></a>
+<span class="sourceLineNo">1273</span>     *<a name="line.1273"></a>
+<span class="sourceLineNo">1274</span>     * @throws IOException any illegal parameter key/value<a name="line.1274"></a>
+<span class="sourceLineNo">1275</span>     * @return the modifyable TD<a name="line.1275"></a>
+<span class="sourceLineNo">1276</span>     */<a name="line.1276"></a>
+<span class="sourceLineNo">1277</span>    public ModifyableTableDescriptor setCoprocessor(CoprocessorDescriptor cp)<a name="line.1277"></a>
+<span class="sourceLineNo">1278</span>            throws IOException {<a name="line.1278"></a>
+<span class="sourceLineNo">1279</span>      checkHasCoprocessor(cp.getClassName());<a name="line.1279"></a>
+<span class="sourceLineNo">1280</span>      if (cp.getPriority() &lt; 0) {<a name="line.1280"></a>
+<span class="sourceLineNo">1281</span>        throw new IOException("Priority must be bigger than or equal with zero, current:"<a name="line.1281"></a>
+<span class="sourceLineNo">1282</span>          + cp.getPriority());<a name="line.1282"></a>
+<span class="sourceLineNo">1283</span>      }<a name="line.1283"></a>
+<span class="sourceLineNo">1284</span>      // Validate parameter kvs and then add key/values to kvString.<a name="line.1284"></a>
+<span class="sourceLineNo">1285</span>      StringBuilder kvString = new StringBuilder();<a name="line.1285"></a>
+<span class="sourceLineNo">1286</span>      for (Map.Entry&lt;String, String&gt; e : cp.getProperties().entrySet()) {<a name="line.1286"></a>
+<span class="sourceLineNo">1287</span>        if (!e.getKey().matches(CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN)) {<a name="line.1287"></a>
+<span class="sourceLineNo">1288</span>          throw new IOException("Illegal parameter key = " + e.getKey());<a name="line.1288"></a>
+<span class="sourceLineNo">1289</span>        }<a name="line.1289"></a>
+<span class="sourceLineNo">1290</span>        if (!e.getValue().matches(CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN)) {<a name="line.1290"></a>
+<span class="sourceLineNo">1291</span>          throw new IOException("Illegal parameter (" + e.getKey()<a name="line.1291"></a>
+<span class="sourceLineNo">1292</span>                  + ") value = " + e.getValue());<a name="line.1292"></a>
+<span class="sourceLineNo">1293</span>        }<a name="line.1293"></a>
+<span class="sourceLineNo">1294</span>        if (kvString.length() != 0) {<a name="line.1294"></a>
+<span class="sourceLineNo">1295</span>          kvString.append(',');<a name="line.1295"></a>
+<span class="sourceLineNo">1296</span>        }<a name="line.1296"></a>
+<span class="sourceLineNo">1297</span>        kvString.append(e.getKey());<a name="line.1297"></a>
+<span class="sourceLineNo">1298</span>        kvString.append('=');<a name="line.1298"></a>
+<span class="sourceLineNo">1299</span>        kvString.append(e.getValue());<a name="line.1299"></a>
+<span class="sourceLineNo">1300</span>      }<a name="line.1300"></a>
+<span class="sourceLineNo">1301</span><a name="line.1301"></a>
+<span class="sourceLineNo">1302</span>      String value = cp.getJarPath().orElse("")<a name="line.1302"></a>
+<span class="sourceLineNo">1303</span>              + "|" + cp.getClassName() + "|" + Integer.toString(cp.getPriority()) + "|"<a name="line.1303"></a>
+<span class="sourceLineNo">1304</span>              + kvString.toString();<a name="line.1304"></a>
+<span class="sourceLineNo">1305</span>      return setCoprocessorToMap(value);<a name="line.1305"></a>
+<span class="sourceLineNo">1306</span>    }<a name="line.1306"></a>
+<span class="sourceLineNo">1307</span><a name="line.1307"></a>
+<span class="sourceLineNo">1308</span>    /**<a name="line.1308"></a>
+<span class="sourceLineNo">1309</span>     * Add a table coprocessor to this table. The coprocessor type must be<a name="line.1309"></a>
+<span class="sourceLineNo">1310</span>     * org.apache.hadoop.hbase.coprocessor.RegionObserver or Endpoint. It won't<a name="line.1310"></a>
+<span class="sourceLineNo">1311</span>     * check if the class can be loaded or not. Whether a coprocessor is<a name="line.1311"></a>
+<span class="sourceLineNo">1312</span>     * loadable or not will be determined when a region is opened.<a name="line.1312"></a>
+<span class="sourceLineNo">1313</span>     *<a name="line.1313"></a>
+<span class="sourceLineNo">1314</span>     * @param specStr The Coprocessor specification all in in one String<a name="line.1314"></a>
+<span class="sourceLineNo">1315</span>     * @throws IOException<a name="line.1315"></a>
+<span class="sourceLineNo">1316</span>     * @return the modifyable TD<a name="line.1316"></a>
+<span class="sourceLineNo">1317</span>     * @deprecated used by HTableDescriptor and admin.rb.<a name="line.1317"></a>
+<span class="sourceLineNo">1318</span>     *                       As of release 2.0.0, this will be removed in HBase 3.0.0.<a name="line.1318"></a>
+<span class="sourceLineNo">1319</span>     */<a name="line.1319"></a>
+<span class="sourceLineNo">1320</span>    @Deprecated<a name="line.1320"></a>
+<span class="sourceLineNo">1321</span>    public ModifyableTableDescriptor setCoprocessorWithSpec(final String specStr)<a name="line.1321"></a>
+<span class="sourceLineNo">1322</span>      throws IOException {<a name="line.1322"></a>
+<span class="sourceLineNo">1323</span>      CoprocessorDescriptor cpDesc = toCoprocessorDescriptor(specStr).orElseThrow(<a name="line.1323"></a>
+<span class="sourceLineNo">1324</span>        () -&gt; new IllegalArgumentException(<a name="line.1324"></a>
+<span class="sourceLineNo">1325</span>          "Format does not match " + CP_HTD_ATTR_VALUE_PATTERN + ": " + specStr));<a name="line.1325"></a>
+<span class="sourceLineNo">1326</span>      checkHasCoprocessor(cpDesc.getClassName());<a name="line.1326"></a>
+<span class="sourceLineNo">1327</span>      return setCoprocessorToMap(specStr);<a name="line.1327"></a>
+<span class="sourceLineNo">1328</span>    }<a name="line.1328"></a>
+<span class="sourceLineNo">1329</span><a name="line.1329"></a>
+<span class="sourceLineNo">1330</span>    private void checkHasCoprocessor(final String className) throws IOException {<a name="line.1330"></a>
+<span class="sourceLineNo">1331</span>      if (hasCoprocessor(className)) {<a name="line.1331"></a>
+<span class="sourceLineNo">1332</span>        throw new IOException("Coprocessor " + className + " already exists.");<a name="line.1332"></a>
+<span class="sourceLineNo">1333</span>      }<a name="line.1333"></a>
+<span class="sourceLineNo">1334</span>    }<a name="line.1334"></a>
+<span class="sourceLineNo">1335</span><a name="line.1335"></a>
+<span class="sourceLineNo">1336</span>    /**<a name="line.1336"></a>
+<span class="sourceLineNo">1337</span>     * Add coprocessor to values Map<a name="line.1337"></a>
+<span class="sourceLineNo">1338</span>     * @param specStr The Coprocessor specification all in in one String<a name="line.1338"></a>
+<span class="sourceLineNo">1339</span>     * @return Returns &lt;code&gt;this&lt;/code&gt;<a name="line.1339"></a>
+<span class="sourceLineNo">1340</span>     */<a name="line.1340"></a>
+<span class="sourceLineNo">1341</span>    private ModifyableTableDescriptor setCoprocessorToMap(final String specStr) {<a name="line.1341"></a>
+<span class="sourceLineNo">1342</span>      if (specStr == null) {<a name="line.1342"></a>
+<span class="sourceLineNo">1343</span>        return this;<a name="line.1343"></a>
+<span class="sourceLineNo">1344</span>      }<a name="line.1344"></a>
+<span class="sourceLineNo">1345</span>      // generate a coprocessor key<a name="line.1345"></a>
+<span class="sourceLineNo">1346</span>      int maxCoprocessorNumber = 0;<a name="line.1346"></a>
+<span class="sourceLineNo">1347</span>      Matcher keyMatcher;<a name="line.1347"></a>
+<span class="sourceLineNo">1348</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e : this.values.entrySet()) {<a name="line.1348"></a>
+<span class="sourceLineNo">1349</span>        keyMatcher = CP_HTD_ATTR_KEY_PATTERN.matcher(Bytes.toString(e.getKey().get()));<a name="line.1349"></a>
+<span class="sourceLineNo">1350</span>        if (!keyMatcher.matches()) {<a name="line.1350"></a>
+<span class="sourceLineNo">1351</span>          continue;<a name="line.1351"></a>
+<span class="sourceLineNo">1352</span>        }<a name="line.1352"></a>
+<span class="sourceLineNo">1353</span>        maxCoprocessorNumber = Math.max(Integer.parseInt(keyMatcher.group(1)), maxCoprocessorNumber);<a name="line.1353"></a>
+<span class="sourceLineNo">1354</span>      }<a name="line.1354"></a>
+<span class="sourceLineNo">1355</span>      maxCoprocessorNumber++;<a name="line.1355"></a>
+<span class="sourceLineNo">1356</span>      String key = "coprocessor$" + Integer.toString(maxCoprocessorNumber);<a name="line.1356"></a>
+<span class="sourceLineNo">1357</span>      return setValue(new Bytes(Bytes.toBytes(key)), new Bytes(Bytes.toBytes(specStr)));<a name="line.1357"></a>
+<span class="sourceLineNo">1358</span>    }<a name="line.1358"></a>
+<span class="sourceLineNo">1359</span><a name="line.1359"></a>
+<span class="sourceLineNo">1360</span>    /**<a name="line.1360"></a>
+<span class="sourceLineNo">1361</span>     * Check if the table has an attached co-processor represented by the name<a name="line.1361"></a>
+<span class="sourceLineNo">1362</span>     * className<a name="line.1362"></a>
+<span class="sourceLineNo">1363</span>     *<a name="line.1363"></a>
+<span class="sourceLineNo">1364</span>     * @param classNameToMatch - Class name of the co-processor<a name="line.1364"></a>
+<span class="sourceLineNo">1365</span>     * @return true of the table has a co-processor className<a name="line.1365"></a>
+<span class="sourceLineNo">1366</span>     */<a name="line.1366"></a>
+<span class="sourceLineNo">1367</span>    @Override<a name="line.1367"></a>
+<span class="sourceLineNo">1368</span>    public boolean hasCoprocessor(String classNameToMatch) {<a name="line.1368"></a>
+<span class="sourceLineNo">1369</span>      return getCoprocessorDescriptors().stream().anyMatch(cp -&gt; cp.getClassName()<a name="line.1369"></a>
+<span class="sourceLineNo">1370</span>        .equals(classNameToMatch));<a name="line.1370"></a>
+<span class="sourceLineNo">1371</span>    }<a name="line.1371"></a>
+<span class="sourceLineNo">1372</span><a name="line.1372"></a>
+<span class="sourceLineNo">1373</span>    /**<a name="line.1373"></a>
+<span class="sourceLineNo">1374</span>     * Return the list of attached co-processor represented by their name<a name="line.1374"></a>
+<span class="sourceLineNo">1375</span>     * className<a name="line.1375"></a>
+<span class="sourceLineNo">1376</span>     *<a name="line.1376"></a>
+<span class="sourceLineNo">1377</span>     * @return The list of co-processors classNames<a name="line.1377"></a>
+<span class="sourceLineNo">1378</span>     */<a name="line.1378"></a>
+<span class="sourceLineNo">1379</span>    @Override<a name="line.1379"></a>
+<span class="sourceLineNo">1380</span>    public List&lt;CoprocessorDescriptor&gt; getCoprocessorDescriptors() {<a name="line.1380"></a>
+<span class="sourceLineNo">1381</span>      List&lt;CoprocessorDescriptor&gt; result = new ArrayList&lt;&gt;();<a name="line.1381"></a>
+<span class="sourceLineNo">1382</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e: getValues().entrySet()) {<a name="line.1382"></a>
+<span class="sourceLineNo">1383</span>        String key = Bytes.toString(e.getKey().get()).trim();<a name="line.1383"></a>
+<span class="sourceLineNo">1384</span>        if (CP_HTD_ATTR_KEY_PATTERN.matcher(key).matches()) {<a name="line.1384"></a>
+<span class="sourceLineNo">1385</span>          toCoprocessorDescriptor(Bytes.toString(e.getValue().get()).trim())<a name="line.1385"></a>
+<span class="sourceLineNo">1386</span>            .ifPresent(result::add);<a name="line.1386"></a>
+<span class="sourceLineNo">1387</span>        }<a name="line.1387"></a>
+<span class="sourceLineNo">1388</span>      }<a name="line.1388"></a>
+<span class="sourceLineNo">1389</span>      return result;<a name="line.1389"></a>
+<span class="sourceLineNo">1390</span>    }<a name="line.1390"></a>
+<span class="sourceLineNo">1391</span><a name="line.1391"></a>
+<span class="sourceLineNo">1392</span>    /**<a name="line.1392"></a>
+<span class="sourceLineNo">1393</span>     * Remove a coprocessor from those set on the table<a name="line.1393"></a>
+<span class="sourceLineNo">1394</span>     *<a name="line.1394"></a>
+<span class="sourceLineNo">1395</span>     * @param className Class name of the co-processor<a name="line.1395"></a>
+<span class="sourceLineNo">1396</span>     */<a name="line.1396"></a>
+<span class="sourceLineNo">1397</span>    public void removeCoprocessor(String className) {<a name="line.1397"></a>
+<span class="sourceLineNo">1398</span>      Bytes match = null;<a name="line.1398"></a>
+<span class="sourceLineNo">1399</span>      Matcher keyMatcher;<a name="line.1399"></a>
+<span class="sourceLineNo">1400</span>      Matcher valueMatcher;<a name="line.1400"></a>
+<span class="sourceLineNo">1401</span>      for (Map.Entry&lt;Bytes, Bytes&gt; e : this.values<a name="line.1401"></a>
+<span class="sourceLineNo">1402</span>              .entrySet()) {<a name="line.1402"></a>
+<span class="sourceLineNo">1403</span>        keyMatcher = CP_HTD_ATTR_KEY_PATTERN.matcher(Bytes.toString(e<a name="line.1403"></a>
+<span class="sourceLineNo">1404</span>                .getKey().get()));<a name="line.1404"></a>
+<span class="sourceLineNo">1405</span>        if (!keyMatcher.matches()) {<a name="line.1405"></a>
+<span class="sourceLineNo">1406</span>          continue;<a name="line.1406"></a>
+<span class="sourceLineNo">1407</span>        }<a name="line.1407"></a>
+<span class="sourceLineNo">1408</span>        valueMatcher = CP_HTD_ATTR_VALUE_PATTERN.matcher(Bytes<a name="line.1408"></a>
+<span class="sourceLineNo">1409</span>                .toString(e.getValue().get()));<a name="line.1409"></a>
+<span class="sourceLineNo">1410</span>        if (!valueMatcher.matches()) {<a name="line.1410"></a>
+<span class="sourceLineNo">1411</span>          continue;<a name="line.1411"></a>
+<span class="sourceLineNo">1412</span>        }<a name="line.1412"></a>
+<span class="sourceLineNo">1413</span>        // get className and compare<a name="line.1413"></a>
+<span class="sourceLineNo">1414</span>        String clazz = valueMatcher.group(2).trim(); // classname is the 2nd field<a name="line.1414"></a>
+<span class="sourceLineNo">1415</span>        // remove the CP if it is present<a name="line.1415"></a>
+<span class="sourceLineNo">1416</span>        if (clazz.equals(className.trim())) {<a name="line.1416"></a>
+<span class="sourceLineNo">1417</span>          match = e.getKey();<a name="line.1417"></a>
+<span class="sourceLineNo">1418</span>          break;<a name="line.1418"></a>
+<span class="sourceLineNo">1419</span>        }<a name="line.1419"></a>
+<span class="sourceLineNo">1420</span>      }<a name="line.1420"></a>
+<span class="sourceLineNo">1421</span>      // if we found a match, remove it<a name="line.1421"></a>
+<span class="sourceLineNo">1422</span>      if (match != null) {<a name="line.1422"></a>
+<span class="sourceLineNo">1423</span>        ModifyableTableDescriptor.this.removeValue(match);<a name="line.1423"></a>
+<span class="sourceLineNo">1424</span>      }<a name="line.1424"></a>
+<span class="sourceLineNo">1425</span>    }<a name="line.1425"></a>
+<span class="sourceLineNo">1426</span><a name="line.1426"></a>
+<span class="sourceLineNo">1427</span>    @Deprecated<a name="line.1427"></a>
+<span class="sourceLineNo">1428</span>    public ModifyableTableDescriptor setOwner(User owner) {<a name="line.1428"></a>
+<span class="sourceLineNo">1429</span>      return setOwnerString(owner != null ? owner.getShortName() : null);<a name="line.1429"></a>
+<span class="sourceLineNo">1430</span>    }<a name="line.1430"></a>
+<span class="sourceLineNo">1431</span><a name="line.1431"></a>
+<span class="sourceLineNo">1432</span>    // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.1432"></a>
+<span class="sourceLineNo">1433</span>    @Deprecated<a name="line.1433"></a>
+<span class="sourceLineNo">1434</span>    public ModifyableTableDescriptor setOwnerString(String ownerString) {<a name="line.1434"></a>
+<span class="sourceLineNo">1435</span>      return setValue(OWNER_KEY, ownerString);<a name="line.1435"></a>
+<span class="sourceLineNo">1436</span>    }<a name="line.1436"></a>
+<span class="sourceLineNo">1437</span><a name="line.1437"></a>
+<span class="sourceLineNo">1438</span>    @Override<a name="line.1438"></a>
+<span class="sourceLineNo">1439</span>    @Deprecated<a name="line.1439"></a>
+<span class="sourceLineNo">1440</span>    public String getOwnerString() {<a name="line.1440"></a>
+<span class="sourceLineNo">1441</span>      // Note that every table should have an owner (i.e. should have OWNER_KEY set).<a name="line.1441"></a>
+<span class="sourceLineNo">1442</span>      // hbase:meta should return system user as owner, not null (see<a name="line.1442"></a>
+<span class="sourceLineNo">1443</span>      // MasterFileSystem.java:bootstrap()).<a name="line.1443"></a>
+<span class="sourceLineNo">1444</span>      return getOrDefault(OWNER_KEY, Function.identity(), null);<a name="line.1444"></a>
+<span class="sourceLineNo">1445</span>    }<a name="line.1445"></a>
+<span class="sourceLineNo">1446</span><a name="line.1446"></a>
+<span class="sourceLineNo">1447</span>    /**<a name="line.1447"></a>
+<span class="sourceLineNo">1448</span>     * @return the bytes in pb format<a name="line.1448"></a>
+<span class="sourceLineNo">1449</span>     */<a name="line.1449"></a>
+<span class="sourceLineNo">1450</span>    private byte[] toByteArray() {<a name="line.1450"></a>
+<span class="sourceLineNo">1451</span>      return ProtobufUtil.prependPBMagic(ProtobufUtil.toTableSchema(this).toByteArray());<a name="line.1451"></a>
+<span class="sourceLineNo">1452</span>    }<a name="line.1452"></a>
+<span class="sourceLineNo">1453</span><a name="line.1453"></a>
+<span class="sourceLineNo">1454</span>    /**<a name="line.1454"></a>
+<span class="sourceLineNo">1455</span>     * @param bytes A pb serialized {@link ModifyableTableDescriptor} instance<a name="line.1455"></a>
+<span class="sourceLineNo">1456</span>     * with pb magic prefix<a name="line.1456"></a>
+<span class="sourceLineNo">1457</span>     * @return An instance of {@link ModifyableTableDescriptor} made from<a name="line.1457"></a>
+<span class="sourceLineNo">1458</span>     * &lt;code&gt;bytes&lt;/code&gt;<a name="line.1458"></a>
+<span class="sourceLineNo">1459</span>     * @throws DeserializationException<a name="line.1459"></a>
+<span class="sourceLineNo">1460</span>     * @see #toByteArray()<a name="line.1460"></a>
+<span class="sourceLineNo">1461</span>     */<a name="line.1461"></a>
+<span class="sourceLineNo">1462</span>    private static TableDescriptor parseFrom(final byte[] bytes)<a name="line.1462"></a>
+<span class="sourceLineNo">1463</span>            throws DeserializationException {<a name="line.1463"></a>
+<span class="sourceLineNo">1464</span>      if (!ProtobufUtil.isPBMagicPrefix(bytes)) {<a name="line.1464"></a>
+<span class="sourceLineNo">1465</span>        throw new DeserializationException("Expected PB encoded ModifyableTableDescriptor");<a name="line.1465"></a>
+<span class="sourceLineNo">1466</span>      }<a name="line.1466"></a>
+<span class="sourceLineNo">1467</span>      int pblen = ProtobufUtil.lengthOfPBMagic();<a name="line.1467"></a>
+<span class="sourceLineNo">1468</span>      HBaseProtos.TableSchema.Builder builder = HBaseProtos.TableSchema.newBuilder();<a name="line.1468"></a>
+<span class="sourceLineNo">1469</span>      try {<a name="line.1469"></a>
+<span class="sourceLineNo">1470</span>        ProtobufUtil.mergeFrom(builder, bytes, pblen, bytes.length - pblen);<a name="line.1470"></a>
+<span class="sourceLineNo">1471</span>        return ProtobufUtil.toTableDescriptor(builder.build());<a name="line.1471"></a>
+<span class="sourceLineNo">1472</span>      } catch (IOException e) {<a name="line.1472"></a>
+<span class="sourceLineNo">1473</span>        throw new DeserializationException(e);<a name="line.1473"></a>
+<span class="sourceLineNo">1474</span>      }<a name="line.1474"></a>
+<span class="sourceLineNo">1475</span>    }<a name="line.1475"></a>
+<span class="sourceLineNo">1476</span><a name="line.1476"></a>
+<span class="sourceLineNo">1477</span>    @Override<a name="line.1477"></a>
+<span class="sourceLineNo">1478</span>    public int getColumnFamilyCount() {<a name="line.1478"></a>
+<span class="sourceLineNo">1479</span>      return families.size();<a name="line.1479"></a>
+<span class="sourceLineNo">1480</span>    }<a name="line.1480"></a>
+<span class="sourceLineNo">1481</span>  }<a name="line.1481"></a>
+<span class="sourceLineNo">1482</span><a name="line.1482"></a>
+<span class="sourceLineNo">1483</span>  private static Optional&lt;CoprocessorDescriptor&gt; toCoprocessorDescriptor(String spec) {<a name="line.1483"></a>
+<span class="sourceLineNo">1484</span>    Matcher matcher = CP_HTD_ATTR_VALUE_PATTERN.matcher(spec);<a name="line.1484"></a>
+<span class="sourceLineNo">1485</span>    if (matcher.matches()) {<a name="line.1485"></a>
+<span class="sourceLineNo">1486</span>      // jar file path can be empty if the cp class can be loaded<a name="line.1486"></a>
+<span class="sourceLineNo">1487</span>      // from class loader.<a name="line.1487"></a>
+<span class="sourceLineNo">1488</span>      String path = matcher.group(1).trim().isEmpty() ?<a name="line.1488"></a>
+<span class="sourceLineNo">1489</span>        null : matcher.group(1).trim();<a name="line.1489"></a>
+<span class="sourceLineNo">1490</span>      String className = matcher.group(2).trim();<a name="line.1490"></a>
+<span class="sourceLineNo">1491</span>      if (className.isEmpty()) {<a name="line.1491"></a>
+<span class="sourceLineNo">1492</span>        return Optional.empty();<a name="line.1492"></a>
+<span class="sourceLineNo">1493</span>      }<a name="line.1493"></a>
+<span class="sourceLineNo">1494</span>      String priorityStr = matcher.group(3).trim();<a name="line.1494"></a>
+<span class="sourceLineNo">1495</span>      int priority = priorityStr.isEmpty() ?<a name="line.1495"></a>
+<span class="sourceLineNo">1496</span>        Coprocessor.PRIORITY_USER : Integer.parseInt(priorityStr);<a name="line.1496"></a>
+<span class="sourceLineNo">1497</span>      String cfgSpec = null;<a name="line.1497"></a>
+<span class="sourceLineNo">1498</span>      try {<a name="line.1498"></a>
+<span class="sourceLineNo">1499</span>        cfgSpec = matcher.group(4);<a name="line.1499"></a>
+<span class="sourceLineNo">1500</span>      } catch (IndexOutOfBoundsException ex) {<a name="line.1500"></a>
+<span class="sourceLineNo">1501</span>        // ignore<a name="line.1501"></a>
+<span class="sourceLineNo">1502</span>      }<a name="line.1502"></a>
+<span class="sourceLineNo">1503</span>      Map&lt;String, String&gt; ourConf = new TreeMap&lt;&gt;();<a name="line.1503"></a>
+<span class="sourceLineNo">1504</span>      if (cfgSpec != null &amp;&amp; !cfgSpec.trim().equals("|")) {<a name="line.1504"></a>
+<span class="sourceLineNo">1505</span>        cfgSpec = cfgSpec.substring(cfgSpec.indexOf('|') + 1);<a name="line.1505"></a>
+<span class="sourceLineNo">1506</span>        Matcher m = CP_HTD_ATTR_VALUE_PARAM_PATTERN.matcher(cfgSpec);<a name="line.1506"></a>
+<span class="sourceLineNo">1507</span>        while (m.find()) {<a name="line.1507"></a>
+<span class="sourceLineNo">1508</span>          ourConf.put(m.group(1), m.group(2));<a name="line.1508"></a>
+<span class="sourceLineNo">1509</span>        }<a name="line.1509"></a>
+<span class="sourceLineNo">1510</span>      }<a name="line.1510"></a>
+<span class="sourceLineNo">1511</span>      return Optional.of(CoprocessorDescriptorBuilder.newBuilder(className)<a name="line.1511"></a>
+<span class="sourceLineNo">1512</span>        .setJarPath(path)<a name="line.1512"></a>
+<span class="sourceLineNo">1513</span>        .setPriority(priority)<a name="line.1513"></a>
+<span class="sourceLineNo">1514</span>        .setProperties(ourConf)<a name="line.1514"></a>
+<span class="sourceLineNo">1515</span>        .build());<a name="line.1515"></a>
+<span class="sourceLineNo">1516</span>    }<a name="line.1516"></a>
+<span class="sourceLineNo">1517</span>    return Optional.empty();<a name="line.1517"></a>
+<span class="sourceLineNo">1518</span>  }<a name="line.1518"></a>
+<span class="sourceLineNo">1519</span>}<a name="line.1519"></a>
 
 
 
index cff900a..9f4bcbb 100644 (file)
--- a/book.html
+++ b/book.html
@@ -41462,7 +41462,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
 <div id="footer">
 <div id="footer-text">
 Version 3.0.0-SNAPSHOT<br>
-Last updated 2019-01-23 14:29:34 UTC
+Last updated 2019-01-24 14:29:39 UTC
 </div>
 </div>
 </body>
index 34fe265..5304b1e 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20190123" />
+    <meta name="Date-Revision-yyyymmdd" content="20190124" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Bulk Loads in Apache HBase (TM)
@@ -316,7 +316,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2019-01-23</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2019-01-24</li>
             </p>
                 </div>
 
index 24cac86..b187a8f 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20190123" />
+    <meta name="Date-Revision-yyyymmdd" content="20190124" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
 <th><img src="images/icon_warning_sml.gif" alt="" />&#160;Warnings</th>
 <th><img src="images/icon_error_sml.gif" alt="" />&#160;Errors</th></tr>
 <tr class="b">
-<td>3863</td>
+<td>3865</td>
 <td>0</td>
 <td>0</td>
-<td>14497</td></tr></table></div>
+<td>14458</td></tr></table></div>
 <div class="section">
 <h2><a name="Files"></a>Files</h2>
 <table border="0" class="table table-striped">
 <td><a href="#org.apache.hadoop.hbase.client.MetricsConnection.java">org/apache/hadoop/hbase/client/MetricsConnection.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>41</td></tr>
+<td>2</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.MultiAction.java">org/apache/hadoop/hbase/client/MultiAction.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
 <tr class="a">
-<td><a href="#org.apache.hadoop.hbase.client.TestRegionLocator.java">org/apache/hadoop/hbase/client/TestRegionLocator.java</a></td>
-<td>0</td>
-<td>0</td>
-<td>1</td></tr>
-<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestReplicaWithCluster.java">org/apache/hadoop/hbase/client/TestReplicaWithCluster.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestReplicasClient.java">org/apache/hadoop/hbase/client/TestReplicasClient.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestResult.java">org/apache/hadoop/hbase/client/TestResult.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestResultSizeEstimation.java">org/apache/hadoop/hbase/client/TestResultSizeEstimation.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestReversedScannerCallable.java">org/apache/hadoop/hbase/client/TestReversedScannerCallable.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestScan.java">org/apache/hadoop/hbase/client/TestScan.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestScannerTimeout.java">org/apache/hadoop/hbase/client/TestScannerTimeout.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>7</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestScannersFromClientSide.java">org/apache/hadoop/hbase/client/TestScannersFromClientSide.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>19</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestScannersFromClientSide2.java">org/apache/hadoop/hbase/client/TestScannersFromClientSide2.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestServerBusyException.java">org/apache/hadoop/hbase/client/TestServerBusyException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestSmallReversedScanner.java">org/apache/hadoop/hbase/client/TestSmallReversedScanner.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence.java">org/apache/hadoop/hbase/client/TestSnapshotCloneIndependence.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestSnapshotFromAdmin.java">org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestSnapshotFromClient.java">org/apache/hadoop/hbase/client/TestSnapshotFromClient.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>10</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestSnapshotMetadata.java">org/apache/hadoop/hbase/client/TestSnapshotMetadata.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestSplitOrMergeStatus.java">org/apache/hadoop/hbase/client/TestSplitOrMergeStatus.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestTableDescriptorBuilder.java">org/apache/hadoop/hbase/client/TestTableDescriptorBuilder.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestTableFavoredNodes.java">org/apache/hadoop/hbase/client/TestTableFavoredNodes.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.TestTableSnapshotScanner.java">org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.TestTimestampsFilter.java">org/apache/hadoop/hbase/client/TestTimestampsFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>18</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.VersionInfoUtil.java">org/apache/hadoop/hbase/client/VersionInfoUtil.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicyFactory.java">org/apache/hadoop/hbase/client/backoff/ClientBackoffPolicyFactory.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.backoff.ServerStatistics.java">org/apache/hadoop/hbase/client/backoff/ServerStatistics.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.coprocessor.BigDecimalColumnInterpreter.java">org/apache/hadoop/hbase/client/coprocessor/BigDecimalColumnInterpreter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.coprocessor.DoubleColumnInterpreter.java">org/apache/hadoop/hbase/client/coprocessor/DoubleColumnInterpreter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.coprocessor.LongColumnInterpreter.java">org/apache/hadoop/hbase/client/coprocessor/LongColumnInterpreter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.coprocessor.RowProcessorClient.java">org/apache/hadoop/hbase/client/coprocessor/RowProcessorClient.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.coprocessor.package-info.java">org/apache/hadoop/hbase/client/coprocessor/package-info.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>8</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.example.RefreshHFilesClient.java">org/apache/hadoop/hbase/client/example/RefreshHFilesClient.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>15</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.locking.EntityLock.java">org/apache/hadoop/hbase/client/locking/EntityLock.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.locking.TestEntityLocks.java">org/apache/hadoop/hbase/client/locking/TestEntityLocks.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.metrics.ScanMetrics.java">org/apache/hadoop/hbase/client/metrics/ScanMetrics.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>12</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.metrics.ServerSideScanMetrics.java">org/apache/hadoop/hbase/client/metrics/ServerSideScanMetrics.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>10</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.replication.ReplicationAdmin.java">org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>33</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.client.replication.ReplicationPeerConfigUtil.java">org/apache/hadoop/hbase/client/replication/ReplicationPeerConfigUtil.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.client.replication.TestReplicationAdmin.java">org/apache/hadoop/hbase/client/replication/TestReplicationAdmin.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.codec.BaseDecoder.java">org/apache/hadoop/hbase/codec/BaseDecoder.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.codec.BaseEncoder.java">org/apache/hadoop/hbase/codec/BaseEncoder.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.codec.CellCodec.java">org/apache/hadoop/hbase/codec/CellCodec.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>7</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.codec.CellCodecWithTags.java">org/apache/hadoop/hbase/codec/CellCodecWithTags.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>6</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.codec.CodecPerformance.java">org/apache/hadoop/hbase/codec/CodecPerformance.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.codec.MessageCodec.java">org/apache/hadoop/hbase/codec/MessageCodec.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.codec.TestCellCodecWithTags.java">org/apache/hadoop/hbase/codec/TestCellCodecWithTags.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.codec.TestCellMessageCodec.java">org/apache/hadoop/hbase/codec/TestCellMessageCodec.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.codec.TestKeyValueCodecWithTags.java">org/apache/hadoop/hbase/codec/TestKeyValueCodecWithTags.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.conf.ConfigurationManager.java">org/apache/hadoop/hbase/conf/ConfigurationManager.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.constraint.BaseConstraint.java">org/apache/hadoop/hbase/constraint/BaseConstraint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.constraint.CheckConfigurationConstraint.java">org/apache/hadoop/hbase/constraint/CheckConfigurationConstraint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.constraint.Constraint.java">org/apache/hadoop/hbase/constraint/Constraint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.constraint.ConstraintException.java">org/apache/hadoop/hbase/constraint/ConstraintException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.constraint.ConstraintProcessor.java">org/apache/hadoop/hbase/constraint/ConstraintProcessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.constraint.Constraints.java">org/apache/hadoop/hbase/constraint/Constraints.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.constraint.TestConstraint.java">org/apache/hadoop/hbase/constraint/TestConstraint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>10</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.constraint.TestConstraints.java">org/apache/hadoop/hbase/constraint/TestConstraints.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.constraint.package-info.java">org/apache/hadoop/hbase/constraint/package-info.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>61</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coordination.SplitLogManagerCoordination.java">org/apache/hadoop/hbase/coordination/SplitLogManagerCoordination.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coordination.SplitLogWorkerCoordination.java">org/apache/hadoop/hbase/coordination/SplitLogWorkerCoordination.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coordination.ZKSplitLogManagerCoordination.java">org/apache/hadoop/hbase/coordination/ZKSplitLogManagerCoordination.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coordination.ZkCoordinatedStateManager.java">org/apache/hadoop/hbase/coordination/ZkCoordinatedStateManager.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coordination.ZkSplitLogWorkerCoordination.java">org/apache/hadoop/hbase/coordination/ZkSplitLogWorkerCoordination.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.BaseEnvironment.java">org/apache/hadoop/hbase/coprocessor/BaseEnvironment.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.BaseRowProcessorEndpoint.java">org/apache/hadoop/hbase/coprocessor/BaseRowProcessorEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.BulkLoadObserver.java">org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.ColumnInterpreter.java">org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>21</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.CoprocessorException.java">org/apache/hadoop/hbase/coprocessor/CoprocessorException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.CoprocessorHost.java">org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>15</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.CoprocessorService.java">org/apache/hadoop/hbase/coprocessor/CoprocessorService.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.CoprocessorServiceBackwardCompatiblity.java">org/apache/hadoop/hbase/coprocessor/CoprocessorServiceBackwardCompatiblity.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.CoreCoprocessor.java">org/apache/hadoop/hbase/coprocessor/CoreCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.EndpointObserver.java">org/apache/hadoop/hbase/coprocessor/EndpointObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.HasMasterServices.java">org/apache/hadoop/hbase/coprocessor/HasMasterServices.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.HasRegionServerServices.java">org/apache/hadoop/hbase/coprocessor/HasRegionServerServices.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.MasterCoprocessor.java">org/apache/hadoop/hbase/coprocessor/MasterCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.MasterObserver.java">org/apache/hadoop/hbase/coprocessor/MasterObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>20</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor.java">org/apache/hadoop/hbase/coprocessor/MetricsCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint.java">org/apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.ObserverContext.java">org/apache/hadoop/hbase/coprocessor/ObserverContext.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.ObserverContextImpl.java">org/apache/hadoop/hbase/coprocessor/ObserverContextImpl.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.java">org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment.java">org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.RegionObserver.java">org/apache/hadoop/hbase/coprocessor/RegionObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>22</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor.java">org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.RegionServerObserver.java">org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.SimpleRegionObserver.java">org/apache/hadoop/hbase/coprocessor/SimpleRegionObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService.java">org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestAsyncCoprocessorEndpoint.java">org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface.java">org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.java">org/apache/hadoop/hbase/coprocessor/TestCoprocessorMetrics.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop.java">org/apache/hadoop/hbase/coprocessor/TestCoprocessorStop.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoreMasterCoprocessor.java">org/apache/hadoop/hbase/coprocessor/TestCoreMasterCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoreRegionCoprocessor.java">org/apache/hadoop/hbase/coprocessor/TestCoreRegionCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestCoreRegionServerCoprocessor.java">org/apache/hadoop/hbase/coprocessor/TestCoreRegionServerCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort.java">org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove.java">org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithRemove.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>7</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestMasterObserver.java">org/apache/hadoop/hbase/coprocessor/TestMasterObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor.java">org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverBypass.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverForAddingMutationsFromCoprocessors.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverForAddingMutationsFromCoprocessors.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>3</td></tr>
-<tr class="b">
+<td>4</td></tr>
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverInterface.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>26</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>7</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverStacking.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverStacking.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.WALCoprocessor.java">org/apache/hadoop/hbase/coprocessor/WALCoprocessor.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.WALCoprocessorEnvironment.java">org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.WALObserver.java">org/apache/hadoop/hbase/coprocessor/WALObserver.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.example.BulkDeleteEndpoint.java">org/apache/hadoop/hbase/coprocessor/example/BulkDeleteEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.example.ExampleMasterObserverWithMetrics.java">org/apache/hadoop/hbase/coprocessor/example/ExampleMasterObserverWithMetrics.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.example.RefreshHFilesEndpoint.java">org/apache/hadoop/hbase/coprocessor/example/RefreshHFilesEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.example.TestRefreshHFilesBase.java">org/apache/hadoop/hbase/coprocessor/example/TestRefreshHFilesBase.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.example.TestRefreshHFilesEndpoint.java">org/apache/hadoop/hbase/coprocessor/example/TestRefreshHFilesEndpoint.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.coprocessor.package-info.java">org/apache/hadoop/hbase/coprocessor/package-info.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.errorhandling.ForeignException.java">org/apache/hadoop/hbase/errorhandling/ForeignException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>8</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher.java">org/apache/hadoop/hbase/errorhandling/ForeignExceptionDispatcher.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.errorhandling.TestForeignExceptionDispatcher.java">org/apache/hadoop/hbase/errorhandling/TestForeignExceptionDispatcher.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.java">org/apache/hadoop/hbase/errorhandling/TestForeignExceptionSerialization.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.errorhandling.TimeoutExceptionInjector.java">org/apache/hadoop/hbase/errorhandling/TimeoutExceptionInjector.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.exceptions.ClientExceptionsUtil.java">org/apache/hadoop/hbase/exceptions/ClientExceptionsUtil.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.exceptions.FailedSanityCheckException.java">org/apache/hadoop/hbase/exceptions/FailedSanityCheckException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>3</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.exceptions.MergeRegionException.java">org/apache/hadoop/hbase/exceptions/MergeRegionException.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.exceptions.TestClientExceptionsUtil.java">org/apache/hadoop/hbase/exceptions/TestClientExceptionsUtil.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.executor.EventHandler.java">org/apache/hadoop/hbase/executor/EventHandler.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.executor.EventType.java">org/apache/hadoop/hbase/executor/EventType.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>38</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.executor.ExecutorService.java">org/apache/hadoop/hbase/executor/ExecutorService.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.executor.ExecutorType.java">org/apache/hadoop/hbase/executor/ExecutorType.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>18</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.favored.FavoredNodeAssignmentHelper.java">org/apache/hadoop/hbase/favored/FavoredNodeAssignmentHelper.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>25</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.favored.FavoredNodeLoadBalancer.java">org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.favored.FavoredNodesPlan.java">org/apache/hadoop/hbase/favored/FavoredNodesPlan.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>6</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.favored.FavoredNodesPromoter.java">org/apache/hadoop/hbase/favored/FavoredNodesPromoter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.favored.StartcodeAgnosticServerName.java">org/apache/hadoop/hbase/favored/StartcodeAgnosticServerName.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.favored.TestFavoredNodeAssignmentHelper.java">org/apache/hadoop/hbase/favored/TestFavoredNodeAssignmentHelper.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.BigDecimalComparator.java">org/apache/hadoop/hbase/filter/BigDecimalComparator.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.BinaryComparator.java">org/apache/hadoop/hbase/filter/BinaryComparator.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>8</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.BinaryPrefixComparator.java">org/apache/hadoop/hbase/filter/BinaryPrefixComparator.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>8</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.BitComparator.java">org/apache/hadoop/hbase/filter/BitComparator.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>8</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.ByteArrayComparable.java">org/apache/hadoop/hbase/filter/ByteArrayComparable.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.ColumnCountGetFilter.java">org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.ColumnPaginationFilter.java">org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>13</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.ColumnPrefixFilter.java">org/apache/hadoop/hbase/filter/ColumnPrefixFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>12</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.ColumnRangeFilter.java">org/apache/hadoop/hbase/filter/ColumnRangeFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>11</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.CompareFilter.java">org/apache/hadoop/hbase/filter/CompareFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>24</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.DependentColumnFilter.java">org/apache/hadoop/hbase/filter/DependentColumnFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>13</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FamilyFilter.java">org/apache/hadoop/hbase/filter/FamilyFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>13</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.Filter.java">org/apache/hadoop/hbase/filter/Filter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>5</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterAllFilter.java">org/apache/hadoop/hbase/filter/FilterAllFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>2</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterBase.java">org/apache/hadoop/hbase/filter/FilterBase.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>4</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterList.java">org/apache/hadoop/hbase/filter/FilterList.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>7</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterListBase.java">org/apache/hadoop/hbase/filter/FilterListBase.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterListWithAND.java">org/apache/hadoop/hbase/filter/FilterListWithAND.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>11</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterListWithOR.java">org/apache/hadoop/hbase/filter/FilterListWithOR.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>93</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterTestingCluster.java">org/apache/hadoop/hbase/filter/FilterTestingCluster.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>1</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.FilterWrapper.java">org/apache/hadoop/hbase/filter/FilterWrapper.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>12</td></tr>
-<tr class="b">
+<tr class="a">
 <td><a href="#org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter.java">org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>9</td></tr>
-<tr class="a">
+<tr class="b">
 <td><a href="#org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter.java">org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.java</a></td>
 <td>0</td>
 <td>0</td>
 <td>10</td></tr>
-<tr class="b">
+<tr class=&quo