You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2020/02/26 14:46:57 UTC
[hbase-site] branch asf-site updated: Published site at
3c3aae9a2f35bf63c7a10374701f89c0aa8b71a4.
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hbase-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 124ec29 Published site at 3c3aae9a2f35bf63c7a10374701f89c0aa8b71a4.
124ec29 is described below
commit 124ec297f1da0a0ba5010558210c86103863cbbe
Author: jenkins <bu...@apache.org>
AuthorDate: Wed Feb 26 14:46:35 2020 +0000
Published site at 3c3aae9a2f35bf63c7a10374701f89c0aa8b71a4.
---
acid-semantics.html | 2 +-
apache_hbase_reference_guide.pdf | 4 +-
apidocs/index-all.html | 10 +
.../client/AsyncTable.CoprocessorCallback.html | 10 +-
.../org/apache/hadoop/hbase/client/AsyncTable.html | 173 +-
.../apache/hadoop/hbase/client/Consistency.html | 4 +-
apidocs/org/apache/hadoop/hbase/client/Table.html | 150 +-
.../hadoop/hbase/filter/Filter.ReturnCode.html | 4 +-
.../hadoop/hbase/filter/class-use/Filter.html | 37 +
.../apache/hadoop/hbase/filter/package-use.html | 21 +
.../hadoop/hbase/rest/client/RemoteHTable.html | 181 +-
.../client/AsyncTable.CoprocessorCallback.html | 1255 +-
.../org/apache/hadoop/hbase/client/AsyncTable.html | 1255 +-
.../org/apache/hadoop/hbase/client/Table.html | 1322 +-
.../hadoop/hbase/rest/client/RemoteHTable.html | 1693 +-
book.html | 2 +-
bulk-loads.html | 2 +-
checkstyle-aggregate.html | 1620 +-
checkstyle.rss | 10 +-
coc.html | 2 +-
dependencies.html | 2 +-
dependency-convergence.html | 2 +-
dependency-info.html | 2 +-
dependency-management.html | 2 +-
devapidocs/allclasses-frame.html | 3 +-
devapidocs/allclasses-noframe.html | 3 +-
devapidocs/constant-values.html | 4 +-
devapidocs/index-all.html | 140 +-
.../apache/hadoop/hbase/backup/BackupObserver.html | 2 +-
.../apache/hadoop/hbase/backup/package-tree.html | 2 +-
.../apache/hadoop/hbase/class-use/CellScanner.html | 3 +-
.../hadoop/hbase/class-use/CompareOperator.html | 11 +-
.../client/AsyncTable.CheckAndMutateBuilder.html | 22 +-
...syncTable.CheckAndMutateWithFilterBuilder.html} | 131 +-
.../client/AsyncTable.CoprocessorCallback.html | 14 +-
.../AsyncTable.CoprocessorServiceBuilder.html | 12 +-
.../org/apache/hadoop/hbase/client/AsyncTable.html | 181 +-
.../apache/hadoop/hbase/client/AsyncTableImpl.html | 152 +-
...awAsyncTableImpl.CheckAndMutateBuilderImpl.html | 36 +-
...eImpl.CheckAndMutateWithFilterBuilderImpl.html} | 217 +-
...yncTableImpl.CoprocessorServiceBuilderImpl.html | 28 +-
.../client/RawAsyncTableImpl.NoncedConverter.html | 4 +-
.../hadoop/hbase/client/RawAsyncTableImpl.html | 234 +-
.../hbase/client/Table.CheckAndMutateBuilder.html | 24 +-
... => Table.CheckAndMutateWithFilterBuilder.html} | 133 +-
.../org/apache/hadoop/hbase/client/Table.html | 156 +-
.../apache/hadoop/hbase/client/TableBuilder.html | 4 +-
...leOverAsyncTable.CheckAndMutateBuilderImpl.html | 464 -
...OverAsyncTable.RegionCoprocessorRpcChannel.html | 12 +-
.../hbase/client/TableOverAsyncTable.StubCall.html | 4 +-
.../hadoop/hbase/client/TableOverAsyncTable.html | 187 +-
.../AsyncTable.CheckAndMutateBuilder.html | 24 -
...AsyncTable.CheckAndMutateWithFilterBuilder.html | 201 +
.../hadoop/hbase/client/class-use/Delete.html | 73 +-
.../hadoop/hbase/client/class-use/Mutation.html | 57 +-
.../apache/hadoop/hbase/client/class-use/Put.html | 75 +-
...eImpl.CheckAndMutateWithFilterBuilderImpl.html} | 20 +-
.../hbase/client/class-use/RowMutations.html | 43 +-
.../class-use/Table.CheckAndMutateBuilder.html | 30 -
.../Table.CheckAndMutateWithFilterBuilder.html | 225 +
.../apache/hadoop/hbase/client/package-frame.html | 3 +-
.../hadoop/hbase/client/package-summary.html | 160 +-
.../apache/hadoop/hbase/client/package-tree.html | 24 +-
.../apache/hadoop/hbase/client/package-use.html | 208 +-
.../hbase/constraint/ConstraintProcessor.html | 2 +-
...MetaTableMetrics.ExampleRegionObserverMeta.html | 2 +-
.../coprocessor/RegionObserver.MutationType.html | 10 +-
.../hadoop/hbase/coprocessor/RegionObserver.html | 530 +-
.../coprocessor/class-use/ObserverContext.html | 60 +
.../class-use/RegionCoprocessorEnvironment.html | 60 +
...nObserverWithMetrics.ExampleRegionObserver.html | 2 +-
.../coprocessor/example/ScanModifyingObserver.html | 2 +-
.../example/ValueRewritingObserver.html | 2 +-
.../example/WriteHeavyIncrementObserver.html | 2 +-
.../example/ZooKeeperScanPolicyObserver.html | 2 +-
.../filter/class-use/ByteArrayComparable.html | 6 +-
.../hadoop/hbase/filter/class-use/Filter.html | 323 +-
.../apache/hadoop/hbase/filter/package-tree.html | 6 +-
.../apache/hadoop/hbase/filter/package-use.html | 53 +-
.../org/apache/hadoop/hbase/http/package-tree.html | 4 +-
.../hadoop/hbase/io/class-use/TimeRange.html | 60 +-
.../apache/hadoop/hbase/io/hfile/package-tree.html | 6 +-
.../org/apache/hadoop/hbase/ipc/package-tree.html | 2 +-
.../hadoop/hbase/mapreduce/package-tree.html | 4 +-
.../hbase/master/assignment/package-tree.html | 2 +-
.../hadoop/hbase/master/balancer/package-tree.html | 2 +-
.../apache/hadoop/hbase/master/package-tree.html | 6 +-
.../hbase/master/procedure/package-tree.html | 4 +-
.../org/apache/hadoop/hbase/package-tree.html | 16 +-
.../hadoop/hbase/procedure2/package-tree.html | 4 +-
.../hbase/procedure2/store/wal/package-tree.html | 2 +-
.../quotas/class-use/ActivePolicyEnforcement.html | 3 +-
.../apache/hadoop/hbase/quotas/package-tree.html | 6 +-
.../HRegion.BatchOperation.Visitor.html | 4 +-
.../hbase/regionserver/HRegion.BatchOperation.html | 78 +-
.../regionserver/HRegion.BulkLoadListener.html | 8 +-
.../regionserver/HRegion.FlushResult.Result.html | 10 +-
.../hbase/regionserver/HRegion.FlushResult.html | 8 +-
.../regionserver/HRegion.FlushResultImpl.html | 24 +-
.../HRegion.MutationBatchOperation.html | 44 +-
.../HRegion.ObservedExceptionsInBatch.html | 22 +-
.../regionserver/HRegion.PrepareFlushResult.html | 26 +-
.../regionserver/HRegion.RegionScannerImpl.html | 90 +-
.../regionserver/HRegion.ReplayBatchOperation.html | 32 +-
.../hbase/regionserver/HRegion.RowLockContext.html | 28 +-
.../hbase/regionserver/HRegion.RowLockImpl.html | 16 +-
.../hbase/regionserver/HRegion.WriteState.html | 26 +-
.../apache/hadoop/hbase/regionserver/HRegion.html | 1375 +-
.../hbase/regionserver/HRegionFileSystem.html | 96 +-
.../regionserver/RSRpcServices.LogDelegate.html | 4 +-
.../RSRpcServices.RegionScannerCloseCallBack.html | 8 +-
.../RSRpcServices.RegionScannerHolder.html | 24 +-
...RSRpcServices.RegionScannerShippedCallBack.html | 12 +-
.../RSRpcServices.RegionScannersCloseCallBack.html | 10 +-
.../RSRpcServices.ScannerListener.html | 8 +-
.../hadoop/hbase/regionserver/RSRpcServices.html | 286 +-
.../hbase/regionserver/Region.Operation.html | 36 +-
.../hadoop/hbase/regionserver/Region.RowLock.html | 4 +-
.../apache/hadoop/hbase/regionserver/Region.html | 358 +-
...nCoprocessorHost.BulkLoadObserverOperation.html | 4 +-
.../RegionCoprocessorHost.RegionEnvironment.html | 32 +-
...rHost.RegionEnvironmentForCoreCoprocessors.html | 8 +-
...rHost.RegionObserverOperationWithoutResult.html | 10 +-
...nCoprocessorHost.TableCoprocessorAttribute.html | 20 +-
.../hbase/regionserver/RegionCoprocessorHost.html | 488 +-
.../hbase/regionserver/class-use/HRegion.html | 3 +-
.../hadoop/hbase/regionserver/package-tree.html | 18 +-
.../querymatcher/ScanQueryMatcher.MatchCode.html | 4 +-
.../hbase/regionserver/wal/package-tree.html | 4 +-
.../hadoop/hbase/replication/package-tree.html | 2 +-
.../regionserver/ReplicationObserver.html | 2 +-
.../replication/regionserver/package-tree.html | 2 +-
.../RemoteHTable.CheckAndMutateBuilderImpl.html | 28 +-
.../rest/client/RemoteHTable.Scanner.Iter.html | 12 +-
.../hbase/rest/client/RemoteHTable.Scanner.html | 18 +-
.../hadoop/hbase/rest/client/RemoteHTable.html | 211 +-
.../hadoop/hbase/rest/model/package-tree.html | 2 +-
.../hbase/security/access/AccessController.html | 12 +-
.../hadoop/hbase/security/access/package-tree.html | 4 +-
.../apache/hadoop/hbase/security/package-tree.html | 4 +-
.../security/visibility/VisibilityController.html | 2 +-
.../apache/hadoop/hbase/thrift/package-tree.html | 2 +-
.../ThriftTable.CheckAndMutateBuilderImpl.html | 30 +-
.../hbase/thrift2/client/ThriftTable.Scanner.html | 22 +-
.../hadoop/hbase/thrift2/client/ThriftTable.html | 155 +-
.../hadoop/hbase/tool/WriteSinkCoprocessor.html | 2 +-
.../org/apache/hadoop/hbase/util/package-tree.html | 10 +-
devapidocs/overview-tree.html | 4 +-
.../src-html/org/apache/hadoop/hbase/Version.html | 4 +-
.../client/AsyncTable.CheckAndMutateBuilder.html | 1255 +-
...AsyncTable.CheckAndMutateWithFilterBuilder.html | 759 +
.../client/AsyncTable.CoprocessorCallback.html | 1255 +-
.../AsyncTable.CoprocessorServiceBuilder.html | 1255 +-
.../org/apache/hadoop/hbase/client/AsyncTable.html | 1255 +-
.../apache/hadoop/hbase/client/AsyncTableImpl.html | 519 +-
...awAsyncTableImpl.CheckAndMutateBuilderImpl.html | 1241 +-
...leImpl.CheckAndMutateWithFilterBuilderImpl.html | 795 +
...yncTableImpl.CoprocessorServiceBuilderImpl.html | 1241 +-
.../client/RawAsyncTableImpl.NoncedConverter.html | 1241 +-
.../hadoop/hbase/client/RawAsyncTableImpl.html | 1241 +-
.../hbase/client/Table.CheckAndMutateBuilder.html | 1322 +-
.../Table.CheckAndMutateWithFilterBuilder.html | 806 +
.../org/apache/hadoop/hbase/client/Table.html | 1322 +-
...leOverAsyncTable.CheckAndMutateBuilderImpl.html | 584 -
...OverAsyncTable.RegionCoprocessorRpcChannel.html | 937 +-
.../hbase/client/TableOverAsyncTable.StubCall.html | 937 +-
.../hadoop/hbase/client/TableOverAsyncTable.html | 937 +-
.../coprocessor/RegionObserver.MutationType.html | 2229 +--
.../hadoop/hbase/coprocessor/RegionObserver.html | 2229 +--
.../HRegion.BatchOperation.Visitor.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegion.BatchOperation.html | 17425 ++++++++++---------
.../regionserver/HRegion.BulkLoadListener.html | 17425 ++++++++++---------
.../regionserver/HRegion.FlushResult.Result.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegion.FlushResult.html | 17425 ++++++++++---------
.../regionserver/HRegion.FlushResultImpl.html | 17425 ++++++++++---------
.../HRegion.MutationBatchOperation.html | 17425 ++++++++++---------
.../HRegion.ObservedExceptionsInBatch.html | 17425 ++++++++++---------
.../regionserver/HRegion.PrepareFlushResult.html | 17425 ++++++++++---------
.../regionserver/HRegion.RegionScannerImpl.html | 17425 ++++++++++---------
.../regionserver/HRegion.ReplayBatchOperation.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegion.RowLockContext.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegion.RowLockImpl.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegion.WriteState.html | 17425 ++++++++++---------
.../apache/hadoop/hbase/regionserver/HRegion.html | 17425 ++++++++++---------
.../hbase/regionserver/HRegionFileSystem.html | 1928 +-
.../regionserver/RSRpcServices.LogDelegate.html | 7417 ++++----
.../RSRpcServices.RegionScannerCloseCallBack.html | 7417 ++++----
.../RSRpcServices.RegionScannerHolder.html | 7417 ++++----
...RSRpcServices.RegionScannerShippedCallBack.html | 7417 ++++----
.../RSRpcServices.RegionScannersCloseCallBack.html | 7417 ++++----
.../RSRpcServices.ScannerListener.html | 7417 ++++----
.../hadoop/hbase/regionserver/RSRpcServices.html | 7417 ++++----
.../hbase/regionserver/Region.Operation.html | 1043 +-
.../hadoop/hbase/regionserver/Region.RowLock.html | 1043 +-
.../apache/hadoop/hbase/regionserver/Region.html | 1043 +-
...nCoprocessorHost.BulkLoadObserverOperation.html | 3553 ++--
.../RegionCoprocessorHost.RegionEnvironment.html | 3553 ++--
...rHost.RegionEnvironmentForCoreCoprocessors.html | 3553 ++--
...rHost.RegionObserverOperationWithoutResult.html | 3553 ++--
...nCoprocessorHost.TableCoprocessorAttribute.html | 3553 ++--
.../hbase/regionserver/RegionCoprocessorHost.html | 3553 ++--
.../RemoteHTable.CheckAndMutateBuilderImpl.html | 1693 +-
.../rest/client/RemoteHTable.Scanner.Iter.html | 1693 +-
.../hbase/rest/client/RemoteHTable.Scanner.html | 1693 +-
.../hadoop/hbase/rest/client/RemoteHTable.html | 1693 +-
.../ThriftTable.CheckAndMutateBuilderImpl.html | 882 +-
.../hbase/thrift2/client/ThriftTable.Scanner.html | 882 +-
.../hadoop/hbase/thrift2/client/ThriftTable.html | 882 +-
downloads.html | 2 +-
export_control.html | 2 +-
index.html | 2 +-
issue-tracking.html | 2 +-
mail-lists.html | 2 +-
metrics.html | 2 +-
old_news.html | 2 +-
plugin-management.html | 2 +-
plugins.html | 2 +-
poweredbyhbase.html | 2 +-
project-info.html | 2 +-
project-reports.html | 2 +-
project-summary.html | 2 +-
pseudo-distributed.html | 2 +-
replication.html | 2 +-
resources.html | 2 +-
source-repository.html | 2 +-
sponsors.html | 2 +-
supportingprojects.html | 2 +-
team-list.html | 2 +-
testapidocs/deprecated-list.html | 34 +-
testapidocs/index-all.html | 7 -
.../apache/hadoop/hbase/HBaseTestingUtility.html | 599 +-
.../apache/hadoop/hbase/HBaseTestingUtility.html | 4851 +++---
testdevapidocs/deprecated-list.html | 34 +-
testdevapidocs/index-all.html | 95 +-
...Utility.PortAllocator.AvailablePortChecker.html | 4 +-
.../hbase/HBaseTestingUtility.PortAllocator.html | 20 +-
.../hbase/HBaseTestingUtility.SeenRowTracker.html | 20 +-
.../apache/hadoop/hbase/HBaseTestingUtility.html | 647 +-
.../hadoop/hbase/IntegrationTestingUtility.html | 2 +-
...Fencing.BlockCompactionsInCompletionRegion.html | 4 +-
...TestIOFencing.BlockCompactionsInPrepRegion.html | 4 +-
.../TestIOFencing.CompactionBlockerRegion.html | 4 +-
.../TestJMXConnectorServer.MyAccessController.html | 2 +-
...ncTableRegionReplicasRead.FailPrimaryGetCP.html | 2 +-
...bstractTestCITimeout.SleepAndFailFirstTime.html | 2 +-
.../AbstractTestCITimeout.SleepCoprocessor.html | 2 +-
.../hadoop/hbase/client/DummyAsyncTable.html | 119 +-
.../hadoop/hbase/client/SleepAtFirstRpcCall.html | 2 +-
...atorConcurrenyLimit.CountingRegionObserver.html | 2 +-
...TestAsyncRegionLocator.SleepRegionObserver.html | 2 +-
.../apache/hadoop/hbase/client/TestAsyncTable.html | 168 +-
.../TestAsyncTableBatch.ErrorInjectObserver.html | 2 +-
.../TestAsyncTableNoncedRetry.SleepOnceCP.html | 2 +-
.../TestAsyncTableScanException.ErrorCP.html | 2 +-
...TableUseMetaReplicas.FailPrimaryMetaScanCp.html | 2 +-
...sIntoShippedBlocks.CompactorRegionObserver.html | 2 +-
...ictionFromClient.CustomInnerRegionObserver.html | 2 +-
...romClient.CustomInnerRegionObserverWrapper.html | 2 +-
.../hadoop/hbase/client/TestCheckAndMutate.html | 128 +-
...stClientOperationInterrupt.TestCoprocessor.html | 2 +-
...meoutRequest.SleepLongerAtFirstCoprocessor.html | 2 +-
.../hadoop/hbase/client/TestFromClientSide.html | 284 +-
...ientSide3.WaitingForMultiMutationsObserver.html | 2 +-
...TestFromClientSide3.WaitingForScanObserver.html | 2 +-
.../TestFromClientSideScanExcpetion.MyHRegion.html | 4 +-
.../hbase/client/TestMalformedCellFromClient.html | 6 +-
...loneLinksAfterDelete.DelayFlushCoprocessor.html | 2 +-
...rverHostingPrimayMetaRegionSlowOrStopCopro.html | 2 +-
...eplicaWithCluster.RegionServerStoppedCopro.html | 2 +-
.../client/TestReplicaWithCluster.SlowMeCopro.html | 2 +-
.../hbase/client/TestReplicaWithCluster.html | 12 +-
.../client/TestReplicasClient.SlowMeCopro.html | 30 +-
.../hadoop/hbase/client/TestReplicasClient.html | 68 +-
.../TestResultFromCoprocessor.MyObserver.html | 2 +-
.../TestServerBusyException.SleepCoprocessor.html | 2 +-
...usyException.SleepLongerAtFirstCoprocessor.html | 2 +-
...tion.ThrowDoNotRetryIOExceptionCoprocessor.html | 2 +-
...ationException.ThrowIOExceptionCoprocessor.html | 2 +-
.../coprocessor/SampleRegionWALCoprocessor.html | 2 +-
.../hbase/coprocessor/SimpleRegionObserver.html | 908 +-
.../TestAppendTimeRange.MyObserver.html | 2 +-
...TestCoprocessorHost.SimpleRegionObserverV2.html | 4 +-
...TestCoprocessorHost.SimpleRegionObserverV3.html | 4 +-
.../TestCoprocessorInterface.CoprocessorImpl.html | 2 +-
...estCoprocessorMetrics.CustomRegionObserver.html | 2 +-
...stCoprocessorMetrics.CustomRegionObserver2.html | 2 +-
...ncrementAndAppendWithNullResult.MyObserver.html | 2 +-
.../TestIncrementTimeRange.MyObserver.html | 4 +-
...WithSlowCoprocessor.FlushingRegionObserver.html | 4 +-
...eInCoprocessor.CustomThreadPoolCoprocessor.html | 2 +-
...eInCoprocessor.SendToOtherTableCoprocessor.html | 2 +-
...omCellViaRegionObserver.RegionObserverImpl.html | 2 +-
...ChangeCellWithDifferntColumnFamilyObserver.html | 2 +-
...ChangeCellWithNotExistColumnFamilyObserver.html | 2 +-
.../TestRegionObserverBypass.TestCoprocessor.html | 2 +-
.../TestRegionObserverBypass.TestCoprocessor2.html | 2 +-
.../TestRegionObserverBypass.TestCoprocessor3.html | 2 +-
...FromCoprocessors.TestDeleteCellCoprocessor.html | 2 +-
...omCoprocessors.TestDeleteFamilyCoprocessor.html | 2 +-
...sFromCoprocessors.TestDeleteRowCoprocessor.html | 2 +-
...mCoprocessors.TestMultiMutationCoprocessor.html | 2 +-
...FromCoprocessors.TestPutWithTTLCoprocessor.html | 2 +-
...tRegionObserverInterface.EvenOnlyCompactor.html | 18 +-
...erInterface.PreWALAppendWALActionsListener.html | 10 +-
.../coprocessor/TestRegionObserverInterface.html | 68 +-
...erPreFlushAndPreCompact.TestRegionObserver.html | 2 +-
...enHook.CompactionCompletionNotifyingRegion.html | 4 +-
...ObserverScannerOpenHook.EmptyRegionObsever.html | 2 +-
...serverScannerOpenHook.NoDataFromCompaction.html | 2 +-
...ionObserverScannerOpenHook.NoDataFromFlush.html | 2 +-
...gionObserverScannerOpenHook.NoDataFromScan.html | 2 +-
.../TestRegionObserverStacking.ObserverA.html | 2 +-
.../TestRegionObserverStacking.ObserverB.html | 2 +-
.../TestRegionObserverStacking.ObserverC.html | 2 +-
...ssorExceptionWithAbort.BuggyRegionObserver.html | 4 +-
...sorExceptionWithRemove.BuggyRegionObserver.html | 4 +-
...shHFilesEndpoint.HRegionForRefreshHFilesEP.html | 4 +-
...tionTestBulkLoad.SlowMeCoproScanOperations.html | 2 +-
...tributes.OperationAttributesTestController.html | 2 +-
.../TestImportTSVWithTTLs.TTLCheckingObserver.html | 2 +-
...TestMasterAbortAndRSGotKilled.DelayCloseCP.html | 2 +-
...erCoprocessorServices.MockAccessController.html | 2 +-
...processorServices.MockVisibilityController.html | 2 +-
...erHandlerFullWhenTransitRegion.DelayOpenCP.html | 2 +-
.../procedure/TestProcedurePriority.MyCP.html | 2 +-
.../apache/hadoop/hbase/mob/TestMobFileCache.html | 64 +-
.../hadoop/hbase/mob/TestMobStoreCompaction.html | 60 +-
.../TestNamespaceAuditor.CustomObserver.html | 2 +-
.../org/apache/hadoop/hbase/package-tree.html | 6 +-
.../hadoop/hbase/procedure/package-tree.html | 8 +-
.../hadoop/hbase/procedure2/package-tree.html | 2 +-
.../hbase/regionserver/NoOpScanPolicyObserver.html | 2 +-
...sTable.RegionScannerToResultScannerAdaptor.html | 20 +-
.../hadoop/hbase/regionserver/RegionAsTable.html | 147 +-
.../TestAtomicOperation.MockHRegion.html | 4 +-
...ngStoreMockMaker.BlockingCompactionContext.html | 14 +-
.../TestCompaction.BlockingStoreMockMaker.html | 18 +-
.../TestCompaction.DummyCompactor.html | 4 +-
...ction.StoreMockMaker.TestCompactionContext.html | 12 +-
.../TestCompaction.StoreMockMaker.html | 18 +-
.../hbase/regionserver/TestCompaction.Tracker.html | 8 +-
.../TestCompaction.WaitThroughPutController.html | 6 +-
.../hadoop/hbase/regionserver/TestCompaction.html | 62 +-
...pactionLifeCycleTracker.CompactionObserver.html | 2 +-
.../TestFlushLifeCycleTracker.FlushObserver.html | 2 +-
.../hbase/regionserver/TestHRegion.Appender.html | 18 +-
.../regionserver/TestHRegion.FlushThread.html | 16 +-
.../TestHRegion.GetTillDoneOrException.html | 14 +-
.../TestHRegion.HRegionForTesting.html | 12 +-
.../regionserver/TestHRegion.HRegionWithSeqId.html | 10 +-
.../regionserver/TestHRegion.HStoreForTesting.html | 6 +-
.../regionserver/TestHRegion.Incrementer.html | 18 +-
.../regionserver/TestHRegion.IsFlushWALMarker.html | 10 +-
.../hbase/regionserver/TestHRegion.PutThread.html | 24 +-
.../hadoop/hbase/regionserver/TestHRegion.html | 544 +-
.../TestHRegionServerBulkLoad.MyObserver.html | 2 +-
.../regionserver/TestHRegionWithInMemoryFlush.html | 2 +-
.../hbase/regionserver/TestMajorCompaction.html | 72 +-
.../hbase/regionserver/TestMinorCompaction.html | 50 +-
...stOpenSeqNumUnexpectedIncrease.MockHRegion.html | 4 +-
.../regionserver/TestRegionReplicaFailover.html | 46 +-
...TestRegionServerAbort.ErrorThrowingHRegion.html | 4 +-
...gionServerAbort.StopBlockingRegionObserver.html | 2 +-
...rverAbortTimeout.SleepWhenCloseCoprocessor.html | 2 +-
...erReadRequestMetrics.ScanRegionCoprocessor.html | 2 +-
.../hadoop/hbase/regionserver/TestScanner.html | 2 +-
...tScannerHeartbeatMessages.HeartbeatHRegion.html | 4 +-
...nnerRetriableFailure.FaultyScannerObserver.html | 2 +-
...erWithCorruptHFile.CorruptHFileCoprocessor.html | 2 +-
...ingTimeoutOnBlockingPoint.SleepCoprocessor.html | 2 +-
...plitTransactionOnCluster.CustomSplitPolicy.html | 8 +-
...actionOnCluster.FailingSplitMasterObserver.html | 12 +-
.../TestSplitTransactionOnCluster.MyMaster.html | 6 +-
...itTransactionOnCluster.MyMasterRpcServices.html | 10 +-
.../TestSplitTransactionOnCluster.html | 72 +-
.../TestTags.TestCoprocessorForTags.html | 2 +-
.../hadoop/hbase/regionserver/package-tree.html | 4 +-
.../TestMasterReplication.CoprocessorCounter.html | 2 +-
...ationWithTags.TestCoprocessorForTagsAtSink.html | 2 +-
...ionWithTags.TestCoprocessorForTagsAtSource.html | 2 +-
.../TestRegionReplicaReplicationEndpoint.html | 46 +-
...caReplicationEndpointNoMaster.WALEditCopro.html | 8 +-
...stRegionReplicaReplicationEndpointNoMaster.html | 44 +-
.../TestAccessController2.MyAccessController.html | 2 +-
...stAccessController3.FaultyAccessController.html | 2 +-
...WhitelistMasterObserver.TestRegionObserver.html | 2 +-
.../TestVisibilityLabelsReplication.SimpleCP.html | 2 +-
...lsReplication.TestCoprocessorForTagsAtSink.html | 2 +-
.../org/apache/hadoop/hbase/test/package-tree.html | 2 +-
.../hbase/thrift/ErrorThrowingGetObserver.html | 2 +-
...HBaseServiceHandler.DelayingRegionObserver.html | 2 +-
.../TestCoprocessorScanPolicy.ScanObserver.html | 2 +-
.../org/apache/hadoop/hbase/wal/package-tree.html | 2 +-
...Utility.PortAllocator.AvailablePortChecker.html | 4851 +++---
.../hbase/HBaseTestingUtility.PortAllocator.html | 4851 +++---
.../hbase/HBaseTestingUtility.SeenRowTracker.html | 4851 +++---
.../apache/hadoop/hbase/HBaseTestingUtility.html | 4851 +++---
...rationTestMobCompaction.CleanMobAndArchive.html | 2 +-
...tegrationTestMobCompaction.MajorCompaction.html | 2 +-
.../IntegrationTestMobCompaction.WriteData.html | 2 +-
.../hadoop/hbase/IntegrationTestMobCompaction.html | 2 +-
.../hadoop/hbase/client/DummyAsyncTable.html | 264 +-
.../apache/hadoop/hbase/client/TestAsyncTable.html | 979 +-
.../hadoop/hbase/client/TestCheckAndMutate.html | 496 +-
.../hadoop/hbase/client/TestFromClientSide.html | 13042 +++++++-------
.../hbase/client/TestMalformedCellFromClient.html | 221 +-
...rverHostingPrimayMetaRegionSlowOrStopCopro.html | 721 +-
...eplicaWithCluster.RegionServerStoppedCopro.html | 721 +-
.../client/TestReplicaWithCluster.SlowMeCopro.html | 721 +-
.../hbase/client/TestReplicaWithCluster.html | 721 +-
.../client/TestReplicasClient.SlowMeCopro.html | 1128 +-
.../hadoop/hbase/client/TestReplicasClient.html | 1128 +-
.../hbase/coprocessor/SimpleRegionObserver.html | 1593 +-
...tRegionObserverInterface.EvenOnlyCompactor.html | 1583 +-
...erInterface.PreWALAppendWALActionsListener.html | 1583 +-
.../coprocessor/TestRegionObserverInterface.html | 1583 +-
.../hadoop/hbase/mob/TestMobCompactionBase.html | 2 +-
.../apache/hadoop/hbase/mob/TestMobFileCache.html | 392 +-
.../hadoop/hbase/mob/TestMobFileCleanerChore.html | 2 +-
.../hadoop/hbase/mob/TestMobStoreCompaction.html | 747 +-
...sTable.RegionScannerToResultScannerAdaptor.html | 530 +-
.../hadoop/hbase/regionserver/RegionAsTable.html | 530 +-
...ngStoreMockMaker.BlockingCompactionContext.html | 1475 +-
.../TestCompaction.BlockingStoreMockMaker.html | 1475 +-
.../TestCompaction.DummyCompactor.html | 1475 +-
...ction.StoreMockMaker.TestCompactionContext.html | 1475 +-
.../TestCompaction.StoreMockMaker.html | 1475 +-
.../hbase/regionserver/TestCompaction.Tracker.html | 1475 +-
.../TestCompaction.WaitThroughPutController.html | 1475 +-
.../hadoop/hbase/regionserver/TestCompaction.html | 1475 +-
.../hbase/regionserver/TestHRegion.Appender.html | 12553 ++++++-------
.../regionserver/TestHRegion.FlushThread.html | 12553 ++++++-------
.../TestHRegion.GetTillDoneOrException.html | 12553 ++++++-------
.../TestHRegion.HRegionForTesting.html | 12553 ++++++-------
.../regionserver/TestHRegion.HRegionWithSeqId.html | 12553 ++++++-------
.../regionserver/TestHRegion.HStoreForTesting.html | 12553 ++++++-------
.../regionserver/TestHRegion.Incrementer.html | 12553 ++++++-------
.../regionserver/TestHRegion.IsFlushWALMarker.html | 12553 ++++++-------
.../hbase/regionserver/TestHRegion.PutThread.html | 12553 ++++++-------
.../hadoop/hbase/regionserver/TestHRegion.html | 12553 ++++++-------
.../hbase/regionserver/TestMajorCompaction.html | 937 +-
.../hbase/regionserver/TestMinorCompaction.html | 404 +-
.../regionserver/TestRegionReplicaFailover.html | 655 +-
.../hadoop/hbase/regionserver/TestScanner.html | 196 +-
...plitTransactionOnCluster.CustomSplitPolicy.html | 1919 +-
...actionOnCluster.FailingSplitMasterObserver.html | 1919 +-
.../TestSplitTransactionOnCluster.MyMaster.html | 1919 +-
...itTransactionOnCluster.MyMasterRpcServices.html | 1919 +-
.../TestSplitTransactionOnCluster.html | 1919 +-
.../TestRegionReplicaReplicationEndpoint.html | 875 +-
...caReplicationEndpointNoMaster.WALEditCopro.html | 477 +-
...stRegionReplicaReplicationEndpointNoMaster.html | 477 +-
452 files changed, 302998 insertions(+), 294437 deletions(-)
diff --git a/acid-semantics.html b/acid-semantics.html
index 453a5cc..c9568a5 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -467,7 +467,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-02-25</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-02-26</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index bec6c4e..21c32ec 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
/Author (Apache HBase Team)
/Creator (Asciidoctor PDF 1.5.0.rc.2, based on Prawn 2.2.2)
/Producer (Apache HBase Team)
-/ModDate (D:20200225143202+00'00')
-/CreationDate (D:20200225144206+00'00')
+/ModDate (D:20200226143223+00'00')
+/CreationDate (D:20200226144339+00'00')
>>
endobj
2 0 obj
diff --git a/apidocs/index-all.html b/apidocs/index-all.html
index 42066cc..54d5fde 100644
--- a/apidocs/index-all.html
+++ b/apidocs/index-all.html
@@ -1203,12 +1203,22 @@
<dd>
<div class="block">Atomically checks if a row/family/qualifier value matches the expected value.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/AsyncTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate(byte[], Filter)</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable</a></dt>
+<dd>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-byte:A-">checkAndMutate(byte[], byte[])</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></dt>
<dd>
<div class="block">Atomically checks if a row/family/qualifier value matches the expected value.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate(byte[], Filter)</a></span> - Method in interface org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></dt>
+<dd>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/rest/client/RemoteHTable.html#checkAndMutate-byte:A-byte:A-">checkAndMutate(byte[], byte[])</a></span> - Method in class org.apache.hadoop.hbase.rest.client.<a href="org/apache/hadoop/hbase/rest/client/RemoteHTable.html" title="class in org.apache.hadoop.hbase.rest.client">RemoteHTable</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/rest/client/RemoteHTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate(byte[], Filter)</a></span> - Method in class org.apache.hadoop.hbase.rest.client.<a href="org/apache/hadoop/hbase/rest/client/RemoteHTable.html" title="class in org.apache.hadoop.hbase.rest.client">RemoteHTable</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/filter/ParseFilter.html#checkForAnd-byte:A-int-">checkForAnd(byte[], int)</a></span> - Static method in class org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/ParseFilter.html" title="class in org.apache.hadoop.hbase.filter">ParseFilter</a></dt>
<dd>
<div class="block">Checks if the current index of filter string we are on is the beginning of the keyword 'AND'</div>
diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
index b486fbe..a5bf288 100644
--- a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
+++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
@@ -106,7 +106,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>@InterfaceAudience.Public
-public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.539">AsyncTable.CoprocessorCallback</a><R></pre>
+public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.594">AsyncTable.CoprocessorCallback</a><R></pre>
<div class="block">The callback when we want to execute a coprocessor call on a range of regions.
<p>
As the locating itself also takes some time, the implementation may want to send rpc calls on
@@ -214,7 +214,7 @@ public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase
<ul class="blockList">
<li class="blockList">
<h4>onRegionComplete</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.545">onRegionComplete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> region,
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.600">onRegionComplete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> region,
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html" title="type parameter in AsyncTable.CoprocessorCallback">R</a> resp)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -229,7 +229,7 @@ public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase
<ul class="blockList">
<li class="blockList">
<h4>onRegionError</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.551">onRegionError</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> region,
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.606">onRegionError</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> region,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> error)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -244,7 +244,7 @@ public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase
<ul class="blockList">
<li class="blockList">
<h4>onComplete</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.558">onComplete</a>()</pre>
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.613">onComplete</a>()</pre>
<div class="block">Indicate that all responses of the regions have been notified by calling
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#onRegionComplete-org.apache.hadoop.hbase.client.RegionInfo-R-"><code>onRegionComplete(RegionInfo, Object)</code></a> or
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#onRegionError-org.apache.hadoop.hbase.client.RegionInfo-java.lang.Throwable-"><code>onRegionError(RegionInfo, Throwable)</code></a>.</div>
@@ -256,7 +256,7 @@ public static interface <a href="../../../../../src-html/org/apache/hadoop/hbase
<ul class="blockListLast">
<li class="blockList">
<h4>onError</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.563">onError</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> error)</pre>
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html#line.618">onError</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> error)</pre>
<div class="block">Indicate that we got an error which does not belong to any regions. Usually a locating error.</div>
</li>
</ul>
diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html
index 8aa881d..4a34eaf 100644
--- a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html
+++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":6,"i1":6,"i2":18,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":18,"i9":18,"i10":18,"i11":18,"i12":6,"i13":6,"i14":18,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":18,"i23":18,"i24":6,"i25":6,"i26":6,"i27":6,"i28":18,"i29":18,"i30":6,"i31":6,"i32":6,"i33":18,"i34":6,"i35":6};
+var methods = {"i0":6,"i1":6,"i2":18,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":18,"i10":18,"i11":18,"i12":18,"i13":6,"i14":6,"i15":18,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":18,"i24":18,"i25":6,"i26":6,"i27":6,"i28":6,"i29":18,"i30":18,"i31":6,"i32":6,"i33":6,"i34":18,"i35":6,"i36":6};
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/AsyncTable.html#line.49">AsyncTable</a><C extends <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumerBase.html" title="interface in org.apache.hadoop.hbase.client">ScanResultConsumerBase</a>></pre>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.50">AsyncTable</a><C extends <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumerBase.html" title="interface in org.apache.hadoop.hbase.client">ScanResultConsumerBase</a>></pre>
<div class="block">The interface for asynchronous version of Table. Obtain an instance from a
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>.
<p>
@@ -179,6 +179,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
</td>
</tr>
<tr id="i4" class="altColor">
+<td class="colFirst"><code>org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
<td class="colFirst"><code><S,R> org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#coprocessorService-java.util.function.Function-org.apache.hadoop.hbase.client.ServiceCaller-org.apache.hadoop.hbase.client.AsyncTable.CoprocessorCallback-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><com.google.pr [...]
<a href="../../../../../org/apache/hadoop/hbase/client/ServiceCaller.html" title="interface in org.apache.hadoop.hbase.client">ServiceCaller</a><S,R> callable,
@@ -186,7 +193,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<div class="block">Execute a coprocessor call on the regions which are covered by a range.</div>
</td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><S,R> <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><R></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#coprocessorService-java.util.function.Function-org.apache.hadoop.hbase.client.ServiceCaller-byte:A-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><com.google.protobuf.RpcChannel,S> stubMaker,
<a href="../../../../../org/apache/hadoop/hbase/client/ServiceCaller.html" title="interface in org.apache.hadoop.hbase.client">ServiceCaller</a><S,R> callable,
@@ -194,140 +201,140 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<div class="block">Execute the given coprocessor call on the region which contains the given <code>row</code>.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#delete-org.apache.hadoop.hbase.client.Delete-">delete</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code>
<div class="block">Deletes the specified cells/row.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
<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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</ [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#delete-java.util.List-">delete</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code>
<div class="block">Deletes the specified cells/rows in bulk.</div>
</td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i9" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#deleteAll-java.util.List-">deleteAll</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code>
<div class="block">A simple version of batch delete.</div>
</td>
</tr>
-<tr id="i9" class="rowColor">
+<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#exists-org.apache.hadoop.hbase.client.Get-">exists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Get.</div>
</td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i11" 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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.l [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#exists-java.util.List-">exists</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Gets.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" 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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.l [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#existsAll-java.util.List-">existsAll</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">A simple version for batch exists.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i13" 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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#get-org.apache.hadoop.hbase.client.Get-">get</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Extracts certain cells from a given row.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
<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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>>< [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#get-java.util.List-">get</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Extracts certain cells from the given rows, in batch.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" 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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>& [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getAll-java.util.List-">getAll</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">A simple version for batch get.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Returns the <code>Configuration</code> object used by this instance.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" 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><<a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getDescriptor--">getDescriptor</a></span>()</code>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>TableDescriptor</code></a> for this table.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<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/AsyncTable.html#getName--">getName</a></span>()</code>
<div class="block">Gets the fully qualified table name instance of this table.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each operation in Table instance.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getRegionLocator--">getRegionLocator</a></span>()</code>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTableRegionLocator</code></a> for this table.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getRpcTimeout-java.util.concurrent.TimeUnit-">getRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc request in this Table instance.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-byte:A-">getScanner</a></span>(byte[] family)</code>
<div class="block">Gets a scanner on the current table for the given family.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-byte:A-byte:A-">getScanner</a></span>(byte[] family,
byte[] qualifier)</code>
<div class="block">Gets a scanner on the current table for the given family and qualifier.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-org.apache.hadoop.hbase.client.Scan-">getScanner</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code>
<div class="block">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanTimeout-java.util.concurrent.TimeUnit-">getScanTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get the timeout of a single operation in a scan.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" 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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#increment-org.apache.hadoop.hbase.client.Increment-">increment</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)</code>
<div class="block">Increments one or more columns within a single row.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#incrementColumnValue-byte:A-byte:A-byte:A-long-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -336,7 +343,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"><code>incrementColumnValue(byte[], byte[], byte[], long, Durability)</code></a></div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -346,38 +353,38 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<div class="block">Atomically increments a column value.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">mutateRow</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</code>
<div class="block">Performs multiple mutations atomically on a single row.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</ [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#put-java.util.List-">put</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code>
<div class="block">Puts some data in the table, in batch.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#put-org.apache.hadoop.hbase.client.Put-">put</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code>
<div class="block">Puts some data to the table.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" 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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#putAll-java.util.List-">putAll</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code>
<div class="block">A simple version of batch put.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#scan-org.apache.hadoop.hbase.client.Scan-C-">scan</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan,
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="type parameter in AsyncTable">C</a> consumer)</code>
<div class="block">The scan API uses the observer pattern.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i36" 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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>>< [...]
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#scanAll-org.apache.hadoop.hbase.client.Scan-">scanAll</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code>
<div class="block">Return all the results that match the given scan object.</div>
@@ -404,7 +411,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> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.54">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.55">getName</a>()</pre>
<div class="block">Gets the fully qualified table name instance of this table.</div>
</li>
</ul>
@@ -414,7 +421,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
-<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.61">getConfiguration</a>()</pre>
+<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.62">getConfiguration</a>()</pre>
<div class="block">Returns the <code>Configuration</code> object used by this instance.
<p>
The reference returned is not a copy, so any change made to it will affect this instance.</div>
@@ -426,7 +433,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</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><<a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.66">getDescriptor</a>()</pre>
+<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><<a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.67">getDescriptor</a>()</pre>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>TableDescriptor</code></a> for this table.</div>
</li>
</ul>
@@ -436,7 +443,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocator</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.71">getRegionLocator</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.72">getRegionLocator</a>()</pre>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTableRegionLocator</code></a> for this table.</div>
</li>
</ul>
@@ -446,7 +453,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRpcTimeout</h4>
-<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.80">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.81">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc request in this Table instance. It will be overridden by a more
specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.</div>
<dl>
@@ -466,7 +473,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getReadRpcTimeout</h4>
-<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.87">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.88">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -482,7 +489,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getWriteRpcTimeout</h4>
-<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.94">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.95">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -498,7 +505,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getOperationTimeout</h4>
-<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.101">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.102">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each operation in Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -514,7 +521,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getScanTimeout</h4>
-<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.109">getScanTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.110">getScanTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get the timeout of a single operation in a scan. It works like operation timeout for other
operations.</div>
<dl>
@@ -531,7 +538,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.120">exists</a>(<a href="../../../../../org/apa [...]
+<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.121">exists</a>(<a href="../../../../../org/apa [...]
<div class="block">Test for the existence of columns in the table, as specified by the Get.
<p>
This will return true if the Get matches one or more keys, false if not.
@@ -550,7 +557,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>get</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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.132">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" [...]
+<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.133">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" [...]
<div class="block">Extracts certain cells from a given row.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -569,7 +576,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>put</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.139">put</a>(<a href="../../../../../org/apache/hadoop/hbase/clien [...]
+<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.140">put</a>(<a href="../../../../../org/apache/hadoop/hbase/clien [...]
<div class="block">Puts some data to the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -585,7 +592,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>delete</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.146">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/cl [...]
+<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.147">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/cl [...]
<div class="block">Deletes the specified cells/row.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -601,7 +608,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>append</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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.159">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append [...]
+<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.160">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append [...]
<div class="block">Appends values to one or more columns within a single row.
<p>
This operation does not appear atomic to readers. Appends are done under a single row lock, so
@@ -623,7 +630,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>increment</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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.172">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Inc [...]
+<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.173">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Inc [...]
<div class="block">Increments one or more columns within a single row.
<p>
This operation does not appear atomic to readers. Increments are done under a single row lock,
@@ -645,7 +652,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.185">incrementColumnValue</a>(byte[] row,
+<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.186">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount)</pre>
@@ -670,7 +677,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.205">incrementColumnValue</a>(byte[] row,
+<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.206">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount,
@@ -700,7 +707,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>checkAndMutate</h4>
-<pre>org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.234">checkAndMutate</a>(byte[] row,
+<pre>org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.235">checkAndMutate</a>(byte[] row,
byte[] family)</pre>
<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it
adds the Put/Delete/RowMutations.
@@ -722,13 +729,41 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
</pre></div>
</li>
</ul>
+<a name="checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkAndMutate</h4>
+<pre>org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.313">checkAndMutate</a>(byte[] row,
+ <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</pre>
+<div class="block">Atomically checks if a row matches the specified filter. If it does, it adds the
+ Put/Delete/RowMutations.
+ <p>
+ Use the returned <code>AsyncTable.CheckAndMutateWithFilterBuilder</code> to construct your request and then
+ execute it. This is a fluent style API, the code is like:
+
+ <pre>
+ <code>
+ table.checkAndMutate(row, filter).thenPut(put)
+ .thenAccept(succ -> {
+ if (succ) {
+ System.out.println("Check and put succeeded");
+ } else {
+ System.out.println("Check and put failed");
+ }
+ });
+ </code>
+ </pre></div>
+</li>
+</ul>
<a name="mutateRow-org.apache.hadoop.hbase.client.RowMutations-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mutateRow</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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.298">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase [...]
+<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.353">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase [...]
<div class="block">Performs multiple mutations atomically on a single row. Currently <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> and
<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a> are supported.</div>
<dl>
@@ -747,7 +782,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>scan</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.307">scan</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan,
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.362">scan</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan,
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="type parameter in AsyncTable">C</a> consumer)</pre>
<div class="block">The scan API uses the observer pattern.</div>
<dl>
@@ -766,7 +801,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.314">getScanner</a>(byte[] family)</pre>
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.369">getScanner</a>(byte[] family)</pre>
<div class="block">Gets a scanner on the current table for the given family.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -782,7 +817,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.324">getScanner</a>(byte[] family,
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.379">getScanner</a>(byte[] family,
byte[] qualifier)</pre>
<div class="block">Gets a scanner on the current table for the given family and qualifier.</div>
<dl>
@@ -800,7 +835,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.333">getScanner</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.388">getScanner</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</pre>
<div class="block">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -816,7 +851,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>scanAll</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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../.. [...]
+<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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../.. [...]
<div class="block">Return all the results that match the given scan object.
<p>
Notice that usually you should use this method with a <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object that has limit set.
@@ -862,7 +897,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>& [...]
+<pre>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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>& [...]
<div class="block">Test for the existence of columns in the table, as specified by the Gets.
<p>
This will return a list of booleans. Each value will be true if the related Get matches one or
@@ -883,7 +918,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>existsAll</h4>
-<pre>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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>& [...]
+<pre>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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>& [...]
<div class="block">A simple version for batch exists. It will fail if there are any failures and you will get the
whole result boolean list at once if the operation is succeeded.</div>
<dl>
@@ -900,7 +935,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>get</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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../.. [...]
+<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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../.. [...]
<div class="block">Extracts certain cells from the given rows, in batch.
<p>
Notice that you may not get all the results with this function, which means some of the
@@ -920,7 +955,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getAll</h4>
-<pre>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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a h [...]
+<pre>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><<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><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a h [...]
<div class="block">A simple version for batch get. It will fail if there are any failures and you will get the
whole result list at once if the operation is succeeded.</div>
<dl>
@@ -937,7 +972,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>put</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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a hre [...]
+<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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a hre [...]
<div class="block">Puts some data in the table, in batch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -953,7 +988,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>putAll</h4>
-<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.430">putAll</a>(<a href="https://docs.oracle.com/java [...]
+<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.485">putAll</a>(<a href="https://docs.oracle.com/java [...]
<div class="block">A simple version of batch put. It will fail if there are any failures.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -969,7 +1004,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>delete</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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a hre [...]
+<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><<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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a hre [...]
<div class="block">Deletes the specified cells/rows in bulk.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -985,7 +1020,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>deleteAll</h4>
-<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.446">deleteAll</a>(<a href="https://docs.oracle.com/j [...]
+<pre>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><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.501">deleteAll</a>(<a href="https://docs.oracle.com/j [...]
<div class="block">A simple version of batch delete. It will fail if there are any failures.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -1001,7 +1036,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>batch</h4>
-<pre><T> <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><<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><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.458">batch</a>(<a href="https://docs.oracl [...]
+<pre><T> <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><<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><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.513">batch</a>(<a href="https://docs.oracl [...]
<div class="block">Method that does a batch call on Deletes, Gets, Puts, Increments, Appends and RowMutations. The
ordering of execution of the actions is not defined. Meaning if you do a Put and a Get in the
same <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#batch-java.util.List-"><code>batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row>)</code></a> call, you will not necessarily be guaranteed that the Get returns what the
@@ -1020,7 +1055,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>batchAll</h4>
-<pre>default <T> <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><<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><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.466">batchAll</a>(<a href="ht [...]
+<pre>default <T> <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><<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><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.521">batchAll</a>(<a href="ht [...]
<div class="block">A simple version of batch. It will fail if there are any failures and you will get the whole
result list at once if the operation is succeeded.</div>
<dl>
@@ -1037,7 +1072,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>coprocessorService</h4>
-<pre><S,R> <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><R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.491">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Functi [...]
+<pre><S,R> <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><R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.546">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Functi [...]
<a href="../../../../../org/apache/hadoop/hbase/client/ServiceCaller.html" title="interface in org.apache.hadoop.hbase.client">ServiceCaller</a><S,R> callable,
byte[] row)</pre>
<div class="block">Execute the given coprocessor call on the region which contains the given <code>row</code>.
@@ -1072,7 +1107,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockListLast">
<li class="blockList">
<h4>coprocessorService</h4>
-<pre><S,R> org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.630">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><com.google.protobuf.RpcChannel,S> stubMaker,
+<pre><S,R> org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.685">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><com.google.protobuf.RpcChannel,S> stubMaker,
<a href="../../../../../org/apache/hadoop/hbase/client/ServiceCaller.html" title="interface in org.apache.hadoop.hbase.client">ServiceCaller</a><S,R> callable,
<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable.CoprocessorCallback</a><R> callback)</pre>
<div class="block">Execute a coprocessor call on the regions which are covered by a range.
diff --git a/apidocs/org/apache/hadoop/hbase/client/Consistency.html b/apidocs/org/apache/hadoop/hbase/client/Consistency.html
index bc68ac6..721a632 100644
--- a/apidocs/org/apache/hadoop/hbase/client/Consistency.html
+++ b/apidocs/org/apache/hadoop/hbase/client/Consistency.html
@@ -253,7 +253,7 @@ the order they are declared.</div>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
-<pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client">Consistency</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Consistency.html#line.48">values</a>()</pre>
+<pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client">Consistency</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Consistency.html#line.19">values</a>()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
@@ -273,7 +273,7 @@ for (Consistency c : Consistency.values())
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
-<pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client">Consistency</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Consistency.html#line.48">valueOf</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> name)</pre>
+<pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client">Consistency</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Consistency.html#line.19">valueOf</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> name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
diff --git a/apidocs/org/apache/hadoop/hbase/client/Table.html b/apidocs/org/apache/hadoop/hbase/client/Table.html
index 4130b59..e5f78d8 100644
--- a/apidocs/org/apache/hadoop/hbase/client/Table.html
+++ b/apidocs/org/apache/hadoop/hbase/client/Table.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":18,"i1":18,"i2":50,"i3":50,"i4":50,"i5":18,"i6":18,"i7":50,"i8":50,"i9":50,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":6,"i17":6,"i18":6,"i19":18,"i20":18,"i21":6,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":18,"i29":18,"i30":18,"i31":18,"i32":18};
+var methods = {"i0":18,"i1":18,"i2":50,"i3":50,"i4":50,"i5":18,"i6":18,"i7":18,"i8":50,"i9":50,"i10":50,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":6,"i18":6,"i19":6,"i20":18,"i21":18,"i22":6,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":18,"i29":18,"i30":18,"i31":18,"i32":18,"i33":18};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>@InterfaceAudience.Public
-public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.56">Table</a>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.57">Table</a>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre>
<div class="block">Used to communicate with a single HBase table.
Obtain an instance from a <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a> and call <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--"><code>close()</code></a> afterwards.
@@ -211,12 +211,19 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
</td>
</tr>
<tr id="i6" class="altColor">
+<td class="colFirst"><code>default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--">close</a></span>()</code>
<div class="block">Releases any resources held or pending changes in internal buffers.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-byte:A-">coprocessorService</a></span>(byte[] row)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
@@ -225,7 +232,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
</div>
</td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
<td class="colFirst"><code>default <T extends com.google.protobuf.Service,R><br><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><byte[],R></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
@@ -240,7 +247,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
</div>
</td>
</tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
<td class="colFirst"><code>default <T extends com.google.protobuf.Service,R><br>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
@@ -256,117 +263,117 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
</div>
</td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#delete-org.apache.hadoop.hbase.client.Delete-">delete</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code>
<div class="block">Deletes the specified cells/row.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#delete-java.util.List-">delete</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code>
<div class="block">Batch Deletes the specified cells/rows from the table.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code>default boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#exists-org.apache.hadoop.hbase.client.Get-">exists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Get.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code>default boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#exists-java.util.List-">exists</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Gets.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#get-org.apache.hadoop.hbase.client.Get-">get</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Extracts certain cells from a given row.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#get-java.util.List-">get</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Extracts specified cells from the given rows, as a batch.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Returns the <code>Configuration</code> object used by this instance.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getDescriptor--">getDescriptor</a></span>()</code>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" 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/Table.html#getName--">getName</a></span>()</code>
<div class="block">Gets the fully qualified table name instance of this table.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each operation in Table instance.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getRegionLocator--">getRegionLocator</a></span>()</code>
<div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getRpcTimeout-java.util.concurrent.TimeUnit-">getRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc request in this Table instance.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-byte:A-">getScanner</a></span>(byte[] family)</code>
<div class="block">Gets a scanner on the current table for the given family.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-byte:A-byte:A-">getScanner</a></span>(byte[] family,
byte[] qualifier)</code>
<div class="block">Gets a scanner on the current table for the given family and qualifier.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-org.apache.hadoop.hbase.client.Scan-">getScanner</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code>
<div class="block">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a>
object.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#increment-org.apache.hadoop.hbase.client.Increment-">increment</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)</code>
<div class="block">Increments one or more columns within a single row.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#incrementColumnValue-byte:A-byte:A-byte:A-long-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -375,7 +382,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"><code>incrementColumnValue(byte[], byte[], byte[], long, Durability)</code></a></div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code>default long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -385,19 +392,19 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<div class="block">Atomically increments a column value.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">mutateRow</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)</code>
<div class="block">Performs multiple mutations atomically on a single row.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#put-java.util.List-">put</a></span>(<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><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code>
<div class="block">Batch puts the specified data into the table.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#put-org.apache.hadoop.hbase.client.Put-">put</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code>
<div class="block">Puts some data in the table.</div>
@@ -424,7 +431,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<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> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.60">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.61">getName</a>()</pre>
<div class="block">Gets the fully qualified table name instance of this table.</div>
</li>
</ul>
@@ -434,7 +441,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
-<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.68">getConfiguration</a>()</pre>
+<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.69">getConfiguration</a>()</pre>
<div class="block">Returns the <code>Configuration</code> object used by this instance.
<p>
The reference returned is not a copy, so any change made to it will
@@ -447,7 +454,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.74">getDescriptor</a>()
+<pre><a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.75">getDescriptor</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 <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div>
<dl>
@@ -462,7 +469,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocator</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.79">getRegionLocator</a>()
+<pre><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.80">getRegionLocator</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 <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div>
<dl>
@@ -477,7 +484,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>default boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.95">exists</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
+<pre>default boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.96">exists</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
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">Test for the existence of columns in the table, as specified by the Get.
<p>
@@ -503,7 +510,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>default boolean[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.114">exists</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)
+<pre>default boolean[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.115">exists</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)
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">Test for the existence of columns in the table, as specified by the Gets.
<p>
@@ -530,7 +537,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<ul class="blockList">
<li class="blockList">
<h4>batch</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.132">batch</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">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.133">batch</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">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
<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>[] results)
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>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
@@ -560,7 +567,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm
<li class="blockList">
<h4>batchCallback</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>
-default <R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.147">batchCallback</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">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
+default <R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.148">batchCallback</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">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
<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>[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)
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>,
@@ -586,7 +593,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.162">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.163">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
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">Extracts certain cells from a given row.</div>
<dl>
@@ -610,7 +617,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.183">get</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.c [...]
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.184">get</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.c [...]
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">Extracts specified cells from the given rows, as a batch.</div>
<dl>
@@ -641,7 +648,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.198">getScanner</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.199">getScanner</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)
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">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a>
object.
@@ -665,7 +672,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.210">getScanner</a>(byte[] family)
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.211">getScanner</a>(byte[] family)
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 a scanner on the current table for the given family.</div>
<dl>
@@ -686,7 +693,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.223">getScanner</a>(byte[] family,
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.224">getScanner</a>(byte[] family,
byte[] qualifier)
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 a scanner on the current table for the given family and qualifier.</div>
@@ -709,7 +716,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.234">put</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.235">put</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)
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">Puts some data in the table.</div>
<dl>
@@ -728,7 +735,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.254">put</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.255">put</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)
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">Batch puts the specified data into the table.
<p>
@@ -756,7 +763,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.265">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.266">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)
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">Deletes the specified cells/row.</div>
<dl>
@@ -775,7 +782,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.292">delete</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.293">delete</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">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)
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">Batch Deletes the specified cells/rows from the table.
<p>
@@ -811,7 +818,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>checkAndMutate</h4>
-<pre>default org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.309">checkAndMutate</a>(byte[] row,
+<pre>default org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.310">checkAndMutate</a>(byte[] row,
byte[] family)</pre>
<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it
adds the Put/Delete/RowMutations.
@@ -826,13 +833,34 @@ default <R> void <a href="../../../../../src-html/org/apach
</pre></div>
</li>
</ul>
+<a name="checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkAndMutate</h4>
+<pre>default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.380">checkAndMutate</a>(byte[] row,
+ <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</pre>
+<div class="block">Atomically checks if a row matches the specified filter. If it does, it adds the
+ Put/Delete/RowMutations.
+ <p>
+ Use the returned <code>Table.CheckAndMutateWithFilterBuilder</code> to construct your request and then
+ execute it. This is a fluent style API, the code is like:
+
+ <pre>
+ <code>
+ table.checkAndMutate(row, filter).thenPut(put);
+ </code>
+ </pre></div>
+</li>
+</ul>
<a name="mutateRow-org.apache.hadoop.hbase.client.RowMutations-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mutateRow</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.372">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.420">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)
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">Performs multiple mutations atomically on a single row. Currently
<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> and <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a> are supported.</div>
@@ -850,7 +878,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.387">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.435">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)
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">Appends values to one or more columns within a single row.
<p>
@@ -873,7 +901,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>increment</h4>
-<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.403">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)
+<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.451">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)
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">Increments one or more columns within a single row.
<p>
@@ -897,7 +925,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.419">incrementColumnValue</a>(byte[] row,
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.467">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount)
@@ -925,7 +953,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.443">incrementColumnValue</a>(byte[] row,
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.491">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount,
@@ -959,7 +987,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
-<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.458">close</a>()
+<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.506">close</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">Releases any resources held or pending changes in internal buffers.</div>
<dl>
@@ -979,7 +1007,7 @@ default <R> void <a href="../../../../../src-html/org/apach
<li class="blockList">
<h4>coprocessorService</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>
-default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.492">coprocessorService</a>(byte[] row)</pre>
+default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.540">coprocessorService</a>(byte[] row)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. This is too low level, please stop using it any
more. Use the coprocessorService methods in <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> instead.</span></div>
<div class="block">Creates and returns a <code>RpcChannel</code> instance connected to the table
@@ -1021,7 +1049,7 @@ default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcC
<li class="blockList">
<h4>coprocessorService</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>
-default <T extends com.google.protobuf.Service,R> <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><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.522">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
+default <T extends com.google.protobuf.Service,R> <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><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.570">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
byte[] endKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable)
@@ -1068,7 +1096,7 @@ default <T extends com.google.protobuf.Service,R> <a href="https
<li class="blockList">
<h4>coprocessorService</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>
-default <T extends com.google.protobuf.Service,R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.569">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
+default <T extends com.google.protobuf.Service,R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.617">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
byte[] endKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable,
@@ -1122,7 +1150,7 @@ default <T extends com.google.protobuf.Service,R> void <a h
<li class="blockList">
<h4>batchCoprocessorService</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>
-default <R extends com.google.protobuf.Message> <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><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.597">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
+default <R extends com.google.protobuf.Message> <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><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.645">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
@@ -1168,7 +1196,7 @@ default <R extends com.google.protobuf.Message> <a href="https:/
<li class="blockList">
<h4>batchCoprocessorService</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>
-default <R extends com.google.protobuf.Message> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.641">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
+default <R extends com.google.protobuf.Message> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.689">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
@@ -1216,7 +1244,7 @@ default <R extends com.google.protobuf.Message> void <a hre
<ul class="blockList">
<li class="blockList">
<h4>getRpcTimeout</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.656">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.704">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc request in this Table instance. It will be overridden by a more
specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.</div>
<dl>
@@ -1236,7 +1264,7 @@ default <R extends com.google.protobuf.Message> void <a hre
<ul class="blockList">
<li class="blockList">
<h4>getReadRpcTimeout</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.665">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.713">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -1252,7 +1280,7 @@ default <R extends com.google.protobuf.Message> void <a hre
<ul class="blockList">
<li class="blockList">
<h4>getWriteRpcTimeout</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.674">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.722">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -1268,7 +1296,7 @@ default <R extends com.google.protobuf.Message> void <a hre
<ul class="blockListLast">
<li class="blockList">
<h4>getOperationTimeout</h4>
-<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.683">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.731">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block">Get timeout of each operation in Table instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html b/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
index c8def0c..cd9932b 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
@@ -324,7 +324,7 @@ the order they are declared.</div>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
-<pre>public static <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.284">values</a>()</pre>
+<pre>public static <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.98">values</a>()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
@@ -344,7 +344,7 @@ for (Filter.ReturnCode c : Filter.ReturnCode.values())
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
-<pre>public static <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.284">valueOf</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> name)</pre>
+<pre>public static <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.98">valueOf</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> name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
diff --git a/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html b/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html
index d29b29e..06a2c79 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html
@@ -109,6 +109,10 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.hadoop.hbase.rest.client">org.apache.hadoop.hbase.rest.client</a></td>
+<td class="colLast"> </td>
+</tr>
</tbody>
</table>
</li>
@@ -156,6 +160,20 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
</tr>
<tbody>
<tr class="altColor">
+<td class="colFirst"><code>default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><span class="typeNameLabel">AsyncTable.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</td>
+</tr>
+<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></code></td>
<td class="colLast"><span class="typeNameLabel">Scan.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html#setFilter-org.apache.hadoop.hbase.filter.Filter-">setFilter</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code> </td>
</tr>
@@ -690,6 +708,25 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
</tbody>
</table>
</li>
+<li class="blockList"><a name="org.apache.hadoop.hbase.rest.client">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> in <a href="../../../../../../org/apache/hadoop/hbase/rest/client/package-summary.html">org.apache.hadoop.hbase.rest.client</a></h3>
+<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/rest/client/package-summary.html">org.apache.hadoop.hbase.rest.client</a> with parameters of type <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a></span><span class="tabEnd"> </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>org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><span class="typeNameLabel">RemoteHTable.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code> </td>
+</tr>
+</tbody>
+</table>
+</li>
</ul>
</li>
</ul>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/package-use.html b/apidocs/org/apache/hadoop/hbase/filter/package-use.html
index d1ade74..aae3629 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/package-use.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/package-use.html
@@ -109,6 +109,10 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.hadoop.hbase.rest.client">org.apache.hadoop.hbase.rest.client</a></td>
+<td class="colLast"> </td>
+</tr>
</tbody>
</table>
</li>
@@ -419,6 +423,23 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
</tbody>
</table>
</li>
+<li class="blockList"><a name="org.apache.hadoop.hbase.rest.client">
+<!-- -->
+</a>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a href="../../../../../org/apache/hadoop/hbase/filter/package-summary.html">org.apache.hadoop.hbase.filter</a> used by <a href="../../../../../org/apache/hadoop/hbase/rest/client/package-summary.html">org.apache.hadoop.hbase.rest.client</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colOne"><a href="../../../../../org/apache/hadoop/hbase/filter/class-use/Filter.html#org.apache.hadoop.hbase.rest.client">Filter</a>
+<div class="block">Interface for row and column filters directly applied within the regionserver.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
diff --git a/apidocs/org/apache/hadoop/hbase/rest/client/RemoteHTable.html b/apidocs/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
index 7f15d68..4c95dad 100644
--- a/apidocs/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
+++ b/apidocs/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>@InterfaceAudience.Public
-public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.83">RemoteHTable</a>
+public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.85">RemoteHTable</a>
extends <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>
implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></pre>
<div class="block">HTable interface to remote tables accessed via REST gateway</div>
@@ -245,19 +245,26 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
</td>
</tr>
<tr id="i10" class="altColor">
+<td class="colFirst"><code>org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row,
+ <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code>
+<div class="block">Atomically checks if a row matches the specified filter.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#close--">close</a></span>()</code>
<div class="block">Releases any resources held or pending changes in internal buffers.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#coprocessorService-byte:A-">coprocessorService</a></span>(byte[] row)</code>
<div class="block">Creates and returns a <code>RpcChannel</code> instance connected to the table
region containing the specified row.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code><T extends com.google.protobuf.Service,R><br><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><byte[],R></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
@@ -269,7 +276,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
with each <code>Service</code> instance.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code><T extends com.google.protobuf.Service,R><br>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
@@ -282,125 +289,125 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
with each <code>Service</code> instance.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#delete-org.apache.hadoop.hbase.client.Delete-">delete</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code>
<div class="block">Deletes the specified cells/row.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#delete-java.util.List-">delete</a></span>(<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><<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code>
<div class="block">Batch Deletes the specified cells/rows from the table.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#exists-org.apache.hadoop.hbase.client.Get-">exists</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Get.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#exists-java.util.List-">exists</a></span>(<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><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Test for the existence of columns in the table, as specified by the Gets.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#flushCommits--">flushCommits</a></span>()</code> </td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#get-org.apache.hadoop.hbase.client.Get-">get</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code>
<div class="block">Extracts certain cells from a given row.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#get-java.util.List-">get</a></span>(<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><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code>
<div class="block">Extracts specified cells from the given rows, as a batch.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Returns the <code>Configuration</code> object used by this instance.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getDescriptor--">getDescriptor</a></span>()</code>
<div class="block">Gets the <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<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/rest/client/RemoteHTable.html#getName--">getName</a></span>()</code>
<div class="block">Gets the fully qualified table name instance of this table.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each operation in Table instance.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getRegionLocator--">getRegionLocator</a></span>()</code>
<div class="block">Gets the <a href="../../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getRpcTimeout-java.util.concurrent.TimeUnit-">getRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc request in this Table instance.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getScanner-byte:A-">getScanner</a></span>(byte[] family)</code>
<div class="block">Gets a scanner on the current table for the given family.</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getScanner-byte:A-byte:A-">getScanner</a></span>(byte[] family,
byte[] qualifier)</code>
<div class="block">Gets a scanner on the current table for the given family and qualifier.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getScanner-org.apache.hadoop.hbase.client.Scan-">getScanner</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code>
<div class="block">Returns a scanner on the current table as specified by the <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a>
object.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getTableName--">getTableName</a></span>()</code> </td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#increment-org.apache.hadoop.hbase.client.Increment-">increment</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)</code>
<div class="block">Increments one or more columns within a single row.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#incrementColumnValue-byte:A-byte:A-byte:A-long-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -409,7 +416,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<div class="block">See <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"><code>Table.incrementColumnValue(byte[], byte[], byte[], long, Durability)</code></a></div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i36" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-">incrementColumnValue</a></span>(byte[] row,
byte[] family,
@@ -419,23 +426,23 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<div class="block">Atomically increments a column value.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#isAutoFlush--">isAutoFlush</a></span>()</code> </td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">mutateRow</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)</code>
<div class="block">Performs multiple mutations atomically on a single row.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#put-java.util.List-">put</a></span>(<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><<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code>
<div class="block">Batch puts the specified data into the table.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/rest/client/RemoteHTable.html#put-org.apache.hadoop.hbase.client.Put-">put</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code>
<div class="block">Puts some data in the table.</div>
@@ -469,7 +476,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>RemoteHTable</h4>
-<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.219">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
+<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.221">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
<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> name)</pre>
<div class="block">Constructor</div>
</li>
@@ -480,7 +487,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>RemoteHTable</h4>
-<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.226">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
+<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.228">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
org.apache.hadoop.conf.Configuration conf,
<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> name)</pre>
<div class="block">Constructor</div>
@@ -492,7 +499,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockListLast">
<li class="blockList">
<h4>RemoteHTable</h4>
-<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.233">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
+<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.235">RemoteHTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/rest/client/Client.html" title="class in org.apache.hadoop.hbase.rest.client">Client</a> client,
org.apache.hadoop.conf.Configuration conf,
byte[] name)</pre>
<div class="block">Constructor</div>
@@ -512,7 +519,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>buildRowSpec</h4>
-<pre>protected <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/rest/client/RemoteHTable.html#line.94">buildRowSpec</a>(byte[] row,
+<pre>protected <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/rest/client/RemoteHTable.html#line.96">buildRowSpec</a>(byte[] row,
<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> familyMap,
long startTime,
long endTime,
@@ -525,7 +532,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>buildMultiRowSpec</h4>
-<pre>protected <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/rest/client/RemoteHTable.html#line.156">buildMultiRowSpec</a>(byte[][] rows,
+<pre>protected <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/rest/client/RemoteHTable.html#line.158">buildMultiRowSpec</a>(byte[][] rows,
int maxVersions)</pre>
</li>
</ul>
@@ -535,7 +542,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>buildResultFromModel</h4>
-<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.179">buildResultFromModel</a>(org.apache.hadoop.hbase.rest.model.CellSetModel model)</pre>
+<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.181">buildResultFromModel</a>(org.apache.hadoop.hbase.rest.model.CellSetModel model)</pre>
</li>
</ul>
<a name="buildModelFromPut-org.apache.hadoop.hbase.client.Put-">
@@ -544,7 +551,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>buildModelFromPut</h4>
-<pre>protected org.apache.hadoop.hbase.rest.model.CellSetModel <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.202">buildModelFromPut</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</pre>
+<pre>protected org.apache.hadoop.hbase.rest.model.CellSetModel <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.204">buildModelFromPut</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</pre>
</li>
</ul>
<a name="getTableName--">
@@ -553,7 +560,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getTableName</h4>
-<pre>public byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.241">getTableName</a>()</pre>
+<pre>public byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.243">getTableName</a>()</pre>
</li>
</ul>
<a name="getName--">
@@ -562,7 +569,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.246">getName</a>()</pre>
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.248">getName</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getName--">Table</a></code></span></div>
<div class="block">Gets the fully qualified table name instance of this table.</div>
<dl>
@@ -577,7 +584,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
-<pre>public org.apache.hadoop.conf.Configuration <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.251">getConfiguration</a>()</pre>
+<pre>public org.apache.hadoop.conf.Configuration <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.253">getConfiguration</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getConfiguration--">Table</a></code></span></div>
<div class="block">Returns the <code>Configuration</code> object used by this instance.
<p>
@@ -595,7 +602,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.256">close</a>()
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.258">close</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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#close--">Table</a></code></span></div>
<div class="block">Releases any resources held or pending changes in internal buffers.</div>
@@ -617,7 +624,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.261">get</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.263">get</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#get-org.apache.hadoop.hbase.client.Get-">Table</a></code></span></div>
<div class="block">Extracts certain cells from a given row.</div>
@@ -642,7 +649,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.280">get</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.a [...]
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.282">get</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#get-java.util.List-">Table</a></code></span></div>
<div class="block">Extracts specified cells from the given rows, as a batch.</div>
@@ -669,7 +676,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.338">exists</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
+<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.340">exists</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#exists-org.apache.hadoop.hbase.client.Get-">Table</a></code></span></div>
<div class="block">Test for the existence of columns in the table, as specified by the Get.
@@ -698,7 +705,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
-<pre>public boolean[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.345">exists</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)
+<pre>public boolean[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.347">exists</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#exists-java.util.List-">Table</a></code></span></div>
<div class="block">Test for the existence of columns in the table, as specified by the Gets.
@@ -728,7 +735,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.355">put</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.357">put</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#put-org.apache.hadoop.hbase.client.Put-">Table</a></code></span></div>
<div class="block">Puts some data in the table.</div>
@@ -748,7 +755,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.384">put</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.386">put</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#put-java.util.List-">Table</a></code></span></div>
<div class="block">Batch puts the specified data into the table.
@@ -777,7 +784,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.439">delete</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.441">delete</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#delete-org.apache.hadoop.hbase.client.Delete-">Table</a></code></span></div>
<div class="block">Deletes the specified cells/row.</div>
@@ -797,7 +804,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.463">delete</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.465">delete</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">List</a><<a href="../../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#delete-java.util.List-">Table</a></code></span></div>
<div class="block">Batch Deletes the specified cells/rows from the table.
@@ -828,7 +835,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>flushCommits</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.469">flushCommits</a>()
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.471">flushCommits</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>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
@@ -842,7 +849,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.474">getDescriptor</a>()
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.476">getDescriptor</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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getDescriptor--">Table</a></code></span></div>
<div class="block">Gets the <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div>
@@ -860,7 +867,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.641">getScanner</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.643">getScanner</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-org.apache.hadoop.hbase.client.Scan-">Table</a></code></span></div>
<div class="block">Returns a scanner on the current table as specified by the <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a>
@@ -885,7 +892,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.646">getScanner</a>(byte[] family)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.648">getScanner</a>(byte[] family)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-byte:A-">Table</a></code></span></div>
<div class="block">Gets a scanner on the current table for the given family.</div>
@@ -907,7 +914,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getScanner</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.653">getScanner</a>(byte[] family,
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.655">getScanner</a>(byte[] family,
byte[] qualifier)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getScanner-byte:A-byte:A-">Table</a></code></span></div>
@@ -931,7 +938,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>isAutoFlush</h4>
-<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.659">isAutoFlush</a>()</pre>
+<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.661">isAutoFlush</a>()</pre>
</li>
</ul>
<a name="checkAndMutate-byte:A-byte:A-">
@@ -940,7 +947,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>checkAndMutate</h4>
-<pre>public org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.736">checkAndMutate</a>(byte[] row,
+<pre>public org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.738">checkAndMutate</a>(byte[] row,
byte[] family)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-byte:A-">Table</a></code></span></div>
<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it
@@ -960,13 +967,39 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
</dl>
</li>
</ul>
+<a name="checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkAndMutate</h4>
+<pre>public org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.743">checkAndMutate</a>(byte[] row,
+ <a href="../../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">Table</a></code></span></div>
+<div class="block">Atomically checks if a row matches the specified filter. If it does, it adds the
+ Put/Delete/RowMutations.
+ <p>
+ Use the returned <code>Table.CheckAndMutateWithFilterBuilder</code> to construct your request and then
+ execute it. This is a fluent style API, the code is like:
+
+ <pre>
+ <code>
+ table.checkAndMutate(row, filter).thenPut(put);
+ </code>
+ </pre></div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></code></dd>
+</dl>
+</li>
+</ul>
<a name="increment-org.apache.hadoop.hbase.client.Increment-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>increment</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.741">increment</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.748">increment</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#increment-org.apache.hadoop.hbase.client.Increment-">Table</a></code></span></div>
<div class="block">Increments one or more columns within a single row.
@@ -993,7 +1026,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.746">append</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.753">append</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#append-org.apache.hadoop.hbase.client.Append-">Table</a></code></span></div>
<div class="block">Appends values to one or more columns within a single row.
@@ -1019,7 +1052,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.751">incrementColumnValue</a>(byte[] row,
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.758">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount)
@@ -1050,7 +1083,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>incrementColumnValue</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.757">incrementColumnValue</a>(byte[] row,
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.764">incrementColumnValue</a>(byte[] row,
byte[] family,
byte[] qualifier,
long amount,
@@ -1087,7 +1120,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>batch</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.763">batch</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">List</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.770">batch</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">List</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
<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>[] results)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#batch-java.util.List-java.lang.Object:A-">Table</a></code></span></div>
@@ -1115,7 +1148,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>batchCallback</h4>
-<pre>public <R> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.768">batchCallback</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">List</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
+<pre>public <R> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.775">batchCallback</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">List</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions,
<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>[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)
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>,
@@ -1137,7 +1170,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>coprocessorService</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.774">coprocessorService</a>(byte[] row)</pre>
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.781">coprocessorService</a>(byte[] row)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-byte:A-">Table</a></code></span></div>
<div class="block">Creates and returns a <code>RpcChannel</code> instance connected to the table
region containing the specified row. The row given does not actually have to exist. Whichever
@@ -1179,7 +1212,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>coprocessorService</h4>
-<pre>public <T extends com.google.protobuf.Service,R> <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><byte[],R> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.779">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>< [...]
+<pre>public <T extends com.google.protobuf.Service,R> <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><byte[],R> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.786">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>< [...]
byte[] startKey,
byte[] endKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable)
@@ -1223,7 +1256,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>coprocessorService</h4>
-<pre>public <T extends com.google.protobuf.Service,R> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.785">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
+<pre>public <T extends com.google.protobuf.Service,R> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.792">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service,
byte[] startKey,
byte[] endKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable,
@@ -1272,7 +1305,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>mutateRow</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.792">mutateRow</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.799">mutateRow</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm)
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="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">Table</a></code></span></div>
<div class="block">Performs multiple mutations atomically on a single row. Currently
@@ -1295,7 +1328,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>batchCoprocessorService</h4>
-<pre>public <R extends com.google.protobuf.Message> <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><byte[],R> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.797">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor method,
+<pre>public <R extends com.google.protobuf.Message> <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><byte[],R> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.804">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
@@ -1338,7 +1371,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>batchCoprocessorService</h4>
-<pre>public <R extends com.google.protobuf.Message> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.804">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor method,
+<pre>public <R extends com.google.protobuf.Message> void <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.811">batchCoprocessorService</a>(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
byte[] startKey,
byte[] endKey,
@@ -1384,7 +1417,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getReadRpcTimeout</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.811">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.818">getReadRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">Table</a></code></span></div>
<div class="block">Get timeout of each rpc read request in this Table instance.</div>
<dl>
@@ -1403,7 +1436,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getRpcTimeout</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.816">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.823">getRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getRpcTimeout-java.util.concurrent.TimeUnit-">Table</a></code></span></div>
<div class="block">Get timeout of each rpc request in this Table instance. It will be overridden by a more
specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.</div>
@@ -1426,7 +1459,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getWriteRpcTimeout</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.821">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.828">getWriteRpcTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">Table</a></code></span></div>
<div class="block">Get timeout of each rpc write request in this Table instance.</div>
<dl>
@@ -1445,7 +1478,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockList">
<li class="blockList">
<h4>getOperationTimeout</h4>
-<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.826">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
+<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.833">getOperationTimeout</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getOperationTimeout-java.util.concurrent.TimeUnit-">Table</a></code></span></div>
<div class="block">Get timeout of each operation in Table instance.</div>
<dl>
@@ -1464,7 +1497,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/client/Table.html"
<ul class="blockListLast">
<li class="blockList">
<h4>getRegionLocator</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.907">getRegionLocator</a>()
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html#line.914">getRegionLocator</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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/client/Table.html#getRegionLocator--">Table</a></code></span></div>
<div class="block">Gets the <a href="../../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
index e2f1f9c..5af44f7 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html
@@ -37,607 +37,662 @@
<span class="sourceLineNo">029</span>import org.apache.hadoop.conf.Configuration;<a name="line.29"></a>
<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.30"></a>
<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.TableName;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span>/**<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * The interface for asynchronous version of Table. Obtain an instance from a<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * {@link AsyncConnection}.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
-<span class="sourceLineNo">042</span> * The implementation is required to be thread safe.<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
-<span class="sourceLineNo">044</span> * Usually the implementation will not throw any exception directly. You need to get the exception<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * from the returned {@link CompletableFuture}.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * @since 2.0.0<a name="line.46"></a>
-<span class="sourceLineNo">047</span> */<a name="line.47"></a>
-<span class="sourceLineNo">048</span>@InterfaceAudience.Public<a name="line.48"></a>
-<span class="sourceLineNo">049</span>public interface AsyncTable<C extends ScanResultConsumerBase> {<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> * Gets the fully qualified table name instance of this table.<a name="line.52"></a>
-<span class="sourceLineNo">053</span> */<a name="line.53"></a>
-<span class="sourceLineNo">054</span> TableName getName();<a name="line.54"></a>
-<span class="sourceLineNo">055</span><a name="line.55"></a>
-<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
-<span class="sourceLineNo">059</span> * The reference returned is not a copy, so any change made to it will affect this instance.<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span> Configuration getConfiguration();<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
-<span class="sourceLineNo">064</span> * Gets the {@link TableDescriptor} for this table.<a name="line.64"></a>
-<span class="sourceLineNo">065</span> */<a name="line.65"></a>
-<span class="sourceLineNo">066</span> CompletableFuture<TableDescriptor> getDescriptor();<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span> /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * Gets the {@link AsyncTableRegionLocator} for this table.<a name="line.69"></a>
-<span class="sourceLineNo">070</span> */<a name="line.70"></a>
-<span class="sourceLineNo">071</span> AsyncTableRegionLocator getRegionLocator();<a name="line.71"></a>
-<span class="sourceLineNo">072</span> /**<a name="line.72"></a>
-<span class="sourceLineNo">073</span> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.73"></a>
-<span class="sourceLineNo">074</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.74"></a>
-<span class="sourceLineNo">075</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.75"></a>
-<span class="sourceLineNo">076</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.76"></a>
-<span class="sourceLineNo">077</span> * @param unit the unit of time the timeout to be represented in<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * @return rpc timeout in the specified time unit<a name="line.78"></a>
-<span class="sourceLineNo">079</span> */<a name="line.79"></a>
-<span class="sourceLineNo">080</span> long getRpcTimeout(TimeUnit unit);<a name="line.80"></a>
-<span class="sourceLineNo">081</span><a name="line.81"></a>
-<span class="sourceLineNo">082</span> /**<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * Get timeout of each rpc read request in this Table instance.<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * @param unit the unit of time the timeout to be represented in<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * @return read rpc timeout in the specified time unit<a name="line.85"></a>
-<span class="sourceLineNo">086</span> */<a name="line.86"></a>
-<span class="sourceLineNo">087</span> long getReadRpcTimeout(TimeUnit unit);<a name="line.87"></a>
-<span class="sourceLineNo">088</span><a name="line.88"></a>
-<span class="sourceLineNo">089</span> /**<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * Get timeout of each rpc write request in this Table instance.<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * @param unit the unit of time the timeout to be represented in<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @return write rpc timeout in the specified time unit<a name="line.92"></a>
-<span class="sourceLineNo">093</span> */<a name="line.93"></a>
-<span class="sourceLineNo">094</span> long getWriteRpcTimeout(TimeUnit unit);<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span> /**<a name="line.96"></a>
-<span class="sourceLineNo">097</span> * Get timeout of each operation in Table instance.<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * @param unit the unit of time the timeout to be represented in<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * @return operation rpc timeout in the specified time unit<a name="line.99"></a>
-<span class="sourceLineNo">100</span> */<a name="line.100"></a>
-<span class="sourceLineNo">101</span> long getOperationTimeout(TimeUnit unit);<a name="line.101"></a>
-<span class="sourceLineNo">102</span><a name="line.102"></a>
-<span class="sourceLineNo">103</span> /**<a name="line.103"></a>
-<span class="sourceLineNo">104</span> * Get the timeout of a single operation in a scan. It works like operation timeout for other<a name="line.104"></a>
-<span class="sourceLineNo">105</span> * operations.<a name="line.105"></a>
-<span class="sourceLineNo">106</span> * @param unit the unit of time the timeout to be represented in<a name="line.106"></a>
-<span class="sourceLineNo">107</span> * @return scan rpc timeout in the specified time unit<a name="line.107"></a>
-<span class="sourceLineNo">108</span> */<a name="line.108"></a>
-<span class="sourceLineNo">109</span> long getScanTimeout(TimeUnit unit);<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span> /**<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.112"></a>
-<span class="sourceLineNo">113</span> * <p><a name="line.113"></a>
-<span class="sourceLineNo">114</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> * <p><a name="line.115"></a>
-<span class="sourceLineNo">116</span> * This is a server-side call so it prevents any data from being transfered to the client.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> * @return true if the specified Get matches one or more keys, false if not. The return value will<a name="line.117"></a>
-<span class="sourceLineNo">118</span> * be wrapped by a {@link CompletableFuture}.<a name="line.118"></a>
-<span class="sourceLineNo">119</span> */<a name="line.119"></a>
-<span class="sourceLineNo">120</span> default CompletableFuture<Boolean> exists(Get get) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span> return get(toCheckExistenceOnly(get)).thenApply(r -> r.getExists());<a name="line.121"></a>
-<span class="sourceLineNo">122</span> }<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span> /**<a name="line.124"></a>
-<span class="sourceLineNo">125</span> * Extracts certain cells from a given row.<a name="line.125"></a>
-<span class="sourceLineNo">126</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.126"></a>
-<span class="sourceLineNo">127</span> * @return The data coming from the specified row, if it exists. If the row specified doesn't<a name="line.127"></a>
-<span class="sourceLineNo">128</span> * exist, the {@link Result} instance returned won't contain any<a name="line.128"></a>
-<span class="sourceLineNo">129</span> * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The<a name="line.129"></a>
-<span class="sourceLineNo">130</span> * return value will be wrapped by a {@link CompletableFuture}.<a name="line.130"></a>
-<span class="sourceLineNo">131</span> */<a name="line.131"></a>
-<span class="sourceLineNo">132</span> CompletableFuture<Result> get(Get get);<a name="line.132"></a>
-<span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span> /**<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * Puts some data to the table.<a name="line.135"></a>
-<span class="sourceLineNo">136</span> * @param put The data to put.<a name="line.136"></a>
-<span class="sourceLineNo">137</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.137"></a>
-<span class="sourceLineNo">138</span> */<a name="line.138"></a>
-<span class="sourceLineNo">139</span> CompletableFuture<Void> put(Put put);<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> * Deletes the specified cells/row.<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * @param delete The object that specifies what to delete.<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.144"></a>
-<span class="sourceLineNo">145</span> */<a name="line.145"></a>
-<span class="sourceLineNo">146</span> CompletableFuture<Void> delete(Delete delete);<a name="line.146"></a>
-<span class="sourceLineNo">147</span><a name="line.147"></a>
-<span class="sourceLineNo">148</span> /**<a name="line.148"></a>
-<span class="sourceLineNo">149</span> * Appends values to one or more columns within a single row.<a name="line.149"></a>
-<span class="sourceLineNo">150</span> * <p><a name="line.150"></a>
-<span class="sourceLineNo">151</span> * This operation does not appear atomic to readers. Appends are done under a single row lock, so<a name="line.151"></a>
-<span class="sourceLineNo">152</span> * write operations to a row are synchronized, but readers do not take row locks so get and scan<a name="line.152"></a>
-<span class="sourceLineNo">153</span> * operations can see this operation partially completed.<a name="line.153"></a>
-<span class="sourceLineNo">154</span> * @param append object that specifies the columns and amounts to be used for the increment<a name="line.154"></a>
-<span class="sourceLineNo">155</span> * operations<a name="line.155"></a>
-<span class="sourceLineNo">156</span> * @return values of columns after the append operation (maybe null). The return value will be<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * wrapped by a {@link CompletableFuture}.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> */<a name="line.158"></a>
-<span class="sourceLineNo">159</span> CompletableFuture<Result> append(Append append);<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span> /**<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * Increments one or more columns within a single row.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * <p><a name="line.163"></a>
-<span class="sourceLineNo">164</span> * This operation does not appear atomic to readers. Increments are done under a single row lock,<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * so write operations to a row are synchronized, but readers do not take row locks so get and<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * scan operations can see this operation partially completed.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> * @param increment object that specifies the columns and amounts to be used for the increment<a name="line.167"></a>
-<span class="sourceLineNo">168</span> * operations<a name="line.168"></a>
-<span class="sourceLineNo">169</span> * @return values of columns after the increment. The return value will be wrapped by a<a name="line.169"></a>
-<span class="sourceLineNo">170</span> * {@link CompletableFuture}.<a name="line.170"></a>
-<span class="sourceLineNo">171</span> */<a name="line.171"></a>
-<span class="sourceLineNo">172</span> CompletableFuture<Result> increment(Increment increment);<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span> /**<a name="line.174"></a>
-<span class="sourceLineNo">175</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.175"></a>
-<span class="sourceLineNo">176</span> * <p><a name="line.176"></a>
-<span class="sourceLineNo">177</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.177"></a>
-<span class="sourceLineNo">178</span> * @param row The row that contains the cell to increment.<a name="line.178"></a>
-<span class="sourceLineNo">179</span> * @param family The column family of the cell to increment.<a name="line.179"></a>
-<span class="sourceLineNo">180</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.180"></a>
-<span class="sourceLineNo">181</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.181"></a>
-<span class="sourceLineNo">182</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.182"></a>
-<span class="sourceLineNo">183</span> * {@link CompletableFuture}.<a name="line.183"></a>
-<span class="sourceLineNo">184</span> */<a name="line.184"></a>
-<span class="sourceLineNo">185</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.185"></a>
-<span class="sourceLineNo">186</span> long amount) {<a name="line.186"></a>
-<span class="sourceLineNo">187</span> return incrementColumnValue(row, family, qualifier, amount, Durability.SYNC_WAL);<a name="line.187"></a>
-<span class="sourceLineNo">188</span> }<a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span> /**<a name="line.190"></a>
-<span class="sourceLineNo">191</span> * Atomically increments a column value. If the column value already exists and is not a<a name="line.191"></a>
-<span class="sourceLineNo">192</span> * big-endian long, this could throw an exception. If the column value does not yet exist it is<a name="line.192"></a>
-<span class="sourceLineNo">193</span> * initialized to <code>amount</code> and written to the specified column.<a name="line.193"></a>
-<span class="sourceLineNo">194</span> * <p><a name="line.194"></a>
-<span class="sourceLineNo">195</span> * Setting durability to {@link Durability#SKIP_WAL} means that in a fail scenario you will lose<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * any increments that have not been flushed.<a name="line.196"></a>
-<span class="sourceLineNo">197</span> * @param row The row that contains the cell to increment.<a name="line.197"></a>
-<span class="sourceLineNo">198</span> * @param family The column family of the cell to increment.<a name="line.198"></a>
-<span class="sourceLineNo">199</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.199"></a>
-<span class="sourceLineNo">200</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.200"></a>
-<span class="sourceLineNo">201</span> * @param durability The persistence guarantee for this increment.<a name="line.201"></a>
-<span class="sourceLineNo">202</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.202"></a>
-<span class="sourceLineNo">203</span> * {@link CompletableFuture}.<a name="line.203"></a>
-<span class="sourceLineNo">204</span> */<a name="line.204"></a>
-<span class="sourceLineNo">205</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.205"></a>
-<span class="sourceLineNo">206</span> long amount, Durability durability) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span> Preconditions.checkNotNull(row, "row is null");<a name="line.207"></a>
-<span class="sourceLineNo">208</span> Preconditions.checkNotNull(family, "family is null");<a name="line.208"></a>
-<span class="sourceLineNo">209</span> return increment(<a name="line.209"></a>
-<span class="sourceLineNo">210</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.210"></a>
-<span class="sourceLineNo">211</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * adds the Put/Delete/RowMutations.<a name="line.216"></a>
-<span class="sourceLineNo">217</span> * <p><a name="line.217"></a>
-<span class="sourceLineNo">218</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * This is a fluent style API, the code is like:<a name="line.219"></a>
-<span class="sourceLineNo">220</span> *<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * <pre><a name="line.221"></a>
-<span class="sourceLineNo">222</span> * <code><a name="line.222"></a>
-<span class="sourceLineNo">223</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put)<a name="line.223"></a>
-<span class="sourceLineNo">224</span> * .thenAccept(succ -> {<a name="line.224"></a>
-<span class="sourceLineNo">225</span> * if (succ) {<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * System.out.println("Check and put succeeded");<a name="line.226"></a>
-<span class="sourceLineNo">227</span> * } else {<a name="line.227"></a>
-<span class="sourceLineNo">228</span> * System.out.println("Check and put failed");<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * }<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * });<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * </code><a name="line.231"></a>
-<span class="sourceLineNo">232</span> * </pre><a name="line.232"></a>
-<span class="sourceLineNo">233</span> */<a name="line.233"></a>
-<span class="sourceLineNo">234</span> CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family);<a name="line.234"></a>
-<span class="sourceLineNo">235</span><a name="line.235"></a>
-<span class="sourceLineNo">236</span> /**<a name="line.236"></a>
-<span class="sourceLineNo">237</span> * A helper class for sending checkAndMutate request.<a name="line.237"></a>
-<span class="sourceLineNo">238</span> */<a name="line.238"></a>
-<span class="sourceLineNo">239</span> interface CheckAndMutateBuilder {<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span> /**<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * @param qualifier column qualifier to check.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> */<a name="line.243"></a>
-<span class="sourceLineNo">244</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span> /**<a name="line.246"></a>
-<span class="sourceLineNo">247</span> * @param timeRange time range to check.<a name="line.247"></a>
-<span class="sourceLineNo">248</span> */<a name="line.248"></a>
-<span class="sourceLineNo">249</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * Check for lack of column.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> CheckAndMutateBuilder ifNotExists();<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span> /**<a name="line.256"></a>
-<span class="sourceLineNo">257</span> * Check for equality.<a name="line.257"></a>
-<span class="sourceLineNo">258</span> * @param value the expected value<a name="line.258"></a>
-<span class="sourceLineNo">259</span> */<a name="line.259"></a>
-<span class="sourceLineNo">260</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.261"></a>
-<span class="sourceLineNo">262</span> }<a name="line.262"></a>
-<span class="sourceLineNo">263</span><a name="line.263"></a>
-<span class="sourceLineNo">264</span> /**<a name="line.264"></a>
-<span class="sourceLineNo">265</span> * @param compareOp comparison operator to use<a name="line.265"></a>
-<span class="sourceLineNo">266</span> * @param value the expected value<a name="line.266"></a>
-<span class="sourceLineNo">267</span> */<a name="line.267"></a>
-<span class="sourceLineNo">268</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.268"></a>
-<span class="sourceLineNo">269</span><a name="line.269"></a>
-<span class="sourceLineNo">270</span> /**<a name="line.270"></a>
-<span class="sourceLineNo">271</span> * @param put data to put if check succeeds<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> */<a name="line.274"></a>
-<span class="sourceLineNo">275</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.275"></a>
-<span class="sourceLineNo">276</span><a name="line.276"></a>
-<span class="sourceLineNo">277</span> /**<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * @param delete data to delete if check succeeds<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.280"></a>
-<span class="sourceLineNo">281</span> */<a name="line.281"></a>
-<span class="sourceLineNo">282</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span> /**<a name="line.284"></a>
-<span class="sourceLineNo">285</span> * @param mutation mutations to perform if check succeeds<a name="line.285"></a>
-<span class="sourceLineNo">286</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.286"></a>
-<span class="sourceLineNo">287</span> * wrapped by a {@link CompletableFuture}.<a name="line.287"></a>
-<span class="sourceLineNo">288</span> */<a name="line.288"></a>
-<span class="sourceLineNo">289</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.289"></a>
-<span class="sourceLineNo">290</span> }<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.293"></a>
-<span class="sourceLineNo">294</span> * {@link Delete} are supported.<a name="line.294"></a>
-<span class="sourceLineNo">295</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.295"></a>
-<span class="sourceLineNo">296</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.296"></a>
-<span class="sourceLineNo">297</span> */<a name="line.297"></a>
-<span class="sourceLineNo">298</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<a name="line.298"></a>
-<span class="sourceLineNo">299</span><a name="line.299"></a>
-<span class="sourceLineNo">300</span> /**<a name="line.300"></a>
-<span class="sourceLineNo">301</span> * The scan API uses the observer pattern.<a name="line.301"></a>
-<span class="sourceLineNo">302</span> * @param scan A configured {@link Scan} object.<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * @param consumer the consumer used to receive results.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> * @see ScanResultConsumer<a name="line.304"></a>
-<span class="sourceLineNo">305</span> * @see AdvancedScanResultConsumer<a name="line.305"></a>
-<span class="sourceLineNo">306</span> */<a name="line.306"></a>
-<span class="sourceLineNo">307</span> void scan(Scan scan, C consumer);<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span> /**<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Gets a scanner on the current table for the given family.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> * @param family The column family to scan.<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @return A scanner.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> */<a name="line.313"></a>
-<span class="sourceLineNo">314</span> default ResultScanner getScanner(byte[] family) {<a name="line.314"></a>
-<span class="sourceLineNo">315</span> return getScanner(new Scan().addFamily(family));<a name="line.315"></a>
-<span class="sourceLineNo">316</span> }<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> * Gets a scanner on the current table for the given family and qualifier.<a name="line.319"></a>
-<span class="sourceLineNo">320</span> * @param family The column family to scan.<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * @param qualifier The column qualifier to scan.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * @return A scanner.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> */<a name="line.323"></a>
-<span class="sourceLineNo">324</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) {<a name="line.324"></a>
-<span class="sourceLineNo">325</span> return getScanner(new Scan().addColumn(family, qualifier));<a name="line.325"></a>
-<span class="sourceLineNo">326</span> }<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>
-<span class="sourceLineNo">329</span> * Returns a scanner on the current table as specified by the {@link Scan} object.<a name="line.329"></a>
-<span class="sourceLineNo">330</span> * @param scan A configured {@link Scan} object.<a name="line.330"></a>
-<span class="sourceLineNo">331</span> * @return A scanner.<a name="line.331"></a>
-<span class="sourceLineNo">332</span> */<a name="line.332"></a>
-<span class="sourceLineNo">333</span> ResultScanner getScanner(Scan scan);<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span> /**<a name="line.335"></a>
-<span class="sourceLineNo">336</span> * Return all the results that match the given scan object.<a name="line.336"></a>
-<span class="sourceLineNo">337</span> * <p><a name="line.337"></a>
-<span class="sourceLineNo">338</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.338"></a>
-<span class="sourceLineNo">339</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.339"></a>
-<span class="sourceLineNo">340</span> * <p><a name="line.340"></a>
-<span class="sourceLineNo">341</span> *<a name="line.341"></a>
-<span class="sourceLineNo">342</span> * <pre><a name="line.342"></a>
-<span class="sourceLineNo">343</span> * <code><a name="line.343"></a>
-<span class="sourceLineNo">344</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * if (results.isEmpty()) {<a name="line.345"></a>
-<span class="sourceLineNo">346</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.346"></a>
-<span class="sourceLineNo">347</span> * } else {<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * }<a name="line.350"></a>
-<span class="sourceLineNo">351</span> * });<a name="line.351"></a>
-<span class="sourceLineNo">352</span> * </code><a name="line.352"></a>
-<span class="sourceLineNo">353</span> * </pre><a name="line.353"></a>
-<span class="sourceLineNo">354</span> * <p><a name="line.354"></a>
-<span class="sourceLineNo">355</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.355"></a>
-<span class="sourceLineNo">356</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.356"></a>
-<span class="sourceLineNo">357</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.357"></a>
-<span class="sourceLineNo">358</span> * <p><a name="line.358"></a>
-<span class="sourceLineNo">359</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.359"></a>
-<span class="sourceLineNo">360</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.360"></a>
-<span class="sourceLineNo">361</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.361"></a>
-<span class="sourceLineNo">362</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.362"></a>
-<span class="sourceLineNo">363</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.363"></a>
-<span class="sourceLineNo">364</span> * performance difference between these scan methods so do not worry.<a name="line.364"></a>
-<span class="sourceLineNo">365</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.365"></a>
-<span class="sourceLineNo">366</span> * result set, it is likely to cause OOM.<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.367"></a>
-<span class="sourceLineNo">368</span> * {@link CompletableFuture}.<a name="line.368"></a>
-<span class="sourceLineNo">369</span> */<a name="line.369"></a>
-<span class="sourceLineNo">370</span> CompletableFuture<List<Result>> scanAll(Scan scan);<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span> /**<a name="line.372"></a>
-<span class="sourceLineNo">373</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.373"></a>
-<span class="sourceLineNo">374</span> * <p><a name="line.374"></a>
-<span class="sourceLineNo">375</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.375"></a>
-<span class="sourceLineNo">376</span> * more keys, false if not.<a name="line.376"></a>
-<span class="sourceLineNo">377</span> * <p><a name="line.377"></a>
-<span class="sourceLineNo">378</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.378"></a>
-<span class="sourceLineNo">379</span> * @param gets the Gets<a name="line.379"></a>
-<span class="sourceLineNo">380</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.380"></a>
-<span class="sourceLineNo">381</span> */<a name="line.381"></a>
-<span class="sourceLineNo">382</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.382"></a>
-<span class="sourceLineNo">383</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.383"></a>
-<span class="sourceLineNo">384</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.384"></a>
-<span class="sourceLineNo">385</span> }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span> /**<a name="line.387"></a>
-<span class="sourceLineNo">388</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.388"></a>
-<span class="sourceLineNo">389</span> * whole result boolean list at once if the operation is succeeded.<a name="line.389"></a>
-<span class="sourceLineNo">390</span> * @param gets the Gets<a name="line.390"></a>
-<span class="sourceLineNo">391</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.391"></a>
-<span class="sourceLineNo">392</span> */<a name="line.392"></a>
-<span class="sourceLineNo">393</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span> return allOf(exists(gets));<a name="line.394"></a>
-<span class="sourceLineNo">395</span> }<a name="line.395"></a>
-<span class="sourceLineNo">396</span><a name="line.396"></a>
-<span class="sourceLineNo">397</span> /**<a name="line.397"></a>
-<span class="sourceLineNo">398</span> * Extracts certain cells from the given rows, in batch.<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * <p><a name="line.399"></a>
-<span class="sourceLineNo">400</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.400"></a>
-<span class="sourceLineNo">401</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.401"></a>
-<span class="sourceLineNo">402</span> * {@link CompletableFuture}s may fail.<a name="line.402"></a>
-<span class="sourceLineNo">403</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.403"></a>
-<span class="sourceLineNo">404</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.404"></a>
-<span class="sourceLineNo">405</span> */<a name="line.405"></a>
-<span class="sourceLineNo">406</span> List<CompletableFuture<Result>> get(List<Get> gets);<a name="line.406"></a>
-<span class="sourceLineNo">407</span><a name="line.407"></a>
-<span class="sourceLineNo">408</span> /**<a name="line.408"></a>
-<span class="sourceLineNo">409</span> * A simple version for batch get. It will fail if there are any failures and you will get the<a name="line.409"></a>
-<span class="sourceLineNo">410</span> * whole result list at once if the operation is succeeded.<a name="line.410"></a>
-<span class="sourceLineNo">411</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.411"></a>
-<span class="sourceLineNo">412</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.412"></a>
-<span class="sourceLineNo">413</span> */<a name="line.413"></a>
-<span class="sourceLineNo">414</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span> return allOf(get(gets));<a name="line.415"></a>
-<span class="sourceLineNo">416</span> }<a name="line.416"></a>
-<span class="sourceLineNo">417</span><a name="line.417"></a>
-<span class="sourceLineNo">418</span> /**<a name="line.418"></a>
-<span class="sourceLineNo">419</span> * Puts some data in the table, in batch.<a name="line.419"></a>
-<span class="sourceLineNo">420</span> * @param puts The list of mutations to apply.<a name="line.420"></a>
-<span class="sourceLineNo">421</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.421"></a>
-<span class="sourceLineNo">422</span> */<a name="line.422"></a>
-<span class="sourceLineNo">423</span> List<CompletableFuture<Void>> put(List<Put> puts);<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span> /**<a name="line.425"></a>
-<span class="sourceLineNo">426</span> * A simple version of batch put. It will fail if there are any failures.<a name="line.426"></a>
-<span class="sourceLineNo">427</span> * @param puts The list of mutations to apply.<a name="line.427"></a>
-<span class="sourceLineNo">428</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.428"></a>
-<span class="sourceLineNo">429</span> */<a name="line.429"></a>
-<span class="sourceLineNo">430</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.430"></a>
-<span class="sourceLineNo">431</span> return allOf(put(puts)).thenApply(r -> null);<a name="line.431"></a>
-<span class="sourceLineNo">432</span> }<a name="line.432"></a>
-<span class="sourceLineNo">433</span><a name="line.433"></a>
-<span class="sourceLineNo">434</span> /**<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Deletes the specified cells/rows in bulk.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * @param deletes list of things to delete.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> */<a name="line.438"></a>
-<span class="sourceLineNo">439</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<a name="line.439"></a>
-<span class="sourceLineNo">440</span><a name="line.440"></a>
-<span class="sourceLineNo">441</span> /**<a name="line.441"></a>
-<span class="sourceLineNo">442</span> * A simple version of batch delete. It will fail if there are any failures.<a name="line.442"></a>
-<span class="sourceLineNo">443</span> * @param deletes list of things to delete.<a name="line.443"></a>
-<span class="sourceLineNo">444</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.444"></a>
-<span class="sourceLineNo">445</span> */<a name="line.445"></a>
-<span class="sourceLineNo">446</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span> return allOf(delete(deletes)).thenApply(r -> null);<a name="line.447"></a>
-<span class="sourceLineNo">448</span> }<a name="line.448"></a>
-<span class="sourceLineNo">449</span><a name="line.449"></a>
-<span class="sourceLineNo">450</span> /**<a name="line.450"></a>
-<span class="sourceLineNo">451</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends and RowMutations. The<a name="line.451"></a>
-<span class="sourceLineNo">452</span> * ordering of execution of the actions is not defined. Meaning if you do a Put and a Get in the<a name="line.452"></a>
-<span class="sourceLineNo">453</span> * same {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the<a name="line.453"></a>
-<span class="sourceLineNo">454</span> * Put had put.<a name="line.454"></a>
-<span class="sourceLineNo">455</span> * @param actions list of Get, Put, Delete, Increment, Append, and RowMutations objects<a name="line.455"></a>
-<span class="sourceLineNo">456</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.456"></a>
-<span class="sourceLineNo">457</span> */<a name="line.457"></a>
-<span class="sourceLineNo">458</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.458"></a>
-<span class="sourceLineNo">459</span><a name="line.459"></a>
-<span class="sourceLineNo">460</span> /**<a name="line.460"></a>
-<span class="sourceLineNo">461</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.461"></a>
-<span class="sourceLineNo">462</span> * result list at once if the operation is succeeded.<a name="line.462"></a>
-<span class="sourceLineNo">463</span> * @param actions list of Get, Put, Delete, Increment, Append and RowMutations objects<a name="line.463"></a>
-<span class="sourceLineNo">464</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.464"></a>
-<span class="sourceLineNo">465</span> */<a name="line.465"></a>
-<span class="sourceLineNo">466</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.466"></a>
-<span class="sourceLineNo">467</span> return allOf(batch(actions));<a name="line.467"></a>
-<span class="sourceLineNo">468</span> }<a name="line.468"></a>
-<span class="sourceLineNo">469</span><a name="line.469"></a>
-<span class="sourceLineNo">470</span> /**<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * Execute the given coprocessor call on the region which contains the given {@code row}.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> * <p><a name="line.472"></a>
-<span class="sourceLineNo">473</span> * The {@code stubMaker} is just a delegation to the {@code newStub} call. Usually it is only a<a name="line.473"></a>
-<span class="sourceLineNo">474</span> * one line lambda expression, like:<a name="line.474"></a>
-<span class="sourceLineNo">475</span> *<a name="line.475"></a>
-<span class="sourceLineNo">476</span> * <pre><a name="line.476"></a>
-<span class="sourceLineNo">477</span> * <code><a name="line.477"></a>
-<span class="sourceLineNo">478</span> * channel -> xxxService.newStub(channel)<a name="line.478"></a>
-<span class="sourceLineNo">479</span> * </code><a name="line.479"></a>
-<span class="sourceLineNo">480</span> * </pre><a name="line.480"></a>
-<span class="sourceLineNo">481</span> *<a name="line.481"></a>
-<span class="sourceLineNo">482</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.482"></a>
-<span class="sourceLineNo">483</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.483"></a>
-<span class="sourceLineNo">484</span> * {@link ServiceCaller} for more details.<a name="line.484"></a>
-<span class="sourceLineNo">485</span> * @param row The row key used to identify the remote region location<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * @param <S> the type of the asynchronous stub<a name="line.486"></a>
-<span class="sourceLineNo">487</span> * @param <R> the type of the return value<a name="line.487"></a>
-<span class="sourceLineNo">488</span> * @return the return value of the protobuf rpc call, wrapped by a {@link CompletableFuture}.<a name="line.488"></a>
-<span class="sourceLineNo">489</span> * @see ServiceCaller<a name="line.489"></a>
-<span class="sourceLineNo">490</span> */<a name="line.490"></a>
-<span class="sourceLineNo">491</span> <S, R> CompletableFuture<R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.491"></a>
-<span class="sourceLineNo">492</span> ServiceCaller<S, R> callable, byte[] row);<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span> /**<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * The callback when we want to execute a coprocessor call on a range of regions.<a name="line.495"></a>
-<span class="sourceLineNo">496</span> * <p><a name="line.496"></a>
-<span class="sourceLineNo">497</span> * As the locating itself also takes some time, the implementation may want to send rpc calls on<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * the fly, which means we do not know how many regions we have when we get the return value of<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * the rpc calls, so we need an {@link #onComplete()} which is used to tell you that we have<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * passed all the return values to you(through the {@link #onRegionComplete(RegionInfo, Object)}<a name="line.500"></a>
-<span class="sourceLineNo">501</span> * or {@link #onRegionError(RegionInfo, Throwable)} calls), i.e, there will be no<a name="line.501"></a>
-<span class="sourceLineNo">502</span> * {@link #onRegionComplete(RegionInfo, Object)} or {@link #onRegionError(RegionInfo, Throwable)}<a name="line.502"></a>
-<span class="sourceLineNo">503</span> * calls in the future.<a name="line.503"></a>
-<span class="sourceLineNo">504</span> * <p><a name="line.504"></a>
-<span class="sourceLineNo">505</span> * Here is a pseudo code to describe a typical implementation of a range coprocessor service<a name="line.505"></a>
-<span class="sourceLineNo">506</span> * method to help you better understand how the {@link CoprocessorCallback} will be called. The<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * {@code callback} in the pseudo code is our {@link CoprocessorCallback}. And notice that the<a name="line.507"></a>
-<span class="sourceLineNo">508</span> * {@code whenComplete} is {@code CompletableFuture.whenComplete}.<a name="line.508"></a>
-<span class="sourceLineNo">509</span> *<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * <pre><a name="line.510"></a>
-<span class="sourceLineNo">511</span> * locateThenCall(byte[] row) {<a name="line.511"></a>
-<span class="sourceLineNo">512</span> * locate(row).whenComplete((location, locateError) -> {<a name="line.512"></a>
-<span class="sourceLineNo">513</span> * if (locateError != null) {<a name="line.513"></a>
-<span class="sourceLineNo">514</span> * callback.onError(locateError);<a name="line.514"></a>
-<span class="sourceLineNo">515</span> * return;<a name="line.515"></a>
-<span class="sourceLineNo">516</span> * }<a name="line.516"></a>
-<span class="sourceLineNo">517</span> * incPendingCall();<a name="line.517"></a>
-<span class="sourceLineNo">518</span> * region = location.getRegion();<a name="line.518"></a>
-<span class="sourceLineNo">519</span> * if (region.getEndKey() > endKey) {<a name="line.519"></a>
-<span class="sourceLineNo">520</span> * locateEnd = true;<a name="line.520"></a>
-<span class="sourceLineNo">521</span> * } else {<a name="line.521"></a>
-<span class="sourceLineNo">522</span> * locateThenCall(region.getEndKey());<a name="line.522"></a>
-<span class="sourceLineNo">523</span> * }<a name="line.523"></a>
-<span class="sourceLineNo">524</span> * sendCall().whenComplete((resp, error) -> {<a name="line.524"></a>
-<span class="sourceLineNo">525</span> * if (error != null) {<a name="line.525"></a>
-<span class="sourceLineNo">526</span> * callback.onRegionError(region, error);<a name="line.526"></a>
-<span class="sourceLineNo">527</span> * } else {<a name="line.527"></a>
-<span class="sourceLineNo">528</span> * callback.onRegionComplete(region, resp);<a name="line.528"></a>
-<span class="sourceLineNo">529</span> * }<a name="line.529"></a>
-<span class="sourceLineNo">530</span> * if (locateEnd && decPendingCallAndGet() == 0) {<a name="line.530"></a>
-<span class="sourceLineNo">531</span> * callback.onComplete();<a name="line.531"></a>
-<span class="sourceLineNo">532</span> * }<a name="line.532"></a>
-<span class="sourceLineNo">533</span> * });<a name="line.533"></a>
-<span class="sourceLineNo">534</span> * });<a name="line.534"></a>
-<span class="sourceLineNo">535</span> * }<a name="line.535"></a>
-<span class="sourceLineNo">536</span> * </pre><a name="line.536"></a>
-<span class="sourceLineNo">537</span> */<a name="line.537"></a>
-<span class="sourceLineNo">538</span> @InterfaceAudience.Public<a name="line.538"></a>
-<span class="sourceLineNo">539</span> interface CoprocessorCallback<R> {<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> * @param region the region that the response belongs to<a name="line.542"></a>
-<span class="sourceLineNo">543</span> * @param resp the response of the coprocessor call<a name="line.543"></a>
-<span class="sourceLineNo">544</span> */<a name="line.544"></a>
-<span class="sourceLineNo">545</span> void onRegionComplete(RegionInfo region, R resp);<a name="line.545"></a>
-<span class="sourceLineNo">546</span><a name="line.546"></a>
-<span class="sourceLineNo">547</span> /**<a name="line.547"></a>
-<span class="sourceLineNo">548</span> * @param region the region that the error belongs to<a name="line.548"></a>
-<span class="sourceLineNo">549</span> * @param error the response error of the coprocessor call<a name="line.549"></a>
-<span class="sourceLineNo">550</span> */<a name="line.550"></a>
-<span class="sourceLineNo">551</span> void onRegionError(RegionInfo region, Throwable error);<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> * Indicate that all responses of the regions have been notified by calling<a name="line.554"></a>
-<span class="sourceLineNo">555</span> * {@link #onRegionComplete(RegionInfo, Object)} or<a name="line.555"></a>
-<span class="sourceLineNo">556</span> * {@link #onRegionError(RegionInfo, Throwable)}.<a name="line.556"></a>
-<span class="sourceLineNo">557</span> */<a name="line.557"></a>
-<span class="sourceLineNo">558</span> void onComplete();<a name="line.558"></a>
-<span class="sourceLineNo">559</span><a name="line.559"></a>
-<span class="sourceLineNo">560</span> /**<a name="line.560"></a>
-<span class="sourceLineNo">561</span> * Indicate that we got an error which does not belong to any regions. Usually a locating error.<a name="line.561"></a>
-<span class="sourceLineNo">562</span> */<a name="line.562"></a>
-<span class="sourceLineNo">563</span> void onError(Throwable error);<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> * Helper class for sending coprocessorService request that executes a coprocessor call on regions<a name="line.567"></a>
-<span class="sourceLineNo">568</span> * which are covered by a range.<a name="line.568"></a>
-<span class="sourceLineNo">569</span> * <p><a name="line.569"></a>
-<span class="sourceLineNo">570</span> * If {@code fromRow} is not specified the selection will start with the first table region. If<a name="line.570"></a>
-<span class="sourceLineNo">571</span> * {@code toRow} is not specified the selection will continue through the last table region.<a name="line.571"></a>
-<span class="sourceLineNo">572</span> * @param <S> the type of the protobuf Service you want to call.<a name="line.572"></a>
-<span class="sourceLineNo">573</span> * @param <R> the type of the return value.<a name="line.573"></a>
-<span class="sourceLineNo">574</span> */<a name="line.574"></a>
-<span class="sourceLineNo">575</span> interface CoprocessorServiceBuilder<S, R> {<a name="line.575"></a>
-<span class="sourceLineNo">576</span><a name="line.576"></a>
-<span class="sourceLineNo">577</span> /**<a name="line.577"></a>
-<span class="sourceLineNo">578</span> * @param startKey start region selection with region containing this row, inclusive.<a name="line.578"></a>
-<span class="sourceLineNo">579</span> */<a name="line.579"></a>
-<span class="sourceLineNo">580</span> default CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey) {<a name="line.580"></a>
-<span class="sourceLineNo">581</span> return fromRow(startKey, true);<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> * @param startKey start region selection with region containing this row<a name="line.585"></a>
-<span class="sourceLineNo">586</span> * @param inclusive whether to include the startKey<a name="line.586"></a>
-<span class="sourceLineNo">587</span> */<a name="line.587"></a>
-<span class="sourceLineNo">588</span> CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey, boolean inclusive);<a name="line.588"></a>
-<span class="sourceLineNo">589</span><a name="line.589"></a>
-<span class="sourceLineNo">590</span> /**<a name="line.590"></a>
-<span class="sourceLineNo">591</span> * @param endKey select regions up to and including the region containing this row, exclusive.<a name="line.591"></a>
-<span class="sourceLineNo">592</span> */<a name="line.592"></a>
-<span class="sourceLineNo">593</span> default CoprocessorServiceBuilder<S, R> toRow(byte[] endKey) {<a name="line.593"></a>
-<span class="sourceLineNo">594</span> return toRow(endKey, false);<a name="line.594"></a>
-<span class="sourceLineNo">595</span> }<a name="line.595"></a>
-<span class="sourceLineNo">596</span><a name="line.596"></a>
-<span class="sourceLineNo">597</span> /**<a name="line.597"></a>
-<span class="sourceLineNo">598</span> * @param endKey select regions up to and including the region containing this row<a name="line.598"></a>
-<span class="sourceLineNo">599</span> * @param inclusive whether to include the endKey<a name="line.599"></a>
-<span class="sourceLineNo">600</span> */<a name="line.600"></a>
-<span class="sourceLineNo">601</span> CoprocessorServiceBuilder<S, R> toRow(byte[] endKey, boolean inclusive);<a name="line.601"></a>
-<span class="sourceLineNo">602</span><a name="line.602"></a>
-<span class="sourceLineNo">603</span> /**<a name="line.603"></a>
-<span class="sourceLineNo">604</span> * Execute the coprocessorService request. You can get the response through the<a name="line.604"></a>
-<span class="sourceLineNo">605</span> * {@link CoprocessorCallback}.<a name="line.605"></a>
-<span class="sourceLineNo">606</span> */<a name="line.606"></a>
-<span class="sourceLineNo">607</span> void execute();<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> * Execute a coprocessor call on the regions which are covered by a range.<a name="line.611"></a>
-<span class="sourceLineNo">612</span> * <p><a name="line.612"></a>
-<span class="sourceLineNo">613</span> * Use the returned {@link CoprocessorServiceBuilder} construct your request and then execute it.<a name="line.613"></a>
-<span class="sourceLineNo">614</span> * <p><a name="line.614"></a>
-<span class="sourceLineNo">615</span> * The {@code stubMaker} is just a delegation to the {@code xxxService.newStub} call. Usually it<a name="line.615"></a>
-<span class="sourceLineNo">616</span> * is only a one line lambda expression, like:<a name="line.616"></a>
-<span class="sourceLineNo">617</span> *<a name="line.617"></a>
-<span class="sourceLineNo">618</span> * <pre><a name="line.618"></a>
-<span class="sourceLineNo">619</span> * <code><a name="line.619"></a>
-<span class="sourceLineNo">620</span> * channel -> xxxService.newStub(channel)<a name="line.620"></a>
-<span class="sourceLineNo">621</span> * </code><a name="line.621"></a>
-<span class="sourceLineNo">622</span> * </pre><a name="line.622"></a>
-<span class="sourceLineNo">623</span> *<a name="line.623"></a>
-<span class="sourceLineNo">624</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.624"></a>
-<span class="sourceLineNo">625</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.625"></a>
-<span class="sourceLineNo">626</span> * {@link ServiceCaller} for more details.<a name="line.626"></a>
-<span class="sourceLineNo">627</span> * @param callback callback to get the response. See the comment of {@link CoprocessorCallback}<a name="line.627"></a>
-<span class="sourceLineNo">628</span> * for more details.<a name="line.628"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.filter.Filter;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<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> * The interface for asynchronous version of Table. Obtain an instance from a<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * {@link AsyncConnection}.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * The implementation is required to be thread safe.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Usually the implementation will not throw any exception directly. You need to get the exception<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * from the returned {@link CompletableFuture}.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @since 2.0.0<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>@InterfaceAudience.Public<a name="line.49"></a>
+<span class="sourceLineNo">050</span>public interface AsyncTable<C extends ScanResultConsumerBase> {<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span> /**<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Gets the fully qualified table name instance of this table.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span> TableName getName();<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * The reference returned is not a copy, so any change made to it will affect this instance.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> Configuration getConfiguration();<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> * Gets the {@link TableDescriptor} for this table.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> */<a name="line.66"></a>
+<span class="sourceLineNo">067</span> CompletableFuture<TableDescriptor> getDescriptor();<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> /**<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * Gets the {@link AsyncTableRegionLocator} for this table.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> AsyncTableRegionLocator getRegionLocator();<a name="line.72"></a>
+<span class="sourceLineNo">073</span> /**<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * @param unit the unit of time the timeout to be represented in<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @return rpc timeout in the specified time unit<a name="line.79"></a>
+<span class="sourceLineNo">080</span> */<a name="line.80"></a>
+<span class="sourceLineNo">081</span> long getRpcTimeout(TimeUnit unit);<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span> /**<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * Get timeout of each rpc read request in this Table instance.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * @param unit the unit of time the timeout to be represented in<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * @return read rpc timeout in the specified time unit<a name="line.86"></a>
+<span class="sourceLineNo">087</span> */<a name="line.87"></a>
+<span class="sourceLineNo">088</span> long getReadRpcTimeout(TimeUnit unit);<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span> /**<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * Get timeout of each rpc write request in this Table instance.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * @param unit the unit of time the timeout to be represented in<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * @return write rpc timeout in the specified time unit<a name="line.93"></a>
+<span class="sourceLineNo">094</span> */<a name="line.94"></a>
+<span class="sourceLineNo">095</span> long getWriteRpcTimeout(TimeUnit unit);<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> * Get timeout of each operation in Table instance.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param unit the unit of time the timeout to be represented in<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * @return operation rpc timeout in the specified time unit<a name="line.100"></a>
+<span class="sourceLineNo">101</span> */<a name="line.101"></a>
+<span class="sourceLineNo">102</span> long getOperationTimeout(TimeUnit unit);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span> /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * Get the timeout of a single operation in a scan. It works like operation timeout for other<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * operations.<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * @param unit the unit of time the timeout to be represented in<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * @return scan rpc timeout in the specified time unit<a name="line.108"></a>
+<span class="sourceLineNo">109</span> */<a name="line.109"></a>
+<span class="sourceLineNo">110</span> long getScanTimeout(TimeUnit unit);<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span> /**<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <p><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * <p><a name="line.116"></a>
+<span class="sourceLineNo">117</span> * This is a server-side call so it prevents any data from being transfered to the client.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * @return true if the specified Get matches one or more keys, false if not. The return value will<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * be wrapped by a {@link CompletableFuture}.<a name="line.119"></a>
+<span class="sourceLineNo">120</span> */<a name="line.120"></a>
+<span class="sourceLineNo">121</span> default CompletableFuture<Boolean> exists(Get get) {<a name="line.121"></a>
+<span class="sourceLineNo">122</span> return get(toCheckExistenceOnly(get)).thenApply(r -> r.getExists());<a name="line.122"></a>
+<span class="sourceLineNo">123</span> }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span> /**<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * Extracts certain cells from a given row.<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * @return The data coming from the specified row, if it exists. If the row specified doesn't<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * exist, the {@link Result} instance returned won't contain any<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The<a name="line.130"></a>
+<span class="sourceLineNo">131</span> * return value will be wrapped by a {@link CompletableFuture}.<a name="line.131"></a>
+<span class="sourceLineNo">132</span> */<a name="line.132"></a>
+<span class="sourceLineNo">133</span> CompletableFuture<Result> get(Get get);<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span> /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * Puts some data to the table.<a name="line.136"></a>
+<span class="sourceLineNo">137</span> * @param put The data to put.<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.138"></a>
+<span class="sourceLineNo">139</span> */<a name="line.139"></a>
+<span class="sourceLineNo">140</span> CompletableFuture<Void> put(Put put);<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> * Deletes the specified cells/row.<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * @param delete The object that specifies what to delete.<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> */<a name="line.146"></a>
+<span class="sourceLineNo">147</span> CompletableFuture<Void> delete(Delete delete);<a name="line.147"></a>
+<span class="sourceLineNo">148</span><a name="line.148"></a>
+<span class="sourceLineNo">149</span> /**<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * Appends values to one or more columns within a single row.<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * <p><a name="line.151"></a>
+<span class="sourceLineNo">152</span> * This operation does not appear atomic to readers. Appends are done under a single row lock, so<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * write operations to a row are synchronized, but readers do not take row locks so get and scan<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * operations can see this operation partially completed.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * @param append object that specifies the columns and amounts to be used for the increment<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * operations<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @return values of columns after the append operation (maybe null). The return value will be<a name="line.157"></a>
+<span class="sourceLineNo">158</span> * wrapped by a {@link CompletableFuture}.<a name="line.158"></a>
+<span class="sourceLineNo">159</span> */<a name="line.159"></a>
+<span class="sourceLineNo">160</span> CompletableFuture<Result> append(Append append);<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> * Increments one or more columns within a single row.<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * <p><a name="line.164"></a>
+<span class="sourceLineNo">165</span> * This operation does not appear atomic to readers. Increments are done under a single row lock,<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * so write operations to a row are synchronized, but readers do not take row locks so get and<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * scan operations can see this operation partially completed.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * @param increment object that specifies the columns and amounts to be used for the increment<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * operations<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @return values of columns after the increment. The return value will be wrapped by a<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * {@link CompletableFuture}.<a name="line.171"></a>
+<span class="sourceLineNo">172</span> */<a name="line.172"></a>
+<span class="sourceLineNo">173</span> CompletableFuture<Result> increment(Increment increment);<a name="line.173"></a>
+<span class="sourceLineNo">174</span><a name="line.174"></a>
+<span class="sourceLineNo">175</span> /**<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * <p><a name="line.177"></a>
+<span class="sourceLineNo">178</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @param row The row that contains the cell to increment.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * @param family The column family of the cell to increment.<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.183"></a>
+<span class="sourceLineNo">184</span> * {@link CompletableFuture}.<a name="line.184"></a>
+<span class="sourceLineNo">185</span> */<a name="line.185"></a>
+<span class="sourceLineNo">186</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.186"></a>
+<span class="sourceLineNo">187</span> long amount) {<a name="line.187"></a>
+<span class="sourceLineNo">188</span> return incrementColumnValue(row, family, qualifier, amount, Durability.SYNC_WAL);<a name="line.188"></a>
+<span class="sourceLineNo">189</span> }<a name="line.189"></a>
+<span class="sourceLineNo">190</span><a name="line.190"></a>
+<span class="sourceLineNo">191</span> /**<a name="line.191"></a>
+<span class="sourceLineNo">192</span> * Atomically increments a column value. If the column value already exists and is not a<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * big-endian long, this could throw an exception. If the column value does not yet exist it is<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * initialized to <code>amount</code> and written to the specified column.<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * <p><a name="line.195"></a>
+<span class="sourceLineNo">196</span> * Setting durability to {@link Durability#SKIP_WAL} means that in a fail scenario you will lose<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * any increments that have not been flushed.<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * @param row The row that contains the cell to increment.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * @param family The column family of the cell to increment.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.201"></a>
+<span class="sourceLineNo">202</span> * @param durability The persistence guarantee for this increment.<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * {@link CompletableFuture}.<a name="line.204"></a>
+<span class="sourceLineNo">205</span> */<a name="line.205"></a>
+<span class="sourceLineNo">206</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.206"></a>
+<span class="sourceLineNo">207</span> long amount, Durability durability) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span> Preconditions.checkNotNull(row, "row is null");<a name="line.208"></a>
+<span class="sourceLineNo">209</span> Preconditions.checkNotNull(family, "family is null");<a name="line.209"></a>
+<span class="sourceLineNo">210</span> return increment(<a name="line.210"></a>
+<span class="sourceLineNo">211</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.211"></a>
+<span class="sourceLineNo">212</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.212"></a>
+<span class="sourceLineNo">213</span> }<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * adds the Put/Delete/RowMutations.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * <p><a name="line.218"></a>
+<span class="sourceLineNo">219</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * This is a fluent style API, the code is like:<a name="line.220"></a>
+<span class="sourceLineNo">221</span> *<a name="line.221"></a>
+<span class="sourceLineNo">222</span> * <pre><a name="line.222"></a>
+<span class="sourceLineNo">223</span> * <code><a name="line.223"></a>
+<span class="sourceLineNo">224</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put)<a name="line.224"></a>
+<span class="sourceLineNo">225</span> * .thenAccept(succ -> {<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * if (succ) {<a name="line.226"></a>
+<span class="sourceLineNo">227</span> * System.out.println("Check and put succeeded");<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * } else {<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * System.out.println("Check and put failed");<a name="line.229"></a>
+<span class="sourceLineNo">230</span> * }<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * });<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * </code><a name="line.232"></a>
+<span class="sourceLineNo">233</span> * </pre><a name="line.233"></a>
+<span class="sourceLineNo">234</span> */<a name="line.234"></a>
+<span class="sourceLineNo">235</span> CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family);<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span> /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span> * A helper class for sending checkAndMutate request.<a name="line.238"></a>
+<span class="sourceLineNo">239</span> */<a name="line.239"></a>
+<span class="sourceLineNo">240</span> interface CheckAndMutateBuilder {<a name="line.240"></a>
+<span class="sourceLineNo">241</span><a name="line.241"></a>
+<span class="sourceLineNo">242</span> /**<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * @param qualifier column qualifier to check.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> */<a name="line.244"></a>
+<span class="sourceLineNo">245</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span> /**<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * @param timeRange time range to check.<a name="line.248"></a>
+<span class="sourceLineNo">249</span> */<a name="line.249"></a>
+<span class="sourceLineNo">250</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span> /**<a name="line.252"></a>
+<span class="sourceLineNo">253</span> * Check for lack of column.<a name="line.253"></a>
+<span class="sourceLineNo">254</span> */<a name="line.254"></a>
+<span class="sourceLineNo">255</span> CheckAndMutateBuilder ifNotExists();<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span> /**<a name="line.257"></a>
+<span class="sourceLineNo">258</span> * Check for equality.<a name="line.258"></a>
+<span class="sourceLineNo">259</span> * @param value the expected value<a name="line.259"></a>
+<span class="sourceLineNo">260</span> */<a name="line.260"></a>
+<span class="sourceLineNo">261</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.261"></a>
+<span class="sourceLineNo">262</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.262"></a>
+<span class="sourceLineNo">263</span> }<a name="line.263"></a>
+<span class="sourceLineNo">264</span><a name="line.264"></a>
+<span class="sourceLineNo">265</span> /**<a name="line.265"></a>
+<span class="sourceLineNo">266</span> * @param compareOp comparison operator to use<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * @param value the expected value<a name="line.267"></a>
+<span class="sourceLineNo">268</span> */<a name="line.268"></a>
+<span class="sourceLineNo">269</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span> /**<a name="line.271"></a>
+<span class="sourceLineNo">272</span> * @param put data to put if check succeeds<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.273"></a>
+<span class="sourceLineNo">274</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.274"></a>
+<span class="sourceLineNo">275</span> */<a name="line.275"></a>
+<span class="sourceLineNo">276</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.276"></a>
+<span class="sourceLineNo">277</span><a name="line.277"></a>
+<span class="sourceLineNo">278</span> /**<a name="line.278"></a>
+<span class="sourceLineNo">279</span> * @param delete data to delete if check succeeds<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.280"></a>
+<span class="sourceLineNo">281</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.281"></a>
+<span class="sourceLineNo">282</span> */<a name="line.282"></a>
+<span class="sourceLineNo">283</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span> /**<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @param mutation mutations to perform if check succeeds<a name="line.286"></a>
+<span class="sourceLineNo">287</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.287"></a>
+<span class="sourceLineNo">288</span> * wrapped by a {@link CompletableFuture}.<a name="line.288"></a>
+<span class="sourceLineNo">289</span> */<a name="line.289"></a>
+<span class="sourceLineNo">290</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.290"></a>
+<span class="sourceLineNo">291</span> }<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> * Atomically checks if a row matches the specified filter. If it does, it adds the<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * Put/Delete/RowMutations.<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * <p><a name="line.296"></a>
+<span class="sourceLineNo">297</span> * Use the returned {@link CheckAndMutateWithFilterBuilder} to construct your request and then<a name="line.297"></a>
+<span class="sourceLineNo">298</span> * execute it. This is a fluent style API, the code is like:<a name="line.298"></a>
+<span class="sourceLineNo">299</span> *<a name="line.299"></a>
+<span class="sourceLineNo">300</span> * <pre><a name="line.300"></a>
+<span class="sourceLineNo">301</span> * <code><a name="line.301"></a>
+<span class="sourceLineNo">302</span> * table.checkAndMutate(row, filter).thenPut(put)<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * .thenAccept(succ -> {<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * if (succ) {<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * System.out.println("Check and put succeeded");<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * } else {<a name="line.306"></a>
+<span class="sourceLineNo">307</span> * System.out.println("Check and put failed");<a name="line.307"></a>
+<span class="sourceLineNo">308</span> * }<a name="line.308"></a>
+<span class="sourceLineNo">309</span> * });<a name="line.309"></a>
+<span class="sourceLineNo">310</span> * </code><a name="line.310"></a>
+<span class="sourceLineNo">311</span> * </pre><a name="line.311"></a>
+<span class="sourceLineNo">312</span> */<a name="line.312"></a>
+<span class="sourceLineNo">313</span> CheckAndMutateWithFilterBuilder checkAndMutate(byte[] row, Filter filter);<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span> /**<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * A helper class for sending checkAndMutate request with a filter.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> */<a name="line.317"></a>
+<span class="sourceLineNo">318</span> interface CheckAndMutateWithFilterBuilder {<a name="line.318"></a>
+<span class="sourceLineNo">319</span><a name="line.319"></a>
+<span class="sourceLineNo">320</span> /**<a name="line.320"></a>
+<span class="sourceLineNo">321</span> * @param timeRange time range to check.<a name="line.321"></a>
+<span class="sourceLineNo">322</span> */<a name="line.322"></a>
+<span class="sourceLineNo">323</span> CheckAndMutateWithFilterBuilder timeRange(TimeRange timeRange);<a name="line.323"></a>
+<span class="sourceLineNo">324</span><a name="line.324"></a>
+<span class="sourceLineNo">325</span> /**<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * @param put data to put if check succeeds<a name="line.326"></a>
+<span class="sourceLineNo">327</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.327"></a>
+<span class="sourceLineNo">328</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.328"></a>
+<span class="sourceLineNo">329</span> */<a name="line.329"></a>
+<span class="sourceLineNo">330</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span> /**<a name="line.332"></a>
+<span class="sourceLineNo">333</span> * @param delete data to delete if check succeeds<a name="line.333"></a>
+<span class="sourceLineNo">334</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> */<a name="line.336"></a>
+<span class="sourceLineNo">337</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span> /**<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * @param mutation mutations to perform if check succeeds<a name="line.340"></a>
+<span class="sourceLineNo">341</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.341"></a>
+<span class="sourceLineNo">342</span> * wrapped by a {@link CompletableFuture}.<a name="line.342"></a>
+<span class="sourceLineNo">343</span> */<a name="line.343"></a>
+<span class="sourceLineNo">344</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.344"></a>
+<span class="sourceLineNo">345</span> }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span> /**<a name="line.347"></a>
+<span class="sourceLineNo">348</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.348"></a>
+<span class="sourceLineNo">349</span> * {@link Delete} are supported.<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.350"></a>
+<span class="sourceLineNo">351</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.351"></a>
+<span class="sourceLineNo">352</span> */<a name="line.352"></a>
+<span class="sourceLineNo">353</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<a name="line.353"></a>
+<span class="sourceLineNo">354</span><a name="line.354"></a>
+<span class="sourceLineNo">355</span> /**<a name="line.355"></a>
+<span class="sourceLineNo">356</span> * The scan API uses the observer pattern.<a name="line.356"></a>
+<span class="sourceLineNo">357</span> * @param scan A configured {@link Scan} object.<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * @param consumer the consumer used to receive results.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> * @see ScanResultConsumer<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * @see AdvancedScanResultConsumer<a name="line.360"></a>
+<span class="sourceLineNo">361</span> */<a name="line.361"></a>
+<span class="sourceLineNo">362</span> void scan(Scan scan, C consumer);<a name="line.362"></a>
+<span class="sourceLineNo">363</span><a name="line.363"></a>
+<span class="sourceLineNo">364</span> /**<a name="line.364"></a>
+<span class="sourceLineNo">365</span> * Gets a scanner on the current table for the given family.<a name="line.365"></a>
+<span class="sourceLineNo">366</span> * @param family The column family to scan.<a name="line.366"></a>
+<span class="sourceLineNo">367</span> * @return A scanner.<a name="line.367"></a>
+<span class="sourceLineNo">368</span> */<a name="line.368"></a>
+<span class="sourceLineNo">369</span> default ResultScanner getScanner(byte[] family) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span> return getScanner(new Scan().addFamily(family));<a name="line.370"></a>
+<span class="sourceLineNo">371</span> }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span> /**<a name="line.373"></a>
+<span class="sourceLineNo">374</span> * Gets a scanner on the current table for the given family and qualifier.<a name="line.374"></a>
+<span class="sourceLineNo">375</span> * @param family The column family to scan.<a name="line.375"></a>
+<span class="sourceLineNo">376</span> * @param qualifier The column qualifier to scan.<a name="line.376"></a>
+<span class="sourceLineNo">377</span> * @return A scanner.<a name="line.377"></a>
+<span class="sourceLineNo">378</span> */<a name="line.378"></a>
+<span class="sourceLineNo">379</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) {<a name="line.379"></a>
+<span class="sourceLineNo">380</span> return getScanner(new Scan().addColumn(family, qualifier));<a name="line.380"></a>
+<span class="sourceLineNo">381</span> }<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span> /**<a name="line.383"></a>
+<span class="sourceLineNo">384</span> * Returns a scanner on the current table as specified by the {@link Scan} object.<a name="line.384"></a>
+<span class="sourceLineNo">385</span> * @param scan A configured {@link Scan} object.<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * @return A scanner.<a name="line.386"></a>
+<span class="sourceLineNo">387</span> */<a name="line.387"></a>
+<span class="sourceLineNo">388</span> ResultScanner getScanner(Scan scan);<a name="line.388"></a>
+<span class="sourceLineNo">389</span><a name="line.389"></a>
+<span class="sourceLineNo">390</span> /**<a name="line.390"></a>
+<span class="sourceLineNo">391</span> * Return all the results that match the given scan object.<a name="line.391"></a>
+<span class="sourceLineNo">392</span> * <p><a name="line.392"></a>
+<span class="sourceLineNo">393</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.393"></a>
+<span class="sourceLineNo">394</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.394"></a>
+<span class="sourceLineNo">395</span> * <p><a name="line.395"></a>
+<span class="sourceLineNo">396</span> *<a name="line.396"></a>
+<span class="sourceLineNo">397</span> * <pre><a name="line.397"></a>
+<span class="sourceLineNo">398</span> * <code><a name="line.398"></a>
+<span class="sourceLineNo">399</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.399"></a>
+<span class="sourceLineNo">400</span> * if (results.isEmpty()) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.401"></a>
+<span class="sourceLineNo">402</span> * } else {<a name="line.402"></a>
+<span class="sourceLineNo">403</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.403"></a>
+<span class="sourceLineNo">404</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.404"></a>
+<span class="sourceLineNo">405</span> * }<a name="line.405"></a>
+<span class="sourceLineNo">406</span> * });<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * </code><a name="line.407"></a>
+<span class="sourceLineNo">408</span> * </pre><a name="line.408"></a>
+<span class="sourceLineNo">409</span> * <p><a name="line.409"></a>
+<span class="sourceLineNo">410</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.410"></a>
+<span class="sourceLineNo">411</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.411"></a>
+<span class="sourceLineNo">412</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.412"></a>
+<span class="sourceLineNo">413</span> * <p><a name="line.413"></a>
+<span class="sourceLineNo">414</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.414"></a>
+<span class="sourceLineNo">415</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.415"></a>
+<span class="sourceLineNo">416</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.416"></a>
+<span class="sourceLineNo">417</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.417"></a>
+<span class="sourceLineNo">418</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.418"></a>
+<span class="sourceLineNo">419</span> * performance difference between these scan methods so do not worry.<a name="line.419"></a>
+<span class="sourceLineNo">420</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.420"></a>
+<span class="sourceLineNo">421</span> * result set, it is likely to cause OOM.<a name="line.421"></a>
+<span class="sourceLineNo">422</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.422"></a>
+<span class="sourceLineNo">423</span> * {@link CompletableFuture}.<a name="line.423"></a>
+<span class="sourceLineNo">424</span> */<a name="line.424"></a>
+<span class="sourceLineNo">425</span> CompletableFuture<List<Result>> scanAll(Scan scan);<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span> /**<a name="line.427"></a>
+<span class="sourceLineNo">428</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.428"></a>
+<span class="sourceLineNo">429</span> * <p><a name="line.429"></a>
+<span class="sourceLineNo">430</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.430"></a>
+<span class="sourceLineNo">431</span> * more keys, false if not.<a name="line.431"></a>
+<span class="sourceLineNo">432</span> * <p><a name="line.432"></a>
+<span class="sourceLineNo">433</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.433"></a>
+<span class="sourceLineNo">434</span> * @param gets the Gets<a name="line.434"></a>
+<span class="sourceLineNo">435</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.435"></a>
+<span class="sourceLineNo">436</span> */<a name="line.436"></a>
+<span class="sourceLineNo">437</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.438"></a>
+<span class="sourceLineNo">439</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span> /**<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.443"></a>
+<span class="sourceLineNo">444</span> * whole result boolean list at once if the operation is succeeded.<a name="line.444"></a>
+<span class="sourceLineNo">445</span> * @param gets the Gets<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> */<a name="line.447"></a>
+<span class="sourceLineNo">448</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.448"></a>
+<span class="sourceLineNo">449</span> return allOf(exists(gets));<a name="line.449"></a>
+<span class="sourceLineNo">450</span> }<a name="line.450"></a>
+<span class="sourceLineNo">451</span><a name="line.451"></a>
+<span class="sourceLineNo">452</span> /**<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * Extracts certain cells from the given rows, in batch.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> * <p><a name="line.454"></a>
+<span class="sourceLineNo">455</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.455"></a>
+<span class="sourceLineNo">456</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.456"></a>
+<span class="sourceLineNo">457</span> * {@link CompletableFuture}s may fail.<a name="line.457"></a>
+<span class="sourceLineNo">458</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.458"></a>
+<span class="sourceLineNo">459</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.459"></a>
+<span class="sourceLineNo">460</span> */<a name="line.460"></a>
+<span class="sourceLineNo">461</span> List<CompletableFuture<Result>> get(List<Get> gets);<a name="line.461"></a>
+<span class="sourceLineNo">462</span><a name="line.462"></a>
+<span class="sourceLineNo">463</span> /**<a name="line.463"></a>
+<span class="sourceLineNo">464</span> * A simple version for batch get. It will fail if there are any failures and you will get the<a name="line.464"></a>
+<span class="sourceLineNo">465</span> * whole result list at once if the operation is succeeded.<a name="line.465"></a>
+<span class="sourceLineNo">466</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.466"></a>
+<span class="sourceLineNo">467</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.467"></a>
+<span class="sourceLineNo">468</span> */<a name="line.468"></a>
+<span class="sourceLineNo">469</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.469"></a>
+<span class="sourceLineNo">470</span> return allOf(get(gets));<a name="line.470"></a>
+<span class="sourceLineNo">471</span> }<a name="line.471"></a>
+<span class="sourceLineNo">472</span><a name="line.472"></a>
+<span class="sourceLineNo">473</span> /**<a name="line.473"></a>
+<span class="sourceLineNo">474</span> * Puts some data in the table, in batch.<a name="line.474"></a>
+<span class="sourceLineNo">475</span> * @param puts The list of mutations to apply.<a name="line.475"></a>
+<span class="sourceLineNo">476</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.476"></a>
+<span class="sourceLineNo">477</span> */<a name="line.477"></a>
+<span class="sourceLineNo">478</span> List<CompletableFuture<Void>> put(List<Put> puts);<a name="line.478"></a>
+<span class="sourceLineNo">479</span><a name="line.479"></a>
+<span class="sourceLineNo">480</span> /**<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * A simple version of batch put. It will fail if there are any failures.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param puts The list of mutations to apply.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> */<a name="line.484"></a>
+<span class="sourceLineNo">485</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span> return allOf(put(puts)).thenApply(r -> null);<a name="line.486"></a>
+<span class="sourceLineNo">487</span> }<a name="line.487"></a>
+<span class="sourceLineNo">488</span><a name="line.488"></a>
+<span class="sourceLineNo">489</span> /**<a name="line.489"></a>
+<span class="sourceLineNo">490</span> * Deletes the specified cells/rows in bulk.<a name="line.490"></a>
+<span class="sourceLineNo">491</span> * @param deletes list of things to delete.<a name="line.491"></a>
+<span class="sourceLineNo">492</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.492"></a>
+<span class="sourceLineNo">493</span> */<a name="line.493"></a>
+<span class="sourceLineNo">494</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<a name="line.494"></a>
+<span class="sourceLineNo">495</span><a name="line.495"></a>
+<span class="sourceLineNo">496</span> /**<a name="line.496"></a>
+<span class="sourceLineNo">497</span> * A simple version of batch delete. It will fail if there are any failures.<a name="line.497"></a>
+<span class="sourceLineNo">498</span> * @param deletes list of things to delete.<a name="line.498"></a>
+<span class="sourceLineNo">499</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.499"></a>
+<span class="sourceLineNo">500</span> */<a name="line.500"></a>
+<span class="sourceLineNo">501</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.501"></a>
+<span class="sourceLineNo">502</span> return allOf(delete(deletes)).thenApply(r -> null);<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> /**<a name="line.505"></a>
+<span class="sourceLineNo">506</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends and RowMutations. The<a name="line.506"></a>
+<span class="sourceLineNo">507</span> * ordering of execution of the actions is not defined. Meaning if you do a Put and a Get in the<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * same {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the<a name="line.508"></a>
+<span class="sourceLineNo">509</span> * Put had put.<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @param actions list of Get, Put, Delete, Increment, Append, and RowMutations objects<a name="line.510"></a>
+<span class="sourceLineNo">511</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> */<a name="line.512"></a>
+<span class="sourceLineNo">513</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.513"></a>
+<span class="sourceLineNo">514</span><a name="line.514"></a>
+<span class="sourceLineNo">515</span> /**<a name="line.515"></a>
+<span class="sourceLineNo">516</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.516"></a>
+<span class="sourceLineNo">517</span> * result list at once if the operation is succeeded.<a name="line.517"></a>
+<span class="sourceLineNo">518</span> * @param actions list of Get, Put, Delete, Increment, Append and RowMutations objects<a name="line.518"></a>
+<span class="sourceLineNo">519</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.519"></a>
+<span class="sourceLineNo">520</span> */<a name="line.520"></a>
+<span class="sourceLineNo">521</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.521"></a>
+<span class="sourceLineNo">522</span> return allOf(batch(actions));<a name="line.522"></a>
+<span class="sourceLineNo">523</span> }<a name="line.523"></a>
+<span class="sourceLineNo">524</span><a name="line.524"></a>
+<span class="sourceLineNo">525</span> /**<a name="line.525"></a>
+<span class="sourceLineNo">526</span> * Execute the given coprocessor call on the region which contains the given {@code row}.<a name="line.526"></a>
+<span class="sourceLineNo">527</span> * <p><a name="line.527"></a>
+<span class="sourceLineNo">528</span> * The {@code stubMaker} is just a delegation to the {@code newStub} call. Usually it is only a<a name="line.528"></a>
+<span class="sourceLineNo">529</span> * one line lambda expression, like:<a name="line.529"></a>
+<span class="sourceLineNo">530</span> *<a name="line.530"></a>
+<span class="sourceLineNo">531</span> * <pre><a name="line.531"></a>
+<span class="sourceLineNo">532</span> * <code><a name="line.532"></a>
+<span class="sourceLineNo">533</span> * channel -> xxxService.newStub(channel)<a name="line.533"></a>
+<span class="sourceLineNo">534</span> * </code><a name="line.534"></a>
+<span class="sourceLineNo">535</span> * </pre><a name="line.535"></a>
+<span class="sourceLineNo">536</span> *<a name="line.536"></a>
+<span class="sourceLineNo">537</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.537"></a>
+<span class="sourceLineNo">538</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.538"></a>
+<span class="sourceLineNo">539</span> * {@link ServiceCaller} for more details.<a name="line.539"></a>
+<span class="sourceLineNo">540</span> * @param row The row key used to identify the remote region location<a name="line.540"></a>
+<span class="sourceLineNo">541</span> * @param <S> the type of the asynchronous stub<a name="line.541"></a>
+<span class="sourceLineNo">542</span> * @param <R> the type of the return value<a name="line.542"></a>
+<span class="sourceLineNo">543</span> * @return the return value of the protobuf rpc call, wrapped by a {@link CompletableFuture}.<a name="line.543"></a>
+<span class="sourceLineNo">544</span> * @see ServiceCaller<a name="line.544"></a>
+<span class="sourceLineNo">545</span> */<a name="line.545"></a>
+<span class="sourceLineNo">546</span> <S, R> CompletableFuture<R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.546"></a>
+<span class="sourceLineNo">547</span> ServiceCaller<S, R> callable, byte[] row);<a name="line.547"></a>
+<span class="sourceLineNo">548</span><a name="line.548"></a>
+<span class="sourceLineNo">549</span> /**<a name="line.549"></a>
+<span class="sourceLineNo">550</span> * The callback when we want to execute a coprocessor call on a range of regions.<a name="line.550"></a>
+<span class="sourceLineNo">551</span> * <p><a name="line.551"></a>
+<span class="sourceLineNo">552</span> * As the locating itself also takes some time, the implementation may want to send rpc calls on<a name="line.552"></a>
+<span class="sourceLineNo">553</span> * the fly, which means we do not know how many regions we have when we get the return value of<a name="line.553"></a>
+<span class="sourceLineNo">554</span> * the rpc calls, so we need an {@link #onComplete()} which is used to tell you that we have<a name="line.554"></a>
+<span class="sourceLineNo">555</span> * passed all the return values to you(through the {@link #onRegionComplete(RegionInfo, Object)}<a name="line.555"></a>
+<span class="sourceLineNo">556</span> * or {@link #onRegionError(RegionInfo, Throwable)} calls), i.e, there will be no<a name="line.556"></a>
+<span class="sourceLineNo">557</span> * {@link #onRegionComplete(RegionInfo, Object)} or {@link #onRegionError(RegionInfo, Throwable)}<a name="line.557"></a>
+<span class="sourceLineNo">558</span> * calls in the future.<a name="line.558"></a>
+<span class="sourceLineNo">559</span> * <p><a name="line.559"></a>
+<span class="sourceLineNo">560</span> * Here is a pseudo code to describe a typical implementation of a range coprocessor service<a name="line.560"></a>
+<span class="sourceLineNo">561</span> * method to help you better understand how the {@link CoprocessorCallback} will be called. The<a name="line.561"></a>
+<span class="sourceLineNo">562</span> * {@code callback} in the pseudo code is our {@link CoprocessorCallback}. And notice that the<a name="line.562"></a>
+<span class="sourceLineNo">563</span> * {@code whenComplete} is {@code CompletableFuture.whenComplete}.<a name="line.563"></a>
+<span class="sourceLineNo">564</span> *<a name="line.564"></a>
+<span class="sourceLineNo">565</span> * <pre><a name="line.565"></a>
+<span class="sourceLineNo">566</span> * locateThenCall(byte[] row) {<a name="line.566"></a>
+<span class="sourceLineNo">567</span> * locate(row).whenComplete((location, locateError) -> {<a name="line.567"></a>
+<span class="sourceLineNo">568</span> * if (locateError != null) {<a name="line.568"></a>
+<span class="sourceLineNo">569</span> * callback.onError(locateError);<a name="line.569"></a>
+<span class="sourceLineNo">570</span> * return;<a name="line.570"></a>
+<span class="sourceLineNo">571</span> * }<a name="line.571"></a>
+<span class="sourceLineNo">572</span> * incPendingCall();<a name="line.572"></a>
+<span class="sourceLineNo">573</span> * region = location.getRegion();<a name="line.573"></a>
+<span class="sourceLineNo">574</span> * if (region.getEndKey() > endKey) {<a name="line.574"></a>
+<span class="sourceLineNo">575</span> * locateEnd = true;<a name="line.575"></a>
+<span class="sourceLineNo">576</span> * } else {<a name="line.576"></a>
+<span class="sourceLineNo">577</span> * locateThenCall(region.getEndKey());<a name="line.577"></a>
+<span class="sourceLineNo">578</span> * }<a name="line.578"></a>
+<span class="sourceLineNo">579</span> * sendCall().whenComplete((resp, error) -> {<a name="line.579"></a>
+<span class="sourceLineNo">580</span> * if (error != null) {<a name="line.580"></a>
+<span class="sourceLineNo">581</span> * callback.onRegionError(region, error);<a name="line.581"></a>
+<span class="sourceLineNo">582</span> * } else {<a name="line.582"></a>
+<span class="sourceLineNo">583</span> * callback.onRegionComplete(region, resp);<a name="line.583"></a>
+<span class="sourceLineNo">584</span> * }<a name="line.584"></a>
+<span class="sourceLineNo">585</span> * if (locateEnd && decPendingCallAndGet() == 0) {<a name="line.585"></a>
+<span class="sourceLineNo">586</span> * callback.onComplete();<a name="line.586"></a>
+<span class="sourceLineNo">587</span> * }<a name="line.587"></a>
+<span class="sourceLineNo">588</span> * });<a name="line.588"></a>
+<span class="sourceLineNo">589</span> * });<a name="line.589"></a>
+<span class="sourceLineNo">590</span> * }<a name="line.590"></a>
+<span class="sourceLineNo">591</span> * </pre><a name="line.591"></a>
+<span class="sourceLineNo">592</span> */<a name="line.592"></a>
+<span class="sourceLineNo">593</span> @InterfaceAudience.Public<a name="line.593"></a>
+<span class="sourceLineNo">594</span> interface CoprocessorCallback<R> {<a name="line.594"></a>
+<span class="sourceLineNo">595</span><a name="line.595"></a>
+<span class="sourceLineNo">596</span> /**<a name="line.596"></a>
+<span class="sourceLineNo">597</span> * @param region the region that the response belongs to<a name="line.597"></a>
+<span class="sourceLineNo">598</span> * @param resp the response of the coprocessor call<a name="line.598"></a>
+<span class="sourceLineNo">599</span> */<a name="line.599"></a>
+<span class="sourceLineNo">600</span> void onRegionComplete(RegionInfo region, R resp);<a name="line.600"></a>
+<span class="sourceLineNo">601</span><a name="line.601"></a>
+<span class="sourceLineNo">602</span> /**<a name="line.602"></a>
+<span class="sourceLineNo">603</span> * @param region the region that the error belongs to<a name="line.603"></a>
+<span class="sourceLineNo">604</span> * @param error the response error of the coprocessor call<a name="line.604"></a>
+<span class="sourceLineNo">605</span> */<a name="line.605"></a>
+<span class="sourceLineNo">606</span> void onRegionError(RegionInfo region, Throwable error);<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> * Indicate that all responses of the regions have been notified by calling<a name="line.609"></a>
+<span class="sourceLineNo">610</span> * {@link #onRegionComplete(RegionInfo, Object)} or<a name="line.610"></a>
+<span class="sourceLineNo">611</span> * {@link #onRegionError(RegionInfo, Throwable)}.<a name="line.611"></a>
+<span class="sourceLineNo">612</span> */<a name="line.612"></a>
+<span class="sourceLineNo">613</span> void onComplete();<a name="line.613"></a>
+<span class="sourceLineNo">614</span><a name="line.614"></a>
+<span class="sourceLineNo">615</span> /**<a name="line.615"></a>
+<span class="sourceLineNo">616</span> * Indicate that we got an error which does not belong to any regions. Usually a locating error.<a name="line.616"></a>
+<span class="sourceLineNo">617</span> */<a name="line.617"></a>
+<span class="sourceLineNo">618</span> void onError(Throwable error);<a name="line.618"></a>
+<span class="sourceLineNo">619</span> }<a name="line.619"></a>
+<span class="sourceLineNo">620</span><a name="line.620"></a>
+<span class="sourceLineNo">621</span> /**<a name="line.621"></a>
+<span class="sourceLineNo">622</span> * Helper class for sending coprocessorService request that executes a coprocessor call on regions<a name="line.622"></a>
+<span class="sourceLineNo">623</span> * which are covered by a range.<a name="line.623"></a>
+<span class="sourceLineNo">624</span> * <p><a name="line.624"></a>
+<span class="sourceLineNo">625</span> * If {@code fromRow} is not specified the selection will start with the first table region. If<a name="line.625"></a>
+<span class="sourceLineNo">626</span> * {@code toRow} is not specified the selection will continue through the last table region.<a name="line.626"></a>
+<span class="sourceLineNo">627</span> * @param <S> the type of the protobuf Service you want to call.<a name="line.627"></a>
+<span class="sourceLineNo">628</span> * @param <R> the type of the return value.<a name="line.628"></a>
<span class="sourceLineNo">629</span> */<a name="line.629"></a>
-<span class="sourceLineNo">630</span> <S, R> CoprocessorServiceBuilder<S, R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.630"></a>
-<span class="sourceLineNo">631</span> ServiceCaller<S, R> callable, CoprocessorCallback<R> callback);<a name="line.631"></a>
-<span class="sourceLineNo">632</span>}<a name="line.632"></a>
+<span class="sourceLineNo">630</span> interface CoprocessorServiceBuilder<S, R> {<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> * @param startKey start region selection with region containing this row, inclusive.<a name="line.633"></a>
+<span class="sourceLineNo">634</span> */<a name="line.634"></a>
+<span class="sourceLineNo">635</span> default CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey) {<a name="line.635"></a>
+<span class="sourceLineNo">636</span> return fromRow(startKey, true);<a name="line.636"></a>
+<span class="sourceLineNo">637</span> }<a name="line.637"></a>
+<span class="sourceLineNo">638</span><a name="line.638"></a>
+<span class="sourceLineNo">639</span> /**<a name="line.639"></a>
+<span class="sourceLineNo">640</span> * @param startKey start region selection with region containing this row<a name="line.640"></a>
+<span class="sourceLineNo">641</span> * @param inclusive whether to include the startKey<a name="line.641"></a>
+<span class="sourceLineNo">642</span> */<a name="line.642"></a>
+<span class="sourceLineNo">643</span> CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey, boolean inclusive);<a name="line.643"></a>
+<span class="sourceLineNo">644</span><a name="line.644"></a>
+<span class="sourceLineNo">645</span> /**<a name="line.645"></a>
+<span class="sourceLineNo">646</span> * @param endKey select regions up to and including the region containing this row, exclusive.<a name="line.646"></a>
+<span class="sourceLineNo">647</span> */<a name="line.647"></a>
+<span class="sourceLineNo">648</span> default CoprocessorServiceBuilder<S, R> toRow(byte[] endKey) {<a name="line.648"></a>
+<span class="sourceLineNo">649</span> return toRow(endKey, false);<a name="line.649"></a>
+<span class="sourceLineNo">650</span> }<a name="line.650"></a>
+<span class="sourceLineNo">651</span><a name="line.651"></a>
+<span class="sourceLineNo">652</span> /**<a name="line.652"></a>
+<span class="sourceLineNo">653</span> * @param endKey select regions up to and including the region containing this row<a name="line.653"></a>
+<span class="sourceLineNo">654</span> * @param inclusive whether to include the endKey<a name="line.654"></a>
+<span class="sourceLineNo">655</span> */<a name="line.655"></a>
+<span class="sourceLineNo">656</span> CoprocessorServiceBuilder<S, R> toRow(byte[] endKey, boolean inclusive);<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> * Execute the coprocessorService request. You can get the response through the<a name="line.659"></a>
+<span class="sourceLineNo">660</span> * {@link CoprocessorCallback}.<a name="line.660"></a>
+<span class="sourceLineNo">661</span> */<a name="line.661"></a>
+<span class="sourceLineNo">662</span> void execute();<a name="line.662"></a>
+<span class="sourceLineNo">663</span> }<a name="line.663"></a>
+<span class="sourceLineNo">664</span><a name="line.664"></a>
+<span class="sourceLineNo">665</span> /**<a name="line.665"></a>
+<span class="sourceLineNo">666</span> * Execute a coprocessor call on the regions which are covered by a range.<a name="line.666"></a>
+<span class="sourceLineNo">667</span> * <p><a name="line.667"></a>
+<span class="sourceLineNo">668</span> * Use the returned {@link CoprocessorServiceBuilder} construct your request and then execute it.<a name="line.668"></a>
+<span class="sourceLineNo">669</span> * <p><a name="line.669"></a>
+<span class="sourceLineNo">670</span> * The {@code stubMaker} is just a delegation to the {@code xxxService.newStub} call. Usually it<a name="line.670"></a>
+<span class="sourceLineNo">671</span> * is only a one line lambda expression, like:<a name="line.671"></a>
+<span class="sourceLineNo">672</span> *<a name="line.672"></a>
+<span class="sourceLineNo">673</span> * <pre><a name="line.673"></a>
+<span class="sourceLineNo">674</span> * <code><a name="line.674"></a>
+<span class="sourceLineNo">675</span> * channel -> xxxService.newStub(channel)<a name="line.675"></a>
+<span class="sourceLineNo">676</span> * </code><a name="line.676"></a>
+<span class="sourceLineNo">677</span> * </pre><a name="line.677"></a>
+<span class="sourceLineNo">678</span> *<a name="line.678"></a>
+<span class="sourceLineNo">679</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.679"></a>
+<span class="sourceLineNo">680</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.680"></a>
+<span class="sourceLineNo">681</span> * {@link ServiceCaller} for more details.<a name="line.681"></a>
+<span class="sourceLineNo">682</span> * @param callback callback to get the response. See the comment of {@link CoprocessorCallback}<a name="line.682"></a>
+<span class="sourceLineNo">683</span> * for more details.<a name="line.683"></a>
+<span class="sourceLineNo">684</span> */<a name="line.684"></a>
+<span class="sourceLineNo">685</span> <S, R> CoprocessorServiceBuilder<S, R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.685"></a>
+<span class="sourceLineNo">686</span> ServiceCaller<S, R> callable, CoprocessorCallback<R> callback);<a name="line.686"></a>
+<span class="sourceLineNo">687</span>}<a name="line.687"></a>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html
index e2f1f9c..5af44f7 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html
@@ -37,607 +37,662 @@
<span class="sourceLineNo">029</span>import org.apache.hadoop.conf.Configuration;<a name="line.29"></a>
<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.30"></a>
<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.TableName;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span>/**<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * The interface for asynchronous version of Table. Obtain an instance from a<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * {@link AsyncConnection}.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
-<span class="sourceLineNo">042</span> * The implementation is required to be thread safe.<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
-<span class="sourceLineNo">044</span> * Usually the implementation will not throw any exception directly. You need to get the exception<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * from the returned {@link CompletableFuture}.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * @since 2.0.0<a name="line.46"></a>
-<span class="sourceLineNo">047</span> */<a name="line.47"></a>
-<span class="sourceLineNo">048</span>@InterfaceAudience.Public<a name="line.48"></a>
-<span class="sourceLineNo">049</span>public interface AsyncTable<C extends ScanResultConsumerBase> {<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> * Gets the fully qualified table name instance of this table.<a name="line.52"></a>
-<span class="sourceLineNo">053</span> */<a name="line.53"></a>
-<span class="sourceLineNo">054</span> TableName getName();<a name="line.54"></a>
-<span class="sourceLineNo">055</span><a name="line.55"></a>
-<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
-<span class="sourceLineNo">059</span> * The reference returned is not a copy, so any change made to it will affect this instance.<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span> Configuration getConfiguration();<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
-<span class="sourceLineNo">064</span> * Gets the {@link TableDescriptor} for this table.<a name="line.64"></a>
-<span class="sourceLineNo">065</span> */<a name="line.65"></a>
-<span class="sourceLineNo">066</span> CompletableFuture<TableDescriptor> getDescriptor();<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span> /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * Gets the {@link AsyncTableRegionLocator} for this table.<a name="line.69"></a>
-<span class="sourceLineNo">070</span> */<a name="line.70"></a>
-<span class="sourceLineNo">071</span> AsyncTableRegionLocator getRegionLocator();<a name="line.71"></a>
-<span class="sourceLineNo">072</span> /**<a name="line.72"></a>
-<span class="sourceLineNo">073</span> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.73"></a>
-<span class="sourceLineNo">074</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.74"></a>
-<span class="sourceLineNo">075</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.75"></a>
-<span class="sourceLineNo">076</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.76"></a>
-<span class="sourceLineNo">077</span> * @param unit the unit of time the timeout to be represented in<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * @return rpc timeout in the specified time unit<a name="line.78"></a>
-<span class="sourceLineNo">079</span> */<a name="line.79"></a>
-<span class="sourceLineNo">080</span> long getRpcTimeout(TimeUnit unit);<a name="line.80"></a>
-<span class="sourceLineNo">081</span><a name="line.81"></a>
-<span class="sourceLineNo">082</span> /**<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * Get timeout of each rpc read request in this Table instance.<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * @param unit the unit of time the timeout to be represented in<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * @return read rpc timeout in the specified time unit<a name="line.85"></a>
-<span class="sourceLineNo">086</span> */<a name="line.86"></a>
-<span class="sourceLineNo">087</span> long getReadRpcTimeout(TimeUnit unit);<a name="line.87"></a>
-<span class="sourceLineNo">088</span><a name="line.88"></a>
-<span class="sourceLineNo">089</span> /**<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * Get timeout of each rpc write request in this Table instance.<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * @param unit the unit of time the timeout to be represented in<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @return write rpc timeout in the specified time unit<a name="line.92"></a>
-<span class="sourceLineNo">093</span> */<a name="line.93"></a>
-<span class="sourceLineNo">094</span> long getWriteRpcTimeout(TimeUnit unit);<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span> /**<a name="line.96"></a>
-<span class="sourceLineNo">097</span> * Get timeout of each operation in Table instance.<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * @param unit the unit of time the timeout to be represented in<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * @return operation rpc timeout in the specified time unit<a name="line.99"></a>
-<span class="sourceLineNo">100</span> */<a name="line.100"></a>
-<span class="sourceLineNo">101</span> long getOperationTimeout(TimeUnit unit);<a name="line.101"></a>
-<span class="sourceLineNo">102</span><a name="line.102"></a>
-<span class="sourceLineNo">103</span> /**<a name="line.103"></a>
-<span class="sourceLineNo">104</span> * Get the timeout of a single operation in a scan. It works like operation timeout for other<a name="line.104"></a>
-<span class="sourceLineNo">105</span> * operations.<a name="line.105"></a>
-<span class="sourceLineNo">106</span> * @param unit the unit of time the timeout to be represented in<a name="line.106"></a>
-<span class="sourceLineNo">107</span> * @return scan rpc timeout in the specified time unit<a name="line.107"></a>
-<span class="sourceLineNo">108</span> */<a name="line.108"></a>
-<span class="sourceLineNo">109</span> long getScanTimeout(TimeUnit unit);<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span> /**<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.112"></a>
-<span class="sourceLineNo">113</span> * <p><a name="line.113"></a>
-<span class="sourceLineNo">114</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> * <p><a name="line.115"></a>
-<span class="sourceLineNo">116</span> * This is a server-side call so it prevents any data from being transfered to the client.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> * @return true if the specified Get matches one or more keys, false if not. The return value will<a name="line.117"></a>
-<span class="sourceLineNo">118</span> * be wrapped by a {@link CompletableFuture}.<a name="line.118"></a>
-<span class="sourceLineNo">119</span> */<a name="line.119"></a>
-<span class="sourceLineNo">120</span> default CompletableFuture<Boolean> exists(Get get) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span> return get(toCheckExistenceOnly(get)).thenApply(r -> r.getExists());<a name="line.121"></a>
-<span class="sourceLineNo">122</span> }<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span> /**<a name="line.124"></a>
-<span class="sourceLineNo">125</span> * Extracts certain cells from a given row.<a name="line.125"></a>
-<span class="sourceLineNo">126</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.126"></a>
-<span class="sourceLineNo">127</span> * @return The data coming from the specified row, if it exists. If the row specified doesn't<a name="line.127"></a>
-<span class="sourceLineNo">128</span> * exist, the {@link Result} instance returned won't contain any<a name="line.128"></a>
-<span class="sourceLineNo">129</span> * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The<a name="line.129"></a>
-<span class="sourceLineNo">130</span> * return value will be wrapped by a {@link CompletableFuture}.<a name="line.130"></a>
-<span class="sourceLineNo">131</span> */<a name="line.131"></a>
-<span class="sourceLineNo">132</span> CompletableFuture<Result> get(Get get);<a name="line.132"></a>
-<span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span> /**<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * Puts some data to the table.<a name="line.135"></a>
-<span class="sourceLineNo">136</span> * @param put The data to put.<a name="line.136"></a>
-<span class="sourceLineNo">137</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.137"></a>
-<span class="sourceLineNo">138</span> */<a name="line.138"></a>
-<span class="sourceLineNo">139</span> CompletableFuture<Void> put(Put put);<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> * Deletes the specified cells/row.<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * @param delete The object that specifies what to delete.<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.144"></a>
-<span class="sourceLineNo">145</span> */<a name="line.145"></a>
-<span class="sourceLineNo">146</span> CompletableFuture<Void> delete(Delete delete);<a name="line.146"></a>
-<span class="sourceLineNo">147</span><a name="line.147"></a>
-<span class="sourceLineNo">148</span> /**<a name="line.148"></a>
-<span class="sourceLineNo">149</span> * Appends values to one or more columns within a single row.<a name="line.149"></a>
-<span class="sourceLineNo">150</span> * <p><a name="line.150"></a>
-<span class="sourceLineNo">151</span> * This operation does not appear atomic to readers. Appends are done under a single row lock, so<a name="line.151"></a>
-<span class="sourceLineNo">152</span> * write operations to a row are synchronized, but readers do not take row locks so get and scan<a name="line.152"></a>
-<span class="sourceLineNo">153</span> * operations can see this operation partially completed.<a name="line.153"></a>
-<span class="sourceLineNo">154</span> * @param append object that specifies the columns and amounts to be used for the increment<a name="line.154"></a>
-<span class="sourceLineNo">155</span> * operations<a name="line.155"></a>
-<span class="sourceLineNo">156</span> * @return values of columns after the append operation (maybe null). The return value will be<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * wrapped by a {@link CompletableFuture}.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> */<a name="line.158"></a>
-<span class="sourceLineNo">159</span> CompletableFuture<Result> append(Append append);<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span> /**<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * Increments one or more columns within a single row.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * <p><a name="line.163"></a>
-<span class="sourceLineNo">164</span> * This operation does not appear atomic to readers. Increments are done under a single row lock,<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * so write operations to a row are synchronized, but readers do not take row locks so get and<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * scan operations can see this operation partially completed.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> * @param increment object that specifies the columns and amounts to be used for the increment<a name="line.167"></a>
-<span class="sourceLineNo">168</span> * operations<a name="line.168"></a>
-<span class="sourceLineNo">169</span> * @return values of columns after the increment. The return value will be wrapped by a<a name="line.169"></a>
-<span class="sourceLineNo">170</span> * {@link CompletableFuture}.<a name="line.170"></a>
-<span class="sourceLineNo">171</span> */<a name="line.171"></a>
-<span class="sourceLineNo">172</span> CompletableFuture<Result> increment(Increment increment);<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span> /**<a name="line.174"></a>
-<span class="sourceLineNo">175</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.175"></a>
-<span class="sourceLineNo">176</span> * <p><a name="line.176"></a>
-<span class="sourceLineNo">177</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.177"></a>
-<span class="sourceLineNo">178</span> * @param row The row that contains the cell to increment.<a name="line.178"></a>
-<span class="sourceLineNo">179</span> * @param family The column family of the cell to increment.<a name="line.179"></a>
-<span class="sourceLineNo">180</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.180"></a>
-<span class="sourceLineNo">181</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.181"></a>
-<span class="sourceLineNo">182</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.182"></a>
-<span class="sourceLineNo">183</span> * {@link CompletableFuture}.<a name="line.183"></a>
-<span class="sourceLineNo">184</span> */<a name="line.184"></a>
-<span class="sourceLineNo">185</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.185"></a>
-<span class="sourceLineNo">186</span> long amount) {<a name="line.186"></a>
-<span class="sourceLineNo">187</span> return incrementColumnValue(row, family, qualifier, amount, Durability.SYNC_WAL);<a name="line.187"></a>
-<span class="sourceLineNo">188</span> }<a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span> /**<a name="line.190"></a>
-<span class="sourceLineNo">191</span> * Atomically increments a column value. If the column value already exists and is not a<a name="line.191"></a>
-<span class="sourceLineNo">192</span> * big-endian long, this could throw an exception. If the column value does not yet exist it is<a name="line.192"></a>
-<span class="sourceLineNo">193</span> * initialized to <code>amount</code> and written to the specified column.<a name="line.193"></a>
-<span class="sourceLineNo">194</span> * <p><a name="line.194"></a>
-<span class="sourceLineNo">195</span> * Setting durability to {@link Durability#SKIP_WAL} means that in a fail scenario you will lose<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * any increments that have not been flushed.<a name="line.196"></a>
-<span class="sourceLineNo">197</span> * @param row The row that contains the cell to increment.<a name="line.197"></a>
-<span class="sourceLineNo">198</span> * @param family The column family of the cell to increment.<a name="line.198"></a>
-<span class="sourceLineNo">199</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.199"></a>
-<span class="sourceLineNo">200</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.200"></a>
-<span class="sourceLineNo">201</span> * @param durability The persistence guarantee for this increment.<a name="line.201"></a>
-<span class="sourceLineNo">202</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.202"></a>
-<span class="sourceLineNo">203</span> * {@link CompletableFuture}.<a name="line.203"></a>
-<span class="sourceLineNo">204</span> */<a name="line.204"></a>
-<span class="sourceLineNo">205</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.205"></a>
-<span class="sourceLineNo">206</span> long amount, Durability durability) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span> Preconditions.checkNotNull(row, "row is null");<a name="line.207"></a>
-<span class="sourceLineNo">208</span> Preconditions.checkNotNull(family, "family is null");<a name="line.208"></a>
-<span class="sourceLineNo">209</span> return increment(<a name="line.209"></a>
-<span class="sourceLineNo">210</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.210"></a>
-<span class="sourceLineNo">211</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * adds the Put/Delete/RowMutations.<a name="line.216"></a>
-<span class="sourceLineNo">217</span> * <p><a name="line.217"></a>
-<span class="sourceLineNo">218</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * This is a fluent style API, the code is like:<a name="line.219"></a>
-<span class="sourceLineNo">220</span> *<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * <pre><a name="line.221"></a>
-<span class="sourceLineNo">222</span> * <code><a name="line.222"></a>
-<span class="sourceLineNo">223</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put)<a name="line.223"></a>
-<span class="sourceLineNo">224</span> * .thenAccept(succ -> {<a name="line.224"></a>
-<span class="sourceLineNo">225</span> * if (succ) {<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * System.out.println("Check and put succeeded");<a name="line.226"></a>
-<span class="sourceLineNo">227</span> * } else {<a name="line.227"></a>
-<span class="sourceLineNo">228</span> * System.out.println("Check and put failed");<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * }<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * });<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * </code><a name="line.231"></a>
-<span class="sourceLineNo">232</span> * </pre><a name="line.232"></a>
-<span class="sourceLineNo">233</span> */<a name="line.233"></a>
-<span class="sourceLineNo">234</span> CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family);<a name="line.234"></a>
-<span class="sourceLineNo">235</span><a name="line.235"></a>
-<span class="sourceLineNo">236</span> /**<a name="line.236"></a>
-<span class="sourceLineNo">237</span> * A helper class for sending checkAndMutate request.<a name="line.237"></a>
-<span class="sourceLineNo">238</span> */<a name="line.238"></a>
-<span class="sourceLineNo">239</span> interface CheckAndMutateBuilder {<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span> /**<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * @param qualifier column qualifier to check.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> */<a name="line.243"></a>
-<span class="sourceLineNo">244</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span> /**<a name="line.246"></a>
-<span class="sourceLineNo">247</span> * @param timeRange time range to check.<a name="line.247"></a>
-<span class="sourceLineNo">248</span> */<a name="line.248"></a>
-<span class="sourceLineNo">249</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * Check for lack of column.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> CheckAndMutateBuilder ifNotExists();<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span> /**<a name="line.256"></a>
-<span class="sourceLineNo">257</span> * Check for equality.<a name="line.257"></a>
-<span class="sourceLineNo">258</span> * @param value the expected value<a name="line.258"></a>
-<span class="sourceLineNo">259</span> */<a name="line.259"></a>
-<span class="sourceLineNo">260</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.261"></a>
-<span class="sourceLineNo">262</span> }<a name="line.262"></a>
-<span class="sourceLineNo">263</span><a name="line.263"></a>
-<span class="sourceLineNo">264</span> /**<a name="line.264"></a>
-<span class="sourceLineNo">265</span> * @param compareOp comparison operator to use<a name="line.265"></a>
-<span class="sourceLineNo">266</span> * @param value the expected value<a name="line.266"></a>
-<span class="sourceLineNo">267</span> */<a name="line.267"></a>
-<span class="sourceLineNo">268</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.268"></a>
-<span class="sourceLineNo">269</span><a name="line.269"></a>
-<span class="sourceLineNo">270</span> /**<a name="line.270"></a>
-<span class="sourceLineNo">271</span> * @param put data to put if check succeeds<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> */<a name="line.274"></a>
-<span class="sourceLineNo">275</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.275"></a>
-<span class="sourceLineNo">276</span><a name="line.276"></a>
-<span class="sourceLineNo">277</span> /**<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * @param delete data to delete if check succeeds<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.280"></a>
-<span class="sourceLineNo">281</span> */<a name="line.281"></a>
-<span class="sourceLineNo">282</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span> /**<a name="line.284"></a>
-<span class="sourceLineNo">285</span> * @param mutation mutations to perform if check succeeds<a name="line.285"></a>
-<span class="sourceLineNo">286</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.286"></a>
-<span class="sourceLineNo">287</span> * wrapped by a {@link CompletableFuture}.<a name="line.287"></a>
-<span class="sourceLineNo">288</span> */<a name="line.288"></a>
-<span class="sourceLineNo">289</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.289"></a>
-<span class="sourceLineNo">290</span> }<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.293"></a>
-<span class="sourceLineNo">294</span> * {@link Delete} are supported.<a name="line.294"></a>
-<span class="sourceLineNo">295</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.295"></a>
-<span class="sourceLineNo">296</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.296"></a>
-<span class="sourceLineNo">297</span> */<a name="line.297"></a>
-<span class="sourceLineNo">298</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<a name="line.298"></a>
-<span class="sourceLineNo">299</span><a name="line.299"></a>
-<span class="sourceLineNo">300</span> /**<a name="line.300"></a>
-<span class="sourceLineNo">301</span> * The scan API uses the observer pattern.<a name="line.301"></a>
-<span class="sourceLineNo">302</span> * @param scan A configured {@link Scan} object.<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * @param consumer the consumer used to receive results.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> * @see ScanResultConsumer<a name="line.304"></a>
-<span class="sourceLineNo">305</span> * @see AdvancedScanResultConsumer<a name="line.305"></a>
-<span class="sourceLineNo">306</span> */<a name="line.306"></a>
-<span class="sourceLineNo">307</span> void scan(Scan scan, C consumer);<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span> /**<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Gets a scanner on the current table for the given family.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> * @param family The column family to scan.<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @return A scanner.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> */<a name="line.313"></a>
-<span class="sourceLineNo">314</span> default ResultScanner getScanner(byte[] family) {<a name="line.314"></a>
-<span class="sourceLineNo">315</span> return getScanner(new Scan().addFamily(family));<a name="line.315"></a>
-<span class="sourceLineNo">316</span> }<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> * Gets a scanner on the current table for the given family and qualifier.<a name="line.319"></a>
-<span class="sourceLineNo">320</span> * @param family The column family to scan.<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * @param qualifier The column qualifier to scan.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * @return A scanner.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> */<a name="line.323"></a>
-<span class="sourceLineNo">324</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) {<a name="line.324"></a>
-<span class="sourceLineNo">325</span> return getScanner(new Scan().addColumn(family, qualifier));<a name="line.325"></a>
-<span class="sourceLineNo">326</span> }<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>
-<span class="sourceLineNo">329</span> * Returns a scanner on the current table as specified by the {@link Scan} object.<a name="line.329"></a>
-<span class="sourceLineNo">330</span> * @param scan A configured {@link Scan} object.<a name="line.330"></a>
-<span class="sourceLineNo">331</span> * @return A scanner.<a name="line.331"></a>
-<span class="sourceLineNo">332</span> */<a name="line.332"></a>
-<span class="sourceLineNo">333</span> ResultScanner getScanner(Scan scan);<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span> /**<a name="line.335"></a>
-<span class="sourceLineNo">336</span> * Return all the results that match the given scan object.<a name="line.336"></a>
-<span class="sourceLineNo">337</span> * <p><a name="line.337"></a>
-<span class="sourceLineNo">338</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.338"></a>
-<span class="sourceLineNo">339</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.339"></a>
-<span class="sourceLineNo">340</span> * <p><a name="line.340"></a>
-<span class="sourceLineNo">341</span> *<a name="line.341"></a>
-<span class="sourceLineNo">342</span> * <pre><a name="line.342"></a>
-<span class="sourceLineNo">343</span> * <code><a name="line.343"></a>
-<span class="sourceLineNo">344</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * if (results.isEmpty()) {<a name="line.345"></a>
-<span class="sourceLineNo">346</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.346"></a>
-<span class="sourceLineNo">347</span> * } else {<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * }<a name="line.350"></a>
-<span class="sourceLineNo">351</span> * });<a name="line.351"></a>
-<span class="sourceLineNo">352</span> * </code><a name="line.352"></a>
-<span class="sourceLineNo">353</span> * </pre><a name="line.353"></a>
-<span class="sourceLineNo">354</span> * <p><a name="line.354"></a>
-<span class="sourceLineNo">355</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.355"></a>
-<span class="sourceLineNo">356</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.356"></a>
-<span class="sourceLineNo">357</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.357"></a>
-<span class="sourceLineNo">358</span> * <p><a name="line.358"></a>
-<span class="sourceLineNo">359</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.359"></a>
-<span class="sourceLineNo">360</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.360"></a>
-<span class="sourceLineNo">361</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.361"></a>
-<span class="sourceLineNo">362</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.362"></a>
-<span class="sourceLineNo">363</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.363"></a>
-<span class="sourceLineNo">364</span> * performance difference between these scan methods so do not worry.<a name="line.364"></a>
-<span class="sourceLineNo">365</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.365"></a>
-<span class="sourceLineNo">366</span> * result set, it is likely to cause OOM.<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.367"></a>
-<span class="sourceLineNo">368</span> * {@link CompletableFuture}.<a name="line.368"></a>
-<span class="sourceLineNo">369</span> */<a name="line.369"></a>
-<span class="sourceLineNo">370</span> CompletableFuture<List<Result>> scanAll(Scan scan);<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span> /**<a name="line.372"></a>
-<span class="sourceLineNo">373</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.373"></a>
-<span class="sourceLineNo">374</span> * <p><a name="line.374"></a>
-<span class="sourceLineNo">375</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.375"></a>
-<span class="sourceLineNo">376</span> * more keys, false if not.<a name="line.376"></a>
-<span class="sourceLineNo">377</span> * <p><a name="line.377"></a>
-<span class="sourceLineNo">378</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.378"></a>
-<span class="sourceLineNo">379</span> * @param gets the Gets<a name="line.379"></a>
-<span class="sourceLineNo">380</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.380"></a>
-<span class="sourceLineNo">381</span> */<a name="line.381"></a>
-<span class="sourceLineNo">382</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.382"></a>
-<span class="sourceLineNo">383</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.383"></a>
-<span class="sourceLineNo">384</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.384"></a>
-<span class="sourceLineNo">385</span> }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span> /**<a name="line.387"></a>
-<span class="sourceLineNo">388</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.388"></a>
-<span class="sourceLineNo">389</span> * whole result boolean list at once if the operation is succeeded.<a name="line.389"></a>
-<span class="sourceLineNo">390</span> * @param gets the Gets<a name="line.390"></a>
-<span class="sourceLineNo">391</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.391"></a>
-<span class="sourceLineNo">392</span> */<a name="line.392"></a>
-<span class="sourceLineNo">393</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span> return allOf(exists(gets));<a name="line.394"></a>
-<span class="sourceLineNo">395</span> }<a name="line.395"></a>
-<span class="sourceLineNo">396</span><a name="line.396"></a>
-<span class="sourceLineNo">397</span> /**<a name="line.397"></a>
-<span class="sourceLineNo">398</span> * Extracts certain cells from the given rows, in batch.<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * <p><a name="line.399"></a>
-<span class="sourceLineNo">400</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.400"></a>
-<span class="sourceLineNo">401</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.401"></a>
-<span class="sourceLineNo">402</span> * {@link CompletableFuture}s may fail.<a name="line.402"></a>
-<span class="sourceLineNo">403</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.403"></a>
-<span class="sourceLineNo">404</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.404"></a>
-<span class="sourceLineNo">405</span> */<a name="line.405"></a>
-<span class="sourceLineNo">406</span> List<CompletableFuture<Result>> get(List<Get> gets);<a name="line.406"></a>
-<span class="sourceLineNo">407</span><a name="line.407"></a>
-<span class="sourceLineNo">408</span> /**<a name="line.408"></a>
-<span class="sourceLineNo">409</span> * A simple version for batch get. It will fail if there are any failures and you will get the<a name="line.409"></a>
-<span class="sourceLineNo">410</span> * whole result list at once if the operation is succeeded.<a name="line.410"></a>
-<span class="sourceLineNo">411</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.411"></a>
-<span class="sourceLineNo">412</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.412"></a>
-<span class="sourceLineNo">413</span> */<a name="line.413"></a>
-<span class="sourceLineNo">414</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span> return allOf(get(gets));<a name="line.415"></a>
-<span class="sourceLineNo">416</span> }<a name="line.416"></a>
-<span class="sourceLineNo">417</span><a name="line.417"></a>
-<span class="sourceLineNo">418</span> /**<a name="line.418"></a>
-<span class="sourceLineNo">419</span> * Puts some data in the table, in batch.<a name="line.419"></a>
-<span class="sourceLineNo">420</span> * @param puts The list of mutations to apply.<a name="line.420"></a>
-<span class="sourceLineNo">421</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.421"></a>
-<span class="sourceLineNo">422</span> */<a name="line.422"></a>
-<span class="sourceLineNo">423</span> List<CompletableFuture<Void>> put(List<Put> puts);<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span> /**<a name="line.425"></a>
-<span class="sourceLineNo">426</span> * A simple version of batch put. It will fail if there are any failures.<a name="line.426"></a>
-<span class="sourceLineNo">427</span> * @param puts The list of mutations to apply.<a name="line.427"></a>
-<span class="sourceLineNo">428</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.428"></a>
-<span class="sourceLineNo">429</span> */<a name="line.429"></a>
-<span class="sourceLineNo">430</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.430"></a>
-<span class="sourceLineNo">431</span> return allOf(put(puts)).thenApply(r -> null);<a name="line.431"></a>
-<span class="sourceLineNo">432</span> }<a name="line.432"></a>
-<span class="sourceLineNo">433</span><a name="line.433"></a>
-<span class="sourceLineNo">434</span> /**<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Deletes the specified cells/rows in bulk.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * @param deletes list of things to delete.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> */<a name="line.438"></a>
-<span class="sourceLineNo">439</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<a name="line.439"></a>
-<span class="sourceLineNo">440</span><a name="line.440"></a>
-<span class="sourceLineNo">441</span> /**<a name="line.441"></a>
-<span class="sourceLineNo">442</span> * A simple version of batch delete. It will fail if there are any failures.<a name="line.442"></a>
-<span class="sourceLineNo">443</span> * @param deletes list of things to delete.<a name="line.443"></a>
-<span class="sourceLineNo">444</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.444"></a>
-<span class="sourceLineNo">445</span> */<a name="line.445"></a>
-<span class="sourceLineNo">446</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span> return allOf(delete(deletes)).thenApply(r -> null);<a name="line.447"></a>
-<span class="sourceLineNo">448</span> }<a name="line.448"></a>
-<span class="sourceLineNo">449</span><a name="line.449"></a>
-<span class="sourceLineNo">450</span> /**<a name="line.450"></a>
-<span class="sourceLineNo">451</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends and RowMutations. The<a name="line.451"></a>
-<span class="sourceLineNo">452</span> * ordering of execution of the actions is not defined. Meaning if you do a Put and a Get in the<a name="line.452"></a>
-<span class="sourceLineNo">453</span> * same {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the<a name="line.453"></a>
-<span class="sourceLineNo">454</span> * Put had put.<a name="line.454"></a>
-<span class="sourceLineNo">455</span> * @param actions list of Get, Put, Delete, Increment, Append, and RowMutations objects<a name="line.455"></a>
-<span class="sourceLineNo">456</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.456"></a>
-<span class="sourceLineNo">457</span> */<a name="line.457"></a>
-<span class="sourceLineNo">458</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.458"></a>
-<span class="sourceLineNo">459</span><a name="line.459"></a>
-<span class="sourceLineNo">460</span> /**<a name="line.460"></a>
-<span class="sourceLineNo">461</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.461"></a>
-<span class="sourceLineNo">462</span> * result list at once if the operation is succeeded.<a name="line.462"></a>
-<span class="sourceLineNo">463</span> * @param actions list of Get, Put, Delete, Increment, Append and RowMutations objects<a name="line.463"></a>
-<span class="sourceLineNo">464</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.464"></a>
-<span class="sourceLineNo">465</span> */<a name="line.465"></a>
-<span class="sourceLineNo">466</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.466"></a>
-<span class="sourceLineNo">467</span> return allOf(batch(actions));<a name="line.467"></a>
-<span class="sourceLineNo">468</span> }<a name="line.468"></a>
-<span class="sourceLineNo">469</span><a name="line.469"></a>
-<span class="sourceLineNo">470</span> /**<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * Execute the given coprocessor call on the region which contains the given {@code row}.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> * <p><a name="line.472"></a>
-<span class="sourceLineNo">473</span> * The {@code stubMaker} is just a delegation to the {@code newStub} call. Usually it is only a<a name="line.473"></a>
-<span class="sourceLineNo">474</span> * one line lambda expression, like:<a name="line.474"></a>
-<span class="sourceLineNo">475</span> *<a name="line.475"></a>
-<span class="sourceLineNo">476</span> * <pre><a name="line.476"></a>
-<span class="sourceLineNo">477</span> * <code><a name="line.477"></a>
-<span class="sourceLineNo">478</span> * channel -> xxxService.newStub(channel)<a name="line.478"></a>
-<span class="sourceLineNo">479</span> * </code><a name="line.479"></a>
-<span class="sourceLineNo">480</span> * </pre><a name="line.480"></a>
-<span class="sourceLineNo">481</span> *<a name="line.481"></a>
-<span class="sourceLineNo">482</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.482"></a>
-<span class="sourceLineNo">483</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.483"></a>
-<span class="sourceLineNo">484</span> * {@link ServiceCaller} for more details.<a name="line.484"></a>
-<span class="sourceLineNo">485</span> * @param row The row key used to identify the remote region location<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * @param <S> the type of the asynchronous stub<a name="line.486"></a>
-<span class="sourceLineNo">487</span> * @param <R> the type of the return value<a name="line.487"></a>
-<span class="sourceLineNo">488</span> * @return the return value of the protobuf rpc call, wrapped by a {@link CompletableFuture}.<a name="line.488"></a>
-<span class="sourceLineNo">489</span> * @see ServiceCaller<a name="line.489"></a>
-<span class="sourceLineNo">490</span> */<a name="line.490"></a>
-<span class="sourceLineNo">491</span> <S, R> CompletableFuture<R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.491"></a>
-<span class="sourceLineNo">492</span> ServiceCaller<S, R> callable, byte[] row);<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span> /**<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * The callback when we want to execute a coprocessor call on a range of regions.<a name="line.495"></a>
-<span class="sourceLineNo">496</span> * <p><a name="line.496"></a>
-<span class="sourceLineNo">497</span> * As the locating itself also takes some time, the implementation may want to send rpc calls on<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * the fly, which means we do not know how many regions we have when we get the return value of<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * the rpc calls, so we need an {@link #onComplete()} which is used to tell you that we have<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * passed all the return values to you(through the {@link #onRegionComplete(RegionInfo, Object)}<a name="line.500"></a>
-<span class="sourceLineNo">501</span> * or {@link #onRegionError(RegionInfo, Throwable)} calls), i.e, there will be no<a name="line.501"></a>
-<span class="sourceLineNo">502</span> * {@link #onRegionComplete(RegionInfo, Object)} or {@link #onRegionError(RegionInfo, Throwable)}<a name="line.502"></a>
-<span class="sourceLineNo">503</span> * calls in the future.<a name="line.503"></a>
-<span class="sourceLineNo">504</span> * <p><a name="line.504"></a>
-<span class="sourceLineNo">505</span> * Here is a pseudo code to describe a typical implementation of a range coprocessor service<a name="line.505"></a>
-<span class="sourceLineNo">506</span> * method to help you better understand how the {@link CoprocessorCallback} will be called. The<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * {@code callback} in the pseudo code is our {@link CoprocessorCallback}. And notice that the<a name="line.507"></a>
-<span class="sourceLineNo">508</span> * {@code whenComplete} is {@code CompletableFuture.whenComplete}.<a name="line.508"></a>
-<span class="sourceLineNo">509</span> *<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * <pre><a name="line.510"></a>
-<span class="sourceLineNo">511</span> * locateThenCall(byte[] row) {<a name="line.511"></a>
-<span class="sourceLineNo">512</span> * locate(row).whenComplete((location, locateError) -> {<a name="line.512"></a>
-<span class="sourceLineNo">513</span> * if (locateError != null) {<a name="line.513"></a>
-<span class="sourceLineNo">514</span> * callback.onError(locateError);<a name="line.514"></a>
-<span class="sourceLineNo">515</span> * return;<a name="line.515"></a>
-<span class="sourceLineNo">516</span> * }<a name="line.516"></a>
-<span class="sourceLineNo">517</span> * incPendingCall();<a name="line.517"></a>
-<span class="sourceLineNo">518</span> * region = location.getRegion();<a name="line.518"></a>
-<span class="sourceLineNo">519</span> * if (region.getEndKey() > endKey) {<a name="line.519"></a>
-<span class="sourceLineNo">520</span> * locateEnd = true;<a name="line.520"></a>
-<span class="sourceLineNo">521</span> * } else {<a name="line.521"></a>
-<span class="sourceLineNo">522</span> * locateThenCall(region.getEndKey());<a name="line.522"></a>
-<span class="sourceLineNo">523</span> * }<a name="line.523"></a>
-<span class="sourceLineNo">524</span> * sendCall().whenComplete((resp, error) -> {<a name="line.524"></a>
-<span class="sourceLineNo">525</span> * if (error != null) {<a name="line.525"></a>
-<span class="sourceLineNo">526</span> * callback.onRegionError(region, error);<a name="line.526"></a>
-<span class="sourceLineNo">527</span> * } else {<a name="line.527"></a>
-<span class="sourceLineNo">528</span> * callback.onRegionComplete(region, resp);<a name="line.528"></a>
-<span class="sourceLineNo">529</span> * }<a name="line.529"></a>
-<span class="sourceLineNo">530</span> * if (locateEnd && decPendingCallAndGet() == 0) {<a name="line.530"></a>
-<span class="sourceLineNo">531</span> * callback.onComplete();<a name="line.531"></a>
-<span class="sourceLineNo">532</span> * }<a name="line.532"></a>
-<span class="sourceLineNo">533</span> * });<a name="line.533"></a>
-<span class="sourceLineNo">534</span> * });<a name="line.534"></a>
-<span class="sourceLineNo">535</span> * }<a name="line.535"></a>
-<span class="sourceLineNo">536</span> * </pre><a name="line.536"></a>
-<span class="sourceLineNo">537</span> */<a name="line.537"></a>
-<span class="sourceLineNo">538</span> @InterfaceAudience.Public<a name="line.538"></a>
-<span class="sourceLineNo">539</span> interface CoprocessorCallback<R> {<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> * @param region the region that the response belongs to<a name="line.542"></a>
-<span class="sourceLineNo">543</span> * @param resp the response of the coprocessor call<a name="line.543"></a>
-<span class="sourceLineNo">544</span> */<a name="line.544"></a>
-<span class="sourceLineNo">545</span> void onRegionComplete(RegionInfo region, R resp);<a name="line.545"></a>
-<span class="sourceLineNo">546</span><a name="line.546"></a>
-<span class="sourceLineNo">547</span> /**<a name="line.547"></a>
-<span class="sourceLineNo">548</span> * @param region the region that the error belongs to<a name="line.548"></a>
-<span class="sourceLineNo">549</span> * @param error the response error of the coprocessor call<a name="line.549"></a>
-<span class="sourceLineNo">550</span> */<a name="line.550"></a>
-<span class="sourceLineNo">551</span> void onRegionError(RegionInfo region, Throwable error);<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> * Indicate that all responses of the regions have been notified by calling<a name="line.554"></a>
-<span class="sourceLineNo">555</span> * {@link #onRegionComplete(RegionInfo, Object)} or<a name="line.555"></a>
-<span class="sourceLineNo">556</span> * {@link #onRegionError(RegionInfo, Throwable)}.<a name="line.556"></a>
-<span class="sourceLineNo">557</span> */<a name="line.557"></a>
-<span class="sourceLineNo">558</span> void onComplete();<a name="line.558"></a>
-<span class="sourceLineNo">559</span><a name="line.559"></a>
-<span class="sourceLineNo">560</span> /**<a name="line.560"></a>
-<span class="sourceLineNo">561</span> * Indicate that we got an error which does not belong to any regions. Usually a locating error.<a name="line.561"></a>
-<span class="sourceLineNo">562</span> */<a name="line.562"></a>
-<span class="sourceLineNo">563</span> void onError(Throwable error);<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> * Helper class for sending coprocessorService request that executes a coprocessor call on regions<a name="line.567"></a>
-<span class="sourceLineNo">568</span> * which are covered by a range.<a name="line.568"></a>
-<span class="sourceLineNo">569</span> * <p><a name="line.569"></a>
-<span class="sourceLineNo">570</span> * If {@code fromRow} is not specified the selection will start with the first table region. If<a name="line.570"></a>
-<span class="sourceLineNo">571</span> * {@code toRow} is not specified the selection will continue through the last table region.<a name="line.571"></a>
-<span class="sourceLineNo">572</span> * @param <S> the type of the protobuf Service you want to call.<a name="line.572"></a>
-<span class="sourceLineNo">573</span> * @param <R> the type of the return value.<a name="line.573"></a>
-<span class="sourceLineNo">574</span> */<a name="line.574"></a>
-<span class="sourceLineNo">575</span> interface CoprocessorServiceBuilder<S, R> {<a name="line.575"></a>
-<span class="sourceLineNo">576</span><a name="line.576"></a>
-<span class="sourceLineNo">577</span> /**<a name="line.577"></a>
-<span class="sourceLineNo">578</span> * @param startKey start region selection with region containing this row, inclusive.<a name="line.578"></a>
-<span class="sourceLineNo">579</span> */<a name="line.579"></a>
-<span class="sourceLineNo">580</span> default CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey) {<a name="line.580"></a>
-<span class="sourceLineNo">581</span> return fromRow(startKey, true);<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> * @param startKey start region selection with region containing this row<a name="line.585"></a>
-<span class="sourceLineNo">586</span> * @param inclusive whether to include the startKey<a name="line.586"></a>
-<span class="sourceLineNo">587</span> */<a name="line.587"></a>
-<span class="sourceLineNo">588</span> CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey, boolean inclusive);<a name="line.588"></a>
-<span class="sourceLineNo">589</span><a name="line.589"></a>
-<span class="sourceLineNo">590</span> /**<a name="line.590"></a>
-<span class="sourceLineNo">591</span> * @param endKey select regions up to and including the region containing this row, exclusive.<a name="line.591"></a>
-<span class="sourceLineNo">592</span> */<a name="line.592"></a>
-<span class="sourceLineNo">593</span> default CoprocessorServiceBuilder<S, R> toRow(byte[] endKey) {<a name="line.593"></a>
-<span class="sourceLineNo">594</span> return toRow(endKey, false);<a name="line.594"></a>
-<span class="sourceLineNo">595</span> }<a name="line.595"></a>
-<span class="sourceLineNo">596</span><a name="line.596"></a>
-<span class="sourceLineNo">597</span> /**<a name="line.597"></a>
-<span class="sourceLineNo">598</span> * @param endKey select regions up to and including the region containing this row<a name="line.598"></a>
-<span class="sourceLineNo">599</span> * @param inclusive whether to include the endKey<a name="line.599"></a>
-<span class="sourceLineNo">600</span> */<a name="line.600"></a>
-<span class="sourceLineNo">601</span> CoprocessorServiceBuilder<S, R> toRow(byte[] endKey, boolean inclusive);<a name="line.601"></a>
-<span class="sourceLineNo">602</span><a name="line.602"></a>
-<span class="sourceLineNo">603</span> /**<a name="line.603"></a>
-<span class="sourceLineNo">604</span> * Execute the coprocessorService request. You can get the response through the<a name="line.604"></a>
-<span class="sourceLineNo">605</span> * {@link CoprocessorCallback}.<a name="line.605"></a>
-<span class="sourceLineNo">606</span> */<a name="line.606"></a>
-<span class="sourceLineNo">607</span> void execute();<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> * Execute a coprocessor call on the regions which are covered by a range.<a name="line.611"></a>
-<span class="sourceLineNo">612</span> * <p><a name="line.612"></a>
-<span class="sourceLineNo">613</span> * Use the returned {@link CoprocessorServiceBuilder} construct your request and then execute it.<a name="line.613"></a>
-<span class="sourceLineNo">614</span> * <p><a name="line.614"></a>
-<span class="sourceLineNo">615</span> * The {@code stubMaker} is just a delegation to the {@code xxxService.newStub} call. Usually it<a name="line.615"></a>
-<span class="sourceLineNo">616</span> * is only a one line lambda expression, like:<a name="line.616"></a>
-<span class="sourceLineNo">617</span> *<a name="line.617"></a>
-<span class="sourceLineNo">618</span> * <pre><a name="line.618"></a>
-<span class="sourceLineNo">619</span> * <code><a name="line.619"></a>
-<span class="sourceLineNo">620</span> * channel -> xxxService.newStub(channel)<a name="line.620"></a>
-<span class="sourceLineNo">621</span> * </code><a name="line.621"></a>
-<span class="sourceLineNo">622</span> * </pre><a name="line.622"></a>
-<span class="sourceLineNo">623</span> *<a name="line.623"></a>
-<span class="sourceLineNo">624</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.624"></a>
-<span class="sourceLineNo">625</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.625"></a>
-<span class="sourceLineNo">626</span> * {@link ServiceCaller} for more details.<a name="line.626"></a>
-<span class="sourceLineNo">627</span> * @param callback callback to get the response. See the comment of {@link CoprocessorCallback}<a name="line.627"></a>
-<span class="sourceLineNo">628</span> * for more details.<a name="line.628"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.filter.Filter;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<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> * The interface for asynchronous version of Table. Obtain an instance from a<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * {@link AsyncConnection}.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * The implementation is required to be thread safe.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Usually the implementation will not throw any exception directly. You need to get the exception<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * from the returned {@link CompletableFuture}.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @since 2.0.0<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>@InterfaceAudience.Public<a name="line.49"></a>
+<span class="sourceLineNo">050</span>public interface AsyncTable<C extends ScanResultConsumerBase> {<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span> /**<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Gets the fully qualified table name instance of this table.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span> TableName getName();<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * The reference returned is not a copy, so any change made to it will affect this instance.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> Configuration getConfiguration();<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> * Gets the {@link TableDescriptor} for this table.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> */<a name="line.66"></a>
+<span class="sourceLineNo">067</span> CompletableFuture<TableDescriptor> getDescriptor();<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> /**<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * Gets the {@link AsyncTableRegionLocator} for this table.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> AsyncTableRegionLocator getRegionLocator();<a name="line.72"></a>
+<span class="sourceLineNo">073</span> /**<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * @param unit the unit of time the timeout to be represented in<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @return rpc timeout in the specified time unit<a name="line.79"></a>
+<span class="sourceLineNo">080</span> */<a name="line.80"></a>
+<span class="sourceLineNo">081</span> long getRpcTimeout(TimeUnit unit);<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span> /**<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * Get timeout of each rpc read request in this Table instance.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * @param unit the unit of time the timeout to be represented in<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * @return read rpc timeout in the specified time unit<a name="line.86"></a>
+<span class="sourceLineNo">087</span> */<a name="line.87"></a>
+<span class="sourceLineNo">088</span> long getReadRpcTimeout(TimeUnit unit);<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span> /**<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * Get timeout of each rpc write request in this Table instance.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * @param unit the unit of time the timeout to be represented in<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * @return write rpc timeout in the specified time unit<a name="line.93"></a>
+<span class="sourceLineNo">094</span> */<a name="line.94"></a>
+<span class="sourceLineNo">095</span> long getWriteRpcTimeout(TimeUnit unit);<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> * Get timeout of each operation in Table instance.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param unit the unit of time the timeout to be represented in<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * @return operation rpc timeout in the specified time unit<a name="line.100"></a>
+<span class="sourceLineNo">101</span> */<a name="line.101"></a>
+<span class="sourceLineNo">102</span> long getOperationTimeout(TimeUnit unit);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span> /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * Get the timeout of a single operation in a scan. It works like operation timeout for other<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * operations.<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * @param unit the unit of time the timeout to be represented in<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * @return scan rpc timeout in the specified time unit<a name="line.108"></a>
+<span class="sourceLineNo">109</span> */<a name="line.109"></a>
+<span class="sourceLineNo">110</span> long getScanTimeout(TimeUnit unit);<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span> /**<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <p><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * <p><a name="line.116"></a>
+<span class="sourceLineNo">117</span> * This is a server-side call so it prevents any data from being transfered to the client.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * @return true if the specified Get matches one or more keys, false if not. The return value will<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * be wrapped by a {@link CompletableFuture}.<a name="line.119"></a>
+<span class="sourceLineNo">120</span> */<a name="line.120"></a>
+<span class="sourceLineNo">121</span> default CompletableFuture<Boolean> exists(Get get) {<a name="line.121"></a>
+<span class="sourceLineNo">122</span> return get(toCheckExistenceOnly(get)).thenApply(r -> r.getExists());<a name="line.122"></a>
+<span class="sourceLineNo">123</span> }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span> /**<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * Extracts certain cells from a given row.<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * @return The data coming from the specified row, if it exists. If the row specified doesn't<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * exist, the {@link Result} instance returned won't contain any<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The<a name="line.130"></a>
+<span class="sourceLineNo">131</span> * return value will be wrapped by a {@link CompletableFuture}.<a name="line.131"></a>
+<span class="sourceLineNo">132</span> */<a name="line.132"></a>
+<span class="sourceLineNo">133</span> CompletableFuture<Result> get(Get get);<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span> /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * Puts some data to the table.<a name="line.136"></a>
+<span class="sourceLineNo">137</span> * @param put The data to put.<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.138"></a>
+<span class="sourceLineNo">139</span> */<a name="line.139"></a>
+<span class="sourceLineNo">140</span> CompletableFuture<Void> put(Put put);<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> * Deletes the specified cells/row.<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * @param delete The object that specifies what to delete.<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> */<a name="line.146"></a>
+<span class="sourceLineNo">147</span> CompletableFuture<Void> delete(Delete delete);<a name="line.147"></a>
+<span class="sourceLineNo">148</span><a name="line.148"></a>
+<span class="sourceLineNo">149</span> /**<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * Appends values to one or more columns within a single row.<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * <p><a name="line.151"></a>
+<span class="sourceLineNo">152</span> * This operation does not appear atomic to readers. Appends are done under a single row lock, so<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * write operations to a row are synchronized, but readers do not take row locks so get and scan<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * operations can see this operation partially completed.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * @param append object that specifies the columns and amounts to be used for the increment<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * operations<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @return values of columns after the append operation (maybe null). The return value will be<a name="line.157"></a>
+<span class="sourceLineNo">158</span> * wrapped by a {@link CompletableFuture}.<a name="line.158"></a>
+<span class="sourceLineNo">159</span> */<a name="line.159"></a>
+<span class="sourceLineNo">160</span> CompletableFuture<Result> append(Append append);<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> * Increments one or more columns within a single row.<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * <p><a name="line.164"></a>
+<span class="sourceLineNo">165</span> * This operation does not appear atomic to readers. Increments are done under a single row lock,<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * so write operations to a row are synchronized, but readers do not take row locks so get and<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * scan operations can see this operation partially completed.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * @param increment object that specifies the columns and amounts to be used for the increment<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * operations<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @return values of columns after the increment. The return value will be wrapped by a<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * {@link CompletableFuture}.<a name="line.171"></a>
+<span class="sourceLineNo">172</span> */<a name="line.172"></a>
+<span class="sourceLineNo">173</span> CompletableFuture<Result> increment(Increment increment);<a name="line.173"></a>
+<span class="sourceLineNo">174</span><a name="line.174"></a>
+<span class="sourceLineNo">175</span> /**<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * <p><a name="line.177"></a>
+<span class="sourceLineNo">178</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @param row The row that contains the cell to increment.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * @param family The column family of the cell to increment.<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.183"></a>
+<span class="sourceLineNo">184</span> * {@link CompletableFuture}.<a name="line.184"></a>
+<span class="sourceLineNo">185</span> */<a name="line.185"></a>
+<span class="sourceLineNo">186</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.186"></a>
+<span class="sourceLineNo">187</span> long amount) {<a name="line.187"></a>
+<span class="sourceLineNo">188</span> return incrementColumnValue(row, family, qualifier, amount, Durability.SYNC_WAL);<a name="line.188"></a>
+<span class="sourceLineNo">189</span> }<a name="line.189"></a>
+<span class="sourceLineNo">190</span><a name="line.190"></a>
+<span class="sourceLineNo">191</span> /**<a name="line.191"></a>
+<span class="sourceLineNo">192</span> * Atomically increments a column value. If the column value already exists and is not a<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * big-endian long, this could throw an exception. If the column value does not yet exist it is<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * initialized to <code>amount</code> and written to the specified column.<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * <p><a name="line.195"></a>
+<span class="sourceLineNo">196</span> * Setting durability to {@link Durability#SKIP_WAL} means that in a fail scenario you will lose<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * any increments that have not been flushed.<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * @param row The row that contains the cell to increment.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * @param family The column family of the cell to increment.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> * @param amount The amount to increment the cell with (or decrement, if the amount is negative).<a name="line.201"></a>
+<span class="sourceLineNo">202</span> * @param durability The persistence guarantee for this increment.<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * @return The new value, post increment. The return value will be wrapped by a<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * {@link CompletableFuture}.<a name="line.204"></a>
+<span class="sourceLineNo">205</span> */<a name="line.205"></a>
+<span class="sourceLineNo">206</span> default CompletableFuture<Long> incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.206"></a>
+<span class="sourceLineNo">207</span> long amount, Durability durability) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span> Preconditions.checkNotNull(row, "row is null");<a name="line.208"></a>
+<span class="sourceLineNo">209</span> Preconditions.checkNotNull(family, "family is null");<a name="line.209"></a>
+<span class="sourceLineNo">210</span> return increment(<a name="line.210"></a>
+<span class="sourceLineNo">211</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.211"></a>
+<span class="sourceLineNo">212</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.212"></a>
+<span class="sourceLineNo">213</span> }<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * adds the Put/Delete/RowMutations.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * <p><a name="line.218"></a>
+<span class="sourceLineNo">219</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * This is a fluent style API, the code is like:<a name="line.220"></a>
+<span class="sourceLineNo">221</span> *<a name="line.221"></a>
+<span class="sourceLineNo">222</span> * <pre><a name="line.222"></a>
+<span class="sourceLineNo">223</span> * <code><a name="line.223"></a>
+<span class="sourceLineNo">224</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put)<a name="line.224"></a>
+<span class="sourceLineNo">225</span> * .thenAccept(succ -> {<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * if (succ) {<a name="line.226"></a>
+<span class="sourceLineNo">227</span> * System.out.println("Check and put succeeded");<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * } else {<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * System.out.println("Check and put failed");<a name="line.229"></a>
+<span class="sourceLineNo">230</span> * }<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * });<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * </code><a name="line.232"></a>
+<span class="sourceLineNo">233</span> * </pre><a name="line.233"></a>
+<span class="sourceLineNo">234</span> */<a name="line.234"></a>
+<span class="sourceLineNo">235</span> CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family);<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span> /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span> * A helper class for sending checkAndMutate request.<a name="line.238"></a>
+<span class="sourceLineNo">239</span> */<a name="line.239"></a>
+<span class="sourceLineNo">240</span> interface CheckAndMutateBuilder {<a name="line.240"></a>
+<span class="sourceLineNo">241</span><a name="line.241"></a>
+<span class="sourceLineNo">242</span> /**<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * @param qualifier column qualifier to check.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> */<a name="line.244"></a>
+<span class="sourceLineNo">245</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span> /**<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * @param timeRange time range to check.<a name="line.248"></a>
+<span class="sourceLineNo">249</span> */<a name="line.249"></a>
+<span class="sourceLineNo">250</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span> /**<a name="line.252"></a>
+<span class="sourceLineNo">253</span> * Check for lack of column.<a name="line.253"></a>
+<span class="sourceLineNo">254</span> */<a name="line.254"></a>
+<span class="sourceLineNo">255</span> CheckAndMutateBuilder ifNotExists();<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span> /**<a name="line.257"></a>
+<span class="sourceLineNo">258</span> * Check for equality.<a name="line.258"></a>
+<span class="sourceLineNo">259</span> * @param value the expected value<a name="line.259"></a>
+<span class="sourceLineNo">260</span> */<a name="line.260"></a>
+<span class="sourceLineNo">261</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.261"></a>
+<span class="sourceLineNo">262</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.262"></a>
+<span class="sourceLineNo">263</span> }<a name="line.263"></a>
+<span class="sourceLineNo">264</span><a name="line.264"></a>
+<span class="sourceLineNo">265</span> /**<a name="line.265"></a>
+<span class="sourceLineNo">266</span> * @param compareOp comparison operator to use<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * @param value the expected value<a name="line.267"></a>
+<span class="sourceLineNo">268</span> */<a name="line.268"></a>
+<span class="sourceLineNo">269</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span> /**<a name="line.271"></a>
+<span class="sourceLineNo">272</span> * @param put data to put if check succeeds<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.273"></a>
+<span class="sourceLineNo">274</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.274"></a>
+<span class="sourceLineNo">275</span> */<a name="line.275"></a>
+<span class="sourceLineNo">276</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.276"></a>
+<span class="sourceLineNo">277</span><a name="line.277"></a>
+<span class="sourceLineNo">278</span> /**<a name="line.278"></a>
+<span class="sourceLineNo">279</span> * @param delete data to delete if check succeeds<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.280"></a>
+<span class="sourceLineNo">281</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.281"></a>
+<span class="sourceLineNo">282</span> */<a name="line.282"></a>
+<span class="sourceLineNo">283</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span> /**<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @param mutation mutations to perform if check succeeds<a name="line.286"></a>
+<span class="sourceLineNo">287</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.287"></a>
+<span class="sourceLineNo">288</span> * wrapped by a {@link CompletableFuture}.<a name="line.288"></a>
+<span class="sourceLineNo">289</span> */<a name="line.289"></a>
+<span class="sourceLineNo">290</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.290"></a>
+<span class="sourceLineNo">291</span> }<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> * Atomically checks if a row matches the specified filter. If it does, it adds the<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * Put/Delete/RowMutations.<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * <p><a name="line.296"></a>
+<span class="sourceLineNo">297</span> * Use the returned {@link CheckAndMutateWithFilterBuilder} to construct your request and then<a name="line.297"></a>
+<span class="sourceLineNo">298</span> * execute it. This is a fluent style API, the code is like:<a name="line.298"></a>
+<span class="sourceLineNo">299</span> *<a name="line.299"></a>
+<span class="sourceLineNo">300</span> * <pre><a name="line.300"></a>
+<span class="sourceLineNo">301</span> * <code><a name="line.301"></a>
+<span class="sourceLineNo">302</span> * table.checkAndMutate(row, filter).thenPut(put)<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * .thenAccept(succ -> {<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * if (succ) {<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * System.out.println("Check and put succeeded");<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * } else {<a name="line.306"></a>
+<span class="sourceLineNo">307</span> * System.out.println("Check and put failed");<a name="line.307"></a>
+<span class="sourceLineNo">308</span> * }<a name="line.308"></a>
+<span class="sourceLineNo">309</span> * });<a name="line.309"></a>
+<span class="sourceLineNo">310</span> * </code><a name="line.310"></a>
+<span class="sourceLineNo">311</span> * </pre><a name="line.311"></a>
+<span class="sourceLineNo">312</span> */<a name="line.312"></a>
+<span class="sourceLineNo">313</span> CheckAndMutateWithFilterBuilder checkAndMutate(byte[] row, Filter filter);<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span> /**<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * A helper class for sending checkAndMutate request with a filter.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> */<a name="line.317"></a>
+<span class="sourceLineNo">318</span> interface CheckAndMutateWithFilterBuilder {<a name="line.318"></a>
+<span class="sourceLineNo">319</span><a name="line.319"></a>
+<span class="sourceLineNo">320</span> /**<a name="line.320"></a>
+<span class="sourceLineNo">321</span> * @param timeRange time range to check.<a name="line.321"></a>
+<span class="sourceLineNo">322</span> */<a name="line.322"></a>
+<span class="sourceLineNo">323</span> CheckAndMutateWithFilterBuilder timeRange(TimeRange timeRange);<a name="line.323"></a>
+<span class="sourceLineNo">324</span><a name="line.324"></a>
+<span class="sourceLineNo">325</span> /**<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * @param put data to put if check succeeds<a name="line.326"></a>
+<span class="sourceLineNo">327</span> * @return {@code true} if the new put was executed, {@code false} otherwise. The return value<a name="line.327"></a>
+<span class="sourceLineNo">328</span> * will be wrapped by a {@link CompletableFuture}.<a name="line.328"></a>
+<span class="sourceLineNo">329</span> */<a name="line.329"></a>
+<span class="sourceLineNo">330</span> CompletableFuture<Boolean> thenPut(Put put);<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span> /**<a name="line.332"></a>
+<span class="sourceLineNo">333</span> * @param delete data to delete if check succeeds<a name="line.333"></a>
+<span class="sourceLineNo">334</span> * @return {@code true} if the new delete was executed, {@code false} otherwise. The return<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * value will be wrapped by a {@link CompletableFuture}.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> */<a name="line.336"></a>
+<span class="sourceLineNo">337</span> CompletableFuture<Boolean> thenDelete(Delete delete);<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span> /**<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * @param mutation mutations to perform if check succeeds<a name="line.340"></a>
+<span class="sourceLineNo">341</span> * @return true if the new mutation was executed, false otherwise. The return value will be<a name="line.341"></a>
+<span class="sourceLineNo">342</span> * wrapped by a {@link CompletableFuture}.<a name="line.342"></a>
+<span class="sourceLineNo">343</span> */<a name="line.343"></a>
+<span class="sourceLineNo">344</span> CompletableFuture<Boolean> thenMutate(RowMutations mutation);<a name="line.344"></a>
+<span class="sourceLineNo">345</span> }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span> /**<a name="line.347"></a>
+<span class="sourceLineNo">348</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.348"></a>
+<span class="sourceLineNo">349</span> * {@link Delete} are supported.<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.350"></a>
+<span class="sourceLineNo">351</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.351"></a>
+<span class="sourceLineNo">352</span> */<a name="line.352"></a>
+<span class="sourceLineNo">353</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<a name="line.353"></a>
+<span class="sourceLineNo">354</span><a name="line.354"></a>
+<span class="sourceLineNo">355</span> /**<a name="line.355"></a>
+<span class="sourceLineNo">356</span> * The scan API uses the observer pattern.<a name="line.356"></a>
+<span class="sourceLineNo">357</span> * @param scan A configured {@link Scan} object.<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * @param consumer the consumer used to receive results.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> * @see ScanResultConsumer<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * @see AdvancedScanResultConsumer<a name="line.360"></a>
+<span class="sourceLineNo">361</span> */<a name="line.361"></a>
+<span class="sourceLineNo">362</span> void scan(Scan scan, C consumer);<a name="line.362"></a>
+<span class="sourceLineNo">363</span><a name="line.363"></a>
+<span class="sourceLineNo">364</span> /**<a name="line.364"></a>
+<span class="sourceLineNo">365</span> * Gets a scanner on the current table for the given family.<a name="line.365"></a>
+<span class="sourceLineNo">366</span> * @param family The column family to scan.<a name="line.366"></a>
+<span class="sourceLineNo">367</span> * @return A scanner.<a name="line.367"></a>
+<span class="sourceLineNo">368</span> */<a name="line.368"></a>
+<span class="sourceLineNo">369</span> default ResultScanner getScanner(byte[] family) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span> return getScanner(new Scan().addFamily(family));<a name="line.370"></a>
+<span class="sourceLineNo">371</span> }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span> /**<a name="line.373"></a>
+<span class="sourceLineNo">374</span> * Gets a scanner on the current table for the given family and qualifier.<a name="line.374"></a>
+<span class="sourceLineNo">375</span> * @param family The column family to scan.<a name="line.375"></a>
+<span class="sourceLineNo">376</span> * @param qualifier The column qualifier to scan.<a name="line.376"></a>
+<span class="sourceLineNo">377</span> * @return A scanner.<a name="line.377"></a>
+<span class="sourceLineNo">378</span> */<a name="line.378"></a>
+<span class="sourceLineNo">379</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) {<a name="line.379"></a>
+<span class="sourceLineNo">380</span> return getScanner(new Scan().addColumn(family, qualifier));<a name="line.380"></a>
+<span class="sourceLineNo">381</span> }<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span> /**<a name="line.383"></a>
+<span class="sourceLineNo">384</span> * Returns a scanner on the current table as specified by the {@link Scan} object.<a name="line.384"></a>
+<span class="sourceLineNo">385</span> * @param scan A configured {@link Scan} object.<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * @return A scanner.<a name="line.386"></a>
+<span class="sourceLineNo">387</span> */<a name="line.387"></a>
+<span class="sourceLineNo">388</span> ResultScanner getScanner(Scan scan);<a name="line.388"></a>
+<span class="sourceLineNo">389</span><a name="line.389"></a>
+<span class="sourceLineNo">390</span> /**<a name="line.390"></a>
+<span class="sourceLineNo">391</span> * Return all the results that match the given scan object.<a name="line.391"></a>
+<span class="sourceLineNo">392</span> * <p><a name="line.392"></a>
+<span class="sourceLineNo">393</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.393"></a>
+<span class="sourceLineNo">394</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.394"></a>
+<span class="sourceLineNo">395</span> * <p><a name="line.395"></a>
+<span class="sourceLineNo">396</span> *<a name="line.396"></a>
+<span class="sourceLineNo">397</span> * <pre><a name="line.397"></a>
+<span class="sourceLineNo">398</span> * <code><a name="line.398"></a>
+<span class="sourceLineNo">399</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.399"></a>
+<span class="sourceLineNo">400</span> * if (results.isEmpty()) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.401"></a>
+<span class="sourceLineNo">402</span> * } else {<a name="line.402"></a>
+<span class="sourceLineNo">403</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.403"></a>
+<span class="sourceLineNo">404</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.404"></a>
+<span class="sourceLineNo">405</span> * }<a name="line.405"></a>
+<span class="sourceLineNo">406</span> * });<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * </code><a name="line.407"></a>
+<span class="sourceLineNo">408</span> * </pre><a name="line.408"></a>
+<span class="sourceLineNo">409</span> * <p><a name="line.409"></a>
+<span class="sourceLineNo">410</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.410"></a>
+<span class="sourceLineNo">411</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.411"></a>
+<span class="sourceLineNo">412</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.412"></a>
+<span class="sourceLineNo">413</span> * <p><a name="line.413"></a>
+<span class="sourceLineNo">414</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.414"></a>
+<span class="sourceLineNo">415</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.415"></a>
+<span class="sourceLineNo">416</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.416"></a>
+<span class="sourceLineNo">417</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.417"></a>
+<span class="sourceLineNo">418</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.418"></a>
+<span class="sourceLineNo">419</span> * performance difference between these scan methods so do not worry.<a name="line.419"></a>
+<span class="sourceLineNo">420</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.420"></a>
+<span class="sourceLineNo">421</span> * result set, it is likely to cause OOM.<a name="line.421"></a>
+<span class="sourceLineNo">422</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.422"></a>
+<span class="sourceLineNo">423</span> * {@link CompletableFuture}.<a name="line.423"></a>
+<span class="sourceLineNo">424</span> */<a name="line.424"></a>
+<span class="sourceLineNo">425</span> CompletableFuture<List<Result>> scanAll(Scan scan);<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span> /**<a name="line.427"></a>
+<span class="sourceLineNo">428</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.428"></a>
+<span class="sourceLineNo">429</span> * <p><a name="line.429"></a>
+<span class="sourceLineNo">430</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.430"></a>
+<span class="sourceLineNo">431</span> * more keys, false if not.<a name="line.431"></a>
+<span class="sourceLineNo">432</span> * <p><a name="line.432"></a>
+<span class="sourceLineNo">433</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.433"></a>
+<span class="sourceLineNo">434</span> * @param gets the Gets<a name="line.434"></a>
+<span class="sourceLineNo">435</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.435"></a>
+<span class="sourceLineNo">436</span> */<a name="line.436"></a>
+<span class="sourceLineNo">437</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.438"></a>
+<span class="sourceLineNo">439</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span> /**<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.443"></a>
+<span class="sourceLineNo">444</span> * whole result boolean list at once if the operation is succeeded.<a name="line.444"></a>
+<span class="sourceLineNo">445</span> * @param gets the Gets<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> */<a name="line.447"></a>
+<span class="sourceLineNo">448</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.448"></a>
+<span class="sourceLineNo">449</span> return allOf(exists(gets));<a name="line.449"></a>
+<span class="sourceLineNo">450</span> }<a name="line.450"></a>
+<span class="sourceLineNo">451</span><a name="line.451"></a>
+<span class="sourceLineNo">452</span> /**<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * Extracts certain cells from the given rows, in batch.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> * <p><a name="line.454"></a>
+<span class="sourceLineNo">455</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.455"></a>
+<span class="sourceLineNo">456</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.456"></a>
+<span class="sourceLineNo">457</span> * {@link CompletableFuture}s may fail.<a name="line.457"></a>
+<span class="sourceLineNo">458</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.458"></a>
+<span class="sourceLineNo">459</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.459"></a>
+<span class="sourceLineNo">460</span> */<a name="line.460"></a>
+<span class="sourceLineNo">461</span> List<CompletableFuture<Result>> get(List<Get> gets);<a name="line.461"></a>
+<span class="sourceLineNo">462</span><a name="line.462"></a>
+<span class="sourceLineNo">463</span> /**<a name="line.463"></a>
+<span class="sourceLineNo">464</span> * A simple version for batch get. It will fail if there are any failures and you will get the<a name="line.464"></a>
+<span class="sourceLineNo">465</span> * whole result list at once if the operation is succeeded.<a name="line.465"></a>
+<span class="sourceLineNo">466</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.466"></a>
+<span class="sourceLineNo">467</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.467"></a>
+<span class="sourceLineNo">468</span> */<a name="line.468"></a>
+<span class="sourceLineNo">469</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.469"></a>
+<span class="sourceLineNo">470</span> return allOf(get(gets));<a name="line.470"></a>
+<span class="sourceLineNo">471</span> }<a name="line.471"></a>
+<span class="sourceLineNo">472</span><a name="line.472"></a>
+<span class="sourceLineNo">473</span> /**<a name="line.473"></a>
+<span class="sourceLineNo">474</span> * Puts some data in the table, in batch.<a name="line.474"></a>
+<span class="sourceLineNo">475</span> * @param puts The list of mutations to apply.<a name="line.475"></a>
+<span class="sourceLineNo">476</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.476"></a>
+<span class="sourceLineNo">477</span> */<a name="line.477"></a>
+<span class="sourceLineNo">478</span> List<CompletableFuture<Void>> put(List<Put> puts);<a name="line.478"></a>
+<span class="sourceLineNo">479</span><a name="line.479"></a>
+<span class="sourceLineNo">480</span> /**<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * A simple version of batch put. It will fail if there are any failures.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param puts The list of mutations to apply.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> */<a name="line.484"></a>
+<span class="sourceLineNo">485</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span> return allOf(put(puts)).thenApply(r -> null);<a name="line.486"></a>
+<span class="sourceLineNo">487</span> }<a name="line.487"></a>
+<span class="sourceLineNo">488</span><a name="line.488"></a>
+<span class="sourceLineNo">489</span> /**<a name="line.489"></a>
+<span class="sourceLineNo">490</span> * Deletes the specified cells/rows in bulk.<a name="line.490"></a>
+<span class="sourceLineNo">491</span> * @param deletes list of things to delete.<a name="line.491"></a>
+<span class="sourceLineNo">492</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.492"></a>
+<span class="sourceLineNo">493</span> */<a name="line.493"></a>
+<span class="sourceLineNo">494</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<a name="line.494"></a>
+<span class="sourceLineNo">495</span><a name="line.495"></a>
+<span class="sourceLineNo">496</span> /**<a name="line.496"></a>
+<span class="sourceLineNo">497</span> * A simple version of batch delete. It will fail if there are any failures.<a name="line.497"></a>
+<span class="sourceLineNo">498</span> * @param deletes list of things to delete.<a name="line.498"></a>
+<span class="sourceLineNo">499</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.499"></a>
+<span class="sourceLineNo">500</span> */<a name="line.500"></a>
+<span class="sourceLineNo">501</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.501"></a>
+<span class="sourceLineNo">502</span> return allOf(delete(deletes)).thenApply(r -> null);<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> /**<a name="line.505"></a>
+<span class="sourceLineNo">506</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends and RowMutations. The<a name="line.506"></a>
+<span class="sourceLineNo">507</span> * ordering of execution of the actions is not defined. Meaning if you do a Put and a Get in the<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * same {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the<a name="line.508"></a>
+<span class="sourceLineNo">509</span> * Put had put.<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @param actions list of Get, Put, Delete, Increment, Append, and RowMutations objects<a name="line.510"></a>
+<span class="sourceLineNo">511</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> */<a name="line.512"></a>
+<span class="sourceLineNo">513</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.513"></a>
+<span class="sourceLineNo">514</span><a name="line.514"></a>
+<span class="sourceLineNo">515</span> /**<a name="line.515"></a>
+<span class="sourceLineNo">516</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.516"></a>
+<span class="sourceLineNo">517</span> * result list at once if the operation is succeeded.<a name="line.517"></a>
+<span class="sourceLineNo">518</span> * @param actions list of Get, Put, Delete, Increment, Append and RowMutations objects<a name="line.518"></a>
+<span class="sourceLineNo">519</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.519"></a>
+<span class="sourceLineNo">520</span> */<a name="line.520"></a>
+<span class="sourceLineNo">521</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.521"></a>
+<span class="sourceLineNo">522</span> return allOf(batch(actions));<a name="line.522"></a>
+<span class="sourceLineNo">523</span> }<a name="line.523"></a>
+<span class="sourceLineNo">524</span><a name="line.524"></a>
+<span class="sourceLineNo">525</span> /**<a name="line.525"></a>
+<span class="sourceLineNo">526</span> * Execute the given coprocessor call on the region which contains the given {@code row}.<a name="line.526"></a>
+<span class="sourceLineNo">527</span> * <p><a name="line.527"></a>
+<span class="sourceLineNo">528</span> * The {@code stubMaker} is just a delegation to the {@code newStub} call. Usually it is only a<a name="line.528"></a>
+<span class="sourceLineNo">529</span> * one line lambda expression, like:<a name="line.529"></a>
+<span class="sourceLineNo">530</span> *<a name="line.530"></a>
+<span class="sourceLineNo">531</span> * <pre><a name="line.531"></a>
+<span class="sourceLineNo">532</span> * <code><a name="line.532"></a>
+<span class="sourceLineNo">533</span> * channel -> xxxService.newStub(channel)<a name="line.533"></a>
+<span class="sourceLineNo">534</span> * </code><a name="line.534"></a>
+<span class="sourceLineNo">535</span> * </pre><a name="line.535"></a>
+<span class="sourceLineNo">536</span> *<a name="line.536"></a>
+<span class="sourceLineNo">537</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.537"></a>
+<span class="sourceLineNo">538</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.538"></a>
+<span class="sourceLineNo">539</span> * {@link ServiceCaller} for more details.<a name="line.539"></a>
+<span class="sourceLineNo">540</span> * @param row The row key used to identify the remote region location<a name="line.540"></a>
+<span class="sourceLineNo">541</span> * @param <S> the type of the asynchronous stub<a name="line.541"></a>
+<span class="sourceLineNo">542</span> * @param <R> the type of the return value<a name="line.542"></a>
+<span class="sourceLineNo">543</span> * @return the return value of the protobuf rpc call, wrapped by a {@link CompletableFuture}.<a name="line.543"></a>
+<span class="sourceLineNo">544</span> * @see ServiceCaller<a name="line.544"></a>
+<span class="sourceLineNo">545</span> */<a name="line.545"></a>
+<span class="sourceLineNo">546</span> <S, R> CompletableFuture<R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.546"></a>
+<span class="sourceLineNo">547</span> ServiceCaller<S, R> callable, byte[] row);<a name="line.547"></a>
+<span class="sourceLineNo">548</span><a name="line.548"></a>
+<span class="sourceLineNo">549</span> /**<a name="line.549"></a>
+<span class="sourceLineNo">550</span> * The callback when we want to execute a coprocessor call on a range of regions.<a name="line.550"></a>
+<span class="sourceLineNo">551</span> * <p><a name="line.551"></a>
+<span class="sourceLineNo">552</span> * As the locating itself also takes some time, the implementation may want to send rpc calls on<a name="line.552"></a>
+<span class="sourceLineNo">553</span> * the fly, which means we do not know how many regions we have when we get the return value of<a name="line.553"></a>
+<span class="sourceLineNo">554</span> * the rpc calls, so we need an {@link #onComplete()} which is used to tell you that we have<a name="line.554"></a>
+<span class="sourceLineNo">555</span> * passed all the return values to you(through the {@link #onRegionComplete(RegionInfo, Object)}<a name="line.555"></a>
+<span class="sourceLineNo">556</span> * or {@link #onRegionError(RegionInfo, Throwable)} calls), i.e, there will be no<a name="line.556"></a>
+<span class="sourceLineNo">557</span> * {@link #onRegionComplete(RegionInfo, Object)} or {@link #onRegionError(RegionInfo, Throwable)}<a name="line.557"></a>
+<span class="sourceLineNo">558</span> * calls in the future.<a name="line.558"></a>
+<span class="sourceLineNo">559</span> * <p><a name="line.559"></a>
+<span class="sourceLineNo">560</span> * Here is a pseudo code to describe a typical implementation of a range coprocessor service<a name="line.560"></a>
+<span class="sourceLineNo">561</span> * method to help you better understand how the {@link CoprocessorCallback} will be called. The<a name="line.561"></a>
+<span class="sourceLineNo">562</span> * {@code callback} in the pseudo code is our {@link CoprocessorCallback}. And notice that the<a name="line.562"></a>
+<span class="sourceLineNo">563</span> * {@code whenComplete} is {@code CompletableFuture.whenComplete}.<a name="line.563"></a>
+<span class="sourceLineNo">564</span> *<a name="line.564"></a>
+<span class="sourceLineNo">565</span> * <pre><a name="line.565"></a>
+<span class="sourceLineNo">566</span> * locateThenCall(byte[] row) {<a name="line.566"></a>
+<span class="sourceLineNo">567</span> * locate(row).whenComplete((location, locateError) -> {<a name="line.567"></a>
+<span class="sourceLineNo">568</span> * if (locateError != null) {<a name="line.568"></a>
+<span class="sourceLineNo">569</span> * callback.onError(locateError);<a name="line.569"></a>
+<span class="sourceLineNo">570</span> * return;<a name="line.570"></a>
+<span class="sourceLineNo">571</span> * }<a name="line.571"></a>
+<span class="sourceLineNo">572</span> * incPendingCall();<a name="line.572"></a>
+<span class="sourceLineNo">573</span> * region = location.getRegion();<a name="line.573"></a>
+<span class="sourceLineNo">574</span> * if (region.getEndKey() > endKey) {<a name="line.574"></a>
+<span class="sourceLineNo">575</span> * locateEnd = true;<a name="line.575"></a>
+<span class="sourceLineNo">576</span> * } else {<a name="line.576"></a>
+<span class="sourceLineNo">577</span> * locateThenCall(region.getEndKey());<a name="line.577"></a>
+<span class="sourceLineNo">578</span> * }<a name="line.578"></a>
+<span class="sourceLineNo">579</span> * sendCall().whenComplete((resp, error) -> {<a name="line.579"></a>
+<span class="sourceLineNo">580</span> * if (error != null) {<a name="line.580"></a>
+<span class="sourceLineNo">581</span> * callback.onRegionError(region, error);<a name="line.581"></a>
+<span class="sourceLineNo">582</span> * } else {<a name="line.582"></a>
+<span class="sourceLineNo">583</span> * callback.onRegionComplete(region, resp);<a name="line.583"></a>
+<span class="sourceLineNo">584</span> * }<a name="line.584"></a>
+<span class="sourceLineNo">585</span> * if (locateEnd && decPendingCallAndGet() == 0) {<a name="line.585"></a>
+<span class="sourceLineNo">586</span> * callback.onComplete();<a name="line.586"></a>
+<span class="sourceLineNo">587</span> * }<a name="line.587"></a>
+<span class="sourceLineNo">588</span> * });<a name="line.588"></a>
+<span class="sourceLineNo">589</span> * });<a name="line.589"></a>
+<span class="sourceLineNo">590</span> * }<a name="line.590"></a>
+<span class="sourceLineNo">591</span> * </pre><a name="line.591"></a>
+<span class="sourceLineNo">592</span> */<a name="line.592"></a>
+<span class="sourceLineNo">593</span> @InterfaceAudience.Public<a name="line.593"></a>
+<span class="sourceLineNo">594</span> interface CoprocessorCallback<R> {<a name="line.594"></a>
+<span class="sourceLineNo">595</span><a name="line.595"></a>
+<span class="sourceLineNo">596</span> /**<a name="line.596"></a>
+<span class="sourceLineNo">597</span> * @param region the region that the response belongs to<a name="line.597"></a>
+<span class="sourceLineNo">598</span> * @param resp the response of the coprocessor call<a name="line.598"></a>
+<span class="sourceLineNo">599</span> */<a name="line.599"></a>
+<span class="sourceLineNo">600</span> void onRegionComplete(RegionInfo region, R resp);<a name="line.600"></a>
+<span class="sourceLineNo">601</span><a name="line.601"></a>
+<span class="sourceLineNo">602</span> /**<a name="line.602"></a>
+<span class="sourceLineNo">603</span> * @param region the region that the error belongs to<a name="line.603"></a>
+<span class="sourceLineNo">604</span> * @param error the response error of the coprocessor call<a name="line.604"></a>
+<span class="sourceLineNo">605</span> */<a name="line.605"></a>
+<span class="sourceLineNo">606</span> void onRegionError(RegionInfo region, Throwable error);<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> * Indicate that all responses of the regions have been notified by calling<a name="line.609"></a>
+<span class="sourceLineNo">610</span> * {@link #onRegionComplete(RegionInfo, Object)} or<a name="line.610"></a>
+<span class="sourceLineNo">611</span> * {@link #onRegionError(RegionInfo, Throwable)}.<a name="line.611"></a>
+<span class="sourceLineNo">612</span> */<a name="line.612"></a>
+<span class="sourceLineNo">613</span> void onComplete();<a name="line.613"></a>
+<span class="sourceLineNo">614</span><a name="line.614"></a>
+<span class="sourceLineNo">615</span> /**<a name="line.615"></a>
+<span class="sourceLineNo">616</span> * Indicate that we got an error which does not belong to any regions. Usually a locating error.<a name="line.616"></a>
+<span class="sourceLineNo">617</span> */<a name="line.617"></a>
+<span class="sourceLineNo">618</span> void onError(Throwable error);<a name="line.618"></a>
+<span class="sourceLineNo">619</span> }<a name="line.619"></a>
+<span class="sourceLineNo">620</span><a name="line.620"></a>
+<span class="sourceLineNo">621</span> /**<a name="line.621"></a>
+<span class="sourceLineNo">622</span> * Helper class for sending coprocessorService request that executes a coprocessor call on regions<a name="line.622"></a>
+<span class="sourceLineNo">623</span> * which are covered by a range.<a name="line.623"></a>
+<span class="sourceLineNo">624</span> * <p><a name="line.624"></a>
+<span class="sourceLineNo">625</span> * If {@code fromRow} is not specified the selection will start with the first table region. If<a name="line.625"></a>
+<span class="sourceLineNo">626</span> * {@code toRow} is not specified the selection will continue through the last table region.<a name="line.626"></a>
+<span class="sourceLineNo">627</span> * @param <S> the type of the protobuf Service you want to call.<a name="line.627"></a>
+<span class="sourceLineNo">628</span> * @param <R> the type of the return value.<a name="line.628"></a>
<span class="sourceLineNo">629</span> */<a name="line.629"></a>
-<span class="sourceLineNo">630</span> <S, R> CoprocessorServiceBuilder<S, R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.630"></a>
-<span class="sourceLineNo">631</span> ServiceCaller<S, R> callable, CoprocessorCallback<R> callback);<a name="line.631"></a>
-<span class="sourceLineNo">632</span>}<a name="line.632"></a>
+<span class="sourceLineNo">630</span> interface CoprocessorServiceBuilder<S, R> {<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> * @param startKey start region selection with region containing this row, inclusive.<a name="line.633"></a>
+<span class="sourceLineNo">634</span> */<a name="line.634"></a>
+<span class="sourceLineNo">635</span> default CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey) {<a name="line.635"></a>
+<span class="sourceLineNo">636</span> return fromRow(startKey, true);<a name="line.636"></a>
+<span class="sourceLineNo">637</span> }<a name="line.637"></a>
+<span class="sourceLineNo">638</span><a name="line.638"></a>
+<span class="sourceLineNo">639</span> /**<a name="line.639"></a>
+<span class="sourceLineNo">640</span> * @param startKey start region selection with region containing this row<a name="line.640"></a>
+<span class="sourceLineNo">641</span> * @param inclusive whether to include the startKey<a name="line.641"></a>
+<span class="sourceLineNo">642</span> */<a name="line.642"></a>
+<span class="sourceLineNo">643</span> CoprocessorServiceBuilder<S, R> fromRow(byte[] startKey, boolean inclusive);<a name="line.643"></a>
+<span class="sourceLineNo">644</span><a name="line.644"></a>
+<span class="sourceLineNo">645</span> /**<a name="line.645"></a>
+<span class="sourceLineNo">646</span> * @param endKey select regions up to and including the region containing this row, exclusive.<a name="line.646"></a>
+<span class="sourceLineNo">647</span> */<a name="line.647"></a>
+<span class="sourceLineNo">648</span> default CoprocessorServiceBuilder<S, R> toRow(byte[] endKey) {<a name="line.648"></a>
+<span class="sourceLineNo">649</span> return toRow(endKey, false);<a name="line.649"></a>
+<span class="sourceLineNo">650</span> }<a name="line.650"></a>
+<span class="sourceLineNo">651</span><a name="line.651"></a>
+<span class="sourceLineNo">652</span> /**<a name="line.652"></a>
+<span class="sourceLineNo">653</span> * @param endKey select regions up to and including the region containing this row<a name="line.653"></a>
+<span class="sourceLineNo">654</span> * @param inclusive whether to include the endKey<a name="line.654"></a>
+<span class="sourceLineNo">655</span> */<a name="line.655"></a>
+<span class="sourceLineNo">656</span> CoprocessorServiceBuilder<S, R> toRow(byte[] endKey, boolean inclusive);<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> * Execute the coprocessorService request. You can get the response through the<a name="line.659"></a>
+<span class="sourceLineNo">660</span> * {@link CoprocessorCallback}.<a name="line.660"></a>
+<span class="sourceLineNo">661</span> */<a name="line.661"></a>
+<span class="sourceLineNo">662</span> void execute();<a name="line.662"></a>
+<span class="sourceLineNo">663</span> }<a name="line.663"></a>
+<span class="sourceLineNo">664</span><a name="line.664"></a>
+<span class="sourceLineNo">665</span> /**<a name="line.665"></a>
+<span class="sourceLineNo">666</span> * Execute a coprocessor call on the regions which are covered by a range.<a name="line.666"></a>
+<span class="sourceLineNo">667</span> * <p><a name="line.667"></a>
+<span class="sourceLineNo">668</span> * Use the returned {@link CoprocessorServiceBuilder} construct your request and then execute it.<a name="line.668"></a>
+<span class="sourceLineNo">669</span> * <p><a name="line.669"></a>
+<span class="sourceLineNo">670</span> * The {@code stubMaker} is just a delegation to the {@code xxxService.newStub} call. Usually it<a name="line.670"></a>
+<span class="sourceLineNo">671</span> * is only a one line lambda expression, like:<a name="line.671"></a>
+<span class="sourceLineNo">672</span> *<a name="line.672"></a>
+<span class="sourceLineNo">673</span> * <pre><a name="line.673"></a>
+<span class="sourceLineNo">674</span> * <code><a name="line.674"></a>
+<span class="sourceLineNo">675</span> * channel -> xxxService.newStub(channel)<a name="line.675"></a>
+<span class="sourceLineNo">676</span> * </code><a name="line.676"></a>
+<span class="sourceLineNo">677</span> * </pre><a name="line.677"></a>
+<span class="sourceLineNo">678</span> *<a name="line.678"></a>
+<span class="sourceLineNo">679</span> * @param stubMaker a delegation to the actual {@code newStub} call.<a name="line.679"></a>
+<span class="sourceLineNo">680</span> * @param callable a delegation to the actual protobuf rpc call. See the comment of<a name="line.680"></a>
+<span class="sourceLineNo">681</span> * {@link ServiceCaller} for more details.<a name="line.681"></a>
+<span class="sourceLineNo">682</span> * @param callback callback to get the response. See the comment of {@link CoprocessorCallback}<a name="line.682"></a>
+<span class="sourceLineNo">683</span> * for more details.<a name="line.683"></a>
+<span class="sourceLineNo">684</span> */<a name="line.684"></a>
+<span class="sourceLineNo">685</span> <S, R> CoprocessorServiceBuilder<S, R> coprocessorService(Function<RpcChannel, S> stubMaker,<a name="line.685"></a>
+<span class="sourceLineNo">686</span> ServiceCaller<S, R> callable, CoprocessorCallback<R> callback);<a name="line.686"></a>
+<span class="sourceLineNo">687</span>}<a name="line.687"></a>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html
index 751c9e1..27749b0 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html
@@ -44,516 +44,516 @@
<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.TableName;<a name="line.36"></a>
<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.client.coprocessor.Batch;<a name="line.37"></a>
<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.client.coprocessor.Batch.Callback;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.yetus.audience.InterfaceAudience;<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> * Used to communicate with a single HBase table.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * Obtain an instance from a {@link Connection} and call {@link #close()} afterwards.<a name="line.46"></a>
-<span class="sourceLineNo">047</span> *<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * <p><code>Table</code> can be used to get, put, delete or scan data from a table.<a name="line.48"></a>
-<span class="sourceLineNo">049</span> * @see ConnectionFactory<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * @see Connection<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * @see Admin<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * @see RegionLocator<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * @since 0.99.0<a name="line.53"></a>
-<span class="sourceLineNo">054</span> */<a name="line.54"></a>
-<span class="sourceLineNo">055</span>@InterfaceAudience.Public<a name="line.55"></a>
-<span class="sourceLineNo">056</span>public interface Table extends Closeable {<a name="line.56"></a>
-<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * Gets the fully qualified table name instance of this table.<a name="line.58"></a>
-<span class="sourceLineNo">059</span> */<a name="line.59"></a>
-<span class="sourceLineNo">060</span> TableName getName();<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> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.63"></a>
-<span class="sourceLineNo">064</span> * <p><a name="line.64"></a>
-<span class="sourceLineNo">065</span> * The reference returned is not a copy, so any change made to it will<a name="line.65"></a>
-<span class="sourceLineNo">066</span> * affect this instance.<a name="line.66"></a>
-<span class="sourceLineNo">067</span> */<a name="line.67"></a>
-<span class="sourceLineNo">068</span> Configuration getConfiguration();<a name="line.68"></a>
-<span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span> /**<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * Gets the {@link org.apache.hadoop.hbase.client.TableDescriptor table descriptor} for this table.<a name="line.71"></a>
-<span class="sourceLineNo">072</span> * @throws java.io.IOException if a remote or network exception occurs.<a name="line.72"></a>
-<span class="sourceLineNo">073</span> */<a name="line.73"></a>
-<span class="sourceLineNo">074</span> TableDescriptor getDescriptor() throws IOException;<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> * Gets the {@link RegionLocator} for this table.<a name="line.77"></a>
-<span class="sourceLineNo">078</span> */<a name="line.78"></a>
-<span class="sourceLineNo">079</span> RegionLocator getRegionLocator() throws IOException;<a name="line.79"></a>
-<span class="sourceLineNo">080</span><a name="line.80"></a>
-<span class="sourceLineNo">081</span> /**<a name="line.81"></a>
-<span class="sourceLineNo">082</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * <p><a name="line.83"></a>
-<span class="sourceLineNo">084</span> *<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.85"></a>
-<span class="sourceLineNo">086</span> * <p><a name="line.86"></a>
-<span class="sourceLineNo">087</span> *<a name="line.87"></a>
-<span class="sourceLineNo">088</span> * This is a server-side call so it prevents any data from being transfered to<a name="line.88"></a>
-<span class="sourceLineNo">089</span> * the client.<a name="line.89"></a>
-<span class="sourceLineNo">090</span> *<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * @param get the Get<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @return true if the specified Get matches one or more keys, false if not<a name="line.92"></a>
-<span class="sourceLineNo">093</span> * @throws IOException e<a name="line.93"></a>
-<span class="sourceLineNo">094</span> */<a name="line.94"></a>
-<span class="sourceLineNo">095</span> default boolean exists(Get get) throws IOException {<a name="line.95"></a>
-<span class="sourceLineNo">096</span> return exists(Collections.singletonList(get))[0];<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> /**<a name="line.99"></a>
-<span class="sourceLineNo">100</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * <p><a name="line.101"></a>
-<span class="sourceLineNo">102</span> *<a name="line.102"></a>
-<span class="sourceLineNo">103</span> * This will return an array of booleans. Each value will be true if the related Get matches<a name="line.103"></a>
-<span class="sourceLineNo">104</span> * one or more keys, false if not.<a name="line.104"></a>
-<span class="sourceLineNo">105</span> * <p><a name="line.105"></a>
-<span class="sourceLineNo">106</span> *<a name="line.106"></a>
-<span class="sourceLineNo">107</span> * This is a server-side call so it prevents any data from being transferred to<a name="line.107"></a>
-<span class="sourceLineNo">108</span> * the client.<a name="line.108"></a>
-<span class="sourceLineNo">109</span> *<a name="line.109"></a>
-<span class="sourceLineNo">110</span> * @param gets the Gets<a name="line.110"></a>
-<span class="sourceLineNo">111</span> * @return Array of boolean. True if the specified Get matches one or more keys, false if not.<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * @throws IOException e<a name="line.112"></a>
-<span class="sourceLineNo">113</span> */<a name="line.113"></a>
-<span class="sourceLineNo">114</span> default boolean[] exists(List<Get> gets) throws IOException {<a name="line.114"></a>
-<span class="sourceLineNo">115</span> throw new NotImplementedException("Add an implementation!");<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> /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations.<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * The ordering of execution of the actions is not defined. Meaning if you do a Put and a<a name="line.120"></a>
-<span class="sourceLineNo">121</span> * Get in the same {@link #batch} call, you will not necessarily be<a name="line.121"></a>
-<span class="sourceLineNo">122</span> * guaranteed that the Get returns what the Put had put.<a name="line.122"></a>
-<span class="sourceLineNo">123</span> *<a name="line.123"></a>
-<span class="sourceLineNo">124</span> * @param actions list of Get, Put, Delete, Increment, Append, RowMutations.<a name="line.124"></a>
-<span class="sourceLineNo">125</span> * @param results Empty Object[], same size as actions. Provides access to partial<a name="line.125"></a>
-<span class="sourceLineNo">126</span> * results, in case an exception is thrown. A null in the result array means that<a name="line.126"></a>
-<span class="sourceLineNo">127</span> * the call for that action failed, even after retries. The order of the objects<a name="line.127"></a>
-<span class="sourceLineNo">128</span> * in the results array corresponds to the order of actions in the request list.<a name="line.128"></a>
-<span class="sourceLineNo">129</span> * @throws IOException<a name="line.129"></a>
-<span class="sourceLineNo">130</span> * @since 0.90.0<a name="line.130"></a>
-<span class="sourceLineNo">131</span> */<a name="line.131"></a>
-<span class="sourceLineNo">132</span> default void batch(final List<? extends Row> actions, final Object[] results) throws IOException,<a name="line.132"></a>
-<span class="sourceLineNo">133</span> InterruptedException {<a name="line.133"></a>
-<span class="sourceLineNo">134</span> throw new NotImplementedException("Add an implementation!");<a name="line.134"></a>
-<span class="sourceLineNo">135</span> }<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span> /**<a name="line.137"></a>
-<span class="sourceLineNo">138</span> * Same as {@link #batch(List, Object[])}, but with a callback.<a name="line.138"></a>
-<span class="sourceLineNo">139</span> * @since 0.96.0<a name="line.139"></a>
-<span class="sourceLineNo">140</span> * @deprecated since 3.0.0, will removed in 4.0.0. Please use the batch related methods in<a name="line.140"></a>
-<span class="sourceLineNo">141</span> * {@link AsyncTable} directly if you want to use callback. We reuse the callback for<a name="line.141"></a>
-<span class="sourceLineNo">142</span> * coprocessor here, and the problem is that for batch operation, the<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * {@link AsyncTable} does not tell us the region, so in this method we need an extra<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * locating after we get the result, which is not good.<a name="line.144"></a>
-<span class="sourceLineNo">145</span> */<a name="line.145"></a>
-<span class="sourceLineNo">146</span> @Deprecated<a name="line.146"></a>
-<span class="sourceLineNo">147</span> default <R> void batchCallback(final List<? extends Row> actions, final Object[] results,<a name="line.147"></a>
-<span class="sourceLineNo">148</span> final Batch.Callback<R> callback) throws IOException, InterruptedException {<a name="line.148"></a>
-<span class="sourceLineNo">149</span> throw new NotImplementedException("Add an implementation!");<a name="line.149"></a>
-<span class="sourceLineNo">150</span> }<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span> /**<a name="line.152"></a>
-<span class="sourceLineNo">153</span> * Extracts certain cells from a given row.<a name="line.153"></a>
-<span class="sourceLineNo">154</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.154"></a>
-<span class="sourceLineNo">155</span> * @return The data coming from the specified row, if it exists. If the row<a name="line.155"></a>
-<span class="sourceLineNo">156</span> * specified doesn't exist, the {@link Result} instance returned won't<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * contain any {@link org.apache.hadoop.hbase.KeyValue}, as indicated by<a name="line.157"></a>
-<span class="sourceLineNo">158</span> * {@link Result#isEmpty()}.<a name="line.158"></a>
-<span class="sourceLineNo">159</span> * @throws IOException if a remote or network exception occurs.<a name="line.159"></a>
-<span class="sourceLineNo">160</span> * @since 0.20.0<a name="line.160"></a>
-<span class="sourceLineNo">161</span> */<a name="line.161"></a>
-<span class="sourceLineNo">162</span> default Result get(Get get) throws IOException {<a name="line.162"></a>
-<span class="sourceLineNo">163</span> return get(Collections.singletonList(get))[0];<a name="line.163"></a>
-<span class="sourceLineNo">164</span> }<a name="line.164"></a>
-<span class="sourceLineNo">165</span><a name="line.165"></a>
-<span class="sourceLineNo">166</span> /**<a name="line.166"></a>
-<span class="sourceLineNo">167</span> * Extracts specified cells from the given rows, as a batch.<a name="line.167"></a>
-<span class="sourceLineNo">168</span> *<a name="line.168"></a>
-<span class="sourceLineNo">169</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.169"></a>
-<span class="sourceLineNo">170</span> * @return The data coming from the specified rows, if it exists. If the row specified doesn't<a name="line.170"></a>
-<span class="sourceLineNo">171</span> * exist, the {@link Result} instance returned won't contain any<a name="line.171"></a>
-<span class="sourceLineNo">172</span> * {@link org.apache.hadoop.hbase.Cell}s, as indicated by {@link Result#isEmpty()}. If there<a name="line.172"></a>
-<span class="sourceLineNo">173</span> * are any failures even after retries, there will be a <code>null</code> in the results' array<a name="line.173"></a>
-<span class="sourceLineNo">174</span> * for those Gets, AND an exception will be thrown. The ordering of the Result array<a name="line.174"></a>
-<span class="sourceLineNo">175</span> * corresponds to the order of the list of passed in Gets.<a name="line.175"></a>
-<span class="sourceLineNo">176</span> * @throws IOException if a remote or network exception occurs.<a name="line.176"></a>
-<span class="sourceLineNo">177</span> * @since 0.90.0<a name="line.177"></a>
-<span class="sourceLineNo">178</span> * @apiNote {@link #put(List)} runs pre-flight validations on the input list on client.<a name="line.178"></a>
-<span class="sourceLineNo">179</span> * Currently {@link #get(List)} doesn't run any validations on the client-side,<a name="line.179"></a>
-<span class="sourceLineNo">180</span> * currently there is no need, but this may change in the future. An<a name="line.180"></a>
-<span class="sourceLineNo">181</span> * {@link IllegalArgumentException} will be thrown in this case.<a name="line.181"></a>
-<span class="sourceLineNo">182</span> */<a name="line.182"></a>
-<span class="sourceLineNo">183</span> default Result[] get(List<Get> gets) throws IOException {<a name="line.183"></a>
-<span class="sourceLineNo">184</span> throw new NotImplementedException("Add an implementation!");<a name="line.184"></a>
-<span class="sourceLineNo">185</span> }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span> /**<a name="line.187"></a>
-<span class="sourceLineNo">188</span> * Returns a scanner on the current table as specified by the {@link Scan}<a name="line.188"></a>
-<span class="sourceLineNo">189</span> * object.<a name="line.189"></a>
-<span class="sourceLineNo">190</span> * Note that the passed {@link Scan}'s start row and caching properties<a name="line.190"></a>
-<span class="sourceLineNo">191</span> * maybe changed.<a name="line.191"></a>
-<span class="sourceLineNo">192</span> *<a name="line.192"></a>
-<span class="sourceLineNo">193</span> * @param scan A configured {@link Scan} object.<a name="line.193"></a>
-<span class="sourceLineNo">194</span> * @return A scanner.<a name="line.194"></a>
-<span class="sourceLineNo">195</span> * @throws IOException if a remote or network exception occurs.<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * @since 0.20.0<a name="line.196"></a>
-<span class="sourceLineNo">197</span> */<a name="line.197"></a>
-<span class="sourceLineNo">198</span> default ResultScanner getScanner(Scan scan) throws IOException {<a name="line.198"></a>
-<span class="sourceLineNo">199</span> throw new NotImplementedException("Add an implementation!");<a name="line.199"></a>
-<span class="sourceLineNo">200</span> }<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span> /**<a name="line.202"></a>
-<span class="sourceLineNo">203</span> * Gets a scanner on the current table for the given family.<a name="line.203"></a>
-<span class="sourceLineNo">204</span> *<a name="line.204"></a>
-<span class="sourceLineNo">205</span> * @param family The column family to scan.<a name="line.205"></a>
-<span class="sourceLineNo">206</span> * @return A scanner.<a name="line.206"></a>
-<span class="sourceLineNo">207</span> * @throws IOException if a remote or network exception occurs.<a name="line.207"></a>
-<span class="sourceLineNo">208</span> * @since 0.20.0<a name="line.208"></a>
-<span class="sourceLineNo">209</span> */<a name="line.209"></a>
-<span class="sourceLineNo">210</span> default ResultScanner getScanner(byte[] family) throws IOException {<a name="line.210"></a>
-<span class="sourceLineNo">211</span> throw new NotImplementedException("Add an implementation!");<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * Gets a scanner on the current table for the given family and qualifier.<a name="line.215"></a>
-<span class="sourceLineNo">216</span> *<a name="line.216"></a>
-<span class="sourceLineNo">217</span> * @param family The column family to scan.<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * @param qualifier The column qualifier to scan.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * @return A scanner.<a name="line.219"></a>
-<span class="sourceLineNo">220</span> * @throws IOException if a remote or network exception occurs.<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * @since 0.20.0<a name="line.221"></a>
-<span class="sourceLineNo">222</span> */<a name="line.222"></a>
-<span class="sourceLineNo">223</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException {<a name="line.223"></a>
-<span class="sourceLineNo">224</span> throw new NotImplementedException("Add an implementation!");<a name="line.224"></a>
-<span class="sourceLineNo">225</span> }<a name="line.225"></a>
-<span class="sourceLineNo">226</span><a name="line.226"></a>
-<span class="sourceLineNo">227</span> /**<a name="line.227"></a>
-<span class="sourceLineNo">228</span> * Puts some data in the table.<a name="line.228"></a>
-<span class="sourceLineNo">229</span> *<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * @param put The data to put.<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * @throws IOException if a remote or network exception occurs.<a name="line.231"></a>
-<span class="sourceLineNo">232</span> * @since 0.20.0<a name="line.232"></a>
-<span class="sourceLineNo">233</span> */<a name="line.233"></a>
-<span class="sourceLineNo">234</span> default void put(Put put) throws IOException {<a name="line.234"></a>
-<span class="sourceLineNo">235</span> put(Collections.singletonList(put));<a name="line.235"></a>
-<span class="sourceLineNo">236</span> }<a name="line.236"></a>
-<span class="sourceLineNo">237</span><a name="line.237"></a>
-<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * Batch puts the specified data into the table.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> * <p><a name="line.240"></a>
-<span class="sourceLineNo">241</span> * This can be used for group commit, or for submitting user defined batches. Before sending<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * a batch of mutations to the server, the client runs a few validations on the input list. If an<a name="line.242"></a>
-<span class="sourceLineNo">243</span> * error is found, for example, a mutation was supplied but was missing it's column an<a name="line.243"></a>
-<span class="sourceLineNo">244</span> * {@link IllegalArgumentException} will be thrown and no mutations will be applied. If there<a name="line.244"></a>
-<span class="sourceLineNo">245</span> * are any failures even after retries, a {@link RetriesExhaustedWithDetailsException} will be<a name="line.245"></a>
-<span class="sourceLineNo">246</span> * thrown. RetriesExhaustedWithDetailsException contains lists of failed mutations and<a name="line.246"></a>
-<span class="sourceLineNo">247</span> * corresponding remote exceptions. The ordering of mutations and exceptions in the<a name="line.247"></a>
-<span class="sourceLineNo">248</span> * encapsulating exception corresponds to the order of the input list of Put requests.<a name="line.248"></a>
-<span class="sourceLineNo">249</span> *<a name="line.249"></a>
-<span class="sourceLineNo">250</span> * @param puts The list of mutations to apply.<a name="line.250"></a>
-<span class="sourceLineNo">251</span> * @throws IOException if a remote or network exception occurs.<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * @since 0.20.0<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> default void put(List<Put> puts) throws IOException {<a name="line.254"></a>
-<span class="sourceLineNo">255</span> throw new NotImplementedException("Add an implementation!");<a name="line.255"></a>
-<span class="sourceLineNo">256</span> }<a name="line.256"></a>
-<span class="sourceLineNo">257</span><a name="line.257"></a>
-<span class="sourceLineNo">258</span> /**<a name="line.258"></a>
-<span class="sourceLineNo">259</span> * Deletes the specified cells/row.<a name="line.259"></a>
-<span class="sourceLineNo">260</span> *<a name="line.260"></a>
-<span class="sourceLineNo">261</span> * @param delete The object that specifies what to delete.<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * @throws IOException if a remote or network exception occurs.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * @since 0.20.0<a name="line.263"></a>
-<span class="sourceLineNo">264</span> */<a name="line.264"></a>
-<span class="sourceLineNo">265</span> default void delete(Delete delete) throws IOException {<a name="line.265"></a>
-<span class="sourceLineNo">266</span> throw new NotImplementedException("Add an implementation!");<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Batch Deletes the specified cells/rows from the table.<a name="line.270"></a>
-<span class="sourceLineNo">271</span> * <p><a name="line.271"></a>
-<span class="sourceLineNo">272</span> * If a specified row does not exist, {@link Delete} will report as though sucessful<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * delete; no exception will be thrown. If there are any failures even after retries,<a name="line.273"></a>
-<span class="sourceLineNo">274</span> * a {@link RetriesExhaustedWithDetailsException} will be thrown.<a name="line.274"></a>
-<span class="sourceLineNo">275</span> * RetriesExhaustedWithDetailsException contains lists of failed {@link Delete}s and<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * corresponding remote exceptions.<a name="line.276"></a>
-<span class="sourceLineNo">277</span> *<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * @param deletes List of things to delete. The input list gets modified by this<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * method. All successfully applied {@link Delete}s in the list are removed (in particular it<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * gets re-ordered, so the order in which the elements are inserted in the list gives no<a name="line.280"></a>
-<span class="sourceLineNo">281</span> * guarantee as to the order in which the {@link Delete}s are executed).<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @throws IOException if a remote or network exception occurs. In that case<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * the {@code deletes} argument will contain the {@link Delete} instances<a name="line.283"></a>
-<span class="sourceLineNo">284</span> * that have not be successfully applied.<a name="line.284"></a>
-<span class="sourceLineNo">285</span> * @since 0.20.1<a name="line.285"></a>
-<span class="sourceLineNo">286</span> * @apiNote In 3.0.0 version, the input list {@code deletes} will no longer be modified. Also,<a name="line.286"></a>
-<span class="sourceLineNo">287</span> * {@link #put(List)} runs pre-flight validations on the input list on client. Currently<a name="line.287"></a>
-<span class="sourceLineNo">288</span> * {@link #delete(List)} doesn't run validations on the client, there is no need<a name="line.288"></a>
-<span class="sourceLineNo">289</span> * currently, but this may change in the future. An * {@link IllegalArgumentException}<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * will be thrown in this case.<a name="line.290"></a>
-<span class="sourceLineNo">291</span> */<a name="line.291"></a>
-<span class="sourceLineNo">292</span> default void delete(List<Delete> deletes) throws IOException {<a name="line.292"></a>
-<span class="sourceLineNo">293</span> throw new NotImplementedException("Add an implementation!");<a name="line.293"></a>
-<span class="sourceLineNo">294</span> }<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> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.297"></a>
-<span class="sourceLineNo">298</span> * adds the Put/Delete/RowMutations.<a name="line.298"></a>
-<span class="sourceLineNo">299</span> * <p><a name="line.299"></a>
-<span class="sourceLineNo">300</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.300"></a>
-<span class="sourceLineNo">301</span> * This is a fluent style API, the code is like:<a name="line.301"></a>
-<span class="sourceLineNo">302</span> *<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * <pre><a name="line.303"></a>
-<span class="sourceLineNo">304</span> * <code><a name="line.304"></a>
-<span class="sourceLineNo">305</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put);<a name="line.305"></a>
-<span class="sourceLineNo">306</span> * </code><a name="line.306"></a>
-<span class="sourceLineNo">307</span> * </pre><a name="line.307"></a>
-<span class="sourceLineNo">308</span> */<a name="line.308"></a>
-<span class="sourceLineNo">309</span> default CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) {<a name="line.309"></a>
-<span class="sourceLineNo">310</span> throw new NotImplementedException("Add an implementation!");<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> * A helper class for sending checkAndMutate request.<a name="line.314"></a>
-<span class="sourceLineNo">315</span> */<a name="line.315"></a>
-<span class="sourceLineNo">316</span> interface CheckAndMutateBuilder {<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> * @param qualifier column qualifier to check.<a name="line.319"></a>
-<span class="sourceLineNo">320</span> */<a name="line.320"></a>
-<span class="sourceLineNo">321</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.321"></a>
-<span class="sourceLineNo">322</span><a name="line.322"></a>
-<span class="sourceLineNo">323</span> /**<a name="line.323"></a>
-<span class="sourceLineNo">324</span> * @param timeRange timeRange to check<a name="line.324"></a>
-<span class="sourceLineNo">325</span> */<a name="line.325"></a>
-<span class="sourceLineNo">326</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<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>
-<span class="sourceLineNo">329</span> * Check for lack of column.<a name="line.329"></a>
-<span class="sourceLineNo">330</span> */<a name="line.330"></a>
-<span class="sourceLineNo">331</span> CheckAndMutateBuilder ifNotExists();<a name="line.331"></a>
-<span class="sourceLineNo">332</span><a name="line.332"></a>
-<span class="sourceLineNo">333</span> /**<a name="line.333"></a>
-<span class="sourceLineNo">334</span> * Check for equality.<a name="line.334"></a>
-<span class="sourceLineNo">335</span> * @param value the expected value<a name="line.335"></a>
-<span class="sourceLineNo">336</span> */<a name="line.336"></a>
-<span class="sourceLineNo">337</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.338"></a>
-<span class="sourceLineNo">339</span> }<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span> /**<a name="line.341"></a>
-<span class="sourceLineNo">342</span> * @param compareOp comparison operator to use<a name="line.342"></a>
-<span class="sourceLineNo">343</span> * @param value the expected value<a name="line.343"></a>
-<span class="sourceLineNo">344</span> */<a name="line.344"></a>
-<span class="sourceLineNo">345</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.345"></a>
-<span class="sourceLineNo">346</span><a name="line.346"></a>
-<span class="sourceLineNo">347</span> /**<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * @param put data to put if check succeeds<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * @return {@code true} if the new put was executed, {@code false} otherwise.<a name="line.349"></a>
-<span class="sourceLineNo">350</span> */<a name="line.350"></a>
-<span class="sourceLineNo">351</span> boolean thenPut(Put put) throws IOException;<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span> /**<a name="line.353"></a>
-<span class="sourceLineNo">354</span> * @param delete data to delete if check succeeds<a name="line.354"></a>
-<span class="sourceLineNo">355</span> * @return {@code true} if the new delete was executed, {@code false} otherwise.<a name="line.355"></a>
-<span class="sourceLineNo">356</span> */<a name="line.356"></a>
-<span class="sourceLineNo">357</span> boolean thenDelete(Delete delete) throws IOException;<a name="line.357"></a>
-<span class="sourceLineNo">358</span> /**<a name="line.358"></a>
-<span class="sourceLineNo">359</span> * @param mutation mutations to perform if check succeeds<a name="line.359"></a>
-<span class="sourceLineNo">360</span> * @return true if the new mutation was executed, false otherwise.<a name="line.360"></a>
-<span class="sourceLineNo">361</span> */<a name="line.361"></a>
-<span class="sourceLineNo">362</span> boolean thenMutate(RowMutations mutation) throws IOException;<a name="line.362"></a>
-<span class="sourceLineNo">363</span> }<a name="line.363"></a>
-<span class="sourceLineNo">364</span><a name="line.364"></a>
-<span class="sourceLineNo">365</span> /**<a name="line.365"></a>
-<span class="sourceLineNo">366</span> * Performs multiple mutations atomically on a single row. Currently<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * {@link Put} and {@link Delete} are supported.<a name="line.367"></a>
-<span class="sourceLineNo">368</span> *<a name="line.368"></a>
-<span class="sourceLineNo">369</span> * @param rm object that specifies the set of mutations to perform atomically<a name="line.369"></a>
-<span class="sourceLineNo">370</span> * @throws IOException<a name="line.370"></a>
-<span class="sourceLineNo">371</span> */<a name="line.371"></a>
-<span class="sourceLineNo">372</span> default void mutateRow(final RowMutations rm) throws IOException {<a name="line.372"></a>
-<span class="sourceLineNo">373</span> throw new NotImplementedException("Add an implementation!");<a name="line.373"></a>
-<span class="sourceLineNo">374</span> }<a name="line.374"></a>
-<span class="sourceLineNo">375</span><a name="line.375"></a>
-<span class="sourceLineNo">376</span> /**<a name="line.376"></a>
-<span class="sourceLineNo">377</span> * Appends values to one or more columns within a single row.<a name="line.377"></a>
-<span class="sourceLineNo">378</span> * <p><a name="line.378"></a>
-<span class="sourceLineNo">379</span> * This operation guaranteed atomicity to readers. Appends are done<a name="line.379"></a>
-<span class="sourceLineNo">380</span> * under a single row lock, so write operations to a row are synchronized, and<a name="line.380"></a>
-<span class="sourceLineNo">381</span> * readers are guaranteed to see this operation fully completed.<a name="line.381"></a>
-<span class="sourceLineNo">382</span> *<a name="line.382"></a>
-<span class="sourceLineNo">383</span> * @param append object that specifies the columns and values to be appended<a name="line.383"></a>
-<span class="sourceLineNo">384</span> * @throws IOException e<a name="line.384"></a>
-<span class="sourceLineNo">385</span> * @return values of columns after the append operation (maybe null)<a name="line.385"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.filter.Filter;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>/**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Used to communicate with a single HBase table.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Obtain an instance from a {@link Connection} and call {@link #close()} afterwards.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> *<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><code>Table</code> can be used to get, put, delete or scan data from a table.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @see ConnectionFactory<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @see Connection<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @see Admin<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @see RegionLocator<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @since 0.99.0<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span>@InterfaceAudience.Public<a name="line.56"></a>
+<span class="sourceLineNo">057</span>public interface Table extends Closeable {<a name="line.57"></a>
+<span class="sourceLineNo">058</span> /**<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * Gets the fully qualified table name instance of this table.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span> TableName getName();<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * <p><a name="line.65"></a>
+<span class="sourceLineNo">066</span> * The reference returned is not a copy, so any change made to it will<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * affect this instance.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> Configuration getConfiguration();<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span> /**<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * Gets the {@link org.apache.hadoop.hbase.client.TableDescriptor table descriptor} for this table.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * @throws java.io.IOException if a remote or network exception occurs.<a name="line.73"></a>
+<span class="sourceLineNo">074</span> */<a name="line.74"></a>
+<span class="sourceLineNo">075</span> TableDescriptor getDescriptor() throws IOException;<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> * Gets the {@link RegionLocator} for this table.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> */<a name="line.79"></a>
+<span class="sourceLineNo">080</span> RegionLocator getRegionLocator() throws IOException;<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span> /**<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * Test for the existence of columns in the table, as specified by the Get.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * <p><a name="line.84"></a>
+<span class="sourceLineNo">085</span> *<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * This will return true if the Get matches one or more keys, false if not.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * <p><a name="line.87"></a>
+<span class="sourceLineNo">088</span> *<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * This is a server-side call so it prevents any data from being transfered to<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * the client.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> *<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * @param get the Get<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * @return true if the specified Get matches one or more keys, false if not<a name="line.93"></a>
+<span class="sourceLineNo">094</span> * @throws IOException e<a name="line.94"></a>
+<span class="sourceLineNo">095</span> */<a name="line.95"></a>
+<span class="sourceLineNo">096</span> default boolean exists(Get get) throws IOException {<a name="line.96"></a>
+<span class="sourceLineNo">097</span> return exists(Collections.singletonList(get))[0];<a name="line.97"></a>
+<span class="sourceLineNo">098</span> }<a name="line.98"></a>
+<span class="sourceLineNo">099</span><a name="line.99"></a>
+<span class="sourceLineNo">100</span> /**<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <p><a name="line.102"></a>
+<span class="sourceLineNo">103</span> *<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * This will return an array of booleans. Each value will be true if the related Get matches<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * one or more keys, false if not.<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * <p><a name="line.106"></a>
+<span class="sourceLineNo">107</span> *<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * This is a server-side call so it prevents any data from being transferred to<a name="line.108"></a>
+<span class="sourceLineNo">109</span> * the client.<a name="line.109"></a>
+<span class="sourceLineNo">110</span> *<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @param gets the Gets<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * @return Array of boolean. True if the specified Get matches one or more keys, false if not.<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * @throws IOException e<a name="line.113"></a>
+<span class="sourceLineNo">114</span> */<a name="line.114"></a>
+<span class="sourceLineNo">115</span> default boolean[] exists(List<Get> gets) throws IOException {<a name="line.115"></a>
+<span class="sourceLineNo">116</span> throw new NotImplementedException("Add an implementation!");<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> /**<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations.<a name="line.120"></a>
+<span class="sourceLineNo">121</span> * The ordering of execution of the actions is not defined. Meaning if you do a Put and a<a name="line.121"></a>
+<span class="sourceLineNo">122</span> * Get in the same {@link #batch} call, you will not necessarily be<a name="line.122"></a>
+<span class="sourceLineNo">123</span> * guaranteed that the Get returns what the Put had put.<a name="line.123"></a>
+<span class="sourceLineNo">124</span> *<a name="line.124"></a>
+<span class="sourceLineNo">125</span> * @param actions list of Get, Put, Delete, Increment, Append, RowMutations.<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * @param results Empty Object[], same size as actions. Provides access to partial<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * results, in case an exception is thrown. A null in the result array means that<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * the call for that action failed, even after retries. The order of the objects<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * in the results array corresponds to the order of actions in the request list.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @throws IOException<a name="line.130"></a>
+<span class="sourceLineNo">131</span> * @since 0.90.0<a name="line.131"></a>
+<span class="sourceLineNo">132</span> */<a name="line.132"></a>
+<span class="sourceLineNo">133</span> default void batch(final List<? extends Row> actions, final Object[] results) throws IOException,<a name="line.133"></a>
+<span class="sourceLineNo">134</span> InterruptedException {<a name="line.134"></a>
+<span class="sourceLineNo">135</span> throw new NotImplementedException("Add an implementation!");<a name="line.135"></a>
+<span class="sourceLineNo">136</span> }<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> * Same as {@link #batch(List, Object[])}, but with a callback.<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * @since 0.96.0<a name="line.140"></a>
+<span class="sourceLineNo">141</span> * @deprecated since 3.0.0, will removed in 4.0.0. Please use the batch related methods in<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * {@link AsyncTable} directly if you want to use callback. We reuse the callback for<a name="line.142"></a>
+<span class="sourceLineNo">143</span> * coprocessor here, and the problem is that for batch operation, the<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * {@link AsyncTable} does not tell us the region, so in this method we need an extra<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * locating after we get the result, which is not good.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> */<a name="line.146"></a>
+<span class="sourceLineNo">147</span> @Deprecated<a name="line.147"></a>
+<span class="sourceLineNo">148</span> default <R> void batchCallback(final List<? extends Row> actions, final Object[] results,<a name="line.148"></a>
+<span class="sourceLineNo">149</span> final Batch.Callback<R> callback) throws IOException, InterruptedException {<a name="line.149"></a>
+<span class="sourceLineNo">150</span> throw new NotImplementedException("Add an implementation!");<a name="line.150"></a>
+<span class="sourceLineNo">151</span> }<a name="line.151"></a>
+<span class="sourceLineNo">152</span><a name="line.152"></a>
+<span class="sourceLineNo">153</span> /**<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * Extracts certain cells from a given row.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * @param get The object that specifies what data to fetch and from which row.<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * @return The data coming from the specified row, if it exists. If the row<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * specified doesn't exist, the {@link Result} instance returned won't<a name="line.157"></a>
+<span class="sourceLineNo">158</span> * contain any {@link org.apache.hadoop.hbase.KeyValue}, as indicated by<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * {@link Result#isEmpty()}.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> * @throws IOException if a remote or network exception occurs.<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * @since 0.20.0<a name="line.161"></a>
+<span class="sourceLineNo">162</span> */<a name="line.162"></a>
+<span class="sourceLineNo">163</span> default Result get(Get get) throws IOException {<a name="line.163"></a>
+<span class="sourceLineNo">164</span> return get(Collections.singletonList(get))[0];<a name="line.164"></a>
+<span class="sourceLineNo">165</span> }<a name="line.165"></a>
+<span class="sourceLineNo">166</span><a name="line.166"></a>
+<span class="sourceLineNo">167</span> /**<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * Extracts specified cells from the given rows, as a batch.<a name="line.168"></a>
+<span class="sourceLineNo">169</span> *<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * @return The data coming from the specified rows, if it exists. If the row specified doesn't<a name="line.171"></a>
+<span class="sourceLineNo">172</span> * exist, the {@link Result} instance returned won't contain any<a name="line.172"></a>
+<span class="sourceLineNo">173</span> * {@link org.apache.hadoop.hbase.Cell}s, as indicated by {@link Result#isEmpty()}. If there<a name="line.173"></a>
+<span class="sourceLineNo">174</span> * are any failures even after retries, there will be a <code>null</code> in the results' array<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * for those Gets, AND an exception will be thrown. The ordering of the Result array<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * corresponds to the order of the list of passed in Gets.<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * @throws IOException if a remote or network exception occurs.<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * @since 0.90.0<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @apiNote {@link #put(List)} runs pre-flight validations on the input list on client.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * Currently {@link #get(List)} doesn't run any validations on the client-side,<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * currently there is no need, but this may change in the future. An<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * {@link IllegalArgumentException} will be thrown in this case.<a name="line.182"></a>
+<span class="sourceLineNo">183</span> */<a name="line.183"></a>
+<span class="sourceLineNo">184</span> default Result[] get(List<Get> gets) throws IOException {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> throw new NotImplementedException("Add an implementation!");<a name="line.185"></a>
+<span class="sourceLineNo">186</span> }<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span> /**<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * Returns a scanner on the current table as specified by the {@link Scan}<a name="line.189"></a>
+<span class="sourceLineNo">190</span> * object.<a name="line.190"></a>
+<span class="sourceLineNo">191</span> * Note that the passed {@link Scan}'s start row and caching properties<a name="line.191"></a>
+<span class="sourceLineNo">192</span> * maybe changed.<a name="line.192"></a>
+<span class="sourceLineNo">193</span> *<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * @param scan A configured {@link Scan} object.<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * @return A scanner.<a name="line.195"></a>
+<span class="sourceLineNo">196</span> * @throws IOException if a remote or network exception occurs.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * @since 0.20.0<a name="line.197"></a>
+<span class="sourceLineNo">198</span> */<a name="line.198"></a>
+<span class="sourceLineNo">199</span> default ResultScanner getScanner(Scan scan) throws IOException {<a name="line.199"></a>
+<span class="sourceLineNo">200</span> throw new NotImplementedException("Add an implementation!");<a name="line.200"></a>
+<span class="sourceLineNo">201</span> }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span> /**<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * Gets a scanner on the current table for the given family.<a name="line.204"></a>
+<span class="sourceLineNo">205</span> *<a name="line.205"></a>
+<span class="sourceLineNo">206</span> * @param family The column family to scan.<a name="line.206"></a>
+<span class="sourceLineNo">207</span> * @return A scanner.<a name="line.207"></a>
+<span class="sourceLineNo">208</span> * @throws IOException if a remote or network exception occurs.<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * @since 0.20.0<a name="line.209"></a>
+<span class="sourceLineNo">210</span> */<a name="line.210"></a>
+<span class="sourceLineNo">211</span> default ResultScanner getScanner(byte[] family) throws IOException {<a name="line.211"></a>
+<span class="sourceLineNo">212</span> throw new NotImplementedException("Add an implementation!");<a name="line.212"></a>
+<span class="sourceLineNo">213</span> }<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * Gets a scanner on the current table for the given family and qualifier.<a name="line.216"></a>
+<span class="sourceLineNo">217</span> *<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * @param family The column family to scan.<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * @param qualifier The column qualifier to scan.<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * @return A scanner.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @throws IOException if a remote or network exception occurs.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> * @since 0.20.0<a name="line.222"></a>
+<span class="sourceLineNo">223</span> */<a name="line.223"></a>
+<span class="sourceLineNo">224</span> default ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException {<a name="line.224"></a>
+<span class="sourceLineNo">225</span> throw new NotImplementedException("Add an implementation!");<a name="line.225"></a>
+<span class="sourceLineNo">226</span> }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span> /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * Puts some data in the table.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @param put The data to put.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @throws IOException if a remote or network exception occurs.<a name="line.232"></a>
+<span class="sourceLineNo">233</span> * @since 0.20.0<a name="line.233"></a>
+<span class="sourceLineNo">234</span> */<a name="line.234"></a>
+<span class="sourceLineNo">235</span> default void put(Put put) throws IOException {<a name="line.235"></a>
+<span class="sourceLineNo">236</span> put(Collections.singletonList(put));<a name="line.236"></a>
+<span class="sourceLineNo">237</span> }<a name="line.237"></a>
+<span class="sourceLineNo">238</span><a name="line.238"></a>
+<span class="sourceLineNo">239</span> /**<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * Batch puts the specified data into the table.<a name="line.240"></a>
+<span class="sourceLineNo">241</span> * <p><a name="line.241"></a>
+<span class="sourceLineNo">242</span> * This can be used for group commit, or for submitting user defined batches. Before sending<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * a batch of mutations to the server, the client runs a few validations on the input list. If an<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * error is found, for example, a mutation was supplied but was missing it's column an<a name="line.244"></a>
+<span class="sourceLineNo">245</span> * {@link IllegalArgumentException} will be thrown and no mutations will be applied. If there<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * are any failures even after retries, a {@link RetriesExhaustedWithDetailsException} will be<a name="line.246"></a>
+<span class="sourceLineNo">247</span> * thrown. RetriesExhaustedWithDetailsException contains lists of failed mutations and<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * corresponding remote exceptions. The ordering of mutations and exceptions in the<a name="line.248"></a>
+<span class="sourceLineNo">249</span> * encapsulating exception corresponds to the order of the input list of Put requests.<a name="line.249"></a>
+<span class="sourceLineNo">250</span> *<a name="line.250"></a>
+<span class="sourceLineNo">251</span> * @param puts The list of mutations to apply.<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * @throws IOException if a remote or network exception occurs.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> * @since 0.20.0<a name="line.253"></a>
+<span class="sourceLineNo">254</span> */<a name="line.254"></a>
+<span class="sourceLineNo">255</span> default void put(List<Put> puts) throws IOException {<a name="line.255"></a>
+<span class="sourceLineNo">256</span> throw new NotImplementedException("Add an implementation!");<a name="line.256"></a>
+<span class="sourceLineNo">257</span> }<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span> /**<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * Deletes the specified cells/row.<a name="line.260"></a>
+<span class="sourceLineNo">261</span> *<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * @param delete The object that specifies what to delete.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * @throws IOException if a remote or network exception occurs.<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @since 0.20.0<a name="line.264"></a>
+<span class="sourceLineNo">265</span> */<a name="line.265"></a>
+<span class="sourceLineNo">266</span> default void delete(Delete delete) throws IOException {<a name="line.266"></a>
+<span class="sourceLineNo">267</span> throw new NotImplementedException("Add an implementation!");<a name="line.267"></a>
+<span class="sourceLineNo">268</span> }<a name="line.268"></a>
+<span class="sourceLineNo">269</span><a name="line.269"></a>
+<span class="sourceLineNo">270</span> /**<a name="line.270"></a>
+<span class="sourceLineNo">271</span> * Batch Deletes the specified cells/rows from the table.<a name="line.271"></a>
+<span class="sourceLineNo">272</span> * <p><a name="line.272"></a>
+<span class="sourceLineNo">273</span> * If a specified row does not exist, {@link Delete} will report as though sucessful<a name="line.273"></a>
+<span class="sourceLineNo">274</span> * delete; no exception will be thrown. If there are any failures even after retries,<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * a {@link RetriesExhaustedWithDetailsException} will be thrown.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * RetriesExhaustedWithDetailsException contains lists of failed {@link Delete}s and<a name="line.276"></a>
+<span class="sourceLineNo">277</span> * corresponding remote exceptions.<a name="line.277"></a>
+<span class="sourceLineNo">278</span> *<a name="line.278"></a>
+<span class="sourceLineNo">279</span> * @param deletes List of things to delete. The input list gets modified by this<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * method. All successfully applied {@link Delete}s in the list are removed (in particular it<a name="line.280"></a>
+<span class="sourceLineNo">281</span> * gets re-ordered, so the order in which the elements are inserted in the list gives no<a name="line.281"></a>
+<span class="sourceLineNo">282</span> * guarantee as to the order in which the {@link Delete}s are executed).<a name="line.282"></a>
+<span class="sourceLineNo">283</span> * @throws IOException if a remote or network exception occurs. In that case<a name="line.283"></a>
+<span class="sourceLineNo">284</span> * the {@code deletes} argument will contain the {@link Delete} instances<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * that have not be successfully applied.<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @since 0.20.1<a name="line.286"></a>
+<span class="sourceLineNo">287</span> * @apiNote In 3.0.0 version, the input list {@code deletes} will no longer be modified. Also,<a name="line.287"></a>
+<span class="sourceLineNo">288</span> * {@link #put(List)} runs pre-flight validations on the input list on client. Currently<a name="line.288"></a>
+<span class="sourceLineNo">289</span> * {@link #delete(List)} doesn't run validations on the client, there is no need<a name="line.289"></a>
+<span class="sourceLineNo">290</span> * currently, but this may change in the future. An * {@link IllegalArgumentException}<a name="line.290"></a>
+<span class="sourceLineNo">291</span> * will be thrown in this case.<a name="line.291"></a>
+<span class="sourceLineNo">292</span> */<a name="line.292"></a>
+<span class="sourceLineNo">293</span> default void delete(List<Delete> deletes) throws IOException {<a name="line.293"></a>
+<span class="sourceLineNo">294</span> throw new NotImplementedException("Add an implementation!");<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> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.298"></a>
+<span class="sourceLineNo">299</span> * adds the Put/Delete/RowMutations.<a name="line.299"></a>
+<span class="sourceLineNo">300</span> * <p><a name="line.300"></a>
+<span class="sourceLineNo">301</span> * Use the returned {@link CheckAndMutateBuilder} to construct your request and then execute it.<a name="line.301"></a>
+<span class="sourceLineNo">302</span> * This is a fluent style API, the code is like:<a name="line.302"></a>
+<span class="sourceLineNo">303</span> *<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * <pre><a name="line.304"></a>
+<span class="sourceLineNo">305</span> * <code><a name="line.305"></a>
+<span class="sourceLineNo">306</span> * table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put);<a name="line.306"></a>
+<span class="sourceLineNo">307</span> * </code><a name="line.307"></a>
+<span class="sourceLineNo">308</span> * </pre><a name="line.308"></a>
+<span class="sourceLineNo">309</span> */<a name="line.309"></a>
+<span class="sourceLineNo">310</span> default CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) {<a name="line.310"></a>
+<span class="sourceLineNo">311</span> throw new NotImplementedException("Add an implementation!");<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> /**<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * A helper class for sending checkAndMutate request.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> */<a name="line.316"></a>
+<span class="sourceLineNo">317</span> interface CheckAndMutateBuilder {<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> * @param qualifier column qualifier to check.<a name="line.320"></a>
+<span class="sourceLineNo">321</span> */<a name="line.321"></a>
+<span class="sourceLineNo">322</span> CheckAndMutateBuilder qualifier(byte[] qualifier);<a name="line.322"></a>
+<span class="sourceLineNo">323</span><a name="line.323"></a>
+<span class="sourceLineNo">324</span> /**<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * @param timeRange timeRange to check<a name="line.325"></a>
+<span class="sourceLineNo">326</span> */<a name="line.326"></a>
+<span class="sourceLineNo">327</span> CheckAndMutateBuilder timeRange(TimeRange timeRange);<a name="line.327"></a>
+<span class="sourceLineNo">328</span><a name="line.328"></a>
+<span class="sourceLineNo">329</span> /**<a name="line.329"></a>
+<span class="sourceLineNo">330</span> * Check for lack of column.<a name="line.330"></a>
+<span class="sourceLineNo">331</span> */<a name="line.331"></a>
+<span class="sourceLineNo">332</span> CheckAndMutateBuilder ifNotExists();<a name="line.332"></a>
+<span class="sourceLineNo">333</span><a name="line.333"></a>
+<span class="sourceLineNo">334</span> /**<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * Check for equality.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> * @param value the expected value<a name="line.336"></a>
+<span class="sourceLineNo">337</span> */<a name="line.337"></a>
+<span class="sourceLineNo">338</span> default CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.338"></a>
+<span class="sourceLineNo">339</span> return ifMatches(CompareOperator.EQUAL, value);<a name="line.339"></a>
+<span class="sourceLineNo">340</span> }<a name="line.340"></a>
+<span class="sourceLineNo">341</span><a name="line.341"></a>
+<span class="sourceLineNo">342</span> /**<a name="line.342"></a>
+<span class="sourceLineNo">343</span> * @param compareOp comparison operator to use<a name="line.343"></a>
+<span class="sourceLineNo">344</span> * @param value the expected value<a name="line.344"></a>
+<span class="sourceLineNo">345</span> */<a name="line.345"></a>
+<span class="sourceLineNo">346</span> CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value);<a name="line.346"></a>
+<span class="sourceLineNo">347</span><a name="line.347"></a>
+<span class="sourceLineNo">348</span> /**<a name="line.348"></a>
+<span class="sourceLineNo">349</span> * @param put data to put if check succeeds<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * @return {@code true} if the new put was executed, {@code false} otherwise.<a name="line.350"></a>
+<span class="sourceLineNo">351</span> */<a name="line.351"></a>
+<span class="sourceLineNo">352</span> boolean thenPut(Put put) throws IOException;<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span> /**<a name="line.354"></a>
+<span class="sourceLineNo">355</span> * @param delete data to delete if check succeeds<a name="line.355"></a>
+<span class="sourceLineNo">356</span> * @return {@code true} if the new delete was executed, {@code false} otherwise.<a name="line.356"></a>
+<span class="sourceLineNo">357</span> */<a name="line.357"></a>
+<span class="sourceLineNo">358</span> boolean thenDelete(Delete delete) throws IOException;<a name="line.358"></a>
+<span class="sourceLineNo">359</span><a name="line.359"></a>
+<span class="sourceLineNo">360</span> /**<a name="line.360"></a>
+<span class="sourceLineNo">361</span> * @param mutation mutations to perform if check succeeds<a name="line.361"></a>
+<span class="sourceLineNo">362</span> * @return true if the new mutation was executed, false otherwise.<a name="line.362"></a>
+<span class="sourceLineNo">363</span> */<a name="line.363"></a>
+<span class="sourceLineNo">364</span> boolean thenMutate(RowMutations mutation) throws IOException;<a name="line.364"></a>
+<span class="sourceLineNo">365</span> }<a name="line.365"></a>
+<span class="sourceLineNo">366</span><a name="line.366"></a>
+<span class="sourceLineNo">367</span> /**<a name="line.367"></a>
+<span class="sourceLineNo">368</span> * Atomically checks if a row matches the specified filter. If it does, it adds the<a name="line.368"></a>
+<span class="sourceLineNo">369</span> * Put/Delete/RowMutations.<a name="line.369"></a>
+<span class="sourceLineNo">370</span> * <p><a name="line.370"></a>
+<span class="sourceLineNo">371</span> * Use the returned {@link CheckAndMutateWithFilterBuilder} to construct your request and then<a name="line.371"></a>
+<span class="sourceLineNo">372</span> * execute it. This is a fluent style API, the code is like:<a name="line.372"></a>
+<span class="sourceLineNo">373</span> *<a name="line.373"></a>
+<span class="sourceLineNo">374</span> * <pre><a name="line.374"></a>
+<span class="sourceLineNo">375</span> * <code><a name="line.375"></a>
+<span class="sourceLineNo">376</span> * table.checkAndMutate(row, filter).thenPut(put);<a name="line.376"></a>
+<span class="sourceLineNo">377</span> * </code><a name="line.377"></a>
+<span class="sourceLineNo">378</span> * </pre><a name="line.378"></a>
+<span class="sourceLineNo">379</span> */<a name="line.379"></a>
+<span class="sourceLineNo">380</span> default CheckAndMutateWithFilterBuilder checkAndMutate(byte[] row, Filter filter) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span> throw new NotImplementedException("Add an implementation!");<a name="line.381"></a>
+<span class="sourceLineNo">382</span> }<a name="line.382"></a>
+<span class="sourceLineNo">383</span><a name="line.383"></a>
+<span class="sourceLineNo">384</span> /**<a name="line.384"></a>
+<span class="sourceLineNo">385</span> * A helper class for sending checkAndMutate request with a filter.<a name="line.385"></a>
<span class="sourceLineNo">386</span> */<a name="line.386"></a>
-<span class="sourceLineNo">387</span> default Result append(final Append append) throws IOException {<a name="line.387"></a>
-<span class="sourceLineNo">388</span> throw new NotImplementedException("Add an implementation!");<a name="line.388"></a>
-<span class="sourceLineNo">389</span> }<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span> /**<a name="line.391"></a>
-<span class="sourceLineNo">392</span> * Increments one or more columns within a single row.<a name="line.392"></a>
-<span class="sourceLineNo">393</span> * <p><a name="line.393"></a>
-<span class="sourceLineNo">394</span> * This operation ensures atomicity to readers. Increments are done<a name="line.394"></a>
-<span class="sourceLineNo">395</span> * under a single row lock, so write operations to a row are synchronized, and<a name="line.395"></a>
-<span class="sourceLineNo">396</span> * readers are guaranteed to see this operation fully completed.<a name="line.396"></a>
-<span class="sourceLineNo">397</span> *<a name="line.397"></a>
-<span class="sourceLineNo">398</span> * @param increment object that specifies the columns and amounts to be used<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * for the increment operations<a name="line.399"></a>
-<span class="sourceLineNo">400</span> * @throws IOException e<a name="line.400"></a>
-<span class="sourceLineNo">401</span> * @return values of columns after the increment<a name="line.401"></a>
-<span class="sourceLineNo">402</span> */<a name="line.402"></a>
-<span class="sourceLineNo">403</span> default Result increment(final Increment increment) throws IOException {<a name="line.403"></a>
-<span class="sourceLineNo">404</span> throw new NotImplementedException("Add an implementation!");<a name="line.404"></a>
-<span class="sourceLineNo">405</span> }<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span> /**<a name="line.407"></a>
-<span class="sourceLineNo">408</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.408"></a>
-<span class="sourceLineNo">409</span> * <p><a name="line.409"></a>
-<span class="sourceLineNo">410</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.410"></a>
-<span class="sourceLineNo">411</span> * @param row The row that contains the cell to increment.<a name="line.411"></a>
-<span class="sourceLineNo">412</span> * @param family The column family of the cell to increment.<a name="line.412"></a>
-<span class="sourceLineNo">413</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.413"></a>
-<span class="sourceLineNo">414</span> * @param amount The amount to increment the cell with (or decrement, if the<a name="line.414"></a>
-<span class="sourceLineNo">415</span> * amount is negative).<a name="line.415"></a>
-<span class="sourceLineNo">416</span> * @return The new value, post increment.<a name="line.416"></a>
-<span class="sourceLineNo">417</span> * @throws IOException if a remote or network exception occurs.<a name="line.417"></a>
-<span class="sourceLineNo">418</span> */<a name="line.418"></a>
-<span class="sourceLineNo">419</span> default long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)<a name="line.419"></a>
-<span class="sourceLineNo">420</span> throws IOException {<a name="line.420"></a>
-<span class="sourceLineNo">421</span> Increment increment = new Increment(row).addColumn(family, qualifier, amount);<a name="line.421"></a>
-<span class="sourceLineNo">422</span> Cell cell = increment(increment).getColumnLatestCell(family, qualifier);<a name="line.422"></a>
-<span class="sourceLineNo">423</span> return Bytes.toLong(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength());<a name="line.423"></a>
-<span class="sourceLineNo">424</span> }<a name="line.424"></a>
-<span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span> /**<a name="line.426"></a>
-<span class="sourceLineNo">427</span> * Atomically increments a column value. If the column value already exists<a name="line.427"></a>
-<span class="sourceLineNo">428</span> * and is not a big-endian long, this could throw an exception. If the column<a name="line.428"></a>
-<span class="sourceLineNo">429</span> * value does not yet exist it is initialized to <code>amount</code> and<a name="line.429"></a>
-<span class="sourceLineNo">430</span> * written to the specified column.<a name="line.430"></a>
-<span class="sourceLineNo">431</span> *<a name="line.431"></a>
-<span class="sourceLineNo">432</span> * <p>Setting durability to {@link Durability#SKIP_WAL} means that in a fail<a name="line.432"></a>
-<span class="sourceLineNo">433</span> * scenario you will lose any increments that have not been flushed.<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * @param row The row that contains the cell to increment.<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * @param family The column family of the cell to increment.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @param amount The amount to increment the cell with (or decrement, if the<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * amount is negative).<a name="line.438"></a>
-<span class="sourceLineNo">439</span> * @param durability The persistence guarantee for this increment.<a name="line.439"></a>
-<span class="sourceLineNo">440</span> * @return The new value, post increment.<a name="line.440"></a>
-<span class="sourceLineNo">441</span> * @throws IOException if a remote or network exception occurs.<a name="line.441"></a>
-<span class="sourceLineNo">442</span> */<a name="line.442"></a>
-<span class="sourceLineNo">443</span> default long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.443"></a>
-<span class="sourceLineNo">444</span> long amount, Durability durability) throws IOException {<a name="line.444"></a>
-<span class="sourceLineNo">445</span> Increment increment = new Increment(row)<a name="line.445"></a>
-<span class="sourceLineNo">446</span> .addColumn(family, qualifier, amount)<a name="line.446"></a>
-<span class="sourceLineNo">447</span> .setDurability(durability);<a name="line.447"></a>
-<span class="sourceLineNo">448</span> Cell cell = increment(increment).getColumnLatestCell(family, qualifier);<a name="line.448"></a>
-<span class="sourceLineNo">449</span> return Bytes.toLong(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength());<a name="line.449"></a>
-<span class="sourceLineNo">450</span> }<a name="line.450"></a>
-<span class="sourceLineNo">451</span><a name="line.451"></a>
-<span class="sourceLineNo">452</span> /**<a name="line.452"></a>
-<span class="sourceLineNo">453</span> * Releases any resources held or pending changes in internal buffers.<a name="line.453"></a>
-<span class="sourceLineNo">454</span> *<a name="line.454"></a>
-<span class="sourceLineNo">455</span> * @throws IOException if a remote or network exception occurs.<a name="line.455"></a>
-<span class="sourceLineNo">456</span> */<a name="line.456"></a>
-<span class="sourceLineNo">457</span> @Override<a name="line.457"></a>
-<span class="sourceLineNo">458</span> default void close() throws IOException {<a name="line.458"></a>
-<span class="sourceLineNo">459</span> throw new NotImplementedException("Add an implementation!");<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span><a name="line.461"></a>
-<span class="sourceLineNo">462</span> /**<a name="line.462"></a>
-<span class="sourceLineNo">463</span> * Creates and returns a {@link com.google.protobuf.RpcChannel} instance connected to the table<a name="line.463"></a>
-<span class="sourceLineNo">464</span> * region containing the specified row. The row given does not actually have to exist. Whichever<a name="line.464"></a>
-<span class="sourceLineNo">465</span> * region would contain the row based on start and end keys will be used. Note that the<a name="line.465"></a>
-<span class="sourceLineNo">466</span> * {@code row} parameter is also not passed to the coprocessor handler registered for this<a name="line.466"></a>
-<span class="sourceLineNo">467</span> * protocol, unless the {@code row} is separately passed as an argument in the service request.<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * The parameter here is only used to locate the region used to handle the call.<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * <p><a name="line.469"></a>
-<span class="sourceLineNo">470</span> * The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access a published<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * coprocessor {@link com.google.protobuf.Service} using standard protobuf service invocations:<a name="line.471"></a>
-<span class="sourceLineNo">472</span> * </p><a name="line.472"></a>
-<span class="sourceLineNo">473</span> * <div style="background-color: #cccccc; padding: 2px"> <blockquote><a name="line.473"></a>
-<span class="sourceLineNo">474</span> *<a name="line.474"></a>
-<span class="sourceLineNo">475</span> * <pre><a name="line.475"></a>
-<span class="sourceLineNo">476</span> * CoprocessorRpcChannel channel = myTable.coprocessorService(rowkey);<a name="line.476"></a>
-<span class="sourceLineNo">477</span> * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.477"></a>
-<span class="sourceLineNo">478</span> * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.478"></a>
-<span class="sourceLineNo">479</span> * ...<a name="line.479"></a>
-<span class="sourceLineNo">480</span> * .build();<a name="line.480"></a>
-<span class="sourceLineNo">481</span> * MyCallResponse response = service.myCall(null, request);<a name="line.481"></a>
-<span class="sourceLineNo">482</span> * </pre><a name="line.482"></a>
-<span class="sourceLineNo">483</span> *<a name="line.483"></a>
-<span class="sourceLineNo">484</span> * </blockquote></div><a name="line.484"></a>
-<span class="sourceLineNo">485</span> * @param row The row key used to identify the remote region location<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * @return A CoprocessorRpcChannel instance<a name="line.486"></a>
-<span class="sourceLineNo">487</span> * @deprecated since 3.0.0, will removed in 4.0.0. This is too low level, please stop using it any<a name="line.487"></a>
-<span class="sourceLineNo">488</span> * more. Use the coprocessorService methods in {@link AsyncTable} instead.<a name="line.488"></a>
-<span class="sourceLineNo">489</span> * @see Connection#toAsyncConnection()<a name="line.489"></a>
+<span class="sourceLineNo">387</span> interface CheckAndMutateWithFilterBuilder {<a name="line.387"></a>
+<span class="sourceLineNo">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span> /**<a name="line.389"></a>
+<span class="sourceLineNo">390</span> * @param timeRange timeRange to check<a name="line.390"></a>
+<span class="sourceLineNo">391</span> */<a name="line.391"></a>
+<span class="sourceLineNo">392</span> CheckAndMutateWithFilterBuilder timeRange(TimeRange timeRange);<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span> /**<a name="line.394"></a>
+<span class="sourceLineNo">395</span> * @param put data to put if check succeeds<a name="line.395"></a>
+<span class="sourceLineNo">396</span> * @return {@code true} if the new put was executed, {@code false} otherwise.<a name="line.396"></a>
+<span class="sourceLineNo">397</span> */<a name="line.397"></a>
+<span class="sourceLineNo">398</span> boolean thenPut(Put put) throws IOException;<a name="line.398"></a>
+<span class="sourceLineNo">399</span><a name="line.399"></a>
+<span class="sourceLineNo">400</span> /**<a name="line.400"></a>
+<span class="sourceLineNo">401</span> * @param delete data to delete if check succeeds<a name="line.401"></a>
+<span class="sourceLineNo">402</span> * @return {@code true} if the new delete was executed, {@code false} otherwise.<a name="line.402"></a>
+<span class="sourceLineNo">403</span> */<a name="line.403"></a>
+<span class="sourceLineNo">404</span> boolean thenDelete(Delete delete) throws IOException;<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span> /**<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * @param mutation mutations to perform if check succeeds<a name="line.407"></a>
+<span class="sourceLineNo">408</span> * @return true if the new mutation was executed, false otherwise.<a name="line.408"></a>
+<span class="sourceLineNo">409</span> */<a name="line.409"></a>
+<span class="sourceLineNo">410</span> boolean thenMutate(RowMutations mutation) throws IOException;<a name="line.410"></a>
+<span class="sourceLineNo">411</span> }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span> /**<a name="line.413"></a>
+<span class="sourceLineNo">414</span> * Performs multiple mutations atomically on a single row. Currently<a name="line.414"></a>
+<span class="sourceLineNo">415</span> * {@link Put} and {@link Delete} are supported.<a name="line.415"></a>
+<span class="sourceLineNo">416</span> *<a name="line.416"></a>
+<span class="sourceLineNo">417</span> * @param rm object that specifies the set of mutations to perform atomically<a name="line.417"></a>
+<span class="sourceLineNo">418</span> * @throws IOException<a name="line.418"></a>
+<span class="sourceLineNo">419</span> */<a name="line.419"></a>
+<span class="sourceLineNo">420</span> default void mutateRow(final RowMutations rm) throws IOException {<a name="line.420"></a>
+<span class="sourceLineNo">421</span> throw new NotImplementedException("Add an implementation!");<a name="line.421"></a>
+<span class="sourceLineNo">422</span> }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span> /**<a name="line.424"></a>
+<span class="sourceLineNo">425</span> * Appends values to one or more columns within a single row.<a name="line.425"></a>
+<span class="sourceLineNo">426</span> * <p><a name="line.426"></a>
+<span class="sourceLineNo">427</span> * This operation guaranteed atomicity to readers. Appends are done<a name="line.427"></a>
+<span class="sourceLineNo">428</span> * under a single row lock, so write operations to a row are synchronized, and<a name="line.428"></a>
+<span class="sourceLineNo">429</span> * readers are guaranteed to see this operation fully completed.<a name="line.429"></a>
+<span class="sourceLineNo">430</span> *<a name="line.430"></a>
+<span class="sourceLineNo">431</span> * @param append object that specifies the columns and values to be appended<a name="line.431"></a>
+<span class="sourceLineNo">432</span> * @throws IOException e<a name="line.432"></a>
+<span class="sourceLineNo">433</span> * @return values of columns after the append operation (maybe null)<a name="line.433"></a>
+<span class="sourceLineNo">434</span> */<a name="line.434"></a>
+<span class="sourceLineNo">435</span> default Result append(final Append append) throws IOException {<a name="line.435"></a>
+<span class="sourceLineNo">436</span> throw new NotImplementedException("Add an implementation!");<a name="line.436"></a>
+<span class="sourceLineNo">437</span> }<a name="line.437"></a>
+<span class="sourceLineNo">438</span><a name="line.438"></a>
+<span class="sourceLineNo">439</span> /**<a name="line.439"></a>
+<span class="sourceLineNo">440</span> * Increments one or more columns within a single row.<a name="line.440"></a>
+<span class="sourceLineNo">441</span> * <p><a name="line.441"></a>
+<span class="sourceLineNo">442</span> * This operation ensures atomicity to readers. Increments are done<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * under a single row lock, so write operations to a row are synchronized, and<a name="line.443"></a>
+<span class="sourceLineNo">444</span> * readers are guaranteed to see this operation fully completed.<a name="line.444"></a>
+<span class="sourceLineNo">445</span> *<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @param increment object that specifies the columns and amounts to be used<a name="line.446"></a>
+<span class="sourceLineNo">447</span> * for the increment operations<a name="line.447"></a>
+<span class="sourceLineNo">448</span> * @throws IOException e<a name="line.448"></a>
+<span class="sourceLineNo">449</span> * @return values of columns after the increment<a name="line.449"></a>
+<span class="sourceLineNo">450</span> */<a name="line.450"></a>
+<span class="sourceLineNo">451</span> default Result increment(final Increment increment) throws IOException {<a name="line.451"></a>
+<span class="sourceLineNo">452</span> throw new NotImplementedException("Add an implementation!");<a name="line.452"></a>
+<span class="sourceLineNo">453</span> }<a name="line.453"></a>
+<span class="sourceLineNo">454</span><a name="line.454"></a>
+<span class="sourceLineNo">455</span> /**<a name="line.455"></a>
+<span class="sourceLineNo">456</span> * See {@link #incrementColumnValue(byte[], byte[], byte[], long, Durability)}<a name="line.456"></a>
+<span class="sourceLineNo">457</span> * <p><a name="line.457"></a>
+<span class="sourceLineNo">458</span> * The {@link Durability} is defaulted to {@link Durability#SYNC_WAL}.<a name="line.458"></a>
+<span class="sourceLineNo">459</span> * @param row The row that contains the cell to increment.<a name="line.459"></a>
+<span class="sourceLineNo">460</span> * @param family The column family of the cell to increment.<a name="line.460"></a>
+<span class="sourceLineNo">461</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.461"></a>
+<span class="sourceLineNo">462</span> * @param amount The amount to increment the cell with (or decrement, if the<a name="line.462"></a>
+<span class="sourceLineNo">463</span> * amount is negative).<a name="line.463"></a>
+<span class="sourceLineNo">464</span> * @return The new value, post increment.<a name="line.464"></a>
+<span class="sourceLineNo">465</span> * @throws IOException if a remote or network exception occurs.<a name="line.465"></a>
+<span class="sourceLineNo">466</span> */<a name="line.466"></a>
+<span class="sourceLineNo">467</span> default long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)<a name="line.467"></a>
+<span class="sourceLineNo">468</span> throws IOException {<a name="line.468"></a>
+<span class="sourceLineNo">469</span> Increment increment = new Increment(row).addColumn(family, qualifier, amount);<a name="line.469"></a>
+<span class="sourceLineNo">470</span> Cell cell = increment(increment).getColumnLatestCell(family, qualifier);<a name="line.470"></a>
+<span class="sourceLineNo">471</span> return Bytes.toLong(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength());<a name="line.471"></a>
+<span class="sourceLineNo">472</span> }<a name="line.472"></a>
+<span class="sourceLineNo">473</span><a name="line.473"></a>
+<span class="sourceLineNo">474</span> /**<a name="line.474"></a>
+<span class="sourceLineNo">475</span> * Atomically increments a column value. If the column value already exists<a name="line.475"></a>
+<span class="sourceLineNo">476</span> * and is not a big-endian long, this could throw an exception. If the column<a name="line.476"></a>
+<span class="sourceLineNo">477</span> * value does not yet exist it is initialized to <code>amount</code> and<a name="line.477"></a>
+<span class="sourceLineNo">478</span> * written to the specified column.<a name="line.478"></a>
+<span class="sourceLineNo">479</span> *<a name="line.479"></a>
+<span class="sourceLineNo">480</span> * <p>Setting durability to {@link Durability#SKIP_WAL} means that in a fail<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * scenario you will lose any increments that have not been flushed.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param row The row that contains the cell to increment.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * @param family The column family of the cell to increment.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> * @param qualifier The column qualifier of the cell to increment.<a name="line.484"></a>
+<span class="sourceLineNo">485</span> * @param amount The amount to increment the cell with (or decrement, if the<a name="line.485"></a>
+<span class="sourceLineNo">486</span> * amount is negative).<a name="line.486"></a>
+<span class="sourceLineNo">487</span> * @param durability The persistence guarantee for this increment.<a name="line.487"></a>
+<span class="sourceLineNo">488</span> * @return The new value, post increment.<a name="line.488"></a>
+<span class="sourceLineNo">489</span> * @throws IOException if a remote or network exception occurs.<a name="line.489"></a>
<span class="sourceLineNo">490</span> */<a name="line.490"></a>
-<span class="sourceLineNo">491</span> @Deprecated<a name="line.491"></a>
-<span class="sourceLineNo">492</span> default CoprocessorRpcChannel coprocessorService(byte[] row) {<a name="line.492"></a>
-<span class="sourceLineNo">493</span> throw new NotImplementedException("Add an implementation!");<a name="line.493"></a>
-<span class="sourceLineNo">494</span> }<a name="line.494"></a>
-<span class="sourceLineNo">495</span><a name="line.495"></a>
-<span class="sourceLineNo">496</span> /**<a name="line.496"></a>
-<span class="sourceLineNo">497</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), and<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * invokes the passed {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * with each {@link com.google.protobuf.Service} instance.<a name="line.500"></a>
-<span class="sourceLineNo">501</span> * @param service the protocol buffer {@code Service} implementation to call<a name="line.501"></a>
-<span class="sourceLineNo">502</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.502"></a>
-<span class="sourceLineNo">503</span> * selection will start with the first table region.<a name="line.503"></a>
-<span class="sourceLineNo">504</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.504"></a>
-<span class="sourceLineNo">505</span> * {@code null}, selection will continue through the last table region.<a name="line.505"></a>
-<span class="sourceLineNo">506</span> * @param callable this instance's<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method will be<a name="line.507"></a>
-<span class="sourceLineNo">508</span> * invoked once per table region, using the {@link com.google.protobuf.Service} instance<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * connected to that region.<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * @param <T> the {@link com.google.protobuf.Service} subclass to connect to<a name="line.510"></a>
-<span class="sourceLineNo">511</span> * @param <R> Return type for the {@code callable} parameter's<a name="line.511"></a>
-<span class="sourceLineNo">512</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.512"></a>
-<span class="sourceLineNo">513</span> * @return a map of result values keyed by region name<a name="line.513"></a>
-<span class="sourceLineNo">514</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.514"></a>
-<span class="sourceLineNo">515</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.515"></a>
-<span class="sourceLineNo">516</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.516"></a>
-<span class="sourceLineNo">517</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.517"></a>
-<span class="sourceLineNo">518</span> * {@link AsyncTable} directly instead.<a name="line.518"></a>
-<span class="sourceLineNo">519</span> * @see Connection#toAsyncConnection()<a name="line.519"></a>
-<span class="sourceLineNo">520</span> */<a name="line.520"></a>
-<span class="sourceLineNo">521</span> @Deprecated<a name="line.521"></a>
-<span class="sourceLineNo">522</span> default <T extends Service, R> Map<byte[], R> coprocessorService(final Class<T> service,<a name="line.522"></a>
-<span class="sourceLineNo">523</span> byte[] startKey, byte[] endKey, final Batch.Call<T, R> callable)<a name="line.523"></a>
-<span class="sourceLineNo">524</span> throws ServiceException, Throwable {<a name="line.524"></a>
-<span class="sourceLineNo">525</span> Map<byte[], R> results =<a name="line.525"></a>
-<span class="sourceLineNo">526</span> Collections.synchronizedMap(new TreeMap<byte[], R>(Bytes.BYTES_COMPARATOR));<a name="line.526"></a>
-<span class="sourceLineNo">527</span> coprocessorService(service, startKey, endKey, callable, new Batch.Callback<R>() {<a name="line.527"></a>
-<span class="sourceLineNo">528</span> @Override<a name="line.528"></a>
-<span class="sourceLineNo">529</span> public void update(byte[] region, byte[] row, R value) {<a name="line.529"></a>
-<span class="sourceLineNo">530</span> if (region != null) {<a name="line.530"></a>
-<span class="sourceLineNo">531</span> results.put(region, value);<a name="line.531"></a>
-<span class="sourceLineNo">532</span> }<a name="line.532"></a>
-<span class="sourceLineNo">533</span> }<a name="line.533"></a>
-<span class="sourceLineNo">534</span> });<a name="line.534"></a>
-<span class="sourceLineNo">535</span> return results;<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> /**<a name="line.538"></a>
-<span class="sourceLineNo">539</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.539"></a>
-<span class="sourceLineNo">540</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), and<a name="line.540"></a>
-<span class="sourceLineNo">541</span> * invokes the passed {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.541"></a>
-<span class="sourceLineNo">542</span> * with each {@link Service} instance.<a name="line.542"></a>
-<span class="sourceLineNo">543</span> * <p><a name="line.543"></a>
-<span class="sourceLineNo">544</span> * The given<a name="line.544"></a>
-<span class="sourceLineNo">545</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Callback#update(byte[],byte[],Object)}<a name="line.545"></a>
-<span class="sourceLineNo">546</span> * method will be called with the return value from each region's<a name="line.546"></a>
-<span class="sourceLineNo">547</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} invocation.<a name="line.547"></a>
-<span class="sourceLineNo">548</span> * </p><a name="line.548"></a>
+<span class="sourceLineNo">491</span> default long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,<a name="line.491"></a>
+<span class="sourceLineNo">492</span> long amount, Durability durability) throws IOException {<a name="line.492"></a>
+<span class="sourceLineNo">493</span> Increment increment = new Increment(row)<a name="line.493"></a>
+<span class="sourceLineNo">494</span> .addColumn(family, qualifier, amount)<a name="line.494"></a>
+<span class="sourceLineNo">495</span> .setDurability(durability);<a name="line.495"></a>
+<span class="sourceLineNo">496</span> Cell cell = increment(increment).getColumnLatestCell(family, qualifier);<a name="line.496"></a>
+<span class="sourceLineNo">497</span> return Bytes.toLong(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength());<a name="line.497"></a>
+<span class="sourceLineNo">498</span> }<a name="line.498"></a>
+<span class="sourceLineNo">499</span><a name="line.499"></a>
+<span class="sourceLineNo">500</span> /**<a name="line.500"></a>
+<span class="sourceLineNo">501</span> * Releases any resources held or pending changes in internal buffers.<a name="line.501"></a>
+<span class="sourceLineNo">502</span> *<a name="line.502"></a>
+<span class="sourceLineNo">503</span> * @throws IOException if a remote or network exception occurs.<a name="line.503"></a>
+<span class="sourceLineNo">504</span> */<a name="line.504"></a>
+<span class="sourceLineNo">505</span> @Override<a name="line.505"></a>
+<span class="sourceLineNo">506</span> default void close() throws IOException {<a name="line.506"></a>
+<span class="sourceLineNo">507</span> throw new NotImplementedException("Add an implementation!");<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> * Creates and returns a {@link com.google.protobuf.RpcChannel} instance connected to the table<a name="line.511"></a>
+<span class="sourceLineNo">512</span> * region containing the specified row. The row given does not actually have to exist. Whichever<a name="line.512"></a>
+<span class="sourceLineNo">513</span> * region would contain the row based on start and end keys will be used. Note that the<a name="line.513"></a>
+<span class="sourceLineNo">514</span> * {@code row} parameter is also not passed to the coprocessor handler registered for this<a name="line.514"></a>
+<span class="sourceLineNo">515</span> * protocol, unless the {@code row} is separately passed as an argument in the service request.<a name="line.515"></a>
+<span class="sourceLineNo">516</span> * The parameter here is only used to locate the region used to handle the call.<a name="line.516"></a>
+<span class="sourceLineNo">517</span> * <p><a name="line.517"></a>
+<span class="sourceLineNo">518</span> * The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access a published<a name="line.518"></a>
+<span class="sourceLineNo">519</span> * coprocessor {@link com.google.protobuf.Service} using standard protobuf service invocations:<a name="line.519"></a>
+<span class="sourceLineNo">520</span> * </p><a name="line.520"></a>
+<span class="sourceLineNo">521</span> * <div style="background-color: #cccccc; padding: 2px"> <blockquote><a name="line.521"></a>
+<span class="sourceLineNo">522</span> *<a name="line.522"></a>
+<span class="sourceLineNo">523</span> * <pre><a name="line.523"></a>
+<span class="sourceLineNo">524</span> * CoprocessorRpcChannel channel = myTable.coprocessorService(rowkey);<a name="line.524"></a>
+<span class="sourceLineNo">525</span> * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.525"></a>
+<span class="sourceLineNo">526</span> * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.526"></a>
+<span class="sourceLineNo">527</span> * ...<a name="line.527"></a>
+<span class="sourceLineNo">528</span> * .build();<a name="line.528"></a>
+<span class="sourceLineNo">529</span> * MyCallResponse response = service.myCall(null, request);<a name="line.529"></a>
+<span class="sourceLineNo">530</span> * </pre><a name="line.530"></a>
+<span class="sourceLineNo">531</span> *<a name="line.531"></a>
+<span class="sourceLineNo">532</span> * </blockquote></div><a name="line.532"></a>
+<span class="sourceLineNo">533</span> * @param row The row key used to identify the remote region location<a name="line.533"></a>
+<span class="sourceLineNo">534</span> * @return A CoprocessorRpcChannel instance<a name="line.534"></a>
+<span class="sourceLineNo">535</span> * @deprecated since 3.0.0, will removed in 4.0.0. This is too low level, please stop using it any<a name="line.535"></a>
+<span class="sourceLineNo">536</span> * more. Use the coprocessorService methods in {@link AsyncTable} instead.<a name="line.536"></a>
+<span class="sourceLineNo">537</span> * @see Connection#toAsyncConnection()<a name="line.537"></a>
+<span class="sourceLineNo">538</span> */<a name="line.538"></a>
+<span class="sourceLineNo">539</span> @Deprecated<a name="line.539"></a>
+<span class="sourceLineNo">540</span> default CoprocessorRpcChannel coprocessorService(byte[] row) {<a name="line.540"></a>
+<span class="sourceLineNo">541</span> throw new NotImplementedException("Add an implementation!");<a name="line.541"></a>
+<span class="sourceLineNo">542</span> }<a name="line.542"></a>
+<span class="sourceLineNo">543</span><a name="line.543"></a>
+<span class="sourceLineNo">544</span> /**<a name="line.544"></a>
+<span class="sourceLineNo">545</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.545"></a>
+<span class="sourceLineNo">546</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), and<a name="line.546"></a>
+<span class="sourceLineNo">547</span> * invokes the passed {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.547"></a>
+<span class="sourceLineNo">548</span> * with each {@link com.google.protobuf.Service} instance.<a name="line.548"></a>
<span class="sourceLineNo">549</span> * @param service the protocol buffer {@code Service} implementation to call<a name="line.549"></a>
<span class="sourceLineNo">550</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.550"></a>
<span class="sourceLineNo">551</span> * selection will start with the first table region.<a name="line.551"></a>
@@ -561,137 +561,185 @@
<span class="sourceLineNo">553</span> * {@code null}, selection will continue through the last table region.<a name="line.553"></a>
<span class="sourceLineNo">554</span> * @param callable this instance's<a name="line.554"></a>
<span class="sourceLineNo">555</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method will be<a name="line.555"></a>
-<span class="sourceLineNo">556</span> * invoked once per table region, using the {@link Service} instance connected to that<a name="line.556"></a>
-<span class="sourceLineNo">557</span> * region.<a name="line.557"></a>
-<span class="sourceLineNo">558</span> * @param <T> the {@link Service} subclass to connect to<a name="line.558"></a>
+<span class="sourceLineNo">556</span> * invoked once per table region, using the {@link com.google.protobuf.Service} instance<a name="line.556"></a>
+<span class="sourceLineNo">557</span> * connected to that region.<a name="line.557"></a>
+<span class="sourceLineNo">558</span> * @param <T> the {@link com.google.protobuf.Service} subclass to connect to<a name="line.558"></a>
<span class="sourceLineNo">559</span> * @param <R> Return type for the {@code callable} parameter's<a name="line.559"></a>
<span class="sourceLineNo">560</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.560"></a>
-<span class="sourceLineNo">561</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.561"></a>
-<span class="sourceLineNo">562</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.562"></a>
-<span class="sourceLineNo">563</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.563"></a>
-<span class="sourceLineNo">564</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.564"></a>
-<span class="sourceLineNo">565</span> * {@link AsyncTable} directly instead.<a name="line.565"></a>
-<span class="sourceLineNo">566</span> * @see Connection#toAsyncConnection()<a name="line.566"></a>
-<span class="sourceLineNo">567</span> */<a name="line.567"></a>
-<span class="sourceLineNo">568</span> @Deprecated<a name="line.568"></a>
-<span class="sourceLineNo">569</span> default <T extends Service, R> void coprocessorService(final Class<T> service, byte[] startKey,<a name="line.569"></a>
-<span class="sourceLineNo">570</span> byte[] endKey, final Batch.Call<T, R> callable, final Batch.Callback<R> callback)<a name="line.570"></a>
-<span class="sourceLineNo">571</span> throws ServiceException, Throwable {<a name="line.571"></a>
-<span class="sourceLineNo">572</span> throw new NotImplementedException("Add an implementation!");<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> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.576"></a>
-<span class="sourceLineNo">577</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), all<a name="line.577"></a>
-<span class="sourceLineNo">578</span> * the invocations to the same region server will be batched into one call. The coprocessor<a name="line.578"></a>
-<span class="sourceLineNo">579</span> * service is invoked according to the service instance, method name and parameters.<a name="line.579"></a>
-<span class="sourceLineNo">580</span> * @param methodDescriptor the descriptor for the protobuf service method to call.<a name="line.580"></a>
-<span class="sourceLineNo">581</span> * @param request the method call parameters<a name="line.581"></a>
-<span class="sourceLineNo">582</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.582"></a>
-<span class="sourceLineNo">583</span> * selection will start with the first table region.<a name="line.583"></a>
-<span class="sourceLineNo">584</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.584"></a>
-<span class="sourceLineNo">585</span> * {@code null}, selection will continue through the last table region.<a name="line.585"></a>
-<span class="sourceLineNo">586</span> * @param responsePrototype the proto type of the response of the method in Service.<a name="line.586"></a>
-<span class="sourceLineNo">587</span> * @param <R> the response type for the coprocessor Service method<a name="line.587"></a>
-<span class="sourceLineNo">588</span> * @return a map of result values keyed by region name<a name="line.588"></a>
-<span class="sourceLineNo">589</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.589"></a>
-<span class="sourceLineNo">590</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.590"></a>
-<span class="sourceLineNo">591</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.591"></a>
-<span class="sourceLineNo">592</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.592"></a>
-<span class="sourceLineNo">593</span> * {@link AsyncTable} directly instead.<a name="line.593"></a>
-<span class="sourceLineNo">594</span> * @see Connection#toAsyncConnection()<a name="line.594"></a>
-<span class="sourceLineNo">595</span> */<a name="line.595"></a>
-<span class="sourceLineNo">596</span> @Deprecated<a name="line.596"></a>
-<span class="sourceLineNo">597</span> default <R extends Message> Map<byte[], R> batchCoprocessorService(<a name="line.597"></a>
-<span class="sourceLineNo">598</span> Descriptors.MethodDescriptor methodDescriptor, Message request, byte[] startKey,<a name="line.598"></a>
-<span class="sourceLineNo">599</span> byte[] endKey, R responsePrototype) throws ServiceException, Throwable {<a name="line.599"></a>
-<span class="sourceLineNo">600</span> final Map<byte[], R> results =<a name="line.600"></a>
-<span class="sourceLineNo">601</span> Collections.synchronizedMap(new TreeMap<byte[], R>(Bytes.BYTES_COMPARATOR));<a name="line.601"></a>
-<span class="sourceLineNo">602</span> batchCoprocessorService(methodDescriptor, request, startKey, endKey, responsePrototype,<a name="line.602"></a>
-<span class="sourceLineNo">603</span> new Callback<R>() {<a name="line.603"></a>
-<span class="sourceLineNo">604</span> @Override<a name="line.604"></a>
-<span class="sourceLineNo">605</span> public void update(byte[] region, byte[] row, R result) {<a name="line.605"></a>
-<span class="sourceLineNo">606</span> if (region != null) {<a name="line.606"></a>
-<span class="sourceLineNo">607</span> results.put(region, result);<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> return results;<a name="line.611"></a>
-<span class="sourceLineNo">612</span> }<a name="line.612"></a>
-<span class="sourceLineNo">613</span><a name="line.613"></a>
-<span class="sourceLineNo">614</span> /**<a name="line.614"></a>
-<span class="sourceLineNo">615</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.615"></a>
-<span class="sourceLineNo">616</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), all<a name="line.616"></a>
-<span class="sourceLineNo">617</span> * the invocations to the same region server will be batched into one call. The coprocessor<a name="line.617"></a>
-<span class="sourceLineNo">618</span> * service is invoked according to the service instance, method name and parameters.<a name="line.618"></a>
-<span class="sourceLineNo">619</span> * <p><a name="line.619"></a>
-<span class="sourceLineNo">620</span> * The given<a name="line.620"></a>
-<span class="sourceLineNo">621</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Callback#update(byte[],byte[],Object)}<a name="line.621"></a>
-<span class="sourceLineNo">622</span> * method will be called with the return value from each region's invocation.<a name="line.622"></a>
-<span class="sourceLineNo">623</span> * </p><a name="line.623"></a>
-<span class="sourceLineNo">624</span> * @param methodDescriptor the descriptor for the protobuf service method to call.<a name="line.624"></a>
-<span class="sourceLineNo">625</span> * @param request the method call parameters<a name="line.625"></a>
-<span class="sourceLineNo">626</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.626"></a>
-<span class="sourceLineNo">627</span> * selection will start with the first table region.<a name="line.627"></a>
-<span class="sourceLineNo">628</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.628"></a>
-<span class="sourceLineNo">629</span> * {@code null}, selection will continue through the last table region.<a name="line.629"></a>
-<span class="sourceLineNo">630</span> * @param responsePrototype the proto type of the response of the method in Service.<a name="line.630"></a>
-<span class="sourceLineNo">631</span> * @param callback callback to invoke with the response for each region<a name="line.631"></a>
-<span class="sourceLineNo">632</span> * @param <R> the response type for the coprocessor Service method<a name="line.632"></a>
-<span class="sourceLineNo">633</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.633"></a>
-<span class="sourceLineNo">634</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.634"></a>
-<span class="sourceLineNo">635</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.635"></a>
-<span class="sourceLineNo">636</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.636"></a>
-<span class="sourceLineNo">637</span> * {@link AsyncTable} directly instead.<a name="line.637"></a>
-<span class="sourceLineNo">638</span> * @see Connection#toAsyncConnection()<a name="line.638"></a>
-<span class="sourceLineNo">639</span> */<a name="line.639"></a>
-<span class="sourceLineNo">640</span> @Deprecated<a name="line.640"></a>
-<span class="sourceLineNo">641</span> default <R extends Message> void batchCoprocessorService(<a name="line.641"></a>
-<span class="sourceLineNo">642</span> Descriptors.MethodDescriptor methodDescriptor, Message request, byte[] startKey,<a name="line.642"></a>
-<span class="sourceLineNo">643</span> byte[] endKey, R responsePrototype, Batch.Callback<R> callback)<a name="line.643"></a>
-<span class="sourceLineNo">644</span> throws ServiceException, Throwable {<a name="line.644"></a>
-<span class="sourceLineNo">645</span> throw new NotImplementedException("Add an implementation!");<a name="line.645"></a>
-<span class="sourceLineNo">646</span> }<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> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.649"></a>
-<span class="sourceLineNo">650</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.650"></a>
-<span class="sourceLineNo">651</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.651"></a>
-<span class="sourceLineNo">652</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.652"></a>
-<span class="sourceLineNo">653</span> * @param unit the unit of time the timeout to be represented in<a name="line.653"></a>
-<span class="sourceLineNo">654</span> * @return rpc timeout in the specified time unit<a name="line.654"></a>
-<span class="sourceLineNo">655</span> */<a name="line.655"></a>
-<span class="sourceLineNo">656</span> default long getRpcTimeout(TimeUnit unit) {<a name="line.656"></a>
-<span class="sourceLineNo">657</span> throw new NotImplementedException("Add an implementation!");<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> * Get timeout of each rpc read request in this Table instance.<a name="line.661"></a>
-<span class="sourceLineNo">662</span> * @param unit the unit of time the timeout to be represented in<a name="line.662"></a>
-<span class="sourceLineNo">663</span> * @return read rpc timeout in the specified time unit<a name="line.663"></a>
-<span class="sourceLineNo">664</span> */<a name="line.664"></a>
-<span class="sourceLineNo">665</span> default long getReadRpcTimeout(TimeUnit unit) {<a name="line.665"></a>
-<span class="sourceLineNo">666</span> throw new NotImplementedException("Add an implementation!");<a name="line.666"></a>
-<span class="sourceLineNo">667</span> }<a name="line.667"></a>
-<span class="sourceLineNo">668</span><a name="line.668"></a>
-<span class="sourceLineNo">669</span> /**<a name="line.669"></a>
-<span class="sourceLineNo">670</span> * Get timeout of each rpc write request in this Table instance.<a name="line.670"></a>
-<span class="sourceLineNo">671</span> * @param unit the unit of time the timeout to be represented in<a name="line.671"></a>
-<span class="sourceLineNo">672</span> * @return write rpc timeout in the specified time unit<a name="line.672"></a>
-<span class="sourceLineNo">673</span> */<a name="line.673"></a>
-<span class="sourceLineNo">674</span> default long getWriteRpcTimeout(TimeUnit unit) {<a name="line.674"></a>
-<span class="sourceLineNo">675</span> throw new NotImplementedException("Add an implementation!");<a name="line.675"></a>
-<span class="sourceLineNo">676</span> }<a name="line.676"></a>
-<span class="sourceLineNo">677</span><a name="line.677"></a>
-<span class="sourceLineNo">678</span> /**<a name="line.678"></a>
-<span class="sourceLineNo">679</span> * Get timeout of each operation in Table instance.<a name="line.679"></a>
-<span class="sourceLineNo">680</span> * @param unit the unit of time the timeout to be represented in<a name="line.680"></a>
-<span class="sourceLineNo">681</span> * @return operation rpc timeout in the specified time unit<a name="line.681"></a>
-<span class="sourceLineNo">682</span> */<a name="line.682"></a>
-<span class="sourceLineNo">683</span> default long getOperationTimeout(TimeUnit unit) {<a name="line.683"></a>
-<span class="sourceLineNo">684</span> throw new NotImplementedException("Add an implementation!");<a name="line.684"></a>
-<span class="sourceLineNo">685</span> }<a name="line.685"></a>
-<span class="sourceLineNo">686</span>}<a name="line.686"></a>
+<span class="sourceLineNo">561</span> * @return a map of result values keyed by region name<a name="line.561"></a>
+<span class="sourceLineNo">562</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.562"></a>
+<span class="sourceLineNo">563</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.563"></a>
+<span class="sourceLineNo">564</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.564"></a>
+<span class="sourceLineNo">565</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.565"></a>
+<span class="sourceLineNo">566</span> * {@link AsyncTable} directly instead.<a name="line.566"></a>
+<span class="sourceLineNo">567</span> * @see Connection#toAsyncConnection()<a name="line.567"></a>
+<span class="sourceLineNo">568</span> */<a name="line.568"></a>
+<span class="sourceLineNo">569</span> @Deprecated<a name="line.569"></a>
+<span class="sourceLineNo">570</span> default <T extends Service, R> Map<byte[], R> coprocessorService(final Class<T> service,<a name="line.570"></a>
+<span class="sourceLineNo">571</span> byte[] startKey, byte[] endKey, final Batch.Call<T, R> callable)<a name="line.571"></a>
+<span class="sourceLineNo">572</span> throws ServiceException, Throwable {<a name="line.572"></a>
+<span class="sourceLineNo">573</span> Map<byte[], R> results =<a name="line.573"></a>
+<span class="sourceLineNo">574</span> Collections.synchronizedMap(new TreeMap<byte[], R>(Bytes.BYTES_COMPARATOR));<a name="line.574"></a>
+<span class="sourceLineNo">575</span> coprocessorService(service, startKey, endKey, callable, new Batch.Callback<R>() {<a name="line.575"></a>
+<span class="sourceLineNo">576</span> @Override<a name="line.576"></a>
+<span class="sourceLineNo">577</span> public void update(byte[] region, byte[] row, R value) {<a name="line.577"></a>
+<span class="sourceLineNo">578</span> if (region != null) {<a name="line.578"></a>
+<span class="sourceLineNo">579</span> results.put(region, value);<a name="line.579"></a>
+<span class="sourceLineNo">580</span> }<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> return results;<a name="line.583"></a>
+<span class="sourceLineNo">584</span> }<a name="line.584"></a>
+<span class="sourceLineNo">585</span><a name="line.585"></a>
+<span class="sourceLineNo">586</span> /**<a name="line.586"></a>
+<span class="sourceLineNo">587</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.587"></a>
+<span class="sourceLineNo">588</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), and<a name="line.588"></a>
+<span class="sourceLineNo">589</span> * invokes the passed {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.589"></a>
+<span class="sourceLineNo">590</span> * with each {@link Service} instance.<a name="line.590"></a>
+<span class="sourceLineNo">591</span> * <p><a name="line.591"></a>
+<span class="sourceLineNo">592</span> * The given<a name="line.592"></a>
+<span class="sourceLineNo">593</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Callback#update(byte[],byte[],Object)}<a name="line.593"></a>
+<span class="sourceLineNo">594</span> * method will be called with the return value from each region's<a name="line.594"></a>
+<span class="sourceLineNo">595</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} invocation.<a name="line.595"></a>
+<span class="sourceLineNo">596</span> * </p><a name="line.596"></a>
+<span class="sourceLineNo">597</span> * @param service the protocol buffer {@code Service} implementation to call<a name="line.597"></a>
+<span class="sourceLineNo">598</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.598"></a>
+<span class="sourceLineNo">599</span> * selection will start with the first table region.<a name="line.599"></a>
+<span class="sourceLineNo">600</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.600"></a>
+<span class="sourceLineNo">601</span> * {@code null}, selection will continue through the last table region.<a name="line.601"></a>
+<span class="sourceLineNo">602</span> * @param callable this instance's<a name="line.602"></a>
+<span class="sourceLineNo">603</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method will be<a name="line.603"></a>
+<span class="sourceLineNo">604</span> * invoked once per table region, using the {@link Service} instance connected to that<a name="line.604"></a>
+<span class="sourceLineNo">605</span> * region.<a name="line.605"></a>
+<span class="sourceLineNo">606</span> * @param <T> the {@link Service} subclass to connect to<a name="line.606"></a>
+<span class="sourceLineNo">607</span> * @param <R> Return type for the {@code callable} parameter's<a name="line.607"></a>
+<span class="sourceLineNo">608</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Call#call} method<a name="line.608"></a>
+<span class="sourceLineNo">609</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.609"></a>
+<span class="sourceLineNo">610</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.610"></a>
+<span class="sourceLineNo">611</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.611"></a>
+<span class="sourceLineNo">612</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.612"></a>
+<span class="sourceLineNo">613</span> * {@link AsyncTable} directly instead.<a name="line.613"></a>
+<span class="sourceLineNo">614</span> * @see Connection#toAsyncConnection()<a name="line.614"></a>
+<span class="sourceLineNo">615</span> */<a name="line.615"></a>
+<span class="sourceLineNo">616</span> @Deprecated<a name="line.616"></a>
+<span class="sourceLineNo">617</span> default <T extends Service, R> void coprocessorService(final Class<T> service, byte[] startKey,<a name="line.617"></a>
+<span class="sourceLineNo">618</span> byte[] endKey, final Batch.Call<T, R> callable, final Batch.Callback<R> callback)<a name="line.618"></a>
+<span class="sourceLineNo">619</span> throws ServiceException, Throwable {<a name="line.619"></a>
+<span class="sourceLineNo">620</span> throw new NotImplementedException("Add an implementation!");<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> /**<a name="line.623"></a>
+<span class="sourceLineNo">624</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.624"></a>
+<span class="sourceLineNo">625</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), all<a name="line.625"></a>
+<span class="sourceLineNo">626</span> * the invocations to the same region server will be batched into one call. The coprocessor<a name="line.626"></a>
+<span class="sourceLineNo">627</span> * service is invoked according to the service instance, method name and parameters.<a name="line.627"></a>
+<span class="sourceLineNo">628</span> * @param methodDescriptor the descriptor for the protobuf service method to call.<a name="line.628"></a>
+<span class="sourceLineNo">629</span> * @param request the method call parameters<a name="line.629"></a>
+<span class="sourceLineNo">630</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.630"></a>
+<span class="sourceLineNo">631</span> * selection will start with the first table region.<a name="line.631"></a>
+<span class="sourceLineNo">632</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.632"></a>
+<span class="sourceLineNo">633</span> * {@code null}, selection will continue through the last table region.<a name="line.633"></a>
+<span class="sourceLineNo">634</span> * @param responsePrototype the proto type of the response of the method in Service.<a name="line.634"></a>
+<span class="sourceLineNo">635</span> * @param <R> the response type for the coprocessor Service method<a name="line.635"></a>
+<span class="sourceLineNo">636</span> * @return a map of result values keyed by region name<a name="line.636"></a>
+<span class="sourceLineNo">637</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.637"></a>
+<span class="sourceLineNo">638</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.638"></a>
+<span class="sourceLineNo">639</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.639"></a>
+<span class="sourceLineNo">640</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.640"></a>
+<span class="sourceLineNo">641</span> * {@link AsyncTable} directly instead.<a name="line.641"></a>
+<span class="sourceLineNo">642</span> * @see Connection#toAsyncConnection()<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> default <R extends Message> Map<byte[], R> batchCoprocessorService(<a name="line.645"></a>
+<span class="sourceLineNo">646</span> Descriptors.MethodDescriptor methodDescriptor, Message request, byte[] startKey,<a name="line.646"></a>
+<span class="sourceLineNo">647</span> byte[] endKey, R responsePrototype) throws ServiceException, Throwable {<a name="line.647"></a>
+<span class="sourceLineNo">648</span> final Map<byte[], R> results =<a name="line.648"></a>
+<span class="sourceLineNo">649</span> Collections.synchronizedMap(new TreeMap<byte[], R>(Bytes.BYTES_COMPARATOR));<a name="line.649"></a>
+<span class="sourceLineNo">650</span> batchCoprocessorService(methodDescriptor, request, startKey, endKey, responsePrototype,<a name="line.650"></a>
+<span class="sourceLineNo">651</span> new Callback<R>() {<a name="line.651"></a>
+<span class="sourceLineNo">652</span> @Override<a name="line.652"></a>
+<span class="sourceLineNo">653</span> public void update(byte[] region, byte[] row, R result) {<a name="line.653"></a>
+<span class="sourceLineNo">654</span> if (region != null) {<a name="line.654"></a>
+<span class="sourceLineNo">655</span> results.put(region, result);<a name="line.655"></a>
+<span class="sourceLineNo">656</span> }<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> return results;<a name="line.659"></a>
+<span class="sourceLineNo">660</span> }<a name="line.660"></a>
+<span class="sourceLineNo">661</span><a name="line.661"></a>
+<span class="sourceLineNo">662</span> /**<a name="line.662"></a>
+<span class="sourceLineNo">663</span> * Creates an instance of the given {@link com.google.protobuf.Service} subclass for each table<a name="line.663"></a>
+<span class="sourceLineNo">664</span> * region spanning the range from the {@code startKey} row to {@code endKey} row (inclusive), all<a name="line.664"></a>
+<span class="sourceLineNo">665</span> * the invocations to the same region server will be batched into one call. The coprocessor<a name="line.665"></a>
+<span class="sourceLineNo">666</span> * service is invoked according to the service instance, method name and parameters.<a name="line.666"></a>
+<span class="sourceLineNo">667</span> * <p><a name="line.667"></a>
+<span class="sourceLineNo">668</span> * The given<a name="line.668"></a>
+<span class="sourceLineNo">669</span> * {@link org.apache.hadoop.hbase.client.coprocessor.Batch.Callback#update(byte[],byte[],Object)}<a name="line.669"></a>
+<span class="sourceLineNo">670</span> * method will be called with the return value from each region's invocation.<a name="line.670"></a>
+<span class="sourceLineNo">671</span> * </p><a name="line.671"></a>
+<span class="sourceLineNo">672</span> * @param methodDescriptor the descriptor for the protobuf service method to call.<a name="line.672"></a>
+<span class="sourceLineNo">673</span> * @param request the method call parameters<a name="line.673"></a>
+<span class="sourceLineNo">674</span> * @param startKey start region selection with region containing this row. If {@code null}, the<a name="line.674"></a>
+<span class="sourceLineNo">675</span> * selection will start with the first table region.<a name="line.675"></a>
+<span class="sourceLineNo">676</span> * @param endKey select regions up to and including the region containing this row. If<a name="line.676"></a>
+<span class="sourceLineNo">677</span> * {@code null}, selection will continue through the last table region.<a name="line.677"></a>
+<span class="sourceLineNo">678</span> * @param responsePrototype the proto type of the response of the method in Service.<a name="line.678"></a>
+<span class="sourceLineNo">679</span> * @param callback callback to invoke with the response for each region<a name="line.679"></a>
+<span class="sourceLineNo">680</span> * @param <R> the response type for the coprocessor Service method<a name="line.680"></a>
+<span class="sourceLineNo">681</span> * @deprecated since 3.0.0, will removed in 4.0.0. The batch call here references the blocking<a name="line.681"></a>
+<span class="sourceLineNo">682</span> * interface for of a protobuf stub, so it is not possible to do it in an asynchronous<a name="line.682"></a>
+<span class="sourceLineNo">683</span> * way, even if now we are building the {@link Table} implementation based on the<a name="line.683"></a>
+<span class="sourceLineNo">684</span> * {@link AsyncTable}, which is not good. Use the coprocessorService methods in<a name="line.684"></a>
+<span class="sourceLineNo">685</span> * {@link AsyncTable} directly instead.<a name="line.685"></a>
+<span class="sourceLineNo">686</span> * @see Connection#toAsyncConnection()<a name="line.686"></a>
+<span class="sourceLineNo">687</span> */<a name="line.687"></a>
+<span class="sourceLineNo">688</span> @Deprecated<a name="line.688"></a>
+<span class="sourceLineNo">689</span> default <R extends Message> void batchCoprocessorService(<a name="line.689"></a>
+<span class="sourceLineNo">690</span> Descriptors.MethodDescriptor methodDescriptor, Message request, byte[] startKey,<a name="line.690"></a>
+<span class="sourceLineNo">691</span> byte[] endKey, R responsePrototype, Batch.Callback<R> callback)<a name="line.691"></a>
+<span class="sourceLineNo">692</span> throws ServiceException, Throwable {<a name="line.692"></a>
+<span class="sourceLineNo">693</span> throw new NotImplementedException("Add an implementation!");<a name="line.693"></a>
+<span class="sourceLineNo">694</span> }<a name="line.694"></a>
+<span class="sourceLineNo">695</span><a name="line.695"></a>
+<span class="sourceLineNo">696</span> /**<a name="line.696"></a>
+<span class="sourceLineNo">697</span> * Get timeout of each rpc request in this Table instance. It will be overridden by a more<a name="line.697"></a>
+<span class="sourceLineNo">698</span> * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.<a name="line.698"></a>
+<span class="sourceLineNo">699</span> * @see #getReadRpcTimeout(TimeUnit)<a name="line.699"></a>
+<span class="sourceLineNo">700</span> * @see #getWriteRpcTimeout(TimeUnit)<a name="line.700"></a>
+<span class="sourceLineNo">701</span> * @param unit the unit of time the timeout to be represented in<a name="line.701"></a>
+<span class="sourceLineNo">702</span> * @return rpc timeout in the specified time unit<a name="line.702"></a>
+<span class="sourceLineNo">703</span> */<a name="line.703"></a>
+<span class="sourceLineNo">704</span> default long getRpcTimeout(TimeUnit unit) {<a name="line.704"></a>
+<span class="sourceLineNo">705</span> throw new NotImplementedException("Add an implementation!");<a name="line.705"></a>
+<span class="sourceLineNo">706</span> }<a name="line.706"></a>
+<span class="sourceLineNo">707</span><a name="line.707"></a>
+<span class="sourceLineNo">708</span> /**<a name="line.708"></a>
+<span class="sourceLineNo">709</span> * Get timeout of each rpc read request in this Table instance.<a name="line.709"></a>
+<span class="sourceLineNo">710</span> * @param unit the unit of time the timeout to be represented in<a name="line.710"></a>
+<span class="sourceLineNo">711</span> * @return read rpc timeout in the specified time unit<a name="line.711"></a>
+<span class="sourceLineNo">712</span> */<a name="line.712"></a>
+<span class="sourceLineNo">713</span> default long getReadRpcTimeout(TimeUnit unit) {<a name="line.713"></a>
+<span class="sourceLineNo">714</span> throw new NotImplementedException("Add an implementation!");<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> * Get timeout of each rpc write request in this Table instance.<a name="line.718"></a>
+<span class="sourceLineNo">719</span> * @param unit the unit of time the timeout to be represented in<a name="line.719"></a>
+<span class="sourceLineNo">720</span> * @return write rpc timeout in the specified time unit<a name="line.720"></a>
+<span class="sourceLineNo">721</span> */<a name="line.721"></a>
+<span class="sourceLineNo">722</span> default long getWriteRpcTimeout(TimeUnit unit) {<a name="line.722"></a>
+<span class="sourceLineNo">723</span> throw new NotImplementedException("Add an implementation!");<a name="line.723"></a>
+<span class="sourceLineNo">724</span> }<a name="line.724"></a>
+<span class="sourceLineNo">725</span><a name="line.725"></a>
+<span class="sourceLineNo">726</span> /**<a name="line.726"></a>
+<span class="sourceLineNo">727</span> * Get timeout of each operation in Table instance.<a name="line.727"></a>
+<span class="sourceLineNo">728</span> * @param unit the unit of time the timeout to be represented in<a name="line.728"></a>
+<span class="sourceLineNo">729</span> * @return operation rpc timeout in the specified time unit<a name="line.729"></a>
+<span class="sourceLineNo">730</span> */<a name="line.730"></a>
+<span class="sourceLineNo">731</span> default long getOperationTimeout(TimeUnit unit) {<a name="line.731"></a>
+<span class="sourceLineNo">732</span> throw new NotImplementedException("Add an implementation!");<a name="line.732"></a>
+<span class="sourceLineNo">733</span> }<a name="line.733"></a>
+<span class="sourceLineNo">734</span>}<a name="line.734"></a>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html b/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
index 27ffcc3..441a69f 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html
@@ -43,879 +43,886 @@
<span class="sourceLineNo">035</span>import java.util.Set;<a name="line.35"></a>
<span class="sourceLineNo">036</span>import java.util.TreeMap;<a name="line.36"></a>
<span class="sourceLineNo">037</span>import java.util.concurrent.TimeUnit;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.conf.Configuration;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.Cell;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.CellUtil;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.HBaseConfiguration;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.HConstants;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.TableName;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.client.Append;<a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.client.Delete;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.client.Durability;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.client.Get;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.client.Increment;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.client.Put;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.client.Result;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.client.Row;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.client.RowMutations;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.client.Table;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.hadoop.hbase.client.coprocessor.Batch;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>import org.apache.hadoop.hbase.client.coprocessor.Batch.Callback;<a name="line.61"></a>
-<span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.client.metrics.ScanMetrics;<a name="line.62"></a>
-<span class="sourceLineNo">063</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>import org.apache.hadoop.hbase.rest.Constants;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>import org.apache.hadoop.hbase.rest.model.CellModel;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.rest.model.CellSetModel;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.rest.model.RowModel;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.rest.model.ScannerModel;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.rest.model.TableSchemaModel;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>import org.apache.hadoop.util.StringUtils;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>import org.slf4j.Logger;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>import org.slf4j.LoggerFactory;<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.77"></a>
+<span class="sourceLineNo">038</span>import org.apache.commons.lang3.NotImplementedException;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.conf.Configuration;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.Cell;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.CellUtil;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.HBaseConfiguration;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.HConstants;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.TableName;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.client.Append;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.client.Delete;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.client.Durability;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.client.Get;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.client.Increment;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.client.Put;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.client.Result;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.client.Row;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.client.RowMutations;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hadoop.hbase.client.Table;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>import org.apache.hadoop.hbase.client.coprocessor.Batch;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.client.coprocessor.Batch.Callback;<a name="line.62"></a>
+<span class="sourceLineNo">063</span>import org.apache.hadoop.hbase.client.metrics.ScanMetrics;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>import org.apache.hadoop.hbase.filter.Filter;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.rest.Constants;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.rest.model.CellModel;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.rest.model.CellSetModel;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.rest.model.RowModel;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.rest.model.ScannerModel;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.rest.model.TableSchemaModel;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>import org.apache.hadoop.util.StringUtils;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>import org.slf4j.Logger;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>import org.slf4j.LoggerFactory;<a name="line.77"></a>
<span class="sourceLineNo">078</span><a name="line.78"></a>
-<span class="sourceLineNo">079</span>/**<a name="line.79"></a>
-<span class="sourceLineNo">080</span> * HTable interface to remote tables accessed via REST gateway<a name="line.80"></a>
-<span class="sourceLineNo">081</span> */<a name="line.81"></a>
-<span class="sourceLineNo">082</span>@InterfaceAudience.Public<a name="line.82"></a>
-<span class="sourceLineNo">083</span>public class RemoteHTable implements Table {<a name="line.83"></a>
-<span class="sourceLineNo">084</span><a name="line.84"></a>
-<span class="sourceLineNo">085</span> private static final Logger LOG = LoggerFactory.getLogger(RemoteHTable.class);<a name="line.85"></a>
+<span class="sourceLineNo">079</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>/**<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * HTable interface to remote tables accessed via REST gateway<a name="line.82"></a>
+<span class="sourceLineNo">083</span> */<a name="line.83"></a>
+<span class="sourceLineNo">084</span>@InterfaceAudience.Public<a name="line.84"></a>
+<span class="sourceLineNo">085</span>public class RemoteHTable implements Table {<a name="line.85"></a>
<span class="sourceLineNo">086</span><a name="line.86"></a>
-<span class="sourceLineNo">087</span> final Client client;<a name="line.87"></a>
-<span class="sourceLineNo">088</span> final Configuration conf;<a name="line.88"></a>
-<span class="sourceLineNo">089</span> final byte[] name;<a name="line.89"></a>
-<span class="sourceLineNo">090</span> final int maxRetries;<a name="line.90"></a>
-<span class="sourceLineNo">091</span> final long sleepTime;<a name="line.91"></a>
-<span class="sourceLineNo">092</span><a name="line.92"></a>
-<span class="sourceLineNo">093</span> @SuppressWarnings("rawtypes")<a name="line.93"></a>
-<span class="sourceLineNo">094</span> protected String buildRowSpec(final byte[] row, final Map familyMap, final long startTime,<a name="line.94"></a>
-<span class="sourceLineNo">095</span> final long endTime, final int maxVersions) {<a name="line.95"></a>
-<span class="sourceLineNo">096</span> StringBuffer sb = new StringBuffer();<a name="line.96"></a>
-<span class="sourceLineNo">097</span> sb.append('/');<a name="line.97"></a>
-<span class="sourceLineNo">098</span> sb.append(Bytes.toString(name));<a name="line.98"></a>
+<span class="sourceLineNo">087</span> private static final Logger LOG = LoggerFactory.getLogger(RemoteHTable.class);<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span> final Client client;<a name="line.89"></a>
+<span class="sourceLineNo">090</span> final Configuration conf;<a name="line.90"></a>
+<span class="sourceLineNo">091</span> final byte[] name;<a name="line.91"></a>
+<span class="sourceLineNo">092</span> final int maxRetries;<a name="line.92"></a>
+<span class="sourceLineNo">093</span> final long sleepTime;<a name="line.93"></a>
+<span class="sourceLineNo">094</span><a name="line.94"></a>
+<span class="sourceLineNo">095</span> @SuppressWarnings("rawtypes")<a name="line.95"></a>
+<span class="sourceLineNo">096</span> protected String buildRowSpec(final byte[] row, final Map familyMap, final long startTime,<a name="line.96"></a>
+<span class="sourceLineNo">097</span> final long endTime, final int maxVersions) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span> StringBuffer sb = new StringBuffer();<a name="line.98"></a>
<span class="sourceLineNo">099</span> sb.append('/');<a name="line.99"></a>
-<span class="sourceLineNo">100</span> sb.append(toURLEncodedBytes(row));<a name="line.100"></a>
-<span class="sourceLineNo">101</span> Set families = familyMap.entrySet();<a name="line.101"></a>
-<span class="sourceLineNo">102</span> if (families != null) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span> Iterator i = familyMap.entrySet().iterator();<a name="line.103"></a>
-<span class="sourceLineNo">104</span> sb.append('/');<a name="line.104"></a>
-<span class="sourceLineNo">105</span> while (i.hasNext()) {<a name="line.105"></a>
-<span class="sourceLineNo">106</span> Map.Entry e = (Map.Entry) i.next();<a name="line.106"></a>
-<span class="sourceLineNo">107</span> Collection quals = (Collection) e.getValue();<a name="line.107"></a>
-<span class="sourceLineNo">108</span> if (quals == null || quals.isEmpty()) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span> // this is an unqualified family. append the family name and NO ':'<a name="line.109"></a>
-<span class="sourceLineNo">110</span> sb.append(toURLEncodedBytes((byte[]) e.getKey()));<a name="line.110"></a>
-<span class="sourceLineNo">111</span> } else {<a name="line.111"></a>
-<span class="sourceLineNo">112</span> Iterator ii = quals.iterator();<a name="line.112"></a>
-<span class="sourceLineNo">113</span> while (ii.hasNext()) {<a name="line.113"></a>
-<span class="sourceLineNo">114</span> sb.append(toURLEncodedBytes((byte[]) e.getKey()));<a name="line.114"></a>
-<span class="sourceLineNo">115</span> Object o = ii.next();<a name="line.115"></a>
-<span class="sourceLineNo">116</span> // Puts use byte[] but Deletes use KeyValue<a name="line.116"></a>
-<span class="sourceLineNo">117</span> if (o instanceof byte[]) {<a name="line.117"></a>
-<span class="sourceLineNo">118</span> sb.append(':');<a name="line.118"></a>
-<span class="sourceLineNo">119</span> sb.append(toURLEncodedBytes((byte[]) o));<a name="line.119"></a>
-<span class="sourceLineNo">120</span> } else if (o instanceof KeyValue) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span> if (((KeyValue) o).getQualifierLength() != 0) {<a name="line.121"></a>
-<span class="sourceLineNo">122</span> sb.append(':');<a name="line.122"></a>
-<span class="sourceLineNo">123</span> sb.append(toURLEncodedBytes(CellUtil.cloneQualifier((KeyValue) o)));<a name="line.123"></a>
-<span class="sourceLineNo">124</span> }<a name="line.124"></a>
-<span class="sourceLineNo">125</span> } else {<a name="line.125"></a>
-<span class="sourceLineNo">126</span> throw new RuntimeException("object type not handled");<a name="line.126"></a>
-<span class="sourceLineNo">127</span> }<a name="line.127"></a>
-<span class="sourceLineNo">128</span> if (ii.hasNext()) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span> sb.append(',');<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> }<a name="line.132"></a>
-<span class="sourceLineNo">133</span> if (i.hasNext()) {<a name="line.133"></a>
-<span class="sourceLineNo">134</span> sb.append(',');<a name="line.134"></a>
-<span class="sourceLineNo">135</span> }<a name="line.135"></a>
-<span class="sourceLineNo">136</span> }<a name="line.136"></a>
-<span class="sourceLineNo">137</span> }<a name="line.137"></a>
-<span class="sourceLineNo">138</span> if (startTime >= 0 && endTime != Long.MAX_VALUE) {<a name="line.138"></a>
-<span class="sourceLineNo">139</span> sb.append('/');<a name="line.139"></a>
-<span class="sourceLineNo">140</span> sb.append(startTime);<a name="line.140"></a>
-<span class="sourceLineNo">141</span> if (startTime != endTime) {<a name="line.141"></a>
-<span class="sourceLineNo">142</span> sb.append(',');<a name="line.142"></a>
-<span class="sourceLineNo">143</span> sb.append(endTime);<a name="line.143"></a>
-<span class="sourceLineNo">144</span> }<a name="line.144"></a>
-<span class="sourceLineNo">145</span> } else if (endTime != Long.MAX_VALUE) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span> sb.append('/');<a name="line.146"></a>
-<span class="sourceLineNo">147</span> sb.append(endTime);<a name="line.147"></a>
-<span class="sourceLineNo">148</span> }<a name="line.148"></a>
-<span class="sourceLineNo">149</span> if (maxVersions > 1) {<a name="line.149"></a>
-<span class="sourceLineNo">150</span> sb.append("?v=");<a name="line.150"></a>
-<span class="sourceLineNo">151</span> sb.append(maxVersions);<a name="line.151"></a>
-<span class="sourceLineNo">152</span> }<a name="line.152"></a>
-<span class="sourceLineNo">153</span> return sb.toString();<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> protected String buildMultiRowSpec(final byte[][] rows, int maxVersions) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span> StringBuilder sb = new StringBuilder();<a name="line.157"></a>
-<span class="sourceLineNo">158</span> sb.append('/');<a name="line.158"></a>
-<span class="sourceLineNo">159</span> sb.append(Bytes.toString(name));<a name="line.159"></a>
-<span class="sourceLineNo">160</span> sb.append("/multiget/");<a name="line.160"></a>
-<span class="sourceLineNo">161</span> if (rows == null || rows.length == 0) {<a name="line.161"></a>
-<span class="sourceLineNo">162</span> return sb.toString();<a name="line.162"></a>
-<span class="sourceLineNo">163</span> }<a name="line.163"></a>
-<span class="sourceLineNo">164</span> sb.append("?");<a name="line.164"></a>
-<span class="sourceLineNo">165</span> for (int i = 0; i < rows.length; i++) {<a name="line.165"></a>
-<span class="sourceLineNo">166</span> byte[] rk = rows[i];<a name="line.166"></a>
-<span class="sourceLineNo">167</span> if (i != 0) {<a name="line.167"></a>
-<span class="sourceLineNo">168</span> sb.append('&');<a name="line.168"></a>
-<span class="sourceLineNo">169</span> }<a name="line.169"></a>
-<span class="sourceLineNo">170</span> sb.append("row=");<a name="line.170"></a>
-<span class="sourceLineNo">171</span> sb.append(toURLEncodedBytes(rk));<a name="line.171"></a>
-<span class="sourceLineNo">172</span> }<a name="line.172"></a>
-<span class="sourceLineNo">173</span> sb.append("&v=");<a name="line.173"></a>
-<span class="sourceLineNo">174</span> sb.append(maxVersions);<a name="line.174"></a>
-<span class="sourceLineNo">175</span><a name="line.175"></a>
-<span class="sourceLineNo">176</span> return sb.toString();<a name="line.176"></a>
-<span class="sourceLineNo">177</span> }<a name="line.177"></a>
-<span class="sourceLineNo">178</span><a name="line.178"></a>
-<span class="sourceLineNo">179</span> protected Result[] buildResultFromModel(final CellSetModel model) {<a name="line.179"></a>
-<span class="sourceLineNo">180</span> List<Result> results = new ArrayList<>();<a name="line.180"></a>
-<span class="sourceLineNo">181</span> for (RowModel row : model.getRows()) {<a name="line.181"></a>
-<span class="sourceLineNo">182</span> List<Cell> kvs = new ArrayList<>(row.getCells().size());<a name="line.182"></a>
-<span class="sourceLineNo">183</span> for (CellModel cell : row.getCells()) {<a name="line.183"></a>
-<span class="sourceLineNo">184</span> byte[][] split = CellUtil.parseColumn(cell.getColumn());<a name="line.184"></a>
-<span class="sourceLineNo">185</span> byte[] column = split[0];<a name="line.185"></a>
-<span class="sourceLineNo">186</span> byte[] qualifier = null;<a name="line.186"></a>
-<span class="sourceLineNo">187</span> if (split.length == 1) {<a name="line.187"></a>
-<span class="sourceLineNo">188</span> qualifier = HConstants.EMPTY_BYTE_ARRAY;<a name="line.188"></a>
-<span class="sourceLineNo">189</span> } else if (split.length == 2) {<a name="line.189"></a>
-<span class="sourceLineNo">190</span> qualifier = split[1];<a name="line.190"></a>
-<span class="sourceLineNo">191</span> } else {<a name="line.191"></a>
-<span class="sourceLineNo">192</span> throw new IllegalArgumentException("Invalid familyAndQualifier provided.");<a name="line.192"></a>
-<span class="sourceLineNo">193</span> }<a name="line.193"></a>
-<span class="sourceLineNo">194</span> kvs<a name="line.194"></a>
-<span class="sourceLineNo">195</span> .add(new KeyValue(row.getKey(), column, qualifier, cell.getTimestamp(), cell.getValue()));<a name="line.195"></a>
-<span class="sourceLineNo">196</span> }<a name="line.196"></a>
-<span class="sourceLineNo">197</span> results.add(Result.create(kvs));<a name="line.197"></a>
-<span class="sourceLineNo">198</span> }<a name="line.198"></a>
-<span class="sourceLineNo">199</span> return results.toArray(new Result[results.size()]);<a name="line.199"></a>
-<span class="sourceLineNo">200</span> }<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span> protected CellSetModel buildModelFromPut(Put put) {<a name="line.202"></a>
-<span class="sourceLineNo">203</span> RowModel row = new RowModel(put.getRow());<a name="line.203"></a>
-<span class="sourceLineNo">204</span> long ts = put.getTimestamp();<a name="line.204"></a>
-<span class="sourceLineNo">205</span> for (List<Cell> cells : put.getFamilyCellMap().values()) {<a name="line.205"></a>
-<span class="sourceLineNo">206</span> for (Cell cell : cells) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span> row.addCell(new CellModel(CellUtil.cloneFamily(cell), CellUtil.cloneQualifier(cell),<a name="line.207"></a>
-<span class="sourceLineNo">208</span> ts != HConstants.LATEST_TIMESTAMP ? ts : cell.getTimestamp(), CellUtil.cloneValue(cell)));<a name="line.208"></a>
-<span class="sourceLineNo">209</span> }<a name="line.209"></a>
-<span class="sourceLineNo">210</span> }<a name="line.210"></a>
-<span class="sourceLineNo">211</span> CellSetModel model = new CellSetModel();<a name="line.211"></a>
-<span class="sourceLineNo">212</span> model.addRow(row);<a name="line.212"></a>
-<span class="sourceLineNo">213</span> return model;<a name="line.213"></a>
-<span class="sourceLineNo">214</span> }<a name="line.214"></a>
-<span class="sourceLineNo">215</span><a name="line.215"></a>
-<span class="sourceLineNo">216</span> /**<a name="line.216"></a>
-<span class="sourceLineNo">217</span> * Constructor<a name="line.217"></a>
-<span class="sourceLineNo">218</span> */<a name="line.218"></a>
-<span class="sourceLineNo">219</span> public RemoteHTable(Client client, String name) {<a name="line.219"></a>
-<span class="sourceLineNo">220</span> this(client, HBaseConfiguration.create(), Bytes.toBytes(name));<a name="line.220"></a>
-<span class="sourceLineNo">221</span> }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span> /**<a name="line.223"></a>
-<span class="sourceLineNo">224</span> * Constructor<a name="line.224"></a>
-<span class="sourceLineNo">225</span> */<a name="line.225"></a>
-<span class="sourceLineNo">226</span> public RemoteHTable(Client client, Configuration conf, String name) {<a name="line.226"></a>
-<span class="sourceLineNo">227</span> this(client, conf, Bytes.toBytes(name));<a name="line.227"></a>
-<span class="sourceLineNo">228</span> }<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span> /**<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * Constructor<a name="line.231"></a>
-<span class="sourceLineNo">232</span> */<a name="line.232"></a>
-<span class="sourceLineNo">233</span> public RemoteHTable(Client client, Configuration conf, byte[] name) {<a name="line.233"></a>
-<span class="sourceLineNo">234</span> this.client = client;<a name="line.234"></a>
-<span class="sourceLineNo">235</span> this.conf = conf;<a name="line.235"></a>
-<span class="sourceLineNo">236</span> this.name = name;<a name="line.236"></a>
-<span class="sourceLineNo">237</span> this.maxRetries = conf.getInt("hbase.rest.client.max.retries", 10);<a name="line.237"></a>
-<span class="sourceLineNo">238</span> this.sleepTime = conf.getLong("hbase.rest.client.sleep", 1000);<a name="line.238"></a>
-<span class="sourceLineNo">239</span> }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span> public byte[] getTableName() {<a name="line.241"></a>
-<span class="sourceLineNo">242</span> return name.clone();<a name="line.242"></a>
-<span class="sourceLineNo">243</span> }<a name="line.243"></a>
-<span class="sourceLineNo">244</span><a name="line.244"></a>
-<span class="sourceLineNo">245</span> @Override<a name="line.245"></a>
-<span class="sourceLineNo">246</span> public TableName getName() {<a name="line.246"></a>
-<span class="sourceLineNo">247</span> return TableName.valueOf(name);<a name="line.247"></a>
-<span class="sourceLineNo">248</span> }<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span> @Override<a name="line.250"></a>
-<span class="sourceLineNo">251</span> public Configuration getConfiguration() {<a name="line.251"></a>
-<span class="sourceLineNo">252</span> return conf;<a name="line.252"></a>
-<span class="sourceLineNo">253</span> }<a name="line.253"></a>
-<span class="sourceLineNo">254</span><a name="line.254"></a>
-<span class="sourceLineNo">255</span> @Override<a name="line.255"></a>
-<span class="sourceLineNo">256</span> public void close() throws IOException {<a name="line.256"></a>
-<span class="sourceLineNo">257</span> client.shutdown();<a name="line.257"></a>
-<span class="sourceLineNo">258</span> }<a name="line.258"></a>
-<span class="sourceLineNo">259</span><a name="line.259"></a>
-<span class="sourceLineNo">260</span> @Override<a name="line.260"></a>
-<span class="sourceLineNo">261</span> public Result get(Get get) throws IOException {<a name="line.261"></a>
-<span class="sourceLineNo">262</span> TimeRange range = get.getTimeRange();<a name="line.262"></a>
-<span class="sourceLineNo">263</span> String spec = buildRowSpec(get.getRow(), get.getFamilyMap(), range.getMin(), range.getMax(),<a name="line.263"></a>
-<span class="sourceLineNo">264</span> get.getMaxVersions());<a name="line.264"></a>
-<span class="sourceLineNo">265</span> if (get.getFilter() != null) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span> LOG.warn("filters not supported on gets");<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span> Result[] results = getResults(spec);<a name="line.268"></a>
-<span class="sourceLineNo">269</span> if (results.length > 0) {<a name="line.269"></a>
-<span class="sourceLineNo">270</span> if (results.length > 1) {<a name="line.270"></a>
-<span class="sourceLineNo">271</span> LOG.warn("too many results for get (" + results.length + ")");<a name="line.271"></a>
-<span class="sourceLineNo">272</span> }<a name="line.272"></a>
-<span class="sourceLineNo">273</span> return results[0];<a name="line.273"></a>
-<span class="sourceLineNo">274</span> } else {<a name="line.274"></a>
-<span class="sourceLineNo">275</span> return new Result();<a name="line.275"></a>
-<span class="sourceLineNo">276</span> }<a name="line.276"></a>
-<span class="sourceLineNo">277</span> }<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span> @Override<a name="line.279"></a>
-<span class="sourceLineNo">280</span> public Result[] get(List<Get> gets) throws IOException {<a name="line.280"></a>
-<span class="sourceLineNo">281</span> byte[][] rows = new byte[gets.size()][];<a name="line.281"></a>
-<span class="sourceLineNo">282</span> int maxVersions = 1;<a name="line.282"></a>
-<span class="sourceLineNo">283</span> int count = 0;<a name="line.283"></a>
-<span class="sourceLineNo">284</span><a name="line.284"></a>
-<span class="sourceLineNo">285</span> for (Get g : gets) {<a name="line.285"></a>
+<span class="sourceLineNo">100</span> sb.append(Bytes.toString(name));<a name="line.100"></a>
+<span class="sourceLineNo">101</span> sb.append('/');<a name="line.101"></a>
+<span class="sourceLineNo">102</span> sb.append(toURLEncodedBytes(row));<a name="line.102"></a>
+<span class="sourceLineNo">103</span> Set families = familyMap.entrySet();<a name="line.103"></a>
+<span class="sourceLineNo">104</span> if (families != null) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span> Iterator i = familyMap.entrySet().iterator();<a name="line.105"></a>
+<span class="sourceLineNo">106</span> sb.append('/');<a name="line.106"></a>
+<span class="sourceLineNo">107</span> while (i.hasNext()) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span> Map.Entry e = (Map.Entry) i.next();<a name="line.108"></a>
+<span class="sourceLineNo">109</span> Collection quals = (Collection) e.getValue();<a name="line.109"></a>
+<span class="sourceLineNo">110</span> if (quals == null || quals.isEmpty()) {<a name="line.110"></a>
+<span class="sourceLineNo">111</span> // this is an unqualified family. append the family name and NO ':'<a name="line.111"></a>
+<span class="sourceLineNo">112</span> sb.append(toURLEncodedBytes((byte[]) e.getKey()));<a name="line.112"></a>
+<span class="sourceLineNo">113</span> } else {<a name="line.113"></a>
+<span class="sourceLineNo">114</span> Iterator ii = quals.iterator();<a name="line.114"></a>
+<span class="sourceLineNo">115</span> while (ii.hasNext()) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span> sb.append(toURLEncodedBytes((byte[]) e.getKey()));<a name="line.116"></a>
+<span class="sourceLineNo">117</span> Object o = ii.next();<a name="line.117"></a>
+<span class="sourceLineNo">118</span> // Puts use byte[] but Deletes use KeyValue<a name="line.118"></a>
+<span class="sourceLineNo">119</span> if (o instanceof byte[]) {<a name="line.119"></a>
+<span class="sourceLineNo">120</span> sb.append(':');<a name="line.120"></a>
+<span class="sourceLineNo">121</span> sb.append(toURLEncodedBytes((byte[]) o));<a name="line.121"></a>
+<span class="sourceLineNo">122</span> } else if (o instanceof KeyValue) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span> if (((KeyValue) o).getQualifierLength() != 0) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span> sb.append(':');<a name="line.124"></a>
+<span class="sourceLineNo">125</span> sb.append(toURLEncodedBytes(CellUtil.cloneQualifier((KeyValue) o)));<a name="line.125"></a>
+<span class="sourceLineNo">126</span> }<a name="line.126"></a>
+<span class="sourceLineNo">127</span> } else {<a name="line.127"></a>
+<span class="sourceLineNo">128</span> throw new RuntimeException("object type not handled");<a name="line.128"></a>
+<span class="sourceLineNo">129</span> }<a name="line.129"></a>
+<span class="sourceLineNo">130</span> if (ii.hasNext()) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span> sb.append(',');<a name="line.131"></a>
+<span class="sourceLineNo">132</span> }<a name="line.132"></a>
+<span class="sourceLineNo">133</span> }<a name="line.133"></a>
+<span class="sourceLineNo">134</span> }<a name="line.134"></a>
+<span class="sourceLineNo">135</span> if (i.hasNext()) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span> sb.append(',');<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> if (startTime >= 0 && endTime != Long.MAX_VALUE) {<a name="line.140"></a>
+<span class="sourceLineNo">141</span> sb.append('/');<a name="line.141"></a>
+<span class="sourceLineNo">142</span> sb.append(startTime);<a name="line.142"></a>
+<span class="sourceLineNo">143</span> if (startTime != endTime) {<a name="line.143"></a>
+<span class="sourceLineNo">144</span> sb.append(',');<a name="line.144"></a>
+<span class="sourceLineNo">145</span> sb.append(endTime);<a name="line.145"></a>
+<span class="sourceLineNo">146</span> }<a name="line.146"></a>
+<span class="sourceLineNo">147</span> } else if (endTime != Long.MAX_VALUE) {<a name="line.147"></a>
+<span class="sourceLineNo">148</span> sb.append('/');<a name="line.148"></a>
+<span class="sourceLineNo">149</span> sb.append(endTime);<a name="line.149"></a>
+<span class="sourceLineNo">150</span> }<a name="line.150"></a>
+<span class="sourceLineNo">151</span> if (maxVersions > 1) {<a name="line.151"></a>
+<span class="sourceLineNo">152</span> sb.append("?v=");<a name="line.152"></a>
+<span class="sourceLineNo">153</span> sb.append(maxVersions);<a name="line.153"></a>
+<span class="sourceLineNo">154</span> }<a name="line.154"></a>
+<span class="sourceLineNo">155</span> return sb.toString();<a name="line.155"></a>
+<span class="sourceLineNo">156</span> }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span> protected String buildMultiRowSpec(final byte[][] rows, int maxVersions) {<a name="line.158"></a>
+<span class="sourceLineNo">159</span> StringBuilder sb = new StringBuilder();<a name="line.159"></a>
+<span class="sourceLineNo">160</span> sb.append('/');<a name="line.160"></a>
+<span class="sourceLineNo">161</span> sb.append(Bytes.toString(name));<a name="line.161"></a>
+<span class="sourceLineNo">162</span> sb.append("/multiget/");<a name="line.162"></a>
+<span class="sourceLineNo">163</span> if (rows == null || rows.length == 0) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span> return sb.toString();<a name="line.164"></a>
+<span class="sourceLineNo">165</span> }<a name="line.165"></a>
+<span class="sourceLineNo">166</span> sb.append("?");<a name="line.166"></a>
+<span class="sourceLineNo">167</span> for (int i = 0; i < rows.length; i++) {<a name="line.167"></a>
+<span class="sourceLineNo">168</span> byte[] rk = rows[i];<a name="line.168"></a>
+<span class="sourceLineNo">169</span> if (i != 0) {<a name="line.169"></a>
+<span class="sourceLineNo">170</span> sb.append('&');<a name="line.170"></a>
+<span class="sourceLineNo">171</span> }<a name="line.171"></a>
+<span class="sourceLineNo">172</span> sb.append("row=");<a name="line.172"></a>
+<span class="sourceLineNo">173</span> sb.append(toURLEncodedBytes(rk));<a name="line.173"></a>
+<span class="sourceLineNo">174</span> }<a name="line.174"></a>
+<span class="sourceLineNo">175</span> sb.append("&v=");<a name="line.175"></a>
+<span class="sourceLineNo">176</span> sb.append(maxVersions);<a name="line.176"></a>
+<span class="sourceLineNo">177</span><a name="line.177"></a>
+<span class="sourceLineNo">178</span> return sb.toString();<a name="line.178"></a>
+<span class="sourceLineNo">179</span> }<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span> protected Result[] buildResultFromModel(final CellSetModel model) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span> List<Result> results = new ArrayList<>();<a name="line.182"></a>
+<span class="sourceLineNo">183</span> for (RowModel row : model.getRows()) {<a name="line.183"></a>
+<span class="sourceLineNo">184</span> List<Cell> kvs = new ArrayList<>(row.getCells().size());<a name="line.184"></a>
+<span class="sourceLineNo">185</span> for (CellModel cell : row.getCells()) {<a name="line.185"></a>
+<span class="sourceLineNo">186</span> byte[][] split = CellUtil.parseColumn(cell.getColumn());<a name="line.186"></a>
+<span class="sourceLineNo">187</span> byte[] column = split[0];<a name="line.187"></a>
+<span class="sourceLineNo">188</span> byte[] qualifier = null;<a name="line.188"></a>
+<span class="sourceLineNo">189</span> if (split.length == 1) {<a name="line.189"></a>
+<span class="sourceLineNo">190</span> qualifier = HConstants.EMPTY_BYTE_ARRAY;<a name="line.190"></a>
+<span class="sourceLineNo">191</span> } else if (split.length == 2) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span> qualifier = split[1];<a name="line.192"></a>
+<span class="sourceLineNo">193</span> } else {<a name="line.193"></a>
+<span class="sourceLineNo">194</span> throw new IllegalArgumentException("Invalid familyAndQualifier provided.");<a name="line.194"></a>
+<span class="sourceLineNo">195</span> }<a name="line.195"></a>
+<span class="sourceLineNo">196</span> kvs<a name="line.196"></a>
+<span class="sourceLineNo">197</span> .add(new KeyValue(row.getKey(), column, qualifier, cell.getTimestamp(), cell.getValue()));<a name="line.197"></a>
+<span class="sourceLineNo">198</span> }<a name="line.198"></a>
+<span class="sourceLineNo">199</span> results.add(Result.create(kvs));<a name="line.199"></a>
+<span class="sourceLineNo">200</span> }<a name="line.200"></a>
+<span class="sourceLineNo">201</span> return results.toArray(new Result[results.size()]);<a name="line.201"></a>
+<span class="sourceLineNo">202</span> }<a name="line.202"></a>
+<span class="sourceLineNo">203</span><a name="line.203"></a>
+<span class="sourceLineNo">204</span> protected CellSetModel buildModelFromPut(Put put) {<a name="line.204"></a>
+<span class="sourceLineNo">205</span> RowModel row = new RowModel(put.getRow());<a name="line.205"></a>
+<span class="sourceLineNo">206</span> long ts = put.getTimestamp();<a name="line.206"></a>
+<span class="sourceLineNo">207</span> for (List<Cell> cells : put.getFamilyCellMap().values()) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span> for (Cell cell : cells) {<a name="line.208"></a>
+<span class="sourceLineNo">209</span> row.addCell(new CellModel(CellUtil.cloneFamily(cell), CellUtil.cloneQualifier(cell),<a name="line.209"></a>
+<span class="sourceLineNo">210</span> ts != HConstants.LATEST_TIMESTAMP ? ts : cell.getTimestamp(), CellUtil.cloneValue(cell)));<a name="line.210"></a>
+<span class="sourceLineNo">211</span> }<a name="line.211"></a>
+<span class="sourceLineNo">212</span> }<a name="line.212"></a>
+<span class="sourceLineNo">213</span> CellSetModel model = new CellSetModel();<a name="line.213"></a>
+<span class="sourceLineNo">214</span> model.addRow(row);<a name="line.214"></a>
+<span class="sourceLineNo">215</span> return model;<a name="line.215"></a>
+<span class="sourceLineNo">216</span> }<a name="line.216"></a>
+<span class="sourceLineNo">217</span><a name="line.217"></a>
+<span class="sourceLineNo">218</span> /**<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * Constructor<a name="line.219"></a>
+<span class="sourceLineNo">220</span> */<a name="line.220"></a>
+<span class="sourceLineNo">221</span> public RemoteHTable(Client client, String name) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span> this(client, HBaseConfiguration.create(), Bytes.toBytes(name));<a name="line.222"></a>
+<span class="sourceLineNo">223</span> }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span> /**<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * Constructor<a name="line.226"></a>
+<span class="sourceLineNo">227</span> */<a name="line.227"></a>
+<span class="sourceLineNo">228</span> public RemoteHTable(Client client, Configuration conf, String name) {<a name="line.228"></a>
+<span class="sourceLineNo">229</span> this(client, conf, Bytes.toBytes(name));<a name="line.229"></a>
+<span class="sourceLineNo">230</span> }<a name="line.230"></a>
+<span class="sourceLineNo">231</span><a name="line.231"></a>
+<span class="sourceLineNo">232</span> /**<a name="line.232"></a>
+<span class="sourceLineNo">233</span> * Constructor<a name="line.233"></a>
+<span class="sourceLineNo">234</span> */<a name="line.234"></a>
+<span class="sourceLineNo">235</span> public RemoteHTable(Client client, Configuration conf, byte[] name) {<a name="line.235"></a>
+<span class="sourceLineNo">236</span> this.client = client;<a name="line.236"></a>
+<span class="sourceLineNo">237</span> this.conf = conf;<a name="line.237"></a>
+<span class="sourceLineNo">238</span> this.name = name;<a name="line.238"></a>
+<span class="sourceLineNo">239</span> this.maxRetries = conf.getInt("hbase.rest.client.max.retries", 10);<a name="line.239"></a>
+<span class="sourceLineNo">240</span> this.sleepTime = conf.getLong("hbase.rest.client.sleep", 1000);<a name="line.240"></a>
+<span class="sourceLineNo">241</span> }<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span> public byte[] getTableName() {<a name="line.243"></a>
+<span class="sourceLineNo">244</span> return name.clone();<a name="line.244"></a>
+<span class="sourceLineNo">245</span> }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span> @Override<a name="line.247"></a>
+<span class="sourceLineNo">248</span> public TableName getName() {<a name="line.248"></a>
+<span class="sourceLineNo">249</span> return TableName.valueOf(name);<a name="line.249"></a>
+<span class="sourceLineNo">250</span> }<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span> @Override<a name="line.252"></a>
+<span class="sourceLineNo">253</span> public Configuration getConfiguration() {<a name="line.253"></a>
+<span class="sourceLineNo">254</span> return conf;<a name="line.254"></a>
+<span class="sourceLineNo">255</span> }<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span> @Override<a name="line.257"></a>
+<span class="sourceLineNo">258</span> public void close() throws IOException {<a name="line.258"></a>
+<span class="sourceLineNo">259</span> client.shutdown();<a name="line.259"></a>
+<span class="sourceLineNo">260</span> }<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span> @Override<a name="line.262"></a>
+<span class="sourceLineNo">263</span> public Result get(Get get) throws IOException {<a name="line.263"></a>
+<span class="sourceLineNo">264</span> TimeRange range = get.getTimeRange();<a name="line.264"></a>
+<span class="sourceLineNo">265</span> String spec = buildRowSpec(get.getRow(), get.getFamilyMap(), range.getMin(), range.getMax(),<a name="line.265"></a>
+<span class="sourceLineNo">266</span> get.getMaxVersions());<a name="line.266"></a>
+<span class="sourceLineNo">267</span> if (get.getFilter() != null) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span> LOG.warn("filters not supported on gets");<a name="line.268"></a>
+<span class="sourceLineNo">269</span> }<a name="line.269"></a>
+<span class="sourceLineNo">270</span> Result[] results = getResults(spec);<a name="line.270"></a>
+<span class="sourceLineNo">271</span> if (results.length > 0) {<a name="line.271"></a>
+<span class="sourceLineNo">272</span> if (results.length > 1) {<a name="line.272"></a>
+<span class="sourceLineNo">273</span> LOG.warn("too many results for get (" + results.length + ")");<a name="line.273"></a>
+<span class="sourceLineNo">274</span> }<a name="line.274"></a>
+<span class="sourceLineNo">275</span> return results[0];<a name="line.275"></a>
+<span class="sourceLineNo">276</span> } else {<a name="line.276"></a>
+<span class="sourceLineNo">277</span> return new Result();<a name="line.277"></a>
+<span class="sourceLineNo">278</span> }<a name="line.278"></a>
+<span class="sourceLineNo">279</span> }<a name="line.279"></a>
+<span class="sourceLineNo">280</span><a name="line.280"></a>
+<span class="sourceLineNo">281</span> @Override<a name="line.281"></a>
+<span class="sourceLineNo">282</span> public Result[] get(List<Get> gets) throws IOException {<a name="line.282"></a>
+<span class="sourceLineNo">283</span> byte[][] rows = new byte[gets.size()][];<a name="line.283"></a>
+<span class="sourceLineNo">284</span> int maxVersions = 1;<a name="line.284"></a>
+<span class="sourceLineNo">285</span> int count = 0;<a name="line.285"></a>
<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span> if (count == 0) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span> maxVersions = g.getMaxVersions();<a name="line.288"></a>
-<span class="sourceLineNo">289</span> } else if (g.getMaxVersions() != maxVersions) {<a name="line.289"></a>
-<span class="sourceLineNo">290</span> LOG.warn(<a name="line.290"></a>
-<span class="sourceLineNo">291</span> "MaxVersions on Gets do not match, using the first in the list (" + maxVersions + ")");<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> if (g.getFilter() != null) {<a name="line.294"></a>
-<span class="sourceLineNo">295</span> LOG.warn("filters not supported on gets");<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> rows[count] = g.getRow();<a name="line.298"></a>
-<span class="sourceLineNo">299</span> count++;<a name="line.299"></a>
-<span class="sourceLineNo">300</span> }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span> String spec = buildMultiRowSpec(rows, maxVersions);<a name="line.302"></a>
+<span class="sourceLineNo">287</span> for (Get g : gets) {<a name="line.287"></a>
+<span class="sourceLineNo">288</span><a name="line.288"></a>
+<span class="sourceLineNo">289</span> if (count == 0) {<a name="line.289"></a>
+<span class="sourceLineNo">290</span> maxVersions = g.getMaxVersions();<a name="line.290"></a>
+<span class="sourceLineNo">291</span> } else if (g.getMaxVersions() != maxVersions) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span> LOG.warn(<a name="line.292"></a>
+<span class="sourceLineNo">293</span> "MaxVersions on Gets do not match, using the first in the list (" + maxVersions + ")");<a name="line.293"></a>
+<span class="sourceLineNo">294</span> }<a name="line.294"></a>
+<span class="sourceLineNo">295</span><a name="line.295"></a>
+<span class="sourceLineNo">296</span> if (g.getFilter() != null) {<a name="line.296"></a>
+<span class="sourceLineNo">297</span> LOG.warn("filters not supported on gets");<a name="line.297"></a>
+<span class="sourceLineNo">298</span> }<a name="line.298"></a>
+<span class="sourceLineNo">299</span><a name="line.299"></a>
+<span class="sourceLineNo">300</span> rows[count] = g.getRow();<a name="line.300"></a>
+<span class="sourceLineNo">301</span> count++;<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> return getResults(spec);<a name="line.304"></a>
-<span class="sourceLineNo">305</span> }<a name="line.305"></a>
-<span class="sourceLineNo">306</span><a name="line.306"></a>
-<span class="sourceLineNo">307</span> private Result[] getResults(String spec) throws IOException {<a name="line.307"></a>
-<span class="sourceLineNo">308</span> for (int i = 0; i < maxRetries; i++) {<a name="line.308"></a>
-<span class="sourceLineNo">309</span> Response response = client.get(spec, Constants.MIMETYPE_PROTOBUF);<a name="line.309"></a>
-<span class="sourceLineNo">310</span> int code = response.getCode();<a name="line.310"></a>
-<span class="sourceLineNo">311</span> switch (code) {<a name="line.311"></a>
-<span class="sourceLineNo">312</span> case 200:<a name="line.312"></a>
-<span class="sourceLineNo">313</span> CellSetModel model = new CellSetModel();<a name="line.313"></a>
-<span class="sourceLineNo">314</span> model.getObjectFromMessage(response.getBody());<a name="line.314"></a>
-<span class="sourceLineNo">315</span> Result[] results = buildResultFromModel(model);<a name="line.315"></a>
-<span class="sourceLineNo">316</span> if (results.length > 0) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span> return results;<a name="line.317"></a>
-<span class="sourceLineNo">318</span> }<a name="line.318"></a>
-<span class="sourceLineNo">319</span> // fall through<a name="line.319"></a>
-<span class="sourceLineNo">320</span> case 404:<a name="line.320"></a>
-<span class="sourceLineNo">321</span> return new Result[0];<a name="line.321"></a>
-<span class="sourceLineNo">322</span><a name="line.322"></a>
-<span class="sourceLineNo">323</span> case 509:<a name="line.323"></a>
-<span class="sourceLineNo">324</span> try {<a name="line.324"></a>
-<span class="sourceLineNo">325</span> Thread.sleep(sleepTime);<a name="line.325"></a>
-<span class="sourceLineNo">326</span> } catch (InterruptedException e) {<a name="line.326"></a>
-<span class="sourceLineNo">327</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.327"></a>
-<span class="sourceLineNo">328</span> }<a name="line.328"></a>
-<span class="sourceLineNo">329</span> break;<a name="line.329"></a>
-<span class="sourceLineNo">330</span> default:<a name="line.330"></a>
-<span class="sourceLineNo">331</span> throw new IOException("get request returned " + code);<a name="line.331"></a>
-<span class="sourceLineNo">332</span> }<a name="line.332"></a>
-<span class="sourceLineNo">333</span> }<a name="line.333"></a>
-<span class="sourceLineNo">334</span> throw new IOException("get request timed out");<a name="line.334"></a>
-<span class="sourceLineNo">335</span> }<a name="line.335"></a>
-<span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span> @Override<a name="line.337"></a>
-<span class="sourceLineNo">338</span> public boolean exists(Get get) throws IOException {<a name="line.338"></a>
-<span class="sourceLineNo">339</span> LOG.warn("exists() is really get(), just use get()");<a name="line.339"></a>
-<span class="sourceLineNo">340</span> Result result = get(get);<a name="line.340"></a>
-<span class="sourceLineNo">341</span> return (result != null && !(result.isEmpty()));<a name="line.341"></a>
-<span class="sourceLineNo">342</span> }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span> @Override<a name="line.344"></a>
-<span class="sourceLineNo">345</span> public boolean[] exists(List<Get> gets) throws IOException {<a name="line.345"></a>
-<span class="sourceLineNo">346</span> LOG.warn("exists(List<Get>) is really list of get() calls, just use get()");<a name="line.346"></a>
-<span class="sourceLineNo">347</span> boolean[] results = new boolean[gets.size()];<a name="line.347"></a>
-<span class="sourceLineNo">348</span> for (int i = 0; i < results.length; i++) {<a name="line.348"></a>
-<span class="sourceLineNo">349</span> results[i] = exists(gets.get(i));<a name="line.349"></a>
-<span class="sourceLineNo">350</span> }<a name="line.350"></a>
-<span class="sourceLineNo">351</span> return results;<a name="line.351"></a>
-<span class="sourceLineNo">352</span> }<a name="line.352"></a>
-<span class="sourceLineNo">353</span><a name="line.353"></a>
-<span class="sourceLineNo">354</span> @Override<a name="line.354"></a>
-<span class="sourceLineNo">355</span> public void put(Put put) throws IOException {<a name="line.355"></a>
-<span class="sourceLineNo">356</span> CellSetModel model = buildModelFromPut(put);<a name="line.356"></a>
-<span class="sourceLineNo">357</span> StringBuilder sb = new StringBuilder();<a name="line.357"></a>
-<span class="sourceLineNo">358</span> sb.append('/');<a name="line.358"></a>
-<span class="sourceLineNo">359</span> sb.append(Bytes.toString(name));<a name="line.359"></a>
+<span class="sourceLineNo">304</span> String spec = buildMultiRowSpec(rows, maxVersions);<a name="line.304"></a>
+<span class="sourceLineNo">305</span><a name="line.305"></a>
+<span class="sourceLineNo">306</span> return getResults(spec);<a name="line.306"></a>
+<span class="sourceLineNo">307</span> }<a name="line.307"></a>
+<span class="sourceLineNo">308</span><a name="line.308"></a>
+<span class="sourceLineNo">309</span> private Result[] getResults(String spec) throws IOException {<a name="line.309"></a>
+<span class="sourceLineNo">310</span> for (int i = 0; i < maxRetries; i++) {<a name="line.310"></a>
+<span class="sourceLineNo">311</span> Response response = client.get(spec, Constants.MIMETYPE_PROTOBUF);<a name="line.311"></a>
+<span class="sourceLineNo">312</span> int code = response.getCode();<a name="line.312"></a>
+<span class="sourceLineNo">313</span> switch (code) {<a name="line.313"></a>
+<span class="sourceLineNo">314</span> case 200:<a name="line.314"></a>
+<span class="sourceLineNo">315</span> CellSetModel model = new CellSetModel();<a name="line.315"></a>
+<span class="sourceLineNo">316</span> model.getObjectFromMessage(response.getBody());<a name="line.316"></a>
+<span class="sourceLineNo">317</span> Result[] results = buildResultFromModel(model);<a name="line.317"></a>
+<span class="sourceLineNo">318</span> if (results.length > 0) {<a name="line.318"></a>
+<span class="sourceLineNo">319</span> return results;<a name="line.319"></a>
+<span class="sourceLineNo">320</span> }<a name="line.320"></a>
+<span class="sourceLineNo">321</span> // fall through<a name="line.321"></a>
+<span class="sourceLineNo">322</span> case 404:<a name="line.322"></a>
+<span class="sourceLineNo">323</span> return new Result[0];<a name="line.323"></a>
+<span class="sourceLineNo">324</span><a name="line.324"></a>
+<span class="sourceLineNo">325</span> case 509:<a name="line.325"></a>
+<span class="sourceLineNo">326</span> try {<a name="line.326"></a>
+<span class="sourceLineNo">327</span> Thread.sleep(sleepTime);<a name="line.327"></a>
+<span class="sourceLineNo">328</span> } catch (InterruptedException e) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.329"></a>
+<span class="sourceLineNo">330</span> }<a name="line.330"></a>
+<span class="sourceLineNo">331</span> break;<a name="line.331"></a>
+<span class="sourceLineNo">332</span> default:<a name="line.332"></a>
+<span class="sourceLineNo">333</span> throw new IOException("get request returned " + code);<a name="line.333"></a>
+<span class="sourceLineNo">334</span> }<a name="line.334"></a>
+<span class="sourceLineNo">335</span> }<a name="line.335"></a>
+<span class="sourceLineNo">336</span> throw new IOException("get request timed out");<a name="line.336"></a>
+<span class="sourceLineNo">337</span> }<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span> @Override<a name="line.339"></a>
+<span class="sourceLineNo">340</span> public boolean exists(Get get) throws IOException {<a name="line.340"></a>
+<span class="sourceLineNo">341</span> LOG.warn("exists() is really get(), just use get()");<a name="line.341"></a>
+<span class="sourceLineNo">342</span> Result result = get(get);<a name="line.342"></a>
+<span class="sourceLineNo">343</span> return (result != null && !(result.isEmpty()));<a name="line.343"></a>
+<span class="sourceLineNo">344</span> }<a name="line.344"></a>
+<span class="sourceLineNo">345</span><a name="line.345"></a>
+<span class="sourceLineNo">346</span> @Override<a name="line.346"></a>
+<span class="sourceLineNo">347</span> public boolean[] exists(List<Get> gets) throws IOException {<a name="line.347"></a>
+<span class="sourceLineNo">348</span> LOG.warn("exists(List<Get>) is really list of get() calls, just use get()");<a name="line.348"></a>
+<span class="sourceLineNo">349</span> boolean[] results = new boolean[gets.size()];<a name="line.349"></a>
+<span class="sourceLineNo">350</span> for (int i = 0; i < results.length; i++) {<a name="line.350"></a>
+<span class="sourceLineNo">351</span> results[i] = exists(gets.get(i));<a name="line.351"></a>
+<span class="sourceLineNo">352</span> }<a name="line.352"></a>
+<span class="sourceLineNo">353</span> return results;<a name="line.353"></a>
+<span class="sourceLineNo">354</span> }<a name="line.354"></a>
+<span class="sourceLineNo">355</span><a name="line.355"></a>
+<span class="sourceLineNo">356</span> @Override<a name="line.356"></a>
+<span class="sourceLineNo">357</span> public void put(Put put) throws IOException {<a name="line.357"></a>
+<span class="sourceLineNo">358</span> CellSetModel model = buildModelFromPut(put);<a name="line.358"></a>
+<span class="sourceLineNo">359</span> StringBuilder sb = new StringBuilder();<a name="line.359"></a>
<span class="sourceLineNo">360</span> sb.append('/');<a name="line.360"></a>
-<span class="sourceLineNo">361</span> sb.append(toURLEncodedBytes(put.getRow()));<a name="line.361"></a>
-<span class="sourceLineNo">362</span> for (int i = 0; i < maxRetries; i++) {<a name="line.362"></a>
-<span class="sourceLineNo">363</span> Response response =<a name="line.363"></a>
-<span class="sourceLineNo">364</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.364"></a>
-<span class="sourceLineNo">365</span> int code = response.getCode();<a name="line.365"></a>
-<span class="sourceLineNo">366</span> switch (code) {<a name="line.366"></a>
-<span class="sourceLineNo">367</span> case 200:<a name="line.367"></a>
-<span class="sourceLineNo">368</span> return;<a name="line.368"></a>
-<span class="sourceLineNo">369</span> case 509:<a name="line.369"></a>
-<span class="sourceLineNo">370</span> try {<a name="line.370"></a>
-<span class="sourceLineNo">371</span> Thread.sleep(sleepTime);<a name="line.371"></a>
-<span class="sourceLineNo">372</span> } catch (InterruptedException e) {<a name="line.372"></a>
-<span class="sourceLineNo">373</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.373"></a>
-<span class="sourceLineNo">374</span> }<a name="line.374"></a>
-<span class="sourceLineNo">375</span> break;<a name="line.375"></a>
-<span class="sourceLineNo">376</span> default:<a name="line.376"></a>
-<span class="sourceLineNo">377</span> throw new IOException("put request failed with " + code);<a name="line.377"></a>
-<span class="sourceLineNo">378</span> }<a name="line.378"></a>
-<span class="sourceLineNo">379</span> }<a name="line.379"></a>
-<span class="sourceLineNo">380</span> throw new IOException("put request timed out");<a name="line.380"></a>
-<span class="sourceLineNo">381</span> }<a name="line.381"></a>
-<span class="sourceLineNo">382</span><a name="line.382"></a>
-<span class="sourceLineNo">383</span> @Override<a name="line.383"></a>
-<span class="sourceLineNo">384</span> public void put(List<Put> puts) throws IOException {<a name="line.384"></a>
-<span class="sourceLineNo">385</span> // this is a trick: The gateway accepts multiple rows in a cell set and<a name="line.385"></a>
-<span class="sourceLineNo">386</span> // ignores the row specification in the URI<a name="line.386"></a>
-<span class="sourceLineNo">387</span><a name="line.387"></a>
-<span class="sourceLineNo">388</span> // separate puts by row<a name="line.388"></a>
-<span class="sourceLineNo">389</span> TreeMap<byte[], List<Cell>> map = new TreeMap<>(Bytes.BYTES_COMPARATOR);<a name="line.389"></a>
-<span class="sourceLineNo">390</span> for (Put put : puts) {<a name="line.390"></a>
-<span class="sourceLineNo">391</span> byte[] row = put.getRow();<a name="line.391"></a>
-<span class="sourceLineNo">392</span> List<Cell> cells = map.get(row);<a name="line.392"></a>
-<span class="sourceLineNo">393</span> if (cells == null) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span> cells = new ArrayList<>();<a name="line.394"></a>
-<span class="sourceLineNo">395</span> map.put(row, cells);<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span> for (List<Cell> l : put.getFamilyCellMap().values()) {<a name="line.397"></a>
-<span class="sourceLineNo">398</span> cells.addAll(l);<a name="line.398"></a>
-<span class="sourceLineNo">399</span> }<a name="line.399"></a>
-<span class="sourceLineNo">400</span> }<a name="line.400"></a>
-<span class="sourceLineNo">401</span><a name="line.401"></a>
-<span class="sourceLineNo">402</span> // build the cell set<a name="line.402"></a>
-<span class="sourceLineNo">403</span> CellSetModel model = new CellSetModel();<a name="line.403"></a>
-<span class="sourceLineNo">404</span> for (Map.Entry<byte[], List<Cell>> e : map.entrySet()) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> RowModel row = new RowModel(e.getKey());<a name="line.405"></a>
-<span class="sourceLineNo">406</span> for (Cell cell : e.getValue()) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span> row.addCell(new CellModel(cell));<a name="line.407"></a>
-<span class="sourceLineNo">408</span> }<a name="line.408"></a>
-<span class="sourceLineNo">409</span> model.addRow(row);<a name="line.409"></a>
-<span class="sourceLineNo">410</span> }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span> // build path for multiput<a name="line.412"></a>
-<span class="sourceLineNo">413</span> StringBuilder sb = new StringBuilder();<a name="line.413"></a>
-<span class="sourceLineNo">414</span> sb.append('/');<a name="line.414"></a>
-<span class="sourceLineNo">415</span> sb.append(Bytes.toString(name));<a name="line.415"></a>
-<span class="sourceLineNo">416</span> sb.append("/$multiput"); // can be any nonexistent row<a name="line.416"></a>
-<span class="sourceLineNo">417</span> for (int i = 0; i < maxRetries; i++) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span> Response response =<a name="line.418"></a>
-<span class="sourceLineNo">419</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.419"></a>
-<span class="sourceLineNo">420</span> int code = response.getCode();<a name="line.420"></a>
-<span class="sourceLineNo">421</span> switch (code) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span> case 200:<a name="line.422"></a>
-<span class="sourceLineNo">423</span> return;<a name="line.423"></a>
-<span class="sourceLineNo">424</span> case 509:<a name="line.424"></a>
-<span class="sourceLineNo">425</span> try {<a name="line.425"></a>
-<span class="sourceLineNo">426</span> Thread.sleep(sleepTime);<a name="line.426"></a>
-<span class="sourceLineNo">427</span> } catch (InterruptedException e) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.428"></a>
-<span class="sourceLineNo">429</span> }<a name="line.429"></a>
-<span class="sourceLineNo">430</span> break;<a name="line.430"></a>
-<span class="sourceLineNo">431</span> default:<a name="line.431"></a>
-<span class="sourceLineNo">432</span> throw new IOException("multiput request failed with " + code);<a name="line.432"></a>
-<span class="sourceLineNo">433</span> }<a name="line.433"></a>
-<span class="sourceLineNo">434</span> }<a name="line.434"></a>
-<span class="sourceLineNo">435</span> throw new IOException("multiput request timed out");<a name="line.435"></a>
-<span class="sourceLineNo">436</span> }<a name="line.436"></a>
-<span class="sourceLineNo">437</span><a name="line.437"></a>
-<span class="sourceLineNo">438</span> @Override<a name="line.438"></a>
-<span class="sourceLineNo">439</span> public void delete(Delete delete) throws IOException {<a name="line.439"></a>
-<span class="sourceLineNo">440</span> String spec = buildRowSpec(delete.getRow(), delete.getFamilyCellMap(), delete.getTimestamp(),<a name="line.440"></a>
-<span class="sourceLineNo">441</span> delete.getTimestamp(), 1);<a name="line.441"></a>
-<span class="sourceLineNo">442</span> for (int i = 0; i < maxRetries; i++) {<a name="line.442"></a>
-<span class="sourceLineNo">443</span> Response response = client.delete(spec);<a name="line.443"></a>
-<span class="sourceLineNo">444</span> int code = response.getCode();<a name="line.444"></a>
-<span class="sourceLineNo">445</span> switch (code) {<a name="line.445"></a>
-<span class="sourceLineNo">446</span> case 200:<a name="line.446"></a>
-<span class="sourceLineNo">447</span> return;<a name="line.447"></a>
-<span class="sourceLineNo">448</span> case 509:<a name="line.448"></a>
-<span class="sourceLineNo">449</span> try {<a name="line.449"></a>
-<span class="sourceLineNo">450</span> Thread.sleep(sleepTime);<a name="line.450"></a>
-<span class="sourceLineNo">451</span> } catch (InterruptedException e) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.452"></a>
-<span class="sourceLineNo">453</span> }<a name="line.453"></a>
-<span class="sourceLineNo">454</span> break;<a name="line.454"></a>
-<span class="sourceLineNo">455</span> default:<a name="line.455"></a>
-<span class="sourceLineNo">456</span> throw new IOException("delete request failed with " + code);<a name="line.456"></a>
-<span class="sourceLineNo">457</span> }<a name="line.457"></a>
-<span class="sourceLineNo">458</span> }<a name="line.458"></a>
-<span class="sourceLineNo">459</span> throw new IOException("delete request timed out");<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span><a name="line.461"></a>
-<span class="sourceLineNo">462</span> @Override<a name="line.462"></a>
-<span class="sourceLineNo">463</span> public void delete(List<Delete> deletes) throws IOException {<a name="line.463"></a>
-<span class="sourceLineNo">464</span> for (Delete delete : deletes) {<a name="line.464"></a>
-<span class="sourceLineNo">465</span> delete(delete);<a name="line.465"></a>
-<span class="sourceLineNo">466</span> }<a name="line.466"></a>
-<span class="sourceLineNo">467</span> }<a name="line.467"></a>
-<span class="sourceLineNo">468</span><a name="line.468"></a>
-<span class="sourceLineNo">469</span> public void flushCommits() throws IOException {<a name="line.469"></a>
-<span class="sourceLineNo">470</span> // no-op<a name="line.470"></a>
-<span class="sourceLineNo">471</span> }<a name="line.471"></a>
-<span class="sourceLineNo">472</span><a name="line.472"></a>
-<span class="sourceLineNo">473</span> @Override<a name="line.473"></a>
-<span class="sourceLineNo">474</span> public TableDescriptor getDescriptor() throws IOException {<a name="line.474"></a>
-<span class="sourceLineNo">475</span> StringBuilder sb = new StringBuilder();<a name="line.475"></a>
-<span class="sourceLineNo">476</span> sb.append('/');<a name="line.476"></a>
-<span class="sourceLineNo">477</span> sb.append(Bytes.toString(name));<a name="line.477"></a>
+<span class="sourceLineNo">361</span> sb.append(Bytes.toString(name));<a name="line.361"></a>
+<span class="sourceLineNo">362</span> sb.append('/');<a name="line.362"></a>
+<span class="sourceLineNo">363</span> sb.append(toURLEncodedBytes(put.getRow()));<a name="line.363"></a>
+<span class="sourceLineNo">364</span> for (int i = 0; i < maxRetries; i++) {<a name="line.364"></a>
+<span class="sourceLineNo">365</span> Response response =<a name="line.365"></a>
+<span class="sourceLineNo">366</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.366"></a>
+<span class="sourceLineNo">367</span> int code = response.getCode();<a name="line.367"></a>
+<span class="sourceLineNo">368</span> switch (code) {<a name="line.368"></a>
+<span class="sourceLineNo">369</span> case 200:<a name="line.369"></a>
+<span class="sourceLineNo">370</span> return;<a name="line.370"></a>
+<span class="sourceLineNo">371</span> case 509:<a name="line.371"></a>
+<span class="sourceLineNo">372</span> try {<a name="line.372"></a>
+<span class="sourceLineNo">373</span> Thread.sleep(sleepTime);<a name="line.373"></a>
+<span class="sourceLineNo">374</span> } catch (InterruptedException e) {<a name="line.374"></a>
+<span class="sourceLineNo">375</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.375"></a>
+<span class="sourceLineNo">376</span> }<a name="line.376"></a>
+<span class="sourceLineNo">377</span> break;<a name="line.377"></a>
+<span class="sourceLineNo">378</span> default:<a name="line.378"></a>
+<span class="sourceLineNo">379</span> throw new IOException("put request failed with " + code);<a name="line.379"></a>
+<span class="sourceLineNo">380</span> }<a name="line.380"></a>
+<span class="sourceLineNo">381</span> }<a name="line.381"></a>
+<span class="sourceLineNo">382</span> throw new IOException("put request timed out");<a name="line.382"></a>
+<span class="sourceLineNo">383</span> }<a name="line.383"></a>
+<span class="sourceLineNo">384</span><a name="line.384"></a>
+<span class="sourceLineNo">385</span> @Override<a name="line.385"></a>
+<span class="sourceLineNo">386</span> public void put(List<Put> puts) throws IOException {<a name="line.386"></a>
+<span class="sourceLineNo">387</span> // this is a trick: The gateway accepts multiple rows in a cell set and<a name="line.387"></a>
+<span class="sourceLineNo">388</span> // ignores the row specification in the URI<a name="line.388"></a>
+<span class="sourceLineNo">389</span><a name="line.389"></a>
+<span class="sourceLineNo">390</span> // separate puts by row<a name="line.390"></a>
+<span class="sourceLineNo">391</span> TreeMap<byte[], List<Cell>> map = new TreeMap<>(Bytes.BYTES_COMPARATOR);<a name="line.391"></a>
+<span class="sourceLineNo">392</span> for (Put put : puts) {<a name="line.392"></a>
+<span class="sourceLineNo">393</span> byte[] row = put.getRow();<a name="line.393"></a>
+<span class="sourceLineNo">394</span> List<Cell> cells = map.get(row);<a name="line.394"></a>
+<span class="sourceLineNo">395</span> if (cells == null) {<a name="line.395"></a>
+<span class="sourceLineNo">396</span> cells = new ArrayList<>();<a name="line.396"></a>
+<span class="sourceLineNo">397</span> map.put(row, cells);<a name="line.397"></a>
+<span class="sourceLineNo">398</span> }<a name="line.398"></a>
+<span class="sourceLineNo">399</span> for (List<Cell> l : put.getFamilyCellMap().values()) {<a name="line.399"></a>
+<span class="sourceLineNo">400</span> cells.addAll(l);<a name="line.400"></a>
+<span class="sourceLineNo">401</span> }<a name="line.401"></a>
+<span class="sourceLineNo">402</span> }<a name="line.402"></a>
+<span class="sourceLineNo">403</span><a name="line.403"></a>
+<span class="sourceLineNo">404</span> // build the cell set<a name="line.404"></a>
+<span class="sourceLineNo">405</span> CellSetModel model = new CellSetModel();<a name="line.405"></a>
+<span class="sourceLineNo">406</span> for (Map.Entry<byte[], List<Cell>> e : map.entrySet()) {<a name="line.406"></a>
+<span class="sourceLineNo">407</span> RowModel row = new RowModel(e.getKey());<a name="line.407"></a>
+<span class="sourceLineNo">408</span> for (Cell cell : e.getValue()) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span> row.addCell(new CellModel(cell));<a name="line.409"></a>
+<span class="sourceLineNo">410</span> }<a name="line.410"></a>
+<span class="sourceLineNo">411</span> model.addRow(row);<a name="line.411"></a>
+<span class="sourceLineNo">412</span> }<a name="line.412"></a>
+<span class="sourceLineNo">413</span><a name="line.413"></a>
+<span class="sourceLineNo">414</span> // build path for multiput<a name="line.414"></a>
+<span class="sourceLineNo">415</span> StringBuilder sb = new StringBuilder();<a name="line.415"></a>
+<span class="sourceLineNo">416</span> sb.append('/');<a name="line.416"></a>
+<span class="sourceLineNo">417</span> sb.append(Bytes.toString(name));<a name="line.417"></a>
+<span class="sourceLineNo">418</span> sb.append("/$multiput"); // can be any nonexistent row<a name="line.418"></a>
+<span class="sourceLineNo">419</span> for (int i = 0; i < maxRetries; i++) {<a name="line.419"></a>
+<span class="sourceLineNo">420</span> Response response =<a name="line.420"></a>
+<span class="sourceLineNo">421</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.421"></a>
+<span class="sourceLineNo">422</span> int code = response.getCode();<a name="line.422"></a>
+<span class="sourceLineNo">423</span> switch (code) {<a name="line.423"></a>
+<span class="sourceLineNo">424</span> case 200:<a name="line.424"></a>
+<span class="sourceLineNo">425</span> return;<a name="line.425"></a>
+<span class="sourceLineNo">426</span> case 509:<a name="line.426"></a>
+<span class="sourceLineNo">427</span> try {<a name="line.427"></a>
+<span class="sourceLineNo">428</span> Thread.sleep(sleepTime);<a name="line.428"></a>
+<span class="sourceLineNo">429</span> } catch (InterruptedException e) {<a name="line.429"></a>
+<span class="sourceLineNo">430</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.430"></a>
+<span class="sourceLineNo">431</span> }<a name="line.431"></a>
+<span class="sourceLineNo">432</span> break;<a name="line.432"></a>
+<span class="sourceLineNo">433</span> default:<a name="line.433"></a>
+<span class="sourceLineNo">434</span> throw new IOException("multiput request failed with " + code);<a name="line.434"></a>
+<span class="sourceLineNo">435</span> }<a name="line.435"></a>
+<span class="sourceLineNo">436</span> }<a name="line.436"></a>
+<span class="sourceLineNo">437</span> throw new IOException("multiput request timed out");<a name="line.437"></a>
+<span class="sourceLineNo">438</span> }<a name="line.438"></a>
+<span class="sourceLineNo">439</span><a name="line.439"></a>
+<span class="sourceLineNo">440</span> @Override<a name="line.440"></a>
+<span class="sourceLineNo">441</span> public void delete(Delete delete) throws IOException {<a name="line.441"></a>
+<span class="sourceLineNo">442</span> String spec = buildRowSpec(delete.getRow(), delete.getFamilyCellMap(), delete.getTimestamp(),<a name="line.442"></a>
+<span class="sourceLineNo">443</span> delete.getTimestamp(), 1);<a name="line.443"></a>
+<span class="sourceLineNo">444</span> for (int i = 0; i < maxRetries; i++) {<a name="line.444"></a>
+<span class="sourceLineNo">445</span> Response response = client.delete(spec);<a name="line.445"></a>
+<span class="sourceLineNo">446</span> int code = response.getCode();<a name="line.446"></a>
+<span class="sourceLineNo">447</span> switch (code) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span> case 200:<a name="line.448"></a>
+<span class="sourceLineNo">449</span> return;<a name="line.449"></a>
+<span class="sourceLineNo">450</span> case 509:<a name="line.450"></a>
+<span class="sourceLineNo">451</span> try {<a name="line.451"></a>
+<span class="sourceLineNo">452</span> Thread.sleep(sleepTime);<a name="line.452"></a>
+<span class="sourceLineNo">453</span> } catch (InterruptedException e) {<a name="line.453"></a>
+<span class="sourceLineNo">454</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.454"></a>
+<span class="sourceLineNo">455</span> }<a name="line.455"></a>
+<span class="sourceLineNo">456</span> break;<a name="line.456"></a>
+<span class="sourceLineNo">457</span> default:<a name="line.457"></a>
+<span class="sourceLineNo">458</span> throw new IOException("delete request failed with " + code);<a name="line.458"></a>
+<span class="sourceLineNo">459</span> }<a name="line.459"></a>
+<span class="sourceLineNo">460</span> }<a name="line.460"></a>
+<span class="sourceLineNo">461</span> throw new IOException("delete request timed out");<a name="line.461"></a>
+<span class="sourceLineNo">462</span> }<a name="line.462"></a>
+<span class="sourceLineNo">463</span><a name="line.463"></a>
+<span class="sourceLineNo">464</span> @Override<a name="line.464"></a>
+<span class="sourceLineNo">465</span> public void delete(List<Delete> deletes) throws IOException {<a name="line.465"></a>
+<span class="sourceLineNo">466</span> for (Delete delete : deletes) {<a name="line.466"></a>
+<span class="sourceLineNo">467</span> delete(delete);<a name="line.467"></a>
+<span class="sourceLineNo">468</span> }<a name="line.468"></a>
+<span class="sourceLineNo">469</span> }<a name="line.469"></a>
+<span class="sourceLineNo">470</span><a name="line.470"></a>
+<span class="sourceLineNo">471</span> public void flushCommits() throws IOException {<a name="line.471"></a>
+<span class="sourceLineNo">472</span> // no-op<a name="line.472"></a>
+<span class="sourceLineNo">473</span> }<a name="line.473"></a>
+<span class="sourceLineNo">474</span><a name="line.474"></a>
+<span class="sourceLineNo">475</span> @Override<a name="line.475"></a>
+<span class="sourceLineNo">476</span> public TableDescriptor getDescriptor() throws IOException {<a name="line.476"></a>
+<span class="sourceLineNo">477</span> StringBuilder sb = new StringBuilder();<a name="line.477"></a>
<span class="sourceLineNo">478</span> sb.append('/');<a name="line.478"></a>
-<span class="sourceLineNo">479</span> sb.append("schema");<a name="line.479"></a>
-<span class="sourceLineNo">480</span> for (int i = 0; i < maxRetries; i++) {<a name="line.480"></a>
-<span class="sourceLineNo">481</span> Response response = client.get(sb.toString(), Constants.MIMETYPE_PROTOBUF);<a name="line.481"></a>
-<span class="sourceLineNo">482</span> int code = response.getCode();<a name="line.482"></a>
-<span class="sourceLineNo">483</span> switch (code) {<a name="line.483"></a>
-<span class="sourceLineNo">484</span> case 200:<a name="line.484"></a>
-<span class="sourceLineNo">485</span> TableSchemaModel schema = new TableSchemaModel();<a name="line.485"></a>
-<span class="sourceLineNo">486</span> schema.getObjectFromMessage(response.getBody());<a name="line.486"></a>
-<span class="sourceLineNo">487</span> return schema.getTableDescriptor();<a name="line.487"></a>
-<span class="sourceLineNo">488</span> case 509:<a name="line.488"></a>
-<span class="sourceLineNo">489</span> try {<a name="line.489"></a>
-<span class="sourceLineNo">490</span> Thread.sleep(sleepTime);<a name="line.490"></a>
-<span class="sourceLineNo">491</span> } catch (InterruptedException e) {<a name="line.491"></a>
-<span class="sourceLineNo">492</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.492"></a>
-<span class="sourceLineNo">493</span> }<a name="line.493"></a>
-<span class="sourceLineNo">494</span> break;<a name="line.494"></a>
-<span class="sourceLineNo">495</span> default:<a name="line.495"></a>
-<span class="sourceLineNo">496</span> throw new IOException("schema request returned " + code);<a name="line.496"></a>
-<span class="sourceLineNo">497</span> }<a name="line.497"></a>
-<span class="sourceLineNo">498</span> }<a name="line.498"></a>
-<span class="sourceLineNo">499</span> throw new IOException("schema request timed out");<a name="line.499"></a>
-<span class="sourceLineNo">500</span> }<a name="line.500"></a>
-<span class="sourceLineNo">501</span><a name="line.501"></a>
-<span class="sourceLineNo">502</span> class Scanner implements ResultScanner {<a name="line.502"></a>
+<span class="sourceLineNo">479</span> sb.append(Bytes.toString(name));<a name="line.479"></a>
+<span class="sourceLineNo">480</span> sb.append('/');<a name="line.480"></a>
+<span class="sourceLineNo">481</span> sb.append("schema");<a name="line.481"></a>
+<span class="sourceLineNo">482</span> for (int i = 0; i < maxRetries; i++) {<a name="line.482"></a>
+<span class="sourceLineNo">483</span> Response response = client.get(sb.toString(), Constants.MIMETYPE_PROTOBUF);<a name="line.483"></a>
+<span class="sourceLineNo">484</span> int code = response.getCode();<a name="line.484"></a>
+<span class="sourceLineNo">485</span> switch (code) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span> case 200:<a name="line.486"></a>
+<span class="sourceLineNo">487</span> TableSchemaModel schema = new TableSchemaModel();<a name="line.487"></a>
+<span class="sourceLineNo">488</span> schema.getObjectFromMessage(response.getBody());<a name="line.488"></a>
+<span class="sourceLineNo">489</span> return schema.getTableDescriptor();<a name="line.489"></a>
+<span class="sourceLineNo">490</span> case 509:<a name="line.490"></a>
+<span class="sourceLineNo">491</span> try {<a name="line.491"></a>
+<span class="sourceLineNo">492</span> Thread.sleep(sleepTime);<a name="line.492"></a>
+<span class="sourceLineNo">493</span> } catch (InterruptedException e) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.494"></a>
+<span class="sourceLineNo">495</span> }<a name="line.495"></a>
+<span class="sourceLineNo">496</span> break;<a name="line.496"></a>
+<span class="sourceLineNo">497</span> default:<a name="line.497"></a>
+<span class="sourceLineNo">498</span> throw new IOException("schema request returned " + code);<a name="line.498"></a>
+<span class="sourceLineNo">499</span> }<a name="line.499"></a>
+<span class="sourceLineNo">500</span> }<a name="line.500"></a>
+<span class="sourceLineNo">501</span> throw new IOException("schema request timed out");<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> String uri;<a name="line.504"></a>
+<span class="sourceLineNo">504</span> class Scanner implements ResultScanner {<a name="line.504"></a>
<span class="sourceLineNo">505</span><a name="line.505"></a>
-<span class="sourceLineNo">506</span> public Scanner(Scan scan) throws IOException {<a name="line.506"></a>
-<span class="sourceLineNo">507</span> ScannerModel model;<a name="line.507"></a>
-<span class="sourceLineNo">508</span> try {<a name="line.508"></a>
-<span class="sourceLineNo">509</span> model = ScannerModel.fromScan(scan);<a name="line.509"></a>
-<span class="sourceLineNo">510</span> } catch (Exception e) {<a name="line.510"></a>
-<span class="sourceLineNo">511</span> throw new IOException(e);<a name="line.511"></a>
-<span class="sourceLineNo">512</span> }<a name="line.512"></a>
-<span class="sourceLineNo">513</span> StringBuffer sb = new StringBuffer();<a name="line.513"></a>
-<span class="sourceLineNo">514</span> sb.append('/');<a name="line.514"></a>
-<span class="sourceLineNo">515</span> sb.append(Bytes.toString(name));<a name="line.515"></a>
+<span class="sourceLineNo">506</span> String uri;<a name="line.506"></a>
+<span class="sourceLineNo">507</span><a name="line.507"></a>
+<span class="sourceLineNo">508</span> public Scanner(Scan scan) throws IOException {<a name="line.508"></a>
+<span class="sourceLineNo">509</span> ScannerModel model;<a name="line.509"></a>
+<span class="sourceLineNo">510</span> try {<a name="line.510"></a>
+<span class="sourceLineNo">511</span> model = ScannerModel.fromScan(scan);<a name="line.511"></a>
+<span class="sourceLineNo">512</span> } catch (Exception e) {<a name="line.512"></a>
+<span class="sourceLineNo">513</span> throw new IOException(e);<a name="line.513"></a>
+<span class="sourceLineNo">514</span> }<a name="line.514"></a>
+<span class="sourceLineNo">515</span> StringBuffer sb = new StringBuffer();<a name="line.515"></a>
<span class="sourceLineNo">516</span> sb.append('/');<a name="line.516"></a>
-<span class="sourceLineNo">517</span> sb.append("scanner");<a name="line.517"></a>
-<span class="sourceLineNo">518</span> for (int i = 0; i < maxRetries; i++) {<a name="line.518"></a>
-<span class="sourceLineNo">519</span> Response response =<a name="line.519"></a>
-<span class="sourceLineNo">520</span> client.post(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.520"></a>
-<span class="sourceLineNo">521</span> int code = response.getCode();<a name="line.521"></a>
-<span class="sourceLineNo">522</span> switch (code) {<a name="line.522"></a>
-<span class="sourceLineNo">523</span> case 201:<a name="line.523"></a>
-<span class="sourceLineNo">524</span> uri = response.getLocation();<a name="line.524"></a>
-<span class="sourceLineNo">525</span> return;<a name="line.525"></a>
-<span class="sourceLineNo">526</span> case 509:<a name="line.526"></a>
-<span class="sourceLineNo">527</span> try {<a name="line.527"></a>
-<span class="sourceLineNo">528</span> Thread.sleep(sleepTime);<a name="line.528"></a>
-<span class="sourceLineNo">529</span> } catch (InterruptedException e) {<a name="line.529"></a>
-<span class="sourceLineNo">530</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.530"></a>
-<span class="sourceLineNo">531</span> }<a name="line.531"></a>
-<span class="sourceLineNo">532</span> break;<a name="line.532"></a>
-<span class="sourceLineNo">533</span> default:<a name="line.533"></a>
-<span class="sourceLineNo">534</span> throw new IOException("scan request failed with " + code);<a name="line.534"></a>
-<span class="sourceLineNo">535</span> }<a name="line.535"></a>
-<span class="sourceLineNo">536</span> }<a name="line.536"></a>
-<span class="sourceLineNo">537</span> throw new IOException("scan request timed out");<a name="line.537"></a>
-<span class="sourceLineNo">538</span> }<a name="line.538"></a>
-<span class="sourceLineNo">539</span><a name="line.539"></a>
-<span class="sourceLineNo">540</span> @Override<a name="line.540"></a>
-<span class="sourceLineNo">541</span> public Result[] next(int nbRows) throws IOException {<a name="line.541"></a>
-<span class="sourceLineNo">542</span> StringBuilder sb = new StringBuilder(uri);<a name="line.542"></a>
-<span class="sourceLineNo">543</span> sb.append("?n=");<a name="line.543"></a>
-<span class="sourceLineNo">544</span> sb.append(nbRows);<a name="line.544"></a>
-<span class="sourceLineNo">545</span> for (int i = 0; i < maxRetries; i++) {<a name="line.545"></a>
-<span class="sourceLineNo">546</span> Response response = client.get(sb.toString(), Constants.MIMETYPE_PROTOBUF);<a name="line.546"></a>
-<span class="sourceLineNo">547</span> int code = response.getCode();<a name="line.547"></a>
-<span class="sourceLineNo">548</span> switch (code) {<a name="line.548"></a>
-<span class="sourceLineNo">549</span> case 200:<a name="line.549"></a>
-<span class="sourceLineNo">550</span> CellSetModel model = new CellSetModel();<a name="line.550"></a>
-<span class="sourceLineNo">551</span> model.getObjectFromMessage(response.getBody());<a name="line.551"></a>
-<span class="sourceLineNo">552</span> return buildResultFromModel(model);<a name="line.552"></a>
-<span class="sourceLineNo">553</span> case 204:<a name="line.553"></a>
-<span class="sourceLineNo">554</span> case 206:<a name="line.554"></a>
-<span class="sourceLineNo">555</span> return null;<a name="line.555"></a>
-<span class="sourceLineNo">556</span> case 509:<a name="line.556"></a>
-<span class="sourceLineNo">557</span> try {<a name="line.557"></a>
-<span class="sourceLineNo">558</span> Thread.sleep(sleepTime);<a name="line.558"></a>
-<span class="sourceLineNo">559</span> } catch (InterruptedException e) {<a name="line.559"></a>
-<span class="sourceLineNo">560</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.560"></a>
-<span class="sourceLineNo">561</span> }<a name="line.561"></a>
-<span class="sourceLineNo">562</span> break;<a name="line.562"></a>
-<span class="sourceLineNo">563</span> default:<a name="line.563"></a>
-<span class="sourceLineNo">564</span> throw new IOException("scanner.next request failed with " + code);<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> throw new IOException("scanner.next request timed out");<a name="line.567"></a>
-<span class="sourceLineNo">568</span> }<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 Result next() throws IOException {<a name="line.571"></a>
-<span class="sourceLineNo">572</span> Result[] results = next(1);<a name="line.572"></a>
-<span class="sourceLineNo">573</span> if (results == null || results.length < 1) {<a name="line.573"></a>
-<span class="sourceLineNo">574</span> return null;<a name="line.574"></a>
-<span class="sourceLineNo">575</span> }<a name="line.575"></a>
-<span class="sourceLineNo">576</span> return results[0];<a name="line.576"></a>
-<span class="sourceLineNo">577</span> }<a name="line.577"></a>
-<span class="sourceLineNo">578</span><a name="line.578"></a>
-<span class="sourceLineNo">579</span> class Iter implements Iterator<Result> {<a name="line.579"></a>
+<span class="sourceLineNo">517</span> sb.append(Bytes.toString(name));<a name="line.517"></a>
+<span class="sourceLineNo">518</span> sb.append('/');<a name="line.518"></a>
+<span class="sourceLineNo">519</span> sb.append("scanner");<a name="line.519"></a>
+<span class="sourceLineNo">520</span> for (int i = 0; i < maxRetries; i++) {<a name="line.520"></a>
+<span class="sourceLineNo">521</span> Response response =<a name="line.521"></a>
+<span class="sourceLineNo">522</span> client.post(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.522"></a>
+<span class="sourceLineNo">523</span> int code = response.getCode();<a name="line.523"></a>
+<span class="sourceLineNo">524</span> switch (code) {<a name="line.524"></a>
+<span class="sourceLineNo">525</span> case 201:<a name="line.525"></a>
+<span class="sourceLineNo">526</span> uri = response.getLocation();<a name="line.526"></a>
+<span class="sourceLineNo">527</span> return;<a name="line.527"></a>
+<span class="sourceLineNo">528</span> case 509:<a name="line.528"></a>
+<span class="sourceLineNo">529</span> try {<a name="line.529"></a>
+<span class="sourceLineNo">530</span> Thread.sleep(sleepTime);<a name="line.530"></a>
+<span class="sourceLineNo">531</span> } catch (InterruptedException e) {<a name="line.531"></a>
+<span class="sourceLineNo">532</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.532"></a>
+<span class="sourceLineNo">533</span> }<a name="line.533"></a>
+<span class="sourceLineNo">534</span> break;<a name="line.534"></a>
+<span class="sourceLineNo">535</span> default:<a name="line.535"></a>
+<span class="sourceLineNo">536</span> throw new IOException("scan request failed with " + code);<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> throw new IOException("scan request timed out");<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> @Override<a name="line.542"></a>
+<span class="sourceLineNo">543</span> public Result[] next(int nbRows) throws IOException {<a name="line.543"></a>
+<span class="sourceLineNo">544</span> StringBuilder sb = new StringBuilder(uri);<a name="line.544"></a>
+<span class="sourceLineNo">545</span> sb.append("?n=");<a name="line.545"></a>
+<span class="sourceLineNo">546</span> sb.append(nbRows);<a name="line.546"></a>
+<span class="sourceLineNo">547</span> for (int i = 0; i < maxRetries; i++) {<a name="line.547"></a>
+<span class="sourceLineNo">548</span> Response response = client.get(sb.toString(), Constants.MIMETYPE_PROTOBUF);<a name="line.548"></a>
+<span class="sourceLineNo">549</span> int code = response.getCode();<a name="line.549"></a>
+<span class="sourceLineNo">550</span> switch (code) {<a name="line.550"></a>
+<span class="sourceLineNo">551</span> case 200:<a name="line.551"></a>
+<span class="sourceLineNo">552</span> CellSetModel model = new CellSetModel();<a name="line.552"></a>
+<span class="sourceLineNo">553</span> model.getObjectFromMessage(response.getBody());<a name="line.553"></a>
+<span class="sourceLineNo">554</span> return buildResultFromModel(model);<a name="line.554"></a>
+<span class="sourceLineNo">555</span> case 204:<a name="line.555"></a>
+<span class="sourceLineNo">556</span> case 206:<a name="line.556"></a>
+<span class="sourceLineNo">557</span> return null;<a name="line.557"></a>
+<span class="sourceLineNo">558</span> case 509:<a name="line.558"></a>
+<span class="sourceLineNo">559</span> try {<a name="line.559"></a>
+<span class="sourceLineNo">560</span> Thread.sleep(sleepTime);<a name="line.560"></a>
+<span class="sourceLineNo">561</span> } catch (InterruptedException e) {<a name="line.561"></a>
+<span class="sourceLineNo">562</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.562"></a>
+<span class="sourceLineNo">563</span> }<a name="line.563"></a>
+<span class="sourceLineNo">564</span> break;<a name="line.564"></a>
+<span class="sourceLineNo">565</span> default:<a name="line.565"></a>
+<span class="sourceLineNo">566</span> throw new IOException("scanner.next request failed with " + code);<a name="line.566"></a>
+<span class="sourceLineNo">567</span> }<a name="line.567"></a>
+<span class="sourceLineNo">568</span> }<a name="line.568"></a>
+<span class="sourceLineNo">569</span> throw new IOException("scanner.next request timed out");<a name="line.569"></a>
+<span class="sourceLineNo">570</span> }<a name="line.570"></a>
+<span class="sourceLineNo">571</span><a name="line.571"></a>
+<span class="sourceLineNo">572</span> @Override<a name="line.572"></a>
+<span class="sourceLineNo">573</span> public Result next() throws IOException {<a name="line.573"></a>
+<span class="sourceLineNo">574</span> Result[] results = next(1);<a name="line.574"></a>
+<span class="sourceLineNo">575</span> if (results == null || results.length < 1) {<a name="line.575"></a>
+<span class="sourceLineNo">576</span> return null;<a name="line.576"></a>
+<span class="sourceLineNo">577</span> }<a name="line.577"></a>
+<span class="sourceLineNo">578</span> return results[0];<a name="line.578"></a>
+<span class="sourceLineNo">579</span> }<a name="line.579"></a>
<span class="sourceLineNo">580</span><a name="line.580"></a>
-<span class="sourceLineNo">581</span> Result cache;<a name="line.581"></a>
+<span class="sourceLineNo">581</span> class Iter implements Iterator<Result> {<a name="line.581"></a>
<span class="sourceLineNo">582</span><a name="line.582"></a>
-<span class="sourceLineNo">583</span> public Iter() {<a name="line.583"></a>
-<span class="sourceLineNo">584</span> try {<a name="line.584"></a>
-<span class="sourceLineNo">585</span> cache = Scanner.this.next();<a name="line.585"></a>
-<span class="sourceLineNo">586</span> } catch (IOException e) {<a name="line.586"></a>
-<span class="sourceLineNo">587</span> LOG.warn(StringUtils.stringifyException(e));<a name="line.587"></a>
-<span class="sourceLineNo">588</span> }<a name="line.588"></a>
-<span class="sourceLineNo">589</span> }<a name="line.589"></a>
-<span class="sourceLineNo">590</span><a name="line.590"></a>
-<span class="sourceLineNo">591</span> @Override<a name="line.591"></a>
-<span class="sourceLineNo">592</span> public boolean hasNext() {<a name="line.592"></a>
-<span class="sourceLineNo">593</span> return cache != null;<a name="line.593"></a>
-<span class="sourceLineNo">594</span> }<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 Result next() {<a name="line.597"></a>
-<span class="sourceLineNo">598</span> Result result = cache;<a name="line.598"></a>
-<span class="sourceLineNo">599</span> try {<a name="line.599"></a>
-<span class="sourceLineNo">600</span> cache = Scanner.this.next();<a name="line.600"></a>
-<span class="sourceLineNo">601</span> } catch (IOException e) {<a name="line.601"></a>
-<span class="sourceLineNo">602</span> LOG.warn(StringUtils.stringifyException(e));<a name="line.602"></a>
-<span class="sourceLineNo">603</span> cache = null;<a name="line.603"></a>
-<span class="sourceLineNo">604</span> }<a name="line.604"></a>
-<span class="sourceLineNo">605</span> return result;<a name="line.605"></a>
-<span class="sourceLineNo">606</span> }<a name="line.606"></a>
-<span class="sourceLineNo">607</span><a name="line.607"></a>
-<span class="sourceLineNo">608</span> @Override<a name="line.608"></a>
-<span class="sourceLineNo">609</span> public void remove() {<a name="line.609"></a>
-<span class="sourceLineNo">610</span> throw new RuntimeException("remove() not supported");<a name="line.610"></a>
-<span class="sourceLineNo">611</span> }<a name="line.611"></a>
-<span class="sourceLineNo">612</span><a name="line.612"></a>
-<span class="sourceLineNo">613</span> }<a name="line.613"></a>
+<span class="sourceLineNo">583</span> Result cache;<a name="line.583"></a>
+<span class="sourceLineNo">584</span><a name="line.584"></a>
+<span class="sourceLineNo">585</span> public Iter() {<a name="line.585"></a>
+<span class="sourceLineNo">586</span> try {<a name="line.586"></a>
+<span class="sourceLineNo">587</span> cache = Scanner.this.next();<a name="line.587"></a>
+<span class="sourceLineNo">588</span> } catch (IOException e) {<a name="line.588"></a>
+<span class="sourceLineNo">589</span> LOG.warn(StringUtils.stringifyException(e));<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> @Override<a name="line.593"></a>
+<span class="sourceLineNo">594</span> public boolean hasNext() {<a name="line.594"></a>
+<span class="sourceLineNo">595</span> return cache != null;<a name="line.595"></a>
+<span class="sourceLineNo">596</span> }<a name="line.596"></a>
+<span class="sourceLineNo">597</span><a name="line.597"></a>
+<span class="sourceLineNo">598</span> @Override<a name="line.598"></a>
+<span class="sourceLineNo">599</span> public Result next() {<a name="line.599"></a>
+<span class="sourceLineNo">600</span> Result result = cache;<a name="line.600"></a>
+<span class="sourceLineNo">601</span> try {<a name="line.601"></a>
+<span class="sourceLineNo">602</span> cache = Scanner.this.next();<a name="line.602"></a>
+<span class="sourceLineNo">603</span> } catch (IOException e) {<a name="line.603"></a>
+<span class="sourceLineNo">604</span> LOG.warn(StringUtils.stringifyException(e));<a name="line.604"></a>
+<span class="sourceLineNo">605</span> cache = null;<a name="line.605"></a>
+<span class="sourceLineNo">606</span> }<a name="line.606"></a>
+<span class="sourceLineNo">607</span> return result;<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> @Override<a name="line.610"></a>
+<span class="sourceLineNo">611</span> public void remove() {<a name="line.611"></a>
+<span class="sourceLineNo">612</span> throw new RuntimeException("remove() not supported");<a name="line.612"></a>
+<span class="sourceLineNo">613</span> }<a name="line.613"></a>
<span class="sourceLineNo">614</span><a name="line.614"></a>
-<span class="sourceLineNo">615</span> @Override<a name="line.615"></a>
-<span class="sourceLineNo">616</span> public Iterator<Result> iterator() {<a name="line.616"></a>
-<span class="sourceLineNo">617</span> return new Iter();<a name="line.617"></a>
-<span class="sourceLineNo">618</span> }<a name="line.618"></a>
-<span class="sourceLineNo">619</span><a name="line.619"></a>
-<span class="sourceLineNo">620</span> @Override<a name="line.620"></a>
-<span class="sourceLineNo">621</span> public void close() {<a name="line.621"></a>
-<span class="sourceLineNo">622</span> try {<a name="line.622"></a>
-<span class="sourceLineNo">623</span> client.delete(uri);<a name="line.623"></a>
-<span class="sourceLineNo">624</span> } catch (IOException e) {<a name="line.624"></a>
-<span class="sourceLineNo">625</span> LOG.warn(StringUtils.stringifyException(e));<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><a name="line.628"></a>
-<span class="sourceLineNo">629</span> @Override<a name="line.629"></a>
-<span class="sourceLineNo">630</span> public boolean renewLease() {<a name="line.630"></a>
-<span class="sourceLineNo">631</span> throw new RuntimeException("renewLease() not supported");<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> @Override<a name="line.634"></a>
-<span class="sourceLineNo">635</span> public ScanMetrics getScanMetrics() {<a name="line.635"></a>
-<span class="sourceLineNo">636</span> throw new RuntimeException("getScanMetrics() not supported");<a name="line.636"></a>
-<span class="sourceLineNo">637</span> }<a name="line.637"></a>
-<span class="sourceLineNo">638</span> }<a name="line.638"></a>
-<span class="sourceLineNo">639</span><a name="line.639"></a>
-<span class="sourceLineNo">640</span> @Override<a name="line.640"></a>
-<span class="sourceLineNo">641</span> public ResultScanner getScanner(Scan scan) throws IOException {<a name="line.641"></a>
-<span class="sourceLineNo">642</span> return new Scanner(scan);<a name="line.642"></a>
-<span class="sourceLineNo">643</span> }<a name="line.643"></a>
-<span class="sourceLineNo">644</span><a name="line.644"></a>
-<span class="sourceLineNo">645</span> @Override<a name="line.645"></a>
-<span class="sourceLineNo">646</span> public ResultScanner getScanner(byte[] family) throws IOException {<a name="line.646"></a>
-<span class="sourceLineNo">647</span> Scan scan = new Scan();<a name="line.647"></a>
-<span class="sourceLineNo">648</span> scan.addFamily(family);<a name="line.648"></a>
-<span class="sourceLineNo">649</span> return new Scanner(scan);<a name="line.649"></a>
-<span class="sourceLineNo">650</span> }<a name="line.650"></a>
-<span class="sourceLineNo">651</span><a name="line.651"></a>
-<span class="sourceLineNo">652</span> @Override<a name="line.652"></a>
-<span class="sourceLineNo">653</span> public ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException {<a name="line.653"></a>
-<span class="sourceLineNo">654</span> Scan scan = new Scan();<a name="line.654"></a>
-<span class="sourceLineNo">655</span> scan.addColumn(family, qualifier);<a name="line.655"></a>
-<span class="sourceLineNo">656</span> return new Scanner(scan);<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> public boolean isAutoFlush() {<a name="line.659"></a>
-<span class="sourceLineNo">660</span> return true;<a name="line.660"></a>
-<span class="sourceLineNo">661</span> }<a name="line.661"></a>
-<span class="sourceLineNo">662</span><a name="line.662"></a>
-<span class="sourceLineNo">663</span> private boolean doCheckAndPut(byte[] row, byte[] family, byte[] qualifier, byte[] value, Put put)<a name="line.663"></a>
-<span class="sourceLineNo">664</span> throws IOException {<a name="line.664"></a>
-<span class="sourceLineNo">665</span> // column to check-the-value<a name="line.665"></a>
-<span class="sourceLineNo">666</span> put.add(new KeyValue(row, family, qualifier, value));<a name="line.666"></a>
-<span class="sourceLineNo">667</span><a name="line.667"></a>
-<span class="sourceLineNo">668</span> CellSetModel model = buildModelFromPut(put);<a name="line.668"></a>
-<span class="sourceLineNo">669</span> StringBuilder sb = new StringBuilder();<a name="line.669"></a>
-<span class="sourceLineNo">670</span> sb.append('/');<a name="line.670"></a>
-<span class="sourceLineNo">671</span> sb.append(Bytes.toString(name));<a name="line.671"></a>
+<span class="sourceLineNo">615</span> }<a name="line.615"></a>
+<span class="sourceLineNo">616</span><a name="line.616"></a>
+<span class="sourceLineNo">617</span> @Override<a name="line.617"></a>
+<span class="sourceLineNo">618</span> public Iterator<Result> iterator() {<a name="line.618"></a>
+<span class="sourceLineNo">619</span> return new Iter();<a name="line.619"></a>
+<span class="sourceLineNo">620</span> }<a name="line.620"></a>
+<span class="sourceLineNo">621</span><a name="line.621"></a>
+<span class="sourceLineNo">622</span> @Override<a name="line.622"></a>
+<span class="sourceLineNo">623</span> public void close() {<a name="line.623"></a>
+<span class="sourceLineNo">624</span> try {<a name="line.624"></a>
+<span class="sourceLineNo">625</span> client.delete(uri);<a name="line.625"></a>
+<span class="sourceLineNo">626</span> } catch (IOException e) {<a name="line.626"></a>
+<span class="sourceLineNo">627</span> LOG.warn(StringUtils.stringifyException(e));<a name="line.627"></a>
+<span class="sourceLineNo">628</span> }<a name="line.628"></a>
+<span class="sourceLineNo">629</span> }<a name="line.629"></a>
+<span class="sourceLineNo">630</span><a name="line.630"></a>
+<span class="sourceLineNo">631</span> @Override<a name="line.631"></a>
+<span class="sourceLineNo">632</span> public boolean renewLease() {<a name="line.632"></a>
+<span class="sourceLineNo">633</span> throw new RuntimeException("renewLease() not supported");<a name="line.633"></a>
+<span class="sourceLineNo">634</span> }<a name="line.634"></a>
+<span class="sourceLineNo">635</span><a name="line.635"></a>
+<span class="sourceLineNo">636</span> @Override<a name="line.636"></a>
+<span class="sourceLineNo">637</span> public ScanMetrics getScanMetrics() {<a name="line.637"></a>
+<span class="sourceLineNo">638</span> throw new RuntimeException("getScanMetrics() not supported");<a name="line.638"></a>
+<span class="sourceLineNo">639</span> }<a name="line.639"></a>
+<span class="sourceLineNo">640</span> }<a name="line.640"></a>
+<span class="sourceLineNo">641</span><a name="line.641"></a>
+<span class="sourceLineNo">642</span> @Override<a name="line.642"></a>
+<span class="sourceLineNo">643</span> public ResultScanner getScanner(Scan scan) throws IOException {<a name="line.643"></a>
+<span class="sourceLineNo">644</span> return new Scanner(scan);<a name="line.644"></a>
+<span class="sourceLineNo">645</span> }<a name="line.645"></a>
+<span class="sourceLineNo">646</span><a name="line.646"></a>
+<span class="sourceLineNo">647</span> @Override<a name="line.647"></a>
+<span class="sourceLineNo">648</span> public ResultScanner getScanner(byte[] family) throws IOException {<a name="line.648"></a>
+<span class="sourceLineNo">649</span> Scan scan = new Scan();<a name="line.649"></a>
+<span class="sourceLineNo">650</span> scan.addFamily(family);<a name="line.650"></a>
+<span class="sourceLineNo">651</span> return new Scanner(scan);<a name="line.651"></a>
+<span class="sourceLineNo">652</span> }<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 ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException {<a name="line.655"></a>
+<span class="sourceLineNo">656</span> Scan scan = new Scan();<a name="line.656"></a>
+<span class="sourceLineNo">657</span> scan.addColumn(family, qualifier);<a name="line.657"></a>
+<span class="sourceLineNo">658</span> return new Scanner(scan);<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> public boolean isAutoFlush() {<a name="line.661"></a>
+<span class="sourceLineNo">662</span> return true;<a name="line.662"></a>
+<span class="sourceLineNo">663</span> }<a name="line.663"></a>
+<span class="sourceLineNo">664</span><a name="line.664"></a>
+<span class="sourceLineNo">665</span> private boolean doCheckAndPut(byte[] row, byte[] family, byte[] qualifier, byte[] value, Put put)<a name="line.665"></a>
+<span class="sourceLineNo">666</span> throws IOException {<a name="line.666"></a>
+<span class="sourceLineNo">667</span> // column to check-the-value<a name="line.667"></a>
+<span class="sourceLineNo">668</span> put.add(new KeyValue(row, family, qualifier, value));<a name="line.668"></a>
+<span class="sourceLineNo">669</span><a name="line.669"></a>
+<span class="sourceLineNo">670</span> CellSetModel model = buildModelFromPut(put);<a name="line.670"></a>
+<span class="sourceLineNo">671</span> StringBuilder sb = new StringBuilder();<a name="line.671"></a>
<span class="sourceLineNo">672</span> sb.append('/');<a name="line.672"></a>
-<span class="sourceLineNo">673</span> sb.append(toURLEncodedBytes(put.getRow()));<a name="line.673"></a>
-<span class="sourceLineNo">674</span> sb.append("?check=put");<a name="line.674"></a>
-<span class="sourceLineNo">675</span><a name="line.675"></a>
-<span class="sourceLineNo">676</span> for (int i = 0; i < maxRetries; i++) {<a name="line.676"></a>
-<span class="sourceLineNo">677</span> Response response =<a name="line.677"></a>
-<span class="sourceLineNo">678</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.678"></a>
-<span class="sourceLineNo">679</span> int code = response.getCode();<a name="line.679"></a>
-<span class="sourceLineNo">680</span> switch (code) {<a name="line.680"></a>
-<span class="sourceLineNo">681</span> case 200:<a name="line.681"></a>
-<span class="sourceLineNo">682</span> return true;<a name="line.682"></a>
-<span class="sourceLineNo">683</span> case 304: // NOT-MODIFIED<a name="line.683"></a>
-<span class="sourceLineNo">684</span> return false;<a name="line.684"></a>
-<span class="sourceLineNo">685</span> case 509:<a name="line.685"></a>
-<span class="sourceLineNo">686</span> try {<a name="line.686"></a>
-<span class="sourceLineNo">687</span> Thread.sleep(sleepTime);<a name="line.687"></a>
-<span class="sourceLineNo">688</span> } catch (final InterruptedException e) {<a name="line.688"></a>
-<span class="sourceLineNo">689</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.689"></a>
-<span class="sourceLineNo">690</span> }<a name="line.690"></a>
-<span class="sourceLineNo">691</span> break;<a name="line.691"></a>
-<span class="sourceLineNo">692</span> default:<a name="line.692"></a>
-<span class="sourceLineNo">693</span> throw new IOException("checkAndPut request failed with " + code);<a name="line.693"></a>
-<span class="sourceLineNo">694</span> }<a name="line.694"></a>
-<span class="sourceLineNo">695</span> }<a name="line.695"></a>
-<span class="sourceLineNo">696</span> throw new IOException("checkAndPut request timed out");<a name="line.696"></a>
-<span class="sourceLineNo">697</span> }<a name="line.697"></a>
-<span class="sourceLineNo">698</span><a name="line.698"></a>
-<span class="sourceLineNo">699</span> private boolean doCheckAndDelete(byte[] row, byte[] family, byte[] qualifier, byte[] value,<a name="line.699"></a>
-<span class="sourceLineNo">700</span> Delete delete) throws IOException {<a name="line.700"></a>
-<span class="sourceLineNo">701</span> Put put = new Put(row, HConstants.LATEST_TIMESTAMP, delete.getFamilyCellMap());<a name="line.701"></a>
-<span class="sourceLineNo">702</span> // column to check-the-value<a name="line.702"></a>
-<span class="sourceLineNo">703</span> put.add(new KeyValue(row, family, qualifier, value));<a name="line.703"></a>
-<span class="sourceLineNo">704</span> CellSetModel model = buildModelFromPut(put);<a name="line.704"></a>
-<span class="sourceLineNo">705</span> StringBuilder sb = new StringBuilder();<a name="line.705"></a>
-<span class="sourceLineNo">706</span> sb.append('/');<a name="line.706"></a>
-<span class="sourceLineNo">707</span> sb.append(Bytes.toString(name));<a name="line.707"></a>
+<span class="sourceLineNo">673</span> sb.append(Bytes.toString(name));<a name="line.673"></a>
+<span class="sourceLineNo">674</span> sb.append('/');<a name="line.674"></a>
+<span class="sourceLineNo">675</span> sb.append(toURLEncodedBytes(put.getRow()));<a name="line.675"></a>
+<span class="sourceLineNo">676</span> sb.append("?check=put");<a name="line.676"></a>
+<span class="sourceLineNo">677</span><a name="line.677"></a>
+<span class="sourceLineNo">678</span> for (int i = 0; i < maxRetries; i++) {<a name="line.678"></a>
+<span class="sourceLineNo">679</span> Response response =<a name="line.679"></a>
+<span class="sourceLineNo">680</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.680"></a>
+<span class="sourceLineNo">681</span> int code = response.getCode();<a name="line.681"></a>
+<span class="sourceLineNo">682</span> switch (code) {<a name="line.682"></a>
+<span class="sourceLineNo">683</span> case 200:<a name="line.683"></a>
+<span class="sourceLineNo">684</span> return true;<a name="line.684"></a>
+<span class="sourceLineNo">685</span> case 304: // NOT-MODIFIED<a name="line.685"></a>
+<span class="sourceLineNo">686</span> return false;<a name="line.686"></a>
+<span class="sourceLineNo">687</span> case 509:<a name="line.687"></a>
+<span class="sourceLineNo">688</span> try {<a name="line.688"></a>
+<span class="sourceLineNo">689</span> Thread.sleep(sleepTime);<a name="line.689"></a>
+<span class="sourceLineNo">690</span> } catch (final InterruptedException e) {<a name="line.690"></a>
+<span class="sourceLineNo">691</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.691"></a>
+<span class="sourceLineNo">692</span> }<a name="line.692"></a>
+<span class="sourceLineNo">693</span> break;<a name="line.693"></a>
+<span class="sourceLineNo">694</span> default:<a name="line.694"></a>
+<span class="sourceLineNo">695</span> throw new IOException("checkAndPut request failed with " + code);<a name="line.695"></a>
+<span class="sourceLineNo">696</span> }<a name="line.696"></a>
+<span class="sourceLineNo">697</span> }<a name="line.697"></a>
+<span class="sourceLineNo">698</span> throw new IOException("checkAndPut request timed out");<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> private boolean doCheckAndDelete(byte[] row, byte[] family, byte[] qualifier, byte[] value,<a name="line.701"></a>
+<span class="sourceLineNo">702</span> Delete delete) throws IOException {<a name="line.702"></a>
+<span class="sourceLineNo">703</span> Put put = new Put(row, HConstants.LATEST_TIMESTAMP, delete.getFamilyCellMap());<a name="line.703"></a>
+<span class="sourceLineNo">704</span> // column to check-the-value<a name="line.704"></a>
+<span class="sourceLineNo">705</span> put.add(new KeyValue(row, family, qualifier, value));<a name="line.705"></a>
+<span class="sourceLineNo">706</span> CellSetModel model = buildModelFromPut(put);<a name="line.706"></a>
+<span class="sourceLineNo">707</span> StringBuilder sb = new StringBuilder();<a name="line.707"></a>
<span class="sourceLineNo">708</span> sb.append('/');<a name="line.708"></a>
-<span class="sourceLineNo">709</span> sb.append(toURLEncodedBytes(row));<a name="line.709"></a>
-<span class="sourceLineNo">710</span> sb.append("?check=delete");<a name="line.710"></a>
-<span class="sourceLineNo">711</span><a name="line.711"></a>
-<span class="sourceLineNo">712</span> for (int i = 0; i < maxRetries; i++) {<a name="line.712"></a>
-<span class="sourceLineNo">713</span> Response response =<a name="line.713"></a>
-<span class="sourceLineNo">714</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.714"></a>
-<span class="sourceLineNo">715</span> int code = response.getCode();<a name="line.715"></a>
-<span class="sourceLineNo">716</span> switch (code) {<a name="line.716"></a>
-<span class="sourceLineNo">717</span> case 200:<a name="line.717"></a>
-<span class="sourceLineNo">718</span> return true;<a name="line.718"></a>
-<span class="sourceLineNo">719</span> case 304: // NOT-MODIFIED<a name="line.719"></a>
-<span class="sourceLineNo">720</span> return false;<a name="line.720"></a>
-<span class="sourceLineNo">721</span> case 509:<a name="line.721"></a>
-<span class="sourceLineNo">722</span> try {<a name="line.722"></a>
-<span class="sourceLineNo">723</span> Thread.sleep(sleepTime);<a name="line.723"></a>
-<span class="sourceLineNo">724</span> } catch (final InterruptedException e) {<a name="line.724"></a>
-<span class="sourceLineNo">725</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.725"></a>
-<span class="sourceLineNo">726</span> }<a name="line.726"></a>
-<span class="sourceLineNo">727</span> break;<a name="line.727"></a>
-<span class="sourceLineNo">728</span> default:<a name="line.728"></a>
-<span class="sourceLineNo">729</span> throw new IOException("checkAndDelete request failed with " + code);<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> throw new IOException("checkAndDelete request timed out");<a name="line.732"></a>
-<span class="sourceLineNo">733</span> }<a name="line.733"></a>
-<span class="sourceLineNo">734</span><a name="line.734"></a>
-<span class="sourceLineNo">735</span> @Override<a name="line.735"></a>
-<span class="sourceLineNo">736</span> public CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) {<a name="line.736"></a>
-<span class="sourceLineNo">737</span> return new CheckAndMutateBuilderImpl(row, family);<a name="line.737"></a>
-<span class="sourceLineNo">738</span> }<a name="line.738"></a>
-<span class="sourceLineNo">739</span><a name="line.739"></a>
-<span class="sourceLineNo">740</span> @Override<a name="line.740"></a>
-<span class="sourceLineNo">741</span> public Result increment(Increment increment) throws IOException {<a name="line.741"></a>
-<span class="sourceLineNo">742</span> throw new IOException("Increment not supported");<a name="line.742"></a>
-<span class="sourceLineNo">743</span> }<a name="line.743"></a>
-<span class="sourceLineNo">744</span><a name="line.744"></a>
-<span class="sourceLineNo">745</span> @Override<a name="line.745"></a>
-<span class="sourceLineNo">746</span> public Result append(Append append) throws IOException {<a name="line.746"></a>
-<span class="sourceLineNo">747</span> throw new IOException("Append not supported");<a name="line.747"></a>
-<span class="sourceLineNo">748</span> }<a name="line.748"></a>
-<span class="sourceLineNo">749</span><a name="line.749"></a>
-<span class="sourceLineNo">750</span> @Override<a name="line.750"></a>
-<span class="sourceLineNo">751</span> public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)<a name="line.751"></a>
-<span class="sourceLineNo">752</span> throws IOException {<a name="line.752"></a>
-<span class="sourceLineNo">753</span> throw new IOException("incrementColumnValue not supported");<a name="line.753"></a>
-<span class="sourceLineNo">754</span> }<a name="line.754"></a>
-<span class="sourceLineNo">755</span><a name="line.755"></a>
-<span class="sourceLineNo">756</span> @Override<a name="line.756"></a>
-<span class="sourceLineNo">757</span> public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount,<a name="line.757"></a>
-<span class="sourceLineNo">758</span> Durability durability) throws IOException {<a name="line.758"></a>
-<span class="sourceLineNo">759</span> throw new IOException("incrementColumnValue not supported");<a name="line.759"></a>
-<span class="sourceLineNo">760</span> }<a name="line.760"></a>
-<span class="sourceLineNo">761</span><a name="line.761"></a>
-<span class="sourceLineNo">762</span> @Override<a name="line.762"></a>
-<span class="sourceLineNo">763</span> public void batch(List<? extends Row> actions, Object[] results) throws IOException {<a name="line.763"></a>
-<span class="sourceLineNo">764</span> throw new IOException("batch not supported");<a name="line.764"></a>
-<span class="sourceLineNo">765</span> }<a name="line.765"></a>
-<span class="sourceLineNo">766</span><a name="line.766"></a>
-<span class="sourceLineNo">767</span> @Override<a name="line.767"></a>
-<span class="sourceLineNo">768</span> public <R> void batchCallback(List<? extends Row> actions, Object[] results,<a name="line.768"></a>
-<span class="sourceLineNo">769</span> Batch.Callback<R> callback) throws IOException, InterruptedException {<a name="line.769"></a>
-<span class="sourceLineNo">770</span> throw new IOException("batchCallback not supported");<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> @Override<a name="line.773"></a>
-<span class="sourceLineNo">774</span> public CoprocessorRpcChannel coprocessorService(byte[] row) {<a name="line.774"></a>
-<span class="sourceLineNo">775</span> throw new UnsupportedOperationException("coprocessorService not implemented");<a name="line.775"></a>
-<span class="sourceLineNo">776</span> }<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 <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey,<a name="line.779"></a>
-<span class="sourceLineNo">780</span> byte[] endKey, Batch.Call<T, R> callable) throws ServiceException, Throwable {<a name="line.780"></a>
-<span class="sourceLineNo">781</span> throw new UnsupportedOperationException("coprocessorService not implemented");<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 <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey,<a name="line.785"></a>
-<span class="sourceLineNo">786</span> byte[] endKey, Batch.Call<T, R> callable, Batch.Callback<R> callback)<a name="line.786"></a>
-<span class="sourceLineNo">787</span> throws ServiceException, Throwable {<a name="line.787"></a>
+<span class="sourceLineNo">709</span> sb.append(Bytes.toString(name));<a name="line.709"></a>
+<span class="sourceLineNo">710</span> sb.append('/');<a name="line.710"></a>
+<span class="sourceLineNo">711</span> sb.append(toURLEncodedBytes(row));<a name="line.711"></a>
+<span class="sourceLineNo">712</span> sb.append("?check=delete");<a name="line.712"></a>
+<span class="sourceLineNo">713</span><a name="line.713"></a>
+<span class="sourceLineNo">714</span> for (int i = 0; i < maxRetries; i++) {<a name="line.714"></a>
+<span class="sourceLineNo">715</span> Response response =<a name="line.715"></a>
+<span class="sourceLineNo">716</span> client.put(sb.toString(), Constants.MIMETYPE_PROTOBUF, model.createProtobufOutput());<a name="line.716"></a>
+<span class="sourceLineNo">717</span> int code = response.getCode();<a name="line.717"></a>
+<span class="sourceLineNo">718</span> switch (code) {<a name="line.718"></a>
+<span class="sourceLineNo">719</span> case 200:<a name="line.719"></a>
+<span class="sourceLineNo">720</span> return true;<a name="line.720"></a>
+<span class="sourceLineNo">721</span> case 304: // NOT-MODIFIED<a name="line.721"></a>
+<span class="sourceLineNo">722</span> return false;<a name="line.722"></a>
+<span class="sourceLineNo">723</span> case 509:<a name="line.723"></a>
+<span class="sourceLineNo">724</span> try {<a name="line.724"></a>
+<span class="sourceLineNo">725</span> Thread.sleep(sleepTime);<a name="line.725"></a>
+<span class="sourceLineNo">726</span> } catch (final InterruptedException e) {<a name="line.726"></a>
+<span class="sourceLineNo">727</span> throw (InterruptedIOException) new InterruptedIOException().initCause(e);<a name="line.727"></a>
+<span class="sourceLineNo">728</span> }<a name="line.728"></a>
+<span class="sourceLineNo">729</span> break;<a name="line.729"></a>
+<span class="sourceLineNo">730</span> default:<a name="line.730"></a>
+<span class="sourceLineNo">731</span> throw new IOException("checkAndDelete request failed with " + code);<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> throw new IOException("checkAndDelete request timed out");<a name="line.734"></a>
+<span class="sourceLineNo">735</span> }<a name="line.735"></a>
+<span class="sourceLineNo">736</span><a name="line.736"></a>
+<span class="sourceLineNo">737</span> @Override<a name="line.737"></a>
+<span class="sourceLineNo">738</span> public CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) {<a name="line.738"></a>
+<span class="sourceLineNo">739</span> return new CheckAndMutateBuilderImpl(row, family);<a name="line.739"></a>
+<span class="sourceLineNo">740</span> }<a name="line.740"></a>
+<span class="sourceLineNo">741</span><a name="line.741"></a>
+<span class="sourceLineNo">742</span> @Override<a name="line.742"></a>
+<span class="sourceLineNo">743</span> public CheckAndMutateWithFilterBuilder checkAndMutate(byte[] row, Filter filter) {<a name="line.743"></a>
+<span class="sourceLineNo">744</span> throw new NotImplementedException("Implement later");<a name="line.744"></a>
+<span class="sourceLineNo">745</span> }<a name="line.745"></a>
+<span class="sourceLineNo">746</span><a name="line.746"></a>
+<span class="sourceLineNo">747</span> @Override<a name="line.747"></a>
+<span class="sourceLineNo">748</span> public Result increment(Increment increment) throws IOException {<a name="line.748"></a>
+<span class="sourceLineNo">749</span> throw new IOException("Increment not supported");<a name="line.749"></a>
+<span class="sourceLineNo">750</span> }<a name="line.750"></a>
+<span class="sourceLineNo">751</span><a name="line.751"></a>
+<span class="sourceLineNo">752</span> @Override<a name="line.752"></a>
+<span class="sourceLineNo">753</span> public Result append(Append append) throws IOException {<a name="line.753"></a>
+<span class="sourceLineNo">754</span> throw new IOException("Append not supported");<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> @Override<a name="line.757"></a>
+<span class="sourceLineNo">758</span> public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)<a name="line.758"></a>
+<span class="sourceLineNo">759</span> throws IOException {<a name="line.759"></a>
+<span class="sourceLineNo">760</span> throw new IOException("incrementColumnValue not supported");<a name="line.760"></a>
+<span class="sourceLineNo">761</span> }<a name="line.761"></a>
+<span class="sourceLineNo">762</span><a name="line.762"></a>
+<span class="sourceLineNo">763</span> @Override<a name="line.763"></a>
+<span class="sourceLineNo">764</span> public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount,<a name="line.764"></a>
+<span class="sourceLineNo">765</span> Durability durability) throws IOException {<a name="line.765"></a>
+<span class="sourceLineNo">766</span> throw new IOException("incrementColumnValue not supported");<a name="line.766"></a>
+<span class="sourceLineNo">767</span> }<a name="line.767"></a>
+<span class="sourceLineNo">768</span><a name="line.768"></a>
+<span class="sourceLineNo">769</span> @Override<a name="line.769"></a>
+<span class="sourceLineNo">770</span> public void batch(List<? extends Row> actions, Object[] results) throws IOException {<a name="line.770"></a>
+<span class="sourceLineNo">771</span> throw new IOException("batch not supported");<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> @Override<a name="line.774"></a>
+<span class="sourceLineNo">775</span> public <R> void batchCallback(List<? extends Row> actions, Object[] results,<a name="line.775"></a>
+<span class="sourceLineNo">776</span> Batch.Callback<R> callback) throws IOException, InterruptedException {<a name="line.776"></a>
+<span class="sourceLineNo">777</span> throw new IOException("batchCallback not supported");<a name="line.777"></a>
+<span class="sourceLineNo">778</span> }<a name="line.778"></a>
+<span class="sourceLineNo">779</span><a name="line.779"></a>
+<span class="sourceLineNo">780</span> @Override<a name="line.780"></a>
+<span class="sourceLineNo">781</span> public CoprocessorRpcChannel coprocessorService(byte[] row) {<a name="line.781"></a>
+<span class="sourceLineNo">782</span> throw new UnsupportedOperationException("coprocessorService not implemented");<a name="line.782"></a>
+<span class="sourceLineNo">783</span> }<a name="line.783"></a>
+<span class="sourceLineNo">784</span><a name="line.784"></a>
+<span class="sourceLineNo">785</span> @Override<a name="line.785"></a>
+<span class="sourceLineNo">786</span> public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey,<a name="line.786"></a>
+<span class="sourceLineNo">787</span> byte[] endKey, Batch.Call<T, R> callable) throws ServiceException, Throwable {<a name="line.787"></a>
<span class="sourceLineNo">788</span> throw new UnsupportedOperationException("coprocessorService not implemented");<a name="line.788"></a>
<span class="sourceLineNo">789</span> }<a name="line.789"></a>
<span class="sourceLineNo">790</span><a name="line.790"></a>
<span class="sourceLineNo">791</span> @Override<a name="line.791"></a>
-<span class="sourceLineNo">792</span> public void mutateRow(RowMutations rm) throws IOException {<a name="line.792"></a>
-<span class="sourceLineNo">793</span> throw new IOException("atomicMutation not supported");<a name="line.793"></a>
-<span class="sourceLineNo">794</span> }<a name="line.794"></a>
-<span class="sourceLineNo">795</span><a name="line.795"></a>
-<span class="sourceLineNo">796</span> @Override<a name="line.796"></a>
-<span class="sourceLineNo">797</span> public <R extends Message> Map<byte[], R> batchCoprocessorService(<a name="line.797"></a>
-<span class="sourceLineNo">798</span> Descriptors.MethodDescriptor method, Message request, byte[] startKey, byte[] endKey,<a name="line.798"></a>
-<span class="sourceLineNo">799</span> R responsePrototype) throws ServiceException, Throwable {<a name="line.799"></a>
-<span class="sourceLineNo">800</span> throw new UnsupportedOperationException("batchCoprocessorService not implemented");<a name="line.800"></a>
+<span class="sourceLineNo">792</span> public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey,<a name="line.792"></a>
+<span class="sourceLineNo">793</span> byte[] endKey, Batch.Call<T, R> callable, Batch.Callback<R> callback)<a name="line.793"></a>
+<span class="sourceLineNo">794</span> throws ServiceException, Throwable {<a name="line.794"></a>
+<span class="sourceLineNo">795</span> throw new UnsupportedOperationException("coprocessorService not implemented");<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> @Override<a name="line.798"></a>
+<span class="sourceLineNo">799</span> public void mutateRow(RowMutations rm) throws IOException {<a name="line.799"></a>
+<span class="sourceLineNo">800</span> throw new IOException("atomicMutation not supported");<a name="line.800"></a>
<span class="sourceLineNo">801</span> }<a name="line.801"></a>
<span class="sourceLineNo">802</span><a name="line.802"></a>
<span class="sourceLineNo">803</span> @Override<a name="line.803"></a>
-<span class="sourceLineNo">804</span> public <R extends Message> void batchCoprocessorService(Descriptors.MethodDescriptor method,<a name="line.804"></a>
-<span class="sourceLineNo">805</span> Message request, byte[] startKey, byte[] endKey, R responsePrototype, Callback<R> callback)<a name="line.805"></a>
-<span class="sourceLineNo">806</span> throws ServiceException, Throwable {<a name="line.806"></a>
+<span class="sourceLineNo">804</span> public <R extends Message> Map<byte[], R> batchCoprocessorService(<a name="line.804"></a>
+<span class="sourceLineNo">805</span> Descriptors.MethodDescriptor method, Message request, byte[] startKey, byte[] endKey,<a name="line.805"></a>
+<span class="sourceLineNo">806</span> R responsePrototype) throws ServiceException, Throwable {<a name="line.806"></a>
<span class="sourceLineNo">807</span> throw new UnsupportedOperationException("batchCoprocessorService not implemented");<a name="line.807"></a>
<span class="sourceLineNo">808</span> }<a name="line.808"></a>
<span class="sourceLineNo">809</span><a name="line.809"></a>
<span class="sourceLineNo">810</span> @Override<a name="line.810"></a>
-<span class="sourceLineNo">811</span> public long getReadRpcTimeout(TimeUnit unit) {<a name="line.811"></a>
-<span class="sourceLineNo">812</span> throw new UnsupportedOperationException();<a name="line.812"></a>
-<span class="sourceLineNo">813</span> }<a name="line.813"></a>
-<span class="sourceLineNo">814</span><a name="line.814"></a>
-<span class="sourceLineNo">815</span> @Override<a name="line.815"></a>
-<span class="sourceLineNo">816</span> public long getRpcTimeout(TimeUnit unit) {<a name="line.816"></a>
-<span class="sourceLineNo">817</span> throw new UnsupportedOperationException();<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> @Override<a name="line.820"></a>
-<span class="sourceLineNo">821</span> public long getWriteRpcTimeout(TimeUnit unit) {<a name="line.821"></a>
-<span class="sourceLineNo">822</span> throw new UnsupportedOperationException();<a name="line.822"></a>
-<span class="sourceLineNo">823</span> }<a name="line.823"></a>
-<span class="sourceLineNo">824</span><a name="line.824"></a>
-<span class="sourceLineNo">825</span> @Override<a name="line.825"></a>
-<span class="sourceLineNo">826</span> public long getOperationTimeout(TimeUnit unit) {<a name="line.826"></a>
-<span class="sourceLineNo">827</span> throw new UnsupportedOperationException();<a name="line.827"></a>
-<span class="sourceLineNo">828</span> }<a name="line.828"></a>
-<span class="sourceLineNo">829</span><a name="line.829"></a>
-<span class="sourceLineNo">830</span> /*<a name="line.830"></a>
-<span class="sourceLineNo">831</span> * Only a small subset of characters are valid in URLs. Row keys, column families, and qualifiers<a name="line.831"></a>
-<span class="sourceLineNo">832</span> * cannot be appended to URLs without first URL escaping. Table names are ok because they can only<a name="line.832"></a>
-<span class="sourceLineNo">833</span> * contain alphanumeric, ".","_", and "-" which are valid characters in URLs.<a name="line.833"></a>
-<span class="sourceLineNo">834</span> */<a name="line.834"></a>
-<span class="sourceLineNo">835</span> private static String toURLEncodedBytes(byte[] row) {<a name="line.835"></a>
-<span class="sourceLineNo">836</span> try {<a name="line.836"></a>
-<span class="sourceLineNo">837</span> return URLEncoder.encode(new String(row, StandardCharsets.UTF_8), "UTF-8");<a name="line.837"></a>
-<span class="sourceLineNo">838</span> } catch (UnsupportedEncodingException e) {<a name="line.838"></a>
-<span class="sourceLineNo">839</span> throw new IllegalStateException("URLEncoder doesn't support UTF-8", e);<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> private class CheckAndMutateBuilderImpl implements CheckAndMutateBuilder {<a name="line.843"></a>
-<span class="sourceLineNo">844</span><a name="line.844"></a>
-<span class="sourceLineNo">845</span> private final byte[] row;<a name="line.845"></a>
-<span class="sourceLineNo">846</span> private final byte[] family;<a name="line.846"></a>
-<span class="sourceLineNo">847</span> private byte[] qualifier;<a name="line.847"></a>
-<span class="sourceLineNo">848</span> private byte[] value;<a name="line.848"></a>
+<span class="sourceLineNo">811</span> public <R extends Message> void batchCoprocessorService(Descriptors.MethodDescriptor method,<a name="line.811"></a>
+<span class="sourceLineNo">812</span> Message request, byte[] startKey, byte[] endKey, R responsePrototype, Callback<R> callback)<a name="line.812"></a>
+<span class="sourceLineNo">813</span> throws ServiceException, Throwable {<a name="line.813"></a>
+<span class="sourceLineNo">814</span> throw new UnsupportedOperationException("batchCoprocessorService not implemented");<a name="line.814"></a>
+<span class="sourceLineNo">815</span> }<a name="line.815"></a>
+<span class="sourceLineNo">816</span><a name="line.816"></a>
+<span class="sourceLineNo">817</span> @Override<a name="line.817"></a>
+<span class="sourceLineNo">818</span> public long getReadRpcTimeout(TimeUnit unit) {<a name="line.818"></a>
+<span class="sourceLineNo">819</span> throw new UnsupportedOperationException();<a name="line.819"></a>
+<span class="sourceLineNo">820</span> }<a name="line.820"></a>
+<span class="sourceLineNo">821</span><a name="line.821"></a>
+<span class="sourceLineNo">822</span> @Override<a name="line.822"></a>
+<span class="sourceLineNo">823</span> public long getRpcTimeout(TimeUnit unit) {<a name="line.823"></a>
+<span class="sourceLineNo">824</span> throw new UnsupportedOperationException();<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> public long getWriteRpcTimeout(TimeUnit unit) {<a name="line.828"></a>
+<span class="sourceLineNo">829</span> throw new UnsupportedOperationException();<a name="line.829"></a>
+<span class="sourceLineNo">830</span> }<a name="line.830"></a>
+<span class="sourceLineNo">831</span><a name="line.831"></a>
+<span class="sourceLineNo">832</span> @Override<a name="line.832"></a>
+<span class="sourceLineNo">833</span> public long getOperationTimeout(TimeUnit unit) {<a name="line.833"></a>
+<span class="sourceLineNo">834</span> throw new UnsupportedOperationException();<a name="line.834"></a>
+<span class="sourceLineNo">835</span> }<a name="line.835"></a>
+<span class="sourceLineNo">836</span><a name="line.836"></a>
+<span class="sourceLineNo">837</span> /*<a name="line.837"></a>
+<span class="sourceLineNo">838</span> * Only a small subset of characters are valid in URLs. Row keys, column families, and qualifiers<a name="line.838"></a>
+<span class="sourceLineNo">839</span> * cannot be appended to URLs without first URL escaping. Table names are ok because they can only<a name="line.839"></a>
+<span class="sourceLineNo">840</span> * contain alphanumeric, ".","_", and "-" which are valid characters in URLs.<a name="line.840"></a>
+<span class="sourceLineNo">841</span> */<a name="line.841"></a>
+<span class="sourceLineNo">842</span> private static String toURLEncodedBytes(byte[] row) {<a name="line.842"></a>
+<span class="sourceLineNo">843</span> try {<a name="line.843"></a>
+<span class="sourceLineNo">844</span> return URLEncoder.encode(new String(row, StandardCharsets.UTF_8), "UTF-8");<a name="line.844"></a>
+<span class="sourceLineNo">845</span> } catch (UnsupportedEncodingException e) {<a name="line.845"></a>
+<span class="sourceLineNo">846</span> throw new IllegalStateException("URLEncoder doesn't support UTF-8", e);<a name="line.846"></a>
+<span class="sourceLineNo">847</span> }<a name="line.847"></a>
+<span class="sourceLineNo">848</span> }<a name="line.848"></a>
<span class="sourceLineNo">849</span><a name="line.849"></a>
-<span class="sourceLineNo">850</span> CheckAndMutateBuilderImpl(byte[] row, byte[] family) {<a name="line.850"></a>
-<span class="sourceLineNo">851</span> this.row = Preconditions.checkNotNull(row, "row is null");<a name="line.851"></a>
-<span class="sourceLineNo">852</span> this.family = Preconditions.checkNotNull(family, "family is null");<a name="line.852"></a>
-<span class="sourceLineNo">853</span> }<a name="line.853"></a>
-<span class="sourceLineNo">854</span><a name="line.854"></a>
-<span class="sourceLineNo">855</span> @Override<a name="line.855"></a>
-<span class="sourceLineNo">856</span> public CheckAndMutateBuilder qualifier(byte[] qualifier) {<a name="line.856"></a>
-<span class="sourceLineNo">857</span> this.qualifier = Preconditions.checkNotNull(qualifier, "qualifier is null. Consider using" +<a name="line.857"></a>
-<span class="sourceLineNo">858</span> " an empty byte array, or just do not call this method if you want a null qualifier");<a name="line.858"></a>
-<span class="sourceLineNo">859</span> return this;<a name="line.859"></a>
+<span class="sourceLineNo">850</span> private class CheckAndMutateBuilderImpl implements CheckAndMutateBuilder {<a name="line.850"></a>
+<span class="sourceLineNo">851</span><a name="line.851"></a>
+<span class="sourceLineNo">852</span> private final byte[] row;<a name="line.852"></a>
+<span class="sourceLineNo">853</span> private final byte[] family;<a name="line.853"></a>
+<span class="sourceLineNo">854</span> private byte[] qualifier;<a name="line.854"></a>
+<span class="sourceLineNo">855</span> private byte[] value;<a name="line.855"></a>
+<span class="sourceLineNo">856</span><a name="line.856"></a>
+<span class="sourceLineNo">857</span> CheckAndMutateBuilderImpl(byte[] row, byte[] family) {<a name="line.857"></a>
+<span class="sourceLineNo">858</span> this.row = Preconditions.checkNotNull(row, "row is null");<a name="line.858"></a>
+<span class="sourceLineNo">859</span> this.family = Preconditions.checkNotNull(family, "family is null");<a name="line.859"></a>
<span class="sourceLineNo">860</span> }<a name="line.860"></a>
<span class="sourceLineNo">861</span><a name="line.861"></a>
<span class="sourceLineNo">862</span> @Override<a name="line.862"></a>
-<span class="sourceLineNo">863</span> public CheckAndMutateBuilder timeRange(TimeRange timeRange) {<a name="line.863"></a>
-<span class="sourceLineNo">864</span> throw new UnsupportedOperationException("timeRange not implemented");<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> @Override<a name="line.867"></a>
-<span class="sourceLineNo">868</span> public CheckAndMutateBuilder ifNotExists() {<a name="line.868"></a>
-<span class="sourceLineNo">869</span> throw new UnsupportedOperationException(<a name="line.869"></a>
-<span class="sourceLineNo">870</span> "CheckAndMutate for non-equal comparison " + "not implemented");<a name="line.870"></a>
-<span class="sourceLineNo">871</span> }<a name="line.871"></a>
-<span class="sourceLineNo">872</span><a name="line.872"></a>
-<span class="sourceLineNo">873</span> @Override<a name="line.873"></a>
-<span class="sourceLineNo">874</span> public CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value) {<a name="line.874"></a>
-<span class="sourceLineNo">875</span> if (compareOp == CompareOperator.EQUAL) {<a name="line.875"></a>
-<span class="sourceLineNo">876</span> this.value = Preconditions.checkNotNull(value, "value is null");<a name="line.876"></a>
-<span class="sourceLineNo">877</span> return this;<a name="line.877"></a>
-<span class="sourceLineNo">878</span> } else {<a name="line.878"></a>
-<span class="sourceLineNo">879</span> throw new UnsupportedOperationException(<a name="line.879"></a>
-<span class="sourceLineNo">880</span> "CheckAndMutate for non-equal comparison " + "not implemented");<a name="line.880"></a>
-<span class="sourceLineNo">881</span> }<a name="line.881"></a>
-<span class="sourceLineNo">882</span> }<a name="line.882"></a>
-<span class="sourceLineNo">883</span><a name="line.883"></a>
-<span class="sourceLineNo">884</span> @Override<a name="line.884"></a>
-<span class="sourceLineNo">885</span> public CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.885"></a>
-<span class="sourceLineNo">886</span> this.value = Preconditions.checkNotNull(value, "value is null");<a name="line.886"></a>
-<span class="sourceLineNo">887</span> return this;<a name="line.887"></a>
-<span class="sourceLineNo">888</span> }<a name="line.888"></a>
-<span class="sourceLineNo">889</span><a name="line.889"></a>
-<span class="sourceLineNo">890</span> @Override<a name="line.890"></a>
-<span class="sourceLineNo">891</span> public boolean thenPut(Put put) throws IOException {<a name="line.891"></a>
-<span class="sourceLineNo">892</span> return doCheckAndPut(row, family, qualifier, value, put);<a name="line.892"></a>
-<span class="sourceLineNo">893</span> }<a name="line.893"></a>
-<span class="sourceLineNo">894</span><a name="line.894"></a>
-<span class="sourceLineNo">895</span> @Override<a name="line.895"></a>
-<span class="sourceLineNo">896</span> public boolean thenDelete(Delete delete) throws IOException {<a name="line.896"></a>
-<span class="sourceLineNo">897</span> return doCheckAndDelete(row, family, qualifier, value, delete);<a name="line.897"></a>
-<span class="sourceLineNo">898</span> }<a name="line.898"></a>
-<span class="sourceLineNo">899</span><a name="line.899"></a>
-<span class="sourceLineNo">900</span> @Override<a name="line.900"></a>
-<span class="sourceLineNo">901</span> public boolean thenMutate(RowMutations mutation) throws IOException {<a name="line.901"></a>
-<span class="sourceLineNo">902</span> throw new UnsupportedOperationException("thenMutate not implemented");<a name="line.902"></a>
-<span class="sourceLineNo">903</span> }<a name="line.903"></a>
-<span class="sourceLineNo">904</span> }<a name="line.904"></a>
-<span class="sourceLineNo">905</span><a name="line.905"></a>
-<span class="sourceLineNo">906</span> @Override<a name="line.906"></a>
-<span class="sourceLineNo">907</span> public RegionLocator getRegionLocator() throws IOException {<a name="line.907"></a>
-<span class="sourceLineNo">908</span> throw new UnsupportedOperationException();<a name="line.908"></a>
-<span class="sourceLineNo">909</span> }<a name="line.909"></a>
-<span class="sourceLineNo">910</span>}<a name="line.910"></a>
+<span class="sourceLineNo">863</span> public CheckAndMutateBuilder qualifier(byte[] qualifier) {<a name="line.863"></a>
+<span class="sourceLineNo">864</span> this.qualifier = Preconditions.checkNotNull(qualifier, "qualifier is null. Consider using" +<a name="line.864"></a>
+<span class="sourceLineNo">865</span> " an empty byte array, or just do not call this method if you want a null qualifier");<a name="line.865"></a>
+<span class="sourceLineNo">866</span> return this;<a name="line.866"></a>
+<span class="sourceLineNo">867</span> }<a name="line.867"></a>
+<span class="sourceLineNo">868</span><a name="line.868"></a>
+<span class="sourceLineNo">869</span> @Override<a name="line.869"></a>
+<span class="sourceLineNo">870</span> public CheckAndMutateBuilder timeRange(TimeRange timeRange) {<a name="line.870"></a>
+<span class="sourceLineNo">871</span> throw new UnsupportedOperationException("timeRange not implemented");<a name="line.871"></a>
+<span class="sourceLineNo">872</span> }<a name="line.872"></a>
+<span class="sourceLineNo">873</span><a name="line.873"></a>
+<span class="sourceLineNo">874</span> @Override<a name="line.874"></a>
+<span class="sourceLineNo">875</span> public CheckAndMutateBuilder ifNotExists() {<a name="line.875"></a>
+<span class="sourceLineNo">876</span> throw new UnsupportedOperationException(<a name="line.876"></a>
+<span class="sourceLineNo">877</span> "CheckAndMutate for non-equal comparison " + "not implemented");<a name="line.877"></a>
+<span class="sourceLineNo">878</span> }<a name="line.878"></a>
+<span class="sourceLineNo">879</span><a name="line.879"></a>
+<span class="sourceLineNo">880</span> @Override<a name="line.880"></a>
+<span class="sourceLineNo">881</span> public CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value) {<a name="line.881"></a>
+<span class="sourceLineNo">882</span> if (compareOp == CompareOperator.EQUAL) {<a name="line.882"></a>
+<span class="sourceLineNo">883</span> this.value = Preconditions.checkNotNull(value, "value is null");<a name="line.883"></a>
+<span class="sourceLineNo">884</span> return this;<a name="line.884"></a>
+<span class="sourceLineNo">885</span> } else {<a name="line.885"></a>
+<span class="sourceLineNo">886</span> throw new UnsupportedOperationException(<a name="line.886"></a>
+<span class="sourceLineNo">887</span> "CheckAndMutate for non-equal comparison " + "not implemented");<a name="line.887"></a>
+<span class="sourceLineNo">888</span> }<a name="line.888"></a>
+<span class="sourceLineNo">889</span> }<a name="line.889"></a>
+<span class="sourceLineNo">890</span><a name="line.890"></a>
+<span class="sourceLineNo">891</span> @Override<a name="line.891"></a>
+<span class="sourceLineNo">892</span> public CheckAndMutateBuilder ifEquals(byte[] value) {<a name="line.892"></a>
+<span class="sourceLineNo">893</span> this.value = Preconditions.checkNotNull(value, "value is null");<a name="line.893"></a>
+<span class="sourceLineNo">894</span> return this;<a name="line.894"></a>
+<span class="sourceLineNo">895</span> }<a name="line.895"></a>
+<span class="sourceLineNo">896</span><a name="line.896"></a>
+<span class="sourceLineNo">897</span> @Override<a name="line.897"></a>
+<span class="sourceLineNo">898</span> public boolean thenPut(Put put) throws IOException {<a name="line.898"></a>
+<span class="sourceLineNo">899</span> return doCheckAndPut(row, family, qualifier, value, put);<a name="line.899"></a>
+<span class="sourceLineNo">900</span> }<a name="line.900"></a>
+<span class="sourceLineNo">901</span><a name="line.901"></a>
+<span class="sourceLineNo">902</span> @Override<a name="line.902"></a>
+<span class="sourceLineNo">903</span> public boolean thenDelete(Delete delete) throws IOException {<a name="line.903"></a>
+<span class="sourceLineNo">904</span> return doCheckAndDelete(row, family, qualifier, value, delete);<a name="line.904"></a>
+<span class="sourceLineNo">905</span> }<a name="line.905"></a>
+<span class="sourceLineNo">906</span><a name="line.906"></a>
+<span class="sourceLineNo">907</span> @Override<a name="line.907"></a>
+<span class="sourceLineNo">908</span> public boolean thenMutate(RowMutations mutation) throws IOException {<a name="line.908"></a>
+<span class="sourceLineNo">909</span> throw new UnsupportedOperationException("thenMutate not implemented");<a name="line.909"></a>
+<span class="sourceLineNo">910</span> }<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 RegionLocator getRegionLocator() throws IOException {<a name="line.914"></a>
+<span class="sourceLineNo">915</span> throw new UnsupportedOperationException();<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>
diff --git a/book.html b/book.html
index 41b0192..7814dc0 100644
--- a/book.html
+++ b/book.html
@@ -44447,7 +44447,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 2020-02-25 14:32:02 UTC
+Last updated 2020-02-26 14:32:23 UTC
</div>
</div>
</body>
diff --git a/bulk-loads.html b/bulk-loads.html
index 6ca5659..753580a 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -172,7 +172,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-02-25</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-02-26</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index f80a513..c81a328 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -169,7 +169,7 @@
<td>4202</td>
<td>0</td>
<td>0</td>
-<td>10334</td></tr></table></div>
+<td>10298</td></tr></table></div>
<div class="section">
<h2><a name="Files"></a>Files</h2>
<table border="0" class="table table-striped">
@@ -1457,7 +1457,7 @@
<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>
+<td>16</td></tr>
<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>
@@ -1532,7 +1532,7 @@
<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>
+<td>24</td></tr>
<tr class="a">
<td><a href="#org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java</a></td>
<td>0</td>
@@ -4547,7 +4547,7 @@
<td><a href="#org.apache.hadoop.hbase.regionserver.HRegion.java">org/apache/hadoop/hbase/regionserver/HRegion.java</a></td>
<td>0</td>
<td>0</td>
-<td>202</td></tr>
+<td>200</td></tr>
<tr class="b">
<td><a href="#org.apache.hadoop.hbase.regionserver.HRegionFileSystem.java">org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java</a></td>
<td>0</td>
@@ -6557,7 +6557,7 @@
<td><a href="#org.apache.hadoop.hbase.shaded.protobuf.RequestConverter.java">org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java</a></td>
<td>0</td>
<td>0</td>
-<td>100</td></tr>
+<td>74</td></tr>
<tr class="b">
<td><a href="#org.apache.hadoop.hbase.shaded.protobuf.ResponseConverter.java">org/apache/hadoop/hbase/shaded/protobuf/ResponseConverter.java</a></td>
<td>0</td>
@@ -7490,7 +7490,7 @@
<td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_imports.html#UnusedImports">UnusedImports</a>
<ul>
<li>processJavadoc: <tt>"true"</tt></li></ul></td>
-<td>19</td>
+<td>17</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="b">
<td>indentation</td>
@@ -7501,19 +7501,19 @@
<li>caseIndent: <tt>"2"</tt></li>
<li>basicOffset: <tt>"2"</tt></li>
<li>lineWrappingIndentation: <tt>"2"</tt></li></ul></td>
-<td>3001</td>
+<td>2999</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="a">
<td>javadoc</td>
<td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation">JavadocTagContinuationIndentation</a>
<ul>
<li>offset: <tt>"2"</tt></li></ul></td>
-<td>605</td>
+<td>603</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="b">
<td></td>
<td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription">NonEmptyAtclauseDescription</a></td>
-<td>2643</td>
+<td>2613</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="a">
<td>misc</td>
@@ -9191,463 +9191,463 @@
<td>indentation</td>
<td>Indentation</td>
<td>'if' child has incorrect indentation level 10, expected level should be 8.</td>
-<td>1922</td></tr>
+<td>1907</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'if' child has incorrect indentation level 10, expected level should be 8.</td>
-<td>1951</td></tr>
+<td>1936</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1964</td></tr>
+<td>1949</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>1968</td></tr>
+<td>1953</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1987</td></tr>
+<td>1972</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1995</td></tr>
+<td>1980</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1996</td></tr>
+<td>1981</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1997</td></tr>
+<td>1982</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1998</td></tr>
+<td>1983</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1999</td></tr>
+<td>1984</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2002</td></tr>
+<td>1987</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2044</td></tr>
+<td>2029</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2094</td></tr>
+<td>2079</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2105</td></tr>
+<td>2090</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2116</td></tr>
+<td>2101</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2128</td></tr>
+<td>2113</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2140</td></tr>
+<td>2125</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2224</td></tr>
+<td>2209</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>2227</td></tr>
+<td>2212</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>2328</td></tr>
+<td>2313</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2472</td></tr>
+<td>2457</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2473</td></tr>
+<td>2458</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2474</td></tr>
+<td>2459</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2476</td></tr>
+<td>2461</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>2480</td></tr>
+<td>2465</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2642</td></tr>
+<td>2627</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2643</td></tr>
+<td>2628</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2852</td></tr>
+<td>2837</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def' child has incorrect indentation level 3, expected level should be 4.</td>
-<td>2890</td></tr>
+<td>2875</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def modifier' has incorrect indentation level 6, expected level should be one of the following: 8, 10.</td>
-<td>2921</td></tr>
+<td>2906</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def' child has incorrect indentation level 8, expected level should be one of the following: 10, 12.</td>
-<td>2923</td></tr>
+<td>2908</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def rcurly' has incorrect indentation level 6, expected level should be one of the following: 8, 10.</td>
-<td>2924</td></tr>
+<td>2909</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'object def rcurly' has incorrect indentation level 4, expected level should be one of the following: 6, 8.</td>
-<td>2925</td></tr>
+<td>2910</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'while' child has incorrect indentation level 7, expected level should be 6.</td>
-<td>2936</td></tr>
+<td>2921</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3077</td></tr>
+<td>3062</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>3109</td></tr>
+<td>3094</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>3136</td></tr>
+<td>3121</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3157</td></tr>
+<td>3142</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3158</td></tr>
+<td>3143</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3257</td></tr>
+<td>3242</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3258</td></tr>
+<td>3243</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>3261</td></tr>
+<td>3246</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>3266</td></tr>
+<td>3251</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3274</td></tr>
+<td>3259</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3275</td></tr>
+<td>3260</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3291</td></tr>
+<td>3276</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3292</td></tr>
+<td>3277</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3304</td></tr>
+<td>3289</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3325</td></tr>
+<td>3310</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3357</td></tr>
+<td>3342</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>3361</td></tr>
+<td>3346</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3413</td></tr>
+<td>3398</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3414</td></tr>
+<td>3399</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3415</td></tr>
+<td>3400</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3416</td></tr>
+<td>3401</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3417</td></tr>
+<td>3402</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3457</td></tr>
+<td>3442</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3458</td></tr>
+<td>3443</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3483</td></tr>
+<td>3468</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3492</td></tr>
+<td>3477</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3505</td></tr>
+<td>3490</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>coding</td>
<td>InnerAssignment</td>
<td>Inner assignments should be avoided.</td>
-<td>3525</td></tr>
+<td>3510</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 104).</td>
-<td>3555</td></tr>
+<td>3540</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3614</td></tr>
+<td>3599</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3615</td></tr>
+<td>3600</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def rparen' has incorrect indentation level 48, expected level should be 2.</td>
-<td>3635</td></tr>
+<td>3620</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>EmptyBlock</td>
<td>Must have at least one statement.</td>
-<td>3653</td></tr>
+<td>3638</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>3944</td></tr>
+<td>3929</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4029</td></tr>
+<td>4014</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4031</td></tr>
+<td>4016</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4065</td></tr>
+<td>4050</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4106</td></tr>
+<td>4091</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4108</td></tr>
+<td>4093</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4186</td></tr>
+<td>4171</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4194</td></tr>
+<td>4179</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4202</td></tr>
+<td>4187</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4203</td></tr></table></div>
+<td>4188</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.HColumnDescriptor.java">org/apache/hadoop/hbase/HColumnDescriptor.java</h3>
<table border="0" class="table table-striped">
@@ -16235,7 +16235,7 @@
<td>coding</td>
<td>InnerAssignment</td>
<td>Inner assignments should be avoided.</td>
-<td>194</td></tr></table></div>
+<td>225</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.client.AsyncTableResultScanner.java">org/apache/hadoop/hbase/client/AsyncTableResultScanner.java</h3>
<table border="0" class="table table-striped">
@@ -18131,61 +18131,61 @@
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>71</td></tr>
+<td>72</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>129</td></tr>
+<td>130</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>279</td></tr>
+<td>280</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>280</td></tr>
+<td>281</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>281</td></tr>
+<td>282</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>283</td></tr>
+<td>284</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>284</td></tr>
+<td>285</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>370</td></tr>
+<td>418</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>415</td></tr>
+<td>463</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>438</td></tr></table></div>
+<td>486</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.client.TableDescriptor.java">org/apache/hadoop/hbase/client/TableDescriptor.java</h3>
<table border="0" class="table table-striped">
@@ -19004,13 +19004,13 @@
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>65</td></tr>
+<td>76</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'result' has incorrect indentation level 4, expected level should be 6.</td>
-<td>99</td></tr></table></div>
+<td>110</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.client.TestEnableTable.java">org/apache/hadoop/hbase/client/TestEnableTable.java</h3>
<table border="0" class="table table-striped">
@@ -19070,55 +19070,55 @@
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 299 lines (max allowed is 150).</td>
-<td>922</td></tr>
+<td>924</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 224 lines (max allowed is 150).</td>
-<td>1406</td></tr>
+<td>1408</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 301 lines (max allowed is 150).</td>
-<td>2012</td></tr>
+<td>2014</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>3531</td></tr>
+<td>3533</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>3532</td></tr>
+<td>3534</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>3533</td></tr>
+<td>3535</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 221 lines (max allowed is 150).</td>
-<td>3537</td></tr>
+<td>3539</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>whitespace</td>
<td>MethodParamPad</td>
<td>'(' is preceded with whitespace.</td>
-<td>4150</td></tr>
+<td>4152</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>coding</td>
<td>InnerAssignment</td>
<td>Inner assignments should be avoided.</td>
-<td>5533</td></tr></table></div>
+<td>5535</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.client.TestFromClientSide3.java">org/apache/hadoop/hbase/client/TestFromClientSide3.java</h3>
<table border="0" class="table table-striped">
@@ -19658,7 +19658,7 @@
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>258</td></tr></table></div>
+<td>262</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.client.TestResult.java">org/apache/hadoop/hbase/client/TestResult.java</h3>
<table border="0" class="table table-striped">
@@ -22151,133 +22151,97 @@
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 102).</td>
-<td>245</td></tr>
+<td>246</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>316</td></tr>
+<td>317</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>317</td></tr>
+<td>318</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>418</td></tr>
+<td>419</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>472</td></tr>
+<td>473</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>480</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
-<td>At-clause should have a non-empty description.</td>
<td>481</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
-<td>At-clause should have a non-empty description.</td>
-<td>492</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
-<td>At-clause should have a non-empty description.</td>
-<td>493</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
-<td>At-clause should have a non-empty description.</td>
-<td>514</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
-<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>516</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>543</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
-<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>545</td></tr>
+<td>482</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>589</td></tr>
+<td>493</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>617</td></tr>
+<td>494</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>795</td></tr>
+<td>916</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>796</td></tr>
+<td>917</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>932</td></tr>
+<td>1053</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>943</td></tr>
+<td>1064</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>983</td></tr>
+<td>1104</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>987</td></tr>
+<td>1108</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1007</td></tr></table></div>
+<td>1128</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessor.java">org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessor.java</h3>
<table border="0" class="table table-striped">
@@ -22328,31 +22292,31 @@
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>462</td></tr>
+<td>469</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 123).</td>
-<td>489</td></tr>
+<td>496</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 124).</td>
-<td>505</td></tr>
+<td>526</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 126).</td>
-<td>513</td></tr>
+<td>541</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 127).</td>
-<td>529</td></tr></table></div>
+<td>571</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService.java">org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.java</h3>
<table border="0" class="table table-striped">
@@ -22670,157 +22634,145 @@
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>143</td></tr>
+<td>145</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>150</td></tr>
+<td>152</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>151</td></tr>
+<td>153</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>162</td></tr>
+<td>164</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>163</td></tr>
+<td>165</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>179</td></tr>
+<td>181</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>190</td></tr>
+<td>192</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>203</td></tr>
+<td>205</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>235</td></tr>
+<td>237</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>258</td></tr>
+<td>260</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>279</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>indentation</td>
-<td>Indentation</td>
-<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 51.</td>
-<td>289</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>indentation</td>
-<td>Indentation</td>
-<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 51.</td>
-<td>294</td></tr>
+<td>295</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>304</td></tr>
+<td>335</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>EmptyBlock</td>
<td>Must have at least one statement.</td>
-<td>354</td></tr>
+<td>385</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>EmptyBlock</td>
<td>Must have at least one statement.</td>
-<td>380</td></tr>
+<td>411</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>EmptyBlock</td>
<td>Must have at least one statement.</td>
-<td>417</td></tr>
+<td>448</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>491</td></tr>
+<td>522</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>565</td></tr>
+<td>596</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>566</td></tr>
+<td>597</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>595</td></tr>
+<td>626</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>619</td></tr>
+<td>650</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>624</td></tr>
+<td>655</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 10, 23.</td>
-<td>634</td></tr>
+<td>665</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>misc</td>
<td>ArrayTypeStyle</td>
<td>Array brackets at illegal position.</td>
-<td>769</td></tr>
+<td>800</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>misc</td>
<td>ArrayTypeStyle</td>
<td>Array brackets at illegal position.</td>
-<td>770</td></tr></table></div>
+<td>801</td></tr></table></div>
<div class="section">
<h3 id="org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook.java">org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java</h3>
<table border="0" class="table table-striped">
@@ -53174,1216 +53126,1204 @@
<th>Line</th></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>imports</td>
-<td>UnusedImports</td>
-<td>Unused import - org.apache.hadoop.hbase.util.CompressionTest.</td>
-<td>165</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>imports</td>
-<td>UnusedImports</td>
-<td>Unused import - org.apache.hadoop.hbase.util.EncryptionTest.</td>
-<td>166</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>418</td></tr>
+<td>417</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>419</td></tr>
+<td>418</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>713</td></tr>
+<td>712</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>715</td></tr>
+<td>714</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>716</td></tr>
+<td>715</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>717</td></tr>
+<td>716</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>718</td></tr>
+<td>717</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>719</td></tr>
+<td>718</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>723</td></tr>
+<td>722</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>744</td></tr>
+<td>743</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>745</td></tr>
+<td>744</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>746</td></tr>
+<td>745</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>747</td></tr>
+<td>746</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>748</td></tr>
+<td>747</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>877</td></tr>
+<td>876</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1074</td></tr>
+<td>1073</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1075</td></tr>
+<td>1074</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1077</td></tr>
+<td>1076</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 107).</td>
-<td>1095</td></tr>
+<td>1094</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1244</td></tr>
+<td>1243</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>1259</td></tr>
+<td>1258</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1347</td></tr>
+<td>1346</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1505</td></tr>
+<td>1504</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1506</td></tr>
+<td>1505</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1510</td></tr>
+<td>1509</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1511</td></tr>
+<td>1510</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1546</td></tr>
+<td>1545</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1547</td></tr>
+<td>1546</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1551</td></tr>
+<td>1550</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>1552</td></tr>
+<td>1551</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 109).</td>
-<td>1583</td></tr>
+<td>1582</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>1585</td></tr>
+<td>1584</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 180 lines (max allowed is 150).</td>
-<td>1593</td></tr>
+<td>1592</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 102).</td>
-<td>1634</td></tr>
+<td>1633</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>1824</td></tr>
+<td>1823</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>1831</td></tr>
+<td>1830</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2050</td></tr>
+<td>2049</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2066</td></tr>
+<td>2065</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2128</td></tr>
+<td>2127</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>2296</td></tr>
+<td>2295</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>2319</td></tr>
+<td>2318</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>2322</td></tr>
+<td>2321</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>2369</td></tr>
+<td>2368</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>2370</td></tr>
+<td>2369</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>LineLength</td>
<td>Line is longer than 100 characters (found 101).</td>
-<td>2559</td></tr>
+<td>2558</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>coding</td>
<td>InnerAssignment</td>
<td>Inner assignments should be avoided.</td>
-<td>2667</td></tr>
+<td>2666</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>2740</td></tr>
+<td>2739</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>2759</td></tr>
+<td>2758</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2781</td></tr>
+<td>2780</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>2813</td></tr>
+<td>2812</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>2955</td></tr>
+<td>2954</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method def' child has incorrect indentation level 3, expected level should be 4.</td>
-<td>2970</td></tr>
+<td>2969</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3020</td></tr>
+<td>3019</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3060</td></tr>
+<td>3059</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3072</td></tr>
+<td>3071</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3073</td></tr>
+<td>3072</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3074</td></tr>
+<td>3073</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>3075</td></tr>
+<td>3074</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4174</td></tr>
+<td>4173</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>4224</td></tr>
+<td>4236</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'throws' has incorrect indentation level 2, expected level should be 4.</td>
-<td>4321</td></tr>
+<td>4358</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4397</td></tr>
+<td>4434</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4407</td></tr>
+<td>4444</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4408</td></tr>
+<td>4445</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4413</td></tr>
+<td>4450</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4457</td></tr>
+<td>4494</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'if' has incorrect indentation level 3, expected level should be 4.</td>
-<td>4491</td></tr>
+<td>4528</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'if' child has incorrect indentation level 5, expected level should be 6.</td>
-<td>4492</td></tr>
+<td>4529</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4571</td></tr>
+<td>4608</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>NonEmptyAtclauseDescription</td>
<td>At-clause should have a non-empty description.</td>
-<td>4573</td></tr>
+<td>4610</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>4644</td></tr>
+<td>4681</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>javadoc</td>
<td>JavadocTagContinuationIndentation</td>
<td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>4646</td></tr>
+<td>4683</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>blocks</td>
<td>NeedBraces</td>
<td>'if' construct must use '{}'s.</td>
-<td>4747</td></tr>
+<td>4784</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>sizes</td>
<td>MethodLength</td>
<td>Method length is 195 lines (max allowed is 150).</td>
-<td>4797</td></tr>
+<td>4834</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'if' child has incorrect indentation level 9, expected level should be 8.</td>
-<td>4989</td></tr>
+<td>5026</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'case' child has incorrect indentation level 6, expected level should be 8.</td>
-<td>5077</td></tr>
+<td>5114</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5078</td></tr>
+<td>5115</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5079</td></tr>
+<td>5116</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'case' child has incorrect indentation level 6, expected level should be 8.</td>
-<td>5080</td></tr>
+<td>5117</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5081</td></tr>
+<td>5118</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5082</td></tr>
+<td>5119</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'case' child has incorrect indentation level 6, expected level should be 8.</td>
-<td>5083</td></tr>
+<td>5120</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5084</td></tr>
+<td>5121</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5085</td></tr>
+<td>5122</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'case' child has incorrect indentation level 6, expected level should be 8.</td>
-<td>5086</td></tr>
+<td>5123</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5087</td></tr>
+<td>5124</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5088</td></tr>
+<td>5125</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'case' child has incorrect indentation level 6, expected level should be 8.</td>
-<td>5089</td></tr>
+<td>5126</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5090</td></tr>
+<td>5127</td></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'method call' child has incorrect indentation level 10, expected level should be 12.</td>
-<td>5091</td></tr>
+<td>5128</td></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
<td>indentation</td>
<td>Indentation</td>
<td>'block' child has incorrect indentation level 8, expected level should be 10.</td>
-<td>5093</td></tr>
... 630125 lines suppressed ...