hbase git commit: HBASE-19031 Align exist method in Table and AsyncTable interfaces
Repository: hbase Updated Branches: refs/heads/master e5e2bde87 -> 482d6bd3a HBASE-19031 Align exist method in Table and AsyncTable interfaces Deprecate Table::existsAll method and add Table::exists. RemoteHTable already had a deprecated exists method, remove that and implement the new exists from Table interface. Signed-off-by: Chia-Ping Tsai Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/482d6bd3 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/482d6bd3 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/482d6bd3 Branch: refs/heads/master Commit: 482d6bd3a4209b3c642b41ed4e42602a789e8369 Parents: e5e2bde Author: Peter Somogyi Authored: Wed Oct 25 20:10:11 2017 -0700 Committer: Chia-Ping Tsai Committed: Sun Oct 29 07:11:27 2017 +0800 -- .../org/apache/hadoop/hbase/client/HTable.java | 5 + .../org/apache/hadoop/hbase/client/Table.java | 20 +++- .../hadoop/hbase/rest/client/RemoteHTable.java | 16 +--- .../hbase/regionserver/RegionAsTable.java | 2 +- 4 files changed, 22 insertions(+), 21 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/482d6bd3/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java index 7da1662..61d955f 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java @@ -945,11 +945,8 @@ public class HTable implements Table { return r.getExists(); } - /** - * {@inheritDoc} - */ @Override - public boolean[] existsAll(final List gets) throws IOException { + public boolean[] exists(List gets) throws IOException { if (gets.isEmpty()) return new boolean[]{}; if (gets.size() == 1) return new boolean[]{exists(gets.get(0))}; http://git-wip-us.apache.org/repos/asf/hbase/blob/482d6bd3/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java index f3dae4e..36a0883 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java @@ -110,7 +110,25 @@ public interface Table extends Closeable { * @return Array of boolean. True if the specified Get matches one or more keys, false if not. * @throws IOException e */ - boolean[] existsAll(List gets) throws IOException; + boolean[] exists(List gets) throws IOException; + + /** + * Test for the existence of columns in the table, as specified by the Gets. + * This will return an array of booleans. Each value will be true if the related Get matches + * one or more keys, false if not. + * This is a server-side call so it prevents any data from being transferred to + * the client. + * + * @param gets the Gets + * @return Array of boolean. True if the specified Get matches one or more keys, false if not. + * @throws IOException e + * @deprecated since 2.0 version and will be removed in 3.0 version. + * use {@link #exists(List)} + */ + @Deprecated + default boolean[] existsAll(List gets) throws IOException { +return exists(gets); + } /** * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations. http://git-wip-us.apache.org/repos/asf/hbase/blob/482d6bd3/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java index 5051d47..1eaaa65 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java @@ -367,12 +367,8 @@ public class RemoteHTable implements Table { return (result != null && !(result.isEmpty())); } - /** - * exists(List) is really a list of get() calls. Just use get(). - * @param gets list of Get to test for the existence - */ @Override - public boolean[] existsAll(List gets) throws IOException { + public boolean[] exists(List gets) throws IOException { LOG.warn("exists(List) is really list of get() calls, just use get()"); boolean[] results = new boolean[gets.siz
hbase git commit: HBASE-19031 Align exist method in Table and AsyncTable interfaces
Repository: hbase Updated Branches: refs/heads/branch-2 817dc5644 -> 0ad8a6f51 HBASE-19031 Align exist method in Table and AsyncTable interfaces Deprecate Table::existsAll method and add Table::exists. RemoteHTable already had a deprecated exists method, remove that and implement the new exists from Table interface. Signed-off-by: Chia-Ping Tsai Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0ad8a6f5 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0ad8a6f5 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0ad8a6f5 Branch: refs/heads/branch-2 Commit: 0ad8a6f51b7e13f46ed67613c9382101d0d7b4f6 Parents: 817dc56 Author: Peter Somogyi Authored: Wed Oct 25 20:10:11 2017 -0700 Committer: Chia-Ping Tsai Committed: Sun Oct 29 07:17:41 2017 +0800 -- .../org/apache/hadoop/hbase/client/HTable.java | 5 + .../org/apache/hadoop/hbase/client/Table.java | 20 +++- .../hadoop/hbase/rest/client/RemoteHTable.java | 16 +--- .../hbase/regionserver/RegionAsTable.java | 2 +- 4 files changed, 22 insertions(+), 21 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/0ad8a6f5/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java index 7da1662..61d955f 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java @@ -945,11 +945,8 @@ public class HTable implements Table { return r.getExists(); } - /** - * {@inheritDoc} - */ @Override - public boolean[] existsAll(final List gets) throws IOException { + public boolean[] exists(List gets) throws IOException { if (gets.isEmpty()) return new boolean[]{}; if (gets.size() == 1) return new boolean[]{exists(gets.get(0))}; http://git-wip-us.apache.org/repos/asf/hbase/blob/0ad8a6f5/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java index f3dae4e..36a0883 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java @@ -110,7 +110,25 @@ public interface Table extends Closeable { * @return Array of boolean. True if the specified Get matches one or more keys, false if not. * @throws IOException e */ - boolean[] existsAll(List gets) throws IOException; + boolean[] exists(List gets) throws IOException; + + /** + * Test for the existence of columns in the table, as specified by the Gets. + * This will return an array of booleans. Each value will be true if the related Get matches + * one or more keys, false if not. + * This is a server-side call so it prevents any data from being transferred to + * the client. + * + * @param gets the Gets + * @return Array of boolean. True if the specified Get matches one or more keys, false if not. + * @throws IOException e + * @deprecated since 2.0 version and will be removed in 3.0 version. + * use {@link #exists(List)} + */ + @Deprecated + default boolean[] existsAll(List gets) throws IOException { +return exists(gets); + } /** * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations. http://git-wip-us.apache.org/repos/asf/hbase/blob/0ad8a6f5/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java index 5051d47..1eaaa65 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java @@ -367,12 +367,8 @@ public class RemoteHTable implements Table { return (result != null && !(result.isEmpty())); } - /** - * exists(List) is really a list of get() calls. Just use get(). - * @param gets list of Get to test for the existence - */ @Override - public boolean[] existsAll(List gets) throws IOException { + public boolean[] exists(List gets) throws IOException { LOG.warn("exists(List) is really list of get() calls, just use get()"); boolean[] results = new boolean[gets
hbase git commit: HBASE-19110 Add default for Server#isStopping & #getFileSystem
Repository: hbase Updated Branches: refs/heads/branch-2 52e366468 -> 817dc5644 HBASE-19110 Add default for Server#isStopping & #getFileSystem Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/817dc564 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/817dc564 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/817dc564 Branch: refs/heads/branch-2 Commit: 817dc5644c4c3b2f9a422e250d2d2378d42a3a84 Parents: 52e3664 Author: Michael Stack Authored: Fri Oct 27 09:39:06 2017 -0700 Committer: Michael Stack Committed: Sat Oct 28 10:41:50 2017 -0700 -- .../java/org/apache/hadoop/hbase/Server.java| 22 +--- 1 file changed, 19 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/817dc564/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java index f436dcc1a..a6b39f3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java @@ -26,6 +26,8 @@ import org.apache.hadoop.hbase.zookeeper.MetaTableLocator; import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher; import org.apache.yetus.audience.InterfaceAudience; +import java.io.IOException; + /** * Defines a curated set of shared functions implemented by HBase servers (Masters * and RegionServers). For use internally only. Be judicious adding API. Changes cause ripples @@ -83,15 +85,29 @@ public interface Server extends Abortable, Stoppable { ChoreService getChoreService(); /** - * @return Return the FileSystem object used. + * @return Return the FileSystem object used (can return null!). */ // TODO: On Master, return Master's. On RegionServer, return RegionServers. The FileSystems // may differ. TODO. - FileSystem getFileSystem(); + default FileSystem getFileSystem() { +// This default is pretty dodgy! +Configuration c = getConfiguration(); +FileSystem fs = null; +try { + if (c != null) { +fs = FileSystem.get(c); + } +} catch (IOException e) { + // If an exception, just return null +} +return fs; + }; /** * @return True is the server is Stopping */ // Note: This method is not part of the Stoppable Interface. - boolean isStopping(); + default boolean isStopping() { +return false; + } }
hbase git commit: HBASE-19110 Add default for Server#isStopping & #getFileSystem
Repository: hbase Updated Branches: refs/heads/master afcaa8747 -> e5e2bde87 HBASE-19110 Add default for Server#isStopping & #getFileSystem Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e5e2bde8 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e5e2bde8 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e5e2bde8 Branch: refs/heads/master Commit: e5e2bde87b43e3b3d897845c8973d717dc495f69 Parents: afcaa87 Author: Michael Stack Authored: Fri Oct 27 09:39:06 2017 -0700 Committer: Michael Stack Committed: Sat Oct 28 10:41:10 2017 -0700 -- .../java/org/apache/hadoop/hbase/Server.java| 22 +--- 1 file changed, 19 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e5e2bde8/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java index f436dcc1a..a6b39f3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/Server.java @@ -26,6 +26,8 @@ import org.apache.hadoop.hbase.zookeeper.MetaTableLocator; import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher; import org.apache.yetus.audience.InterfaceAudience; +import java.io.IOException; + /** * Defines a curated set of shared functions implemented by HBase servers (Masters * and RegionServers). For use internally only. Be judicious adding API. Changes cause ripples @@ -83,15 +85,29 @@ public interface Server extends Abortable, Stoppable { ChoreService getChoreService(); /** - * @return Return the FileSystem object used. + * @return Return the FileSystem object used (can return null!). */ // TODO: On Master, return Master's. On RegionServer, return RegionServers. The FileSystems // may differ. TODO. - FileSystem getFileSystem(); + default FileSystem getFileSystem() { +// This default is pretty dodgy! +Configuration c = getConfiguration(); +FileSystem fs = null; +try { + if (c != null) { +fs = FileSystem.get(c); + } +} catch (IOException e) { + // If an exception, just return null +} +return fs; + }; /** * @return True is the server is Stopping */ // Note: This method is not part of the Stoppable Interface. - boolean isStopping(); + default boolean isStopping() { +return false; + } }
hbase git commit: HBASE-19047 CP exposed Scanner types should not extend Shipper.
Repository: hbase Updated Branches: refs/heads/branch-2 efb5d7b24 -> 52e366468 HBASE-19047 CP exposed Scanner types should not extend Shipper. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/52e36646 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/52e36646 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/52e36646 Branch: refs/heads/branch-2 Commit: 52e3664680fb855a0ddf88757e2629c9f2a72590 Parents: efb5d7b Author: anoopsamjohn Authored: Sat Oct 28 23:03:56 2017 +0530 Committer: anoopsamjohn Committed: Sat Oct 28 23:05:29 2017 +0530 -- .../apache/hadoop/hbase/coprocessor/Export.java | 6 ++-- .../mapreduce/IntegrationTestBulkLoad.java | 6 ++-- .../hbase/coprocessor/RegionObserver.java | 10 ++ .../hadoop/hbase/regionserver/HRegion.java | 11 --- .../hbase/regionserver/RSRpcServices.java | 32 ++-- .../regionserver/RegionCoprocessorHost.java | 17 +-- .../hbase/regionserver/RegionScanner.java | 11 +-- .../hbase/security/access/AccessController.java | 5 ++- .../visibility/VisibilityController.java| 9 +++--- ...syncNonMetaRegionLocatorConcurrenyLimit.java | 6 ++-- .../client/TestAsyncRegionLocatorTimeout.java | 6 ++-- .../client/TestBlockEvictionFromClient.java | 5 --- .../hbase/client/TestReplicaWithCluster.java| 15 +++-- .../hadoop/hbase/client/TestReplicasClient.java | 6 ++-- .../hbase/coprocessor/SimpleRegionObserver.java | 9 ++ .../coprocessor/TestCoprocessorInterface.java | 5 --- .../TestRegionObserverScannerOpenHook.java | 9 ++ .../regionserver/NoOpScanPolicyObserver.java| 7 + .../hadoop/hbase/regionserver/TestHRegion.java | 12 .../regionserver/TestScanWithBloomError.java| 2 +- .../TestScannerHeartbeatMessages.java | 3 +- .../regionserver/TestSwitchToStreamRead.java| 4 +-- .../access/TestWithDisabledAuthorization.java | 2 +- .../hbase/util/TestCoprocessorScanPolicy.java | 6 ++-- 24 files changed, 71 insertions(+), 133 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/52e36646/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java -- diff --git a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java index f1ee4f2..e10b98b 100644 --- a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java +++ b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java @@ -389,10 +389,8 @@ public class Export extends ExportProtos.ExportService implements RegionCoproces if (region.getCoprocessorHost() == null) { scanner = region.getScanner(scan); } else { -scanner = region.getCoprocessorHost().preScannerOpen(scan); -if (scanner == null) { - scanner = region.getScanner(scan); -} +region.getCoprocessorHost().preScannerOpen(scan); +scanner = region.getScanner(scan); scanner = region.getCoprocessorHost().postScannerOpen(scan, scanner); } if (scanner == null) { http://git-wip-us.apache.org/repos/asf/hbase/blob/52e36646/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java -- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java index 4eb5e41..3881097 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java @@ -62,7 +62,6 @@ import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; import org.apache.hadoop.hbase.coprocessor.RegionObserver; import org.apache.hadoop.hbase.io.ImmutableBytesWritable; import org.apache.hadoop.hbase.regionserver.InternalScanner; -import org.apache.hadoop.hbase.regionserver.RegionScanner; import org.apache.hadoop.hbase.testclassification.IntegrationTests; import org.apache.hadoop.hbase.tool.LoadIncrementalHFiles; import org.apache.hadoop.hbase.util.Bytes; @@ -170,12 +169,11 @@ public class IntegrationTestBulkLoad extends IntegrationTestBase { } @Override -public RegionScanner preScannerOpen(final ObserverContext e, -final Scan scan, final RegionScanner s) throws IOException { +public void preScannerOpen(final ObserverContext e, +final Scan scan) throws IOException { if (countOfOpen.incrementAndGet() == 2) { //slowdown op
hbase git commit: HBASE-19047 CP exposed Scanner types should not extend Shipper.
Repository: hbase Updated Branches: refs/heads/master 281bbc40c -> afcaa8747 HBASE-19047 CP exposed Scanner types should not extend Shipper. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/afcaa874 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/afcaa874 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/afcaa874 Branch: refs/heads/master Commit: afcaa8747f11032a06f2e2dd095b8f6fa003baa1 Parents: 281bbc4 Author: anoopsamjohn Authored: Sat Oct 28 23:03:56 2017 +0530 Committer: anoopsamjohn Committed: Sat Oct 28 23:03:56 2017 +0530 -- .../apache/hadoop/hbase/coprocessor/Export.java | 6 ++-- .../mapreduce/IntegrationTestBulkLoad.java | 6 ++-- .../hbase/coprocessor/RegionObserver.java | 10 ++ .../hadoop/hbase/regionserver/HRegion.java | 11 --- .../hbase/regionserver/RSRpcServices.java | 32 ++-- .../regionserver/RegionCoprocessorHost.java | 17 +-- .../hbase/regionserver/RegionScanner.java | 11 +-- .../hbase/security/access/AccessController.java | 5 ++- .../visibility/VisibilityController.java| 9 +++--- ...syncNonMetaRegionLocatorConcurrenyLimit.java | 6 ++-- .../client/TestAsyncRegionLocatorTimeout.java | 6 ++-- .../client/TestBlockEvictionFromClient.java | 5 --- .../hbase/client/TestReplicaWithCluster.java| 15 +++-- .../hadoop/hbase/client/TestReplicasClient.java | 6 ++-- .../hbase/coprocessor/SimpleRegionObserver.java | 9 ++ .../coprocessor/TestCoprocessorInterface.java | 5 --- .../TestRegionObserverScannerOpenHook.java | 9 ++ .../regionserver/NoOpScanPolicyObserver.java| 7 + .../hadoop/hbase/regionserver/TestHRegion.java | 12 .../regionserver/TestScanWithBloomError.java| 2 +- .../TestScannerHeartbeatMessages.java | 3 +- .../regionserver/TestSwitchToStreamRead.java| 4 +-- .../access/TestWithDisabledAuthorization.java | 2 +- .../hbase/util/TestCoprocessorScanPolicy.java | 6 ++-- 24 files changed, 71 insertions(+), 133 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/afcaa874/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java -- diff --git a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java index f1ee4f2..e10b98b 100644 --- a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java +++ b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/Export.java @@ -389,10 +389,8 @@ public class Export extends ExportProtos.ExportService implements RegionCoproces if (region.getCoprocessorHost() == null) { scanner = region.getScanner(scan); } else { -scanner = region.getCoprocessorHost().preScannerOpen(scan); -if (scanner == null) { - scanner = region.getScanner(scan); -} +region.getCoprocessorHost().preScannerOpen(scan); +scanner = region.getScanner(scan); scanner = region.getCoprocessorHost().postScannerOpen(scan, scanner); } if (scanner == null) { http://git-wip-us.apache.org/repos/asf/hbase/blob/afcaa874/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java -- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java index 4eb5e41..3881097 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java @@ -62,7 +62,6 @@ import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; import org.apache.hadoop.hbase.coprocessor.RegionObserver; import org.apache.hadoop.hbase.io.ImmutableBytesWritable; import org.apache.hadoop.hbase.regionserver.InternalScanner; -import org.apache.hadoop.hbase.regionserver.RegionScanner; import org.apache.hadoop.hbase.testclassification.IntegrationTests; import org.apache.hadoop.hbase.tool.LoadIncrementalHFiles; import org.apache.hadoop.hbase.util.Bytes; @@ -170,12 +169,11 @@ public class IntegrationTestBulkLoad extends IntegrationTestBase { } @Override -public RegionScanner preScannerOpen(final ObserverContext e, -final Scan scan, final RegionScanner s) throws IOException { +public void preScannerOpen(final ObserverContext e, +final Scan scan) throws IOException { if (countOfOpen.incrementAndGet() == 2) { //slowdown openSc
[48/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/index-all.html -- diff --git a/apidocs/index-all.html b/apidocs/index-all.html index f39b5d1..fa4526b 100644 --- a/apidocs/index-all.html +++ b/apidocs/index-all.html @@ -1188,7 +1188,7 @@ CellUtil - Class in org.apache.hadoop.hbase -Utility methods helpful slinging Cell instances. +Utility methods helpful for slinging Cell instances. cellVisibilityExpr - Variable in class org.apache.hadoop.hbase.mapreduce.TsvImporterMapper @@ -1432,7 +1432,11 @@ and wait for it to be completely cloned. cloneTags(Cell) - Static method in class org.apache.hadoop.hbase.CellUtil - + +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0. + + cloneValue(Cell) - Static method in class org.apache.hadoop.hbase.CellUtil close() - Method in interface org.apache.hadoop.hbase.client.Admin @@ -1738,10 +1742,9 @@ compare(CellComparator, Cell, byte[], int, int) - Static method in class org.apache.hadoop.hbase.CellUtil -Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0 + compare(byte[], int, int, byte[], int, int) - Method in class org.apache.hadoop.hbase.io.ImmutableBytesWritable.Comparator @@ -1765,10 +1768,6 @@ Compares the cell's family with the given byte[] -compareFamily(Cell, ByteArrayComparable) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compare cell's column family against given comparator - compareFamily(CompareFilter.CompareOp, ByteArrayComparable, Cell) - Method in class org.apache.hadoop.hbase.filter.CompareFilter Deprecated. @@ -1798,22 +1797,10 @@ since 2.0.0. Will be removed in 3.0.0. Use CompareOperator instead. -compareKeyBasedOnColHint(CellComparator, Cell, Cell, int, int, byte[], int, int, long, byte) - Static method in class org.apache.hadoop.hbase.CellUtil - -Used to compare two cells based on the column hint provided. - -compareKeyIgnoresMvcc(CellComparator, Cell, Cell) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compares only the key portion of a cell. - CompareOperator - Enum in org.apache.hadoop.hbase Generic set of comparison operators. -compareQualifier(Cell, ByteArrayComparable) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compare cell's qualifier against given comparator - compareQualifier(CompareFilter.CompareOp, ByteArrayComparable, Cell) - Method in class org.apache.hadoop.hbase.filter.CompareFilter Deprecated. @@ -1831,10 +1818,6 @@ Does a deep comparison of two Results, down to the byte arrays. -compareRow(Cell, ByteArrayComparable) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compare cell's row against given comparator - compareRow(CompareFilter.CompareOp, ByteArrayComparable, Cell) - Method in class org.apache.hadoop.hbase.filter.CompareFilter Deprecated. @@ -1948,10 +1931,6 @@ Lexicographically compare two arrays. -compareValue(Cell, ByteArrayComparable) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compare cell's value against given comparator - compareValue(CompareFilter.CompareOp, ByteArrayComparable, Cell) - Method in class org.apache.hadoop.hbase.filter.CompareFilter Deprecated. @@ -1969,8 +1948,6 @@ Deprecated. -compressFamily(OutputStream, Cell, Dictionary) - Static method in class org.apache.hadoop.hbase.CellUtil - COMPRESSION - Static variable in class org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder COMPRESSION - Static variable in class org.apache.hadoop.hbase.HColumnDescriptor @@ -1983,14 +1960,6 @@ Deprecated. -compressQualifier(OutputStream, Cell, Dictionary) - Static method in class org.apache.hadoop.hbase.CellUtil - -compressRow(OutputStream, Cell, Dictionary) - Static method in class org.apache.hadoop.hbase.CellUtil - -compressTags(OutputStream, Cell, TagCompressionContext) - Static method in class org.apache.hadoop.hbase.CellUtil - -Compresses the tags to the given outputstream using the TagcompressionContext - conf - Variable in class org.apache.hadoop.hbase.mapreduce.TsvImporterMapper CONF_DEST_PREFIX - Static variable in class org.apache.hadoop.hbase.snapshot.ExportSnapshot @@ -2282,9 +2251,13 @@ Returns a copy of the bytes referred to by this writable copyFamilyTo(Cell, byte[], int) - Static method in class org.apache.hadoop.hbase.CellUtil - + +Copies the family to the given byte[] + copyFamilyTo(Cell, ByteBuffer, int) - Static method in class org.apache.hadoop.hbase.CellUtil - + +Copies the family to the given bytebuffer + copyFrom(Result) - Method in class org.apach
[08/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteByteBufferCell.html new file mode 100644 index 000..3eba425 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteByteBufferCell.html @@ -0,0 +1,1140 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.TagRewriteByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +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}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.TagRewriteByteBufferCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteByteBufferCell + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp + + +Direct Known Subclasses: +PrivateCellUtil.ValueAndTagRewriteByteBufferCell + + +Enclosing class: +PrivateCellUtil + + + +static class PrivateCellUtil.TagRewriteByteBufferCell +extends ByteBufferCell +implements ExtendedCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +protected ByteBufferCell +cell + + +private static long +HEAP_SIZE_OVERHEAD + + +protected byte[] +tags + + + + + + +Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell +CELL_NOT_BASED_ON_CHUNK + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +TagRewriteByteBufferCell(ByteBufferCell cell, +byte[] tags) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +ExtendedCell +deepClone() +Does a deep copy of the contents to a new memory area and returns it as a new cell. + + + +byte[] +getFamilyArray() +Contiguous bytes composed of legal HDFS filename characters which may start at any index in the + containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getFamilyByteBuffer() + + +byte +getFamilyLength() + + +int +getFamilyOffset() + + +int +getFamilyPosition() + + +byte[] +getQualifierArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getQualifierByteBuffer() + + +int +getQualifierLength() + + +int +getQualifierOffset() + + +int +getQualifierPosition() + + +byte[] +getRowArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getRowByteBuffer() + + +short +getRowLength() + + +int +getRowOffset() + + +int +getRowPosition() + + +long +getSequenceId() +A region-specific unique monotonically increasing sequence ID given to each Cell. + + + +int +getSerializedSize(boolean withTags) + + +byte[] +getTagsArray() +Contiguous raw bytes representing tags that may start at any index in th
[31/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html index 5856e0d..8f5ce0e 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html @@ -32,187 +32,188 @@ 024 025import org.apache.hadoop.hbase.Cell; 026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.yetus.audience.InterfaceAudience; -028import org.apache.hadoop.hbase.exceptions.DeserializationException; -029import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -030import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -031import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -032import org.apache.hadoop.hbase.util.Bytes; -033 -034/** -035 * This filter is used for selecting only those keys with columns that matches -036 * a particular prefix. For example, if prefix is 'an', it will pass keys will -037 * columns like 'and', 'anti' but not keys with columns like 'ball', 'act'. -038 */ -039@InterfaceAudience.Public -040public class MultipleColumnPrefixFilter extends FilterBase { -041 protected byte [] hint = null; -042 protected TreeSetsortedPrefixes = createTreeSet(); -043 private final static int MAX_LOG_PREFIXES = 5; -044 -045 public MultipleColumnPrefixFilter(final byte [][] prefixes) { -046if (prefixes != null) { -047 for (int i = 0; i < prefixes.length; i++) { -048if (!sortedPrefixes.add(prefixes[i])) -049 throw new IllegalArgumentException ("prefixes must be distinct"); -050 } -051} -052 } -053 -054 public byte [][] getPrefix() { -055int count = 0; -056byte [][] temp = new byte [sortedPrefixes.size()][]; -057for (byte [] prefixes : sortedPrefixes) { -058 temp [count++] = prefixes; -059} -060return temp; -061 } -062 -063 @Override -064 public boolean filterRowKey(Cell cell) throws IOException { -065// Impl in FilterBase might do unnecessary copy for Off heap backed Cells. -066return false; -067 } -068 -069 @Deprecated -070 @Override -071 public ReturnCode filterKeyValue(final Cell c) { -072return filterCell(c); -073 } -074 -075 @Override -076 public ReturnCode filterCell(final Cell c) { -077if (sortedPrefixes.isEmpty()) { -078 return ReturnCode.INCLUDE; -079} else { -080 return filterColumn(c); -081} -082 } -083 -084 public ReturnCode filterColumn(Cell cell) { -085byte [] qualifier = CellUtil.cloneQualifier(cell); -086TreeSet lesserOrEqualPrefixes = -087 (TreeSet ) sortedPrefixes.headSet(qualifier, true); -088 -089if (lesserOrEqualPrefixes.size() != 0) { -090 byte [] largestPrefixSmallerThanQualifier = lesserOrEqualPrefixes.last(); -091 -092 if (Bytes.startsWith(qualifier, largestPrefixSmallerThanQualifier)) { -093return ReturnCode.INCLUDE; -094 } -095 -096 if (lesserOrEqualPrefixes.size() == sortedPrefixes.size()) { -097return ReturnCode.NEXT_ROW; -098 } else { -099hint = sortedPrefixes.higher(largestPrefixSmallerThanQualifier); -100return ReturnCode.SEEK_NEXT_USING_HINT; -101 } -102} else { -103 hint = sortedPrefixes.first(); -104 return ReturnCode.SEEK_NEXT_USING_HINT; -105} -106 } -107 -108 public static Filter createFilterFromArguments(ArrayList filterArguments) { -109byte [][] prefixes = new byte [filterArguments.size()][]; -110for (int i = 0 ; i < filterArguments.size(); i++) { -111 byte [] columnPrefix = ParseFilter.removeQuotesFromByteArray(filterArguments.get(i)); -112 prefixes[i] = columnPrefix; -113} -114return new MultipleColumnPrefixFilter(prefixes); -115 } -116 -117 /** -118 * @return The filter serialized using pb -119 */ -120 public byte [] toByteArray() { -121 FilterProtos.MultipleColumnPrefixFilter.Builder builder = -122 FilterProtos.MultipleColumnPrefixFilter.newBuilder(); -123for (byte [] element : sortedPrefixes) { -124 if (element != null) builder.addSortedPrefixes(UnsafeByteOperations.unsafeWrap(element)); -125} -126return builder.build().toByteArray(); -127 } -128 -129 /** -130 * @param pbBytes A pb serialized {@link MultipleColumnPrefixFilter} instance -131 * @return An instance of {@link MultipleColumnPrefixFilter} made from bytes
-132 * @throws DeserializationException -133 * @see #toByteArray -134 */ -135 public static MultipleColumnPrefixFilter parseFrom(final byte [] pbBytes) -136 throws D
[45/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/client/Delete.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Delete.html b/apidocs/org/apache/hadoop/hbase/client/Delete.html index b0bb062..53126fb 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Delete.html +++ b/apidocs/org/apache/hadoop/hbase/client/Delete.html @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Delete +public class Delete extends Mutation implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true"; title="class or interface in java.lang">ComparableUsed to perform Delete operations on a single row. @@ -438,7 +438,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl Delete -public Delete(byte[] row) +public Delete(byte[] row) Create a Delete operation for the specified row. If no further operations are done, this will delete everything @@ -458,7 +458,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl Delete -public Delete(byte[] row, +public Delete(byte[] row, long timestamp) Create a Delete operation for the specified row and timestamp. @@ -481,7 +481,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl Delete -public Delete(byte[] row, +public Delete(byte[] row, int rowOffset, int rowLength) Create a Delete operation for the specified row and timestamp. @@ -506,7 +506,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl Delete -public Delete(byte[] row, +public Delete(byte[] row, int rowOffset, int rowLength, long timestamp) @@ -533,7 +533,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl Delete -public Delete(Delete d) +public Delete(Delete d) Parameters: d - Delete to clone. @@ -555,7 +555,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl addDeleteMarker http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true"; title="class or interface in java.lang">@Deprecated -public Delete addDeleteMarker(Cell kv) +public Delete addDeleteMarker(Cell kv) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"; title="class or interface in java.io">IOException Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. Use add(Cell) instead @@ -576,7 +576,7 @@ public add -public Delete add(Cell kv) +public Delete add(Cell kv) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"; title="class or interface in java.io">IOException Add an existing delete marker to this Delete object. @@ -595,7 +595,7 @@ public addFamily -public Delete addFamily(byte[] family) +public Delete addFamily(byte[] family) Delete all versions of all columns of the specified family. Overrides previous calls to deleteColumn and deleteColumns for the @@ -614,7 +614,7 @@ public addFamily -public Delete addFamily(byte[] family, +public Delete addFamily(byte[] family, long timestamp) Delete all columns of the specified family with a timestamp less than or equal to the specified timestamp. @@ -636,7 +636,7 @@ public addFamilyVersion -public Delete addFamilyVersion(byte[] family, +public Delete addFamilyVersion(byte[] family, long timestamp) Delete all columns of the specified family with a timestamp equal to the specified timestamp. @@ -655,7 +655,7 @@ public addColumns -public Delete addColumns(byte[] family, +public Delete addColumns(byte[] family, byte[] qualifier) Delete all versions of the specified column. @@ -673,7 +673,7 @@ public addColumns -public Delete addColumns(byte[] family, +public Delete addColumns(byte[] family, byte[] qualifier, long timestamp) Delete all versions of the specified column with a timestamp less than @@ -694,7 +694,7 @@ public addColumn -public Delete addColumn(byte[] family, +public Delete addColumn(byte[] family, byte[] qualifier) Delete the latest version of the specified column. This is an expensive call in that on the server-side, it first does a @@ -715,7 +715,7 @@ public addColumn -public Delete addColumn(byte[] family, +public Delete addColumn(byte[] family, byte[] qualifier, long timestamp) Delete the specified version of the specified column. @@ -735,7 +735,7 @@ public setTimestamp -public Delete setTimestamp(long timestamp) +public Delete setTimestamp(long timestamp) Set the timestamp of the
[20/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html deleted file mode 100644 index 5748051..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html +++ /dev/null @@ -1,380 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.FirstOnRowColTSCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -var methods = {"i0":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.FirstOnRowColTSCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.CellUtil.EmptyCell - - -org.apache.hadoop.hbase.CellUtil.FirstOnRowCell - - -org.apache.hadoop.hbase.CellUtil.FirstOnRowColCell - - -org.apache.hadoop.hbase.CellUtil.FirstOnRowColTSCell - - - - - - - - - - - - - -All Implemented Interfaces: -Cell, SettableSequenceId - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.FirstOnRowColTSCell -extends CellUtil.FirstOnRowColCell - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -private long -ts - - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -FirstOnRowColTSCell(byte[] rArray, - int roffset, - short rlength, - byte[] fArray, - int foffset, - byte flength, - byte[] qArray, - int qoffset, - int qlength, - long ts) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -long -getTimestamp() - - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.FirstOnRowColCell -getFamilyArray, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.FirstOnRowCell -getRowArray, getRowLength, getRowOffset, getTypeByte - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.EmptyCell -getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId - - - - - -Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is
[34/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html index b72a2e0..aa5ad0d 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html @@ -34,616 +34,617 @@ 026import org.apache.hadoop.hbase.Cell; 027import org.apache.hadoop.hbase.CellComparatorImpl; 028import org.apache.hadoop.hbase.CellUtil; -029import org.apache.yetus.audience.InterfaceAudience; -030import org.apache.hadoop.hbase.exceptions.DeserializationException; -031import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -032import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -033import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -034import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.BytesBytesPair; -035import org.apache.hadoop.hbase.util.Bytes; -036import org.apache.hadoop.hbase.util.Pair; -037import org.apache.hadoop.hbase.util.UnsafeAccess; -038import org.apache.hadoop.hbase.util.UnsafeAvailChecker; -039 -040import org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting; -041 -042/** -043 * This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key. -044 * Performs fast-forwards during scanning. It takes pairs (row key, fuzzy info) to match row keys. -045 * Where fuzzy info is a byte array with 0 or 1 as its values: -046 *-047 *
-052 * Example: Let's assume row key format is userId_actionId_year_month. Length of userId is fixed and -053 * is 4, length of actionId is 2 and year and month are 4 and 2 bytes long respectively. Let's -054 * assume that we need to fetch all users that performed certain action (encoded as "99") in Jan of -055 * any year. Then the pair (row key, fuzzy info) would be the following: row key = "_99__01" -056 * (one can use any value instead of "?") fuzzy info = -057 * "\x01\x01\x01\x01\x00\x00\x00\x00\x01\x01\x01\x01\x00\x00\x00" I.e. fuzzy info tells the matching -058 * mask is "_99__01", where at ? can be any value. -059 */ -060@InterfaceAudience.Public -061public class FuzzyRowFilter extends FilterBase { -062 private static final boolean UNSAFE_UNALIGNED = UnsafeAvailChecker.unaligned(); -063 private List- 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position -048 * must match
-049 *- 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this -050 * position can be different from the one in provided row key
-051 *> fuzzyKeysData; -064 private boolean done = false; -065 -066 /** -067 * The index of a last successfully found matching fuzzy string (in fuzzyKeysData). We will start -068 * matching next KV with this one. If they do not match then we will return back to the one-by-one -069 * iteration over fuzzyKeysData. -070 */ -071 private int lastFoundIndex = -1; -072 -073 /** -074 * Row tracker (keeps all next rows after SEEK_NEXT_USING_HINT was returned) -075 */ -076 private RowTracker tracker; -077 -078 public FuzzyRowFilter(List > fuzzyKeysData) { -079List > fuzzyKeyDataCopy = new ArrayList<>(fuzzyKeysData.size()); -080 -081for (Pair aFuzzyKeysData : fuzzyKeysData) { -082 if (aFuzzyKeysData.getFirst().length != aFuzzyKeysData.getSecond().length) { -083Pair readable = -084 new Pair<>(Bytes.toStringBinary(aFuzzyKeysData.getFirst()), Bytes.toStringBinary(aFuzzyKeysData.getSecond())); -085throw new IllegalArgumentException("Fuzzy pair lengths do not match: " + readable); -086 } -087 -088 Pair p = new Pair<>(); -089 // create a copy of pair bytes so that they are not modified by the filter. -090 p.setFirst(Arrays.copyOf(aFuzzyKeysData.getFirst(), aFuzzyKeysData.getFirst().length)); -091 p.setSecond(Arrays.copyOf(aFuzzyKeysData.getSecond(), aFuzzyKeysData.getSecond().length)); -092 -093 // update mask ( 0 -> -1 (0xff), 1 -> 2) -094 p.setSecond(preprocessMask(p.getSecond())); -095 preprocessSearchKey(p); -096 -097 fuzzyKeyDataCopy.add(p); -098} -099this.fuzzyKeysData = fuzzyKeyDataCopy; -100this.tracker = new RowTracker(); -101 } -102 +029import org.apache.hadoop.hbase.PrivateCellUtil; +030import org.apache.yetus.audience.InterfaceAudience; +031import org.apache.hadoop.hbase.exceptions.DeserializationException; +032import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferExcep
[36/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html index 9aa2b91..4a1db0d 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html @@ -31,211 +31,212 @@ 023 024import org.apache.hadoop.hbase.Cell; 025import org.apache.hadoop.hbase.CellUtil; -026import org.apache.yetus.audience.InterfaceAudience; -027import org.apache.hadoop.hbase.exceptions.DeserializationException; -028import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -029import org.apache.hadoop.hbase.util.Bytes; -030 -031import org.apache.hadoop.hbase.shaded.com.google.common.base.Preconditions; -032import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -033import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -034 -035/** -036 * A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset. -037 * This filter can be used for row-based indexing, where references to other tables are stored across many columns, -038 * in order to efficient lookups and paginated results for end users. Only most recent versions are considered -039 * for pagination. -040 */ -041@InterfaceAudience.Public -042public class ColumnPaginationFilter extends FilterBase { -043 -044 private int limit = 0; -045 private int offset = -1; -046 private byte[] columnOffset = null; -047 private int count = 0; -048 -049 /** -050 * Initializes filter with an integer offset and limit. The offset is arrived at -051 * scanning sequentially and skipping entries. @limit number of columns are -052 * then retrieved. If multiple column families are involved, the columns may be spread -053 * across them. -054 * -055 * @param limit Max number of columns to return. -056 * @param offset The integer offset where to start pagination. -057 */ -058 public ColumnPaginationFilter(final int limit, final int offset) -059 { -060Preconditions.checkArgument(limit >= 0, "limit must be positive %s", limit); -061Preconditions.checkArgument(offset >= 0, "offset must be positive %s", offset); -062this.limit = limit; -063this.offset = offset; -064 } -065 -066 /** -067 * Initializes filter with a string/bookmark based offset and limit. The offset is arrived -068 * at, by seeking to it using scanner hints. If multiple column families are involved, -069 * pagination starts at the first column family which contains @columnOffset. Columns are -070 * then retrieved sequentially upto @limit number of columns which maybe spread across -071 * multiple column families, depending on how the scan is setup. -072 * -073 * @param limit Max number of columns to return. -074 * @param columnOffset The string/bookmark offset on where to start pagination. -075 */ -076 public ColumnPaginationFilter(final int limit, final byte[] columnOffset) { -077Preconditions.checkArgument(limit >= 0, "limit must be positive %s", limit); -078 Preconditions.checkArgument(columnOffset != null, -079 "columnOffset must be non-null %s", -080 columnOffset); -081this.limit = limit; -082this.columnOffset = columnOffset; -083 } -084 -085 /** -086 * @return limit -087 */ -088 public int getLimit() { -089return limit; -090 } -091 -092 /** -093 * @return offset -094 */ -095 public int getOffset() { -096return offset; -097 } -098 -099 /** -100 * @return columnOffset -101 */ -102 public byte[] getColumnOffset() { -103return columnOffset; -104 } -105 -106 @Override -107 public boolean filterRowKey(Cell cell) throws IOException { -108// Impl in FilterBase might do unnecessary copy for Off heap backed Cells. -109return false; -110 } -111 -112 @Override -113 @Deprecated -114 public ReturnCode filterKeyValue(final Cell c) { -115return filterCell(c); -116 } -117 -118 @Override -119 public ReturnCode filterCell(final Cell c) -120 { -121if (columnOffset != null) { -122 if (count >= limit) { -123return ReturnCode.NEXT_ROW; -124 } -125 int cmp = 0; -126 // Only compare if no KV's have been seen so far. -127 if (count == 0) { -128cmp = CellUtil.compareQualifiers(c, this.columnOffset, 0, this.columnOffset.length); -129 } -130 if (cmp < 0) { -131return ReturnCode.SEEK_NEXT_USING_HINT; -132 } else { -133count++; -134return ReturnCode.INCLUDE_AND_NEXT_COL; -135 } -136} else { -137 if (count >= offset + limit) { -138
[17/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html deleted file mode 100644 index 844160b..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html +++ /dev/null @@ -1,949 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.TagRewriteCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -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}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.TagRewriteCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.CellUtil.TagRewriteCell - - - - - - - -All Implemented Interfaces: -http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp - - -Direct Known Subclasses: -CellUtil.ValueAndTagRewriteCell - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.TagRewriteCell -extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -implements ExtendedCell -This can be used when a Cell has to change with addition/removal of one or more tags. This is an - efficient way to do so in which only the tags bytes part need to recreated and copied. All other - parts, refer to the original Cell. - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -protected Cell -cell - - -private static long -HEAP_SIZE_OVERHEAD - - -protected byte[] -tags - - - - - - -Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell -CELL_NOT_BASED_ON_CHUNK - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -TagRewriteCell(Cell cell, - byte[] tags) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -ExtendedCell -deepClone() -Does a deep copy of the contents to a new memory area and returns it as a new cell. - - - -byte[] -getFamilyArray() -Contiguous bytes composed of legal HDFS filename characters which may start at any index in the - containing array. - - - -byte -getFamilyLength() - - -int -getFamilyOffset() - - -byte[] -getQualifierArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -int -getQualifierLength() - - -int -getQualifierOffset() - - -byte[] -getRowArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -short -getRowLength() - - -int -getRowOffset() - - -long -getSequenceId() -A region-specific unique monotonically increasing sequence ID given to each Cell. - - - -int -getSerializedSize(boolean withTags) - - -byte[] -getTagsArray() -Contiguous raw bytes representing tags that may start at any index in the containing array. - - - -int -getTagsLength() -HBase internally uses 2 bytes to store tags length in Cell. - - - -int -getTagsOffset() - - -long -getTimestamp() - - -byte -getTypeByte() - - -byte[] -getValueArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -int -getValueLength() - - -int -getValueOffset() - - -long -heapSize() - - -void -setSequenceId(long seqId) -Sets with the given seqId. - - - -void -setTimestamp(byte[] ts, -int tsOffset) -Sets with the given timestamp. - - - -void -setTi
[23/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/ByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/ByteBufferCell.html index b2a0f53..6fe3d46 100644 --- a/devapidocs/org/apache/hadoop/hbase/ByteBufferCell.html +++ b/devapidocs/org/apache/hadoop/hbase/ByteBufferCell.html @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; Direct Known Subclasses: -BufferedDataBlockEncoder.OffheapDecodedCell, ByteBufferKeyOnlyKeyValue, ByteBufferKeyValue, CellUtil.EmptyByteBufferCell, CellUtil.TagRewriteByteBufferCell, KeyOnlyFilter.KeyOnlyByteBufferCell, title="class in org.apache.hadoop.hbase.util">MapReduceCell, href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html" > title="class in >org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeCell, href="../../../../org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.OffheapPrefixTreeCell.html" > title="class in >org.apache.hadoop.hbase.codec.prefixtree">PrefixTreeSeeker.OffheapPrefixTreeCell +BufferedDataBlockEncoder.OffheapDecodedCell, ByteBufferKeyOnlyKeyValue, ByteBufferKeyValue, KeyOnlyFilter.KeyOnlyByteBufferCell, MapReduceCell, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrivateCellUtil.EmptyByteBufferCell, PrivateCellUtil.TagRewriteByteBufferCell http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/Cell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/Cell.html b/devapidocs/org/apache/hadoop/hbase/Cell.html index 3f11626..e308436 100644 --- a/devapidocs/org/apache/hadoop/hbase/Cell.html +++ b/devapidocs/org/apache/hadoop/hbase/Cell.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; All Known Implementing Classes: -BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferCell, ByteBufferChunkCell, ByteBufferKeyOnlyKeyValue, ByteBufferKeyValue, CellUtil.EmptyByteBufferCell, CellUtil.EmptyCell, CellUtil.FirstOnRowByteBufferCell, CellUtil.FirstOnRowCell, CellUtil.FirstOnRowColByteBufferCell, CellUtil.FirstOnRowColCell, CellUtil.FirstOnRowColTSByteBufferCell, CellUtil.FirstOnRowColTSCell, CellUtil.FirstOnRowDeleteFamilyCell, CellUtil.LastOnRowByteBufferCell, CellUtil.LastOnRowCell, CellUtil.LastOnRowColByteBufferCell, CellUtil.LastOnRowColCell, CellUtil.TagRewriteByteBufferCell, CellUtil.TagRewriteCell, CellUtil.ValueAndTagRewriteByteBufferCell, CellUtil.ValueAndTagRewriteCell, IndividualBytesFieldCell, KeyOnlyF ilter.KeyOnlyByteBufferCell, KeyOnlyFilter.KeyOnlyCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArraySearcher, PrefixTreeCell, PrefixTreeSeeker.Of fheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, SizeCachedKeyValue, SizeCachedNoTagsKeyValue +BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferCell, ByteBufferChunkCell, ByteBufferKeyOnlyKeyValue, ByteBufferKeyValue, IndividualBytesFieldCell, KeyOnlyFilter.KeyOnlyByteBufferCell, KeyOnlyFilter.KeyOnlyCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArraySearcher, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, PrivateCellUtil.EmptyByteBufferCell, PrivateCellUtil.EmptyCell, PrivateCellUtil.Firs tOnRowByteBufferCell, PrivateCellUtil.FirstOnRowCell, PrivateCellUtil.FirstOnRowColByteBufferCell, PrivateCellUtil.FirstOnRowColCell, PrivateCellUtil.FirstOnRowColTSByteBufferCell, PrivateCellUtil.FirstOnRowColTSCell, PrivateCellUtil.FirstOnRowDeleteFamilyCell, PrivateCellUtil.LastOnRowByteBufferCell, PrivateCellUtil.LastOnRowCell, PrivateCellUtil.LastOnRowColByteBufferCell, PrivateCellUtil.LastOnRowColCell, PrivateCellUtil.TagRewriteByteBufferCell, PrivateCellUtil.TagRewriteCell, PrivateCellUtil.ValueAndTagRewriteByteBufferCell, PrivateCellUtil.ValueAndTagRewriteCell, SizeCachedKeyValue, SizeCachedNoTagsKeyValue http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html deleted file mode 100644 index ec88197..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html +++ /dev/null @@ -1,841 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> -
[28/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/book.html -- diff --git a/book.html b/book.html index 51057fa..818c23e 100644 --- a/book.html +++ b/book.html @@ -5483,7 +5483,7 @@ See the entry for hbase.hregion.majorcompaction in the Major compactions are absolutely necessary for StoreFile clean-up. Do not disable them altogether. -You can run major compactions manually via the HBase shell or via the http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Admin.html#majorCompact(org.apache.hadoop.hbase.TableName)">Admin API. +You can run major compactions manually via the HBase shell or via the http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Admin.html#majorCompact-org.apache.hadoop.hbase.TableName-";>Admin API. @@ -6127,7 +6127,7 @@ For new installations, do not deploy 0.94.y, 0.96.y, or 0.98.y. Deploy our stab -Before the semantic versioning scheme pre-1.0, HBase tracked either Hadoop’s versions (0.2x) or 0.9x versions. If you are into the arcane, checkout our old wiki page on http://wiki.apache.org/hadoop/Hbase/HBaseVersions";>HBase Versioning which tries to connect the HBase version dots. Below sections cover ONLY the releases before 1.0. +Before the semantic versioning scheme pre-1.0, HBase tracked either Hadoop’s versions (0.2x) or 0.9x versions. If you are into the arcane, checkout our old wiki page on https://web.archive.org/web/20150905071342/https://wiki.apache.org/hadoop/Hbase/HBaseVersions";>HBase Versioning which tries to connect the HBase version dots. Below sections cover ONLY the releases before 1.0. Odd/Even Versioning or "Development" Series Releases @@ -7197,7 +7197,7 @@ By default, the timestamp represents the time on the RegionServer when the data 19. Conceptual View -You can read a very understandable explanation of the HBase data model in the blog post http://jimbojw.com/wiki/index.php?title=Understanding_Hbase_and_BigTable";>Understanding HBase and BigTable by Jim R. Wilson. +You can read a very understandable explanation of the HBase data model in the blog post http://jimbojw.com/#understanding%20hbase";>Understanding HBase and BigTable by Jim R. Wilson. Another good explanation is available in the PDF http://0b4af6cdc2f0c5998459-c0245c5c937c5dedcca3f1764ecc9b2f.r43.cf2.rackcdn.com/9353-login1210_khurana.pdf";>Introduction to Basic Schema Design by Amandeep Khurana. @@ -7555,13 +7555,13 @@ Operations are applied via http://hbase.apache.org/apidocs/org/apache/h 26.1. Get http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Get.html";>Get returns attributes for a specified row. -Gets are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#get(org.apache.hadoop.hbase.client.Get)">Table.get. +Gets are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#get-org.apache.hadoop.hbase.client.Get-";>Table.get 26.2. Put -http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Put.html";>Put either adds new rows to a table (if the key is new) or can update existing rows (if the key already exists). Puts are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#put(org.apache.hadoop.hbase.client.Put)">Table.put (non-writeBuffer) or http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#batch(java.util.List,%20java.lang.Object%5B%5D)">Table.batch (non-writeBuffer). +http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Put.html";>Put either adds new rows to a table (if the key is new) or can update existing rows (if the key already exists). Puts are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#put-org.apache.hadoop.hbase.client.Put-";>Table.put (non-writeBuffer) or http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#batch-java.util.List-java.lang.Object:A-";>Table.batch (non-writeBuffer) @@ -7602,7 +7602,7 @@ ResultScanner rs = table.getScanner(scan); 26.4. Delete http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Delete.html";>Delete removes a row from a table. -Deletes are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#delete(org.apache.hadoop.hbase.client.Delete)">Table.delete. +Deletes are executed via http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#delete-org.apache.hadoop.hbase.client.Delete-";>Table.delete. HBase does not modify data in place, and so deletes are handled by creating new markers called tombstones. @@ -7707,10 +7707,10 @@ The below discussion of http://hbase.apache.org/apidocs/org/apache/hado -to return more than one version, see http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Get.html#setMaxVersions()">Get.setMaxVersions() +to return more than one version, see http://hbase.apa
[39/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html index 1b1e0bc..42df499 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html @@ -42,541 +42,542 @@ 034import org.apache.hadoop.hbase.CellScanner; 035import org.apache.hadoop.hbase.CellUtil; 036import org.apache.hadoop.hbase.HConstants; -037import org.apache.hadoop.hbase.KeyValue; -038import org.apache.hadoop.hbase.Tag; -039import org.apache.hadoop.hbase.TagUtil; -040import org.apache.yetus.audience.InterfaceAudience; -041import org.apache.hadoop.hbase.exceptions.DeserializationException; -042import org.apache.hadoop.hbase.io.HeapSize; -043import org.apache.hadoop.hbase.protobuf.ProtobufUtil; -044import org.apache.hadoop.hbase.protobuf.generated.ClientProtos; -045import org.apache.hadoop.hbase.security.access.AccessControlConstants; -046import org.apache.hadoop.hbase.security.access.AccessControlUtil; -047import org.apache.hadoop.hbase.security.access.Permission; -048import org.apache.hadoop.hbase.security.visibility.CellVisibility; -049import org.apache.hadoop.hbase.security.visibility.VisibilityConstants; -050import org.apache.hadoop.hbase.util.Bytes; -051import org.apache.hadoop.hbase.util.ClassSize; -052 -053import org.apache.hadoop.hbase.shaded.com.google.common.collect.ArrayListMultimap; -054import org.apache.hadoop.hbase.shaded.com.google.common.collect.ListMultimap; -055import org.apache.hadoop.hbase.shaded.com.google.common.io.ByteArrayDataInput; -056import org.apache.hadoop.hbase.shaded.com.google.common.io.ByteArrayDataOutput; -057import org.apache.hadoop.hbase.shaded.com.google.common.io.ByteStreams; -058 -059@InterfaceAudience.Public -060public abstract class Mutation extends OperationWithAttributes implements Row, CellScannable, -061HeapSize { -062 public static final long MUTATION_OVERHEAD = ClassSize.align( -063 // This -064 ClassSize.OBJECT + -065 // row + OperationWithAttributes.attributes -066 2 * ClassSize.REFERENCE + -067 // Timestamp -068 1 * Bytes.SIZEOF_LONG + -069 // durability -070 ClassSize.REFERENCE + -071 // familyMap -072 ClassSize.REFERENCE + -073 // familyMap -074 ClassSize.TREEMAP + -075 // priority -076 ClassSize.INTEGER -077 ); -078 -079 /** -080 * The attribute for storing the list of clusters that have consumed the change. -081 */ -082 private static final String CONSUMED_CLUSTER_IDS = "_cs.id"; -083 -084 /** -085 * The attribute for storing TTL for the result of the mutation. -086 */ -087 private static final String OP_ATTRIBUTE_TTL = "_ttl"; -088 -089 private static final String RETURN_RESULTS = "_rr_"; -090 -091 protected byte [] row = null; -092 protected long ts = HConstants.LATEST_TIMESTAMP; -093 protected Durability durability = Durability.USE_DEFAULT; -094 -095 // A Map sorted by column family. -096 protected NavigableMap> familyMap = new TreeMap<>(Bytes.BYTES_COMPARATOR); -097 -098 @Override -099 public CellScanner cellScanner() { -100return CellUtil.createCellScanner(getFamilyCellMap()); -101 } -102 -103 /** -104 * Creates an empty list if one doesn't exist for the given column family -105 * or else it returns the associated list of Cell objects. -106 * -107 * @param family column family -108 * @return a list of Cell objects, returns an empty list if one doesn't exist. -109 */ -110 List getCellList(byte[] family) { -111List | list = this.familyMap.get(family); -112if (list == null) { -113 list = new ArrayList<>(); -114 this.familyMap.put(family, list); -115} -116return list; -117 } -118 -119 /* -120 * Create a KeyValue with this objects row key and the Put identifier. -121 * -122 * @return a KeyValue with this objects row key and the Put identifier. -123 */ -124 KeyValue createPutKeyValue(byte[] family, byte[] qualifier, long ts, byte[] value) { -125return new KeyValue(this.row, family, qualifier, ts, KeyValue.Type.Put, value); -126 } -127 -128 /** -129 * Create a KeyValue with this objects row key and the Put identifier. -130 * @param family -131 * @param qualifier -132 * @param ts -133 * @param value -134 * @param tags - Specify the Tags as an Array -135 * @return a KeyValue with this objects row key and the Put identifier. -136 */ -137 KeyValue createPutKeyValue(byte[] family, byte[] qualifier, long ts, byte[] value, Tag[] tags) { -138KeyValue kvWithTag = new KeyValue(this.row, family, qualifier, ts, value, tags); -139return kvWithTag; -140 } -141 -142 /* -143 * Create a KeyValu |
[33/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html index 1554d23..af883ab 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html @@ -32,493 +32,494 @@ 024import org.apache.hadoop.hbase.Cell; 025import org.apache.hadoop.hbase.CellUtil; 026import org.apache.hadoop.hbase.HConstants; -027import org.apache.yetus.audience.InterfaceAudience; -028import org.apache.hadoop.hbase.exceptions.DeserializationException; -029import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -030import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -031import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -032import org.apache.hadoop.hbase.util.Bytes; -033 -034/** -035 * Filter to support scan multiple row key ranges. It can construct the row key ranges from the -036 * passed list which can be accessed by each region server. -037 * -038 * HBase is quite efficient when scanning only one small row key range. If user needs to specify -039 * multiple row key ranges in one scan, the typical solutions are: 1. through FilterList which is a -040 * list of row key Filters, 2. using the SQL layer over HBase to join with two table, such as hive, -041 * phoenix etc. However, both solutions are inefficient. Both of them can't utilize the range info -042 * to perform fast forwarding during scan which is quite time consuming. If the number of ranges -043 * are quite big (e.g. millions), join is a proper solution though it is slow. However, there are -044 * cases that user wants to specify a small number of ranges to scan (e.g. <1000 ranges). Both -045 * solutions can't provide satisfactory performance in such case. MultiRowRangeFilter is to support -046 * such usec ase (scan multiple row key ranges), which can construct the row key ranges from user -047 * specified list and perform fast-forwarding during scan. Thus, the scan will be quite efficient. -048 */ -049@InterfaceAudience.Public -050public class MultiRowRangeFilter extends FilterBase { -051 -052 private ListrangeList; -053 -054 private static final int ROW_BEFORE_FIRST_RANGE = -1; -055 private boolean EXCLUSIVE = false; -056 private boolean done = false; -057 private boolean initialized = false; -058 private int index; -059 private RowRange range; -060 private ReturnCode currentReturnCode; -061 -062 /** -063 * @param list A list of RowRange
-064 */ -065 public MultiRowRangeFilter(Listlist) { -066this.rangeList = sortAndMerge(list); -067 } -068 -069 @Override -070 public boolean filterAllRemaining() { -071return done; -072 } -073 -074 public List getRowRanges() { -075return this.rangeList; -076 } -077 -078 @Override -079 public boolean filterRowKey(Cell firstRowCell) { -080if (filterAllRemaining()) return true; -081// If it is the first time of running, calculate the current range index for -082// the row key. If index is out of bound which happens when the start row -083// user sets is after the largest stop row of the ranges, stop the scan. -084// If row key is after the current range, find the next range and update index. -085byte[] rowArr = firstRowCell.getRowArray(); -086int length = firstRowCell.getRowLength(); -087int offset = firstRowCell.getRowOffset(); -088if (!initialized -089|| !range.contains(rowArr, offset, length)) { -090 byte[] rowkey = CellUtil.cloneRow(firstRowCell); -091 index = getNextRangeIndex(rowkey); -092 if (index >= rangeList.size()) { -093done = true; -094currentReturnCode = ReturnCode.NEXT_ROW; -095return false; -096 } -097 if(index != ROW_BEFORE_FIRST_RANGE) { -098range = rangeList.get(index); -099 } else { -100range = rangeList.get(0); -101 } -102 if (EXCLUSIVE) { -103EXCLUSIVE = false; -104currentReturnCode = ReturnCode.NEXT_ROW; -105return false; -106 } -107 if (!initialized) { -108if(index != ROW_BEFORE_FIRST_RANGE) { -109 currentReturnCode = ReturnCode.INCLUDE; -110} else { -111 currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; -112} -113initialized = true; -114 } else { -115if (range.contains(rowArr, offset, length)) { -116 currentReturnCode = ReturnCode.INCLUDE; -117} else { -118 currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; -11
[12/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowByteBufferCell.html new file mode 100644 index 000..c708a8c --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowByteBufferCell.html @@ -0,0 +1,448 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.FirstOnRowByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.FirstOnRowByteBufferCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowByteBufferCell + + + + + + + + + + + +All Implemented Interfaces: +Cell, SettableSequenceId + + +Direct Known Subclasses: +PrivateCellUtil.FirstOnRowColByteBufferCell + + +Enclosing class: +PrivateCellUtil + + + +private static class PrivateCellUtil.FirstOnRowByteBufferCell +extends PrivateCellUtil.EmptyByteBufferCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +private short +rlength + + +private int +roffset + + +private http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +rowBuff + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +FirstOnRowByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer row, +int roffset, +short rlength) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getRowByteBuffer() + + +short +getRowLength() + + +int +getRowPosition() + + +long +getTimestamp() + + +byte +getTypeByte() + + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferCell +getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowOffset, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getValueArray, getValueByteBuffer, getValueLength, getValueOffset, getValuePosition, setSequenceId + + + + + +Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/j
[21/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html deleted file mode 100644 index e0798c1..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html +++ /dev/null @@ -1,536 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.FirstOnRowColByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.FirstOnRowColByteBufferCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.ByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.EmptyByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.FirstOnRowByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.FirstOnRowColByteBufferCell - - - - - - - - - - - - - -All Implemented Interfaces: -Cell, SettableSequenceId - - -Direct Known Subclasses: -CellUtil.FirstOnRowColTSByteBufferCell - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.FirstOnRowColByteBufferCell -extends CellUtil.FirstOnRowByteBufferCell - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -private http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -colBuff - - -private int -colLength - - -private int -colOffset - - -private http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -famBuff - - -private byte -famLength - - -private int -famOffset - - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -FirstOnRowColByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer row, - int roffset, - short rlength, - http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer famBuff, - int famOffset, - byte famLength, - http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer col, - int colOffset, - int colLength) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getFamilyByteBuffer() - - -byte -getFamilyLength() - - -int -getFamilyPosition() - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getQualifierByteBuffer() - - -int -getQualifierLength() - - -int -getQualifierPosition() - - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.FirstOnRowByteBufferCell -getRowByteBuffer, getRowLength, getRowPosition, getTimestamp, getTypeByte - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.EmptyByteBufferCell -getFamilyArray, getFamilyOffset, getQualifierArray, getQualifierOffset, getRowArray, getRowOffset, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getValueArr
[18/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html deleted file mode 100644 index 6828b66..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html +++ /dev/null @@ -1,1141 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.TagRewriteByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -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}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.TagRewriteByteBufferCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.ByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.TagRewriteByteBufferCell - - - - - - - - - -All Implemented Interfaces: -http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp - - -Direct Known Subclasses: -CellUtil.ValueAndTagRewriteByteBufferCell - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.TagRewriteByteBufferCell -extends ByteBufferCell -implements ExtendedCell - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -protected ByteBufferCell -cell - - -private static long -HEAP_SIZE_OVERHEAD - - -protected byte[] -tags - - - - - - -Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell -CELL_NOT_BASED_ON_CHUNK - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -TagRewriteByteBufferCell(ByteBufferCell cell, -byte[] tags) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -ExtendedCell -deepClone() -Does a deep copy of the contents to a new memory area and returns it as a new cell. - - - -byte[] -getFamilyArray() -Contiguous bytes composed of legal HDFS filename characters which may start at any index in the - containing array. - - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getFamilyByteBuffer() - - -byte -getFamilyLength() - - -int -getFamilyOffset() - - -int -getFamilyPosition() - - -byte[] -getQualifierArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getQualifierByteBuffer() - - -int -getQualifierLength() - - -int -getQualifierOffset() - - -int -getQualifierPosition() - - -byte[] -getRowArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getRowByteBuffer() - - -short -getRowLength() - - -int -getRowOffset() - - -int -getRowPosition() - - -long -getSequenceId() -A region-specific unique monotonically increasing sequence ID given to each Cell. - - - -int -getSerializedSize(boolean withTags) - - -byte[] -getTagsArray() -Contiguous raw bytes representing tags that may start at any index in the containing array. - - - -http://docs.
[30/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html index 25e4d7d..2ded650 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html @@ -33,435 +33,436 @@ 025import org.apache.hadoop.hbase.Cell; 026import org.apache.hadoop.hbase.CellUtil; 027import org.apache.hadoop.hbase.CompareOperator; -028import org.apache.yetus.audience.InterfaceAudience; -029import org.apache.hadoop.hbase.exceptions.DeserializationException; -030import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; -031import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -032import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -033import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -034import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -035import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos; -036import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.CompareType; -037import org.apache.hadoop.hbase.util.Bytes; -038 -039import org.apache.hadoop.hbase.shaded.com.google.common.base.Preconditions; -040 -041/** -042 * This filter is used to filter cells based on value. It takes a {@link CompareFilter.CompareOp} -043 * operator (equal, greater, not equal, etc), and either a byte [] value or -044 * a ByteArrayComparable. -045 *-046 * If we have a byte [] value then we just do a lexicographic compare. For -047 * example, if passed value is 'b' and cell has 'a' and the compare operator -048 * is LESS, then we will filter out this cell (return true). If this is not -049 * sufficient (eg you want to deserialize a long and then compare it to a fixed -050 * long value), then you can pass in your own comparator instead. -051 *
-052 * You must also specify a family and qualifier. Only the value of this column -053 * will be tested. When using this filter on a -054 * {@link org.apache.hadoop.hbase.CellScanner} with specified -055 * inputs, the column to be tested should also be added as input (otherwise -056 * the filter will regard the column as missing). -057 *
-058 * To prevent the entire row from being emitted if the column is not found -059 * on a row, use {@link #setFilterIfMissing}. -060 * Otherwise, if the column is found, the entire row will be emitted only if -061 * the value passes. If the value fails, the row will be filtered out. -062 *
-063 * In order to test values of previous versions (timestamps), set -064 * {@link #setLatestVersionOnly} to false. The default is true, meaning that -065 * only the latest version's value is tested and all previous versions are ignored. -066 *
-067 * To filter based on the value of all scanned columns, use {@link ValueFilter}. -068 */ -069@InterfaceAudience.Public -070public class SingleColumnValueFilter extends FilterBase { -071 -072 protected byte [] columnFamily; -073 protected byte [] columnQualifier; -074 protected CompareOperator op; -075 protected org.apache.hadoop.hbase.filter.ByteArrayComparable comparator; -076 protected boolean foundColumn = false; -077 protected boolean matchedColumn = false; -078 protected boolean filterIfMissing = false; -079 protected boolean latestVersionOnly = true; -080 -081 /** -082 * Constructor for binary compare of the value of a single column. If the -083 * column is found and the condition passes, all columns of the row will be -084 * emitted. If the condition fails, the row will not be emitted. -085 *
-086 * Use the filterIfColumnMissing flag to set whether the rest of the columns -087 * in a row will be emitted if the specified column to check is not found in -088 * the row. -089 * -090 * @param family name of column family -091 * @param qualifier name of column qualifier -092 * @param compareOp operator -093 * @param value value to compare column values against -094 * @deprecated Since 2.0.0. Will be removed in 3.0.0. Use -095 * {@link #SingleColumnValueFilter(byte[], byte[], CompareOperator, byte[])} instead. -096 */ -097 @Deprecated -098 public SingleColumnValueFilter(final byte [] family, final byte [] qualifier, -099 final CompareOp compareOp, final byte[] value) { -100this(family, qualifier, CompareOperator.valueOf(compareOp.name()), -101 new org.apache.hadoop.hbase.filter.BinaryComparator(value)); -102 } -103 -104 /** -105 * Constructor for binary compare of the value of a single column. If the -106 * column is found and the condition passes, all columns
[13/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferCell.html new file mode 100644 index 000..075ae5f --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferCell.html @@ -0,0 +1,842 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.EmptyByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +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}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.EmptyByteBufferCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferCell + + + + + + + + + +All Implemented Interfaces: +Cell, SettableSequenceId + + +Direct Known Subclasses: +PrivateCellUtil.FirstOnRowByteBufferCell, PrivateCellUtil.LastOnRowByteBufferCell + + +Enclosing class: +PrivateCellUtil + + + +private abstract static class PrivateCellUtil.EmptyByteBufferCell +extends ByteBufferCell +implements SettableSequenceId +These cells are used in reseeks/seeks to improve the read performance. They are not real cells + that are returned back to the clients + + + + + + + + + + + +Constructor Summary + +Constructors + +Modifier +Constructor and Description + + +private +EmptyByteBufferCell() + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +byte[] +getFamilyArray() +Contiguous bytes composed of legal HDFS filename characters which may start at any index in the + containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getFamilyByteBuffer() + + +byte +getFamilyLength() + + +int +getFamilyOffset() + + +int +getFamilyPosition() + + +byte[] +getQualifierArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getQualifierByteBuffer() + + +int +getQualifierLength() + + +int +getQualifierOffset() + + +int +getQualifierPosition() + + +byte[] +getRowArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getRowByteBuffer() + + +short +getRowLength() + + +int +getRowOffset() + + +int +getRowPosition() + + +long +getSequenceId() +A region-specific unique monotonically increasing sequence ID given to each Cell. + + + +byte[] +getTagsArray() +Contiguous raw bytes representing tags that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getTagsByteBuffer() + + +int +getTagsLength() +HBase internally uses 2 bytes to store tags length in Cell. + + + +int +getTagsOffset() + + +int +getTagsPosition() + + +byte[] +getValueArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getValueByteBuffer() + + +int +getValueLength()
[16/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html deleted file mode 100644 index 2a0ded8..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html +++ /dev/null @@ -1,593 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.ValueAndTagRewriteByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.ValueAndTagRewriteByteBufferCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.ByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.TagRewriteByteBufferCell - - -org.apache.hadoop.hbase.CellUtil.ValueAndTagRewriteByteBufferCell - - - - - - - - - - - -All Implemented Interfaces: -http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.ValueAndTagRewriteByteBufferCell -extends CellUtil.TagRewriteByteBufferCell - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -protected byte[] -value - - - - - - -Fields inherited from class org.apache.hadoop.hbase.CellUtil.TagRewriteByteBufferCell -cell, tags - - - - - -Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell -CELL_NOT_BASED_ON_CHUNK - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -ValueAndTagRewriteByteBufferCell(ByteBufferCell cell, -byte[] value, -byte[] tags) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -ExtendedCell -deepClone() -Does a deep copy of the contents to a new memory area and returns it as a new cell. - - - -int -getSerializedSize(boolean withTags) - - -byte[] -getValueArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer -getValueByteBuffer() - - -int -getValueLength() - - -int -getValueOffset() - - -int -getValuePosition() - - -long -heapSize() - - -void -write(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer buf, - int offset) -Write this Cell into the given buf's offset in a KeyValue format. - - - -int -write(http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true"; title="class or interface in java.io">OutputStream out, - boolean withTags) -Write this cell to an OutputStream in a KeyValue format. - - - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.TagRewriteByteBufferCell -getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowByteBuffer, getRowLength, getRowOffset, getRowPosition, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getTimestamp, getTypeByte, setSequenceId, setTimestamp, setTimestamp - - - - - -Methods inherited from class ja
[50/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apache_hbase_reference_guide.pdf -- diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf index 61a220e..8081bc1 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.alpha.15, based on Prawn 2.2.2) /Producer (Apache HBase Team) -/ModDate (D:20171027144649+00'00') -/CreationDate (D:20171027144649+00'00') +/ModDate (D:20171028144645+00'00') +/CreationDate (D:20171028144645+00'00') >> endobj 2 0 obj @@ -24,7 +24,7 @@ endobj 3 0 obj << /Type /Pages /Count 667 -/Kids [7 0 R 12 0 R 14 0 R 16 0 R 18 0 R 20 0 R 22 0 R 24 0 R 44 0 R 47 0 R 50 0 R 54 0 R 63 0 R 66 0 R 69 0 R 71 0 R 76 0 R 80 0 R 83 0 R 89 0 R 91 0 R 94 0 R 96 0 R 103 0 R 109 0 R 114 0 R 116 0 R 130 0 R 133 0 R 142 0 R 151 0 R 161 0 R 170 0 R 181 0 R 185 0 R 187 0 R 191 0 R 202 0 R 209 0 R 218 0 R 226 0 R 231 0 R 240 0 R 248 0 R 257 0 R 271 0 R 278 0 R 287 0 R 296 0 R 304 0 R 311 0 R 319 0 R 325 0 R 332 0 R 339 0 R 348 0 R 357 0 R 366 0 R 378 0 R 387 0 R 394 0 R 401 0 R 409 0 R 417 0 R 426 0 R 435 0 R 443 0 R 451 0 R 463 0 R 471 0 R 478 0 R 486 0 R 494 0 R 502 0 R 511 0 R 516 0 R 519 0 R 524 0 R 528 0 R 544 0 R 554 0 R 559 0 R 573 0 R 579 0 R 584 0 R 586 0 R 588 0 R 593 0 R 601 0 R 607 0 R 612 0 R 617 0 R 628 0 R 639 0 R 644 0 R 663 0 R 678 0 R 689 0 R 691 0 R 693 0 R 701 0 R 713 0 R 722 0 R 732 0 R 738 0 R 741 0 R 745 0 R 749 0 R 752 0 R 755 0 R 757 0 R 760 0 R 764 0 R 766 0 R 771 0 R 775 0 R 780 0 R 785 0 R 788 0 R 794 0 R 796 0 R 800 0 R 809 0 R 811 0 R 814 0 R 817 0 R 820 0 R 823 0 R 837 0 R 844 0 R 853 0 R 864 0 R 870 0 R 882 0 R 886 0 R 889 0 R 893 0 R 896 0 R 901 0 R 910 0 R 918 0 R 922 0 R 926 0 R 931 0 R 935 0 R 937 0 R 952 0 R 963 0 R 969 0 R 975 0 R 978 0 R 986 0 R 994 0 R 998 0 R 1004 0 R 1009 0 R 1011 0 R 1013 0 R 1015 0 R 1026 0 R 1034 0 R 1038 0 R 1045 0 R 1053 0 R 1061 0 R 1065 0 R 1071 0 R 1076 0 R 1084 0 R 1089 0 R 1094 0 R 1096 0 R 1102 0 R 1108 0 R 1110 0 R 1117 0 R 1127 0 R 1131 0 R 1133 0 R 1135 0 R 1139 0 R 1142 0 R 1147 0 R 1150 0 R 1162 0 R 1166 0 R 1172 0 R 1179 0 R 1184 0 R 1188 0 R 1192 0 R 1194 0 R 1197 0 R 1200 0 R 1203 0 R 1207 0 R 1211 0 R 1215 0 R 1220 0 R 1224 0 R 1228 0 R 1230 0 R 1242 0 R 1245 0 R 1253 0 R 1262 0 R 1268 0 R 1272 0 R 1274 0 R 1284 0 R 1287 0 R 1293 0 R 1301 0 R 1304 0 R 1311 0 R 1319 0 R 1321 0 R 1323 0 R 1333 0 R 1335 0 R 1337 0 R 1340 0 R 1342 0 R 1344 0 R 1346 0 R 1348 0 R 1351 0 R 1355 0 R 1360 0 R 1362 0 R 1364 0 R 1366 0 R 1371 0 R 1378 0 R 1384 0 R 1387 0 R 1389 0 R 1392 0 R 1396 0 R 1398 0 R 1401 0 R 1403 0 R 1405 0 R 1408 0 R 1413 0 R 1418 0 R 1427 0 R 1441 0 R 1455 0 R 1458 0 R 1462 0 R 1476 0 R 1485 0 R 1499 0 R 1505 0 R 1513 0 R 1528 0 R 1542 0 R 1554 0 R 1559 0 R 1565 0 R 1576 0 R 1582 0 R 1588 0 R 1596 0 R 1599 0 R 1608 0 R 1615 0 R 1619 0 R 1632 0 R 1634 0 R 1640 0 R 1646 0 R 1650 0 R 1658 0 R 1667 0 R 1671 0 R 1673 0 R 1675 0 R 1688 0 R 1694 0 R 1702 0 R 1708 0 R 1722 0 R 1727 0 R 1736 0 R 1744 0 R 1750 0 R 1757 0 R 1761 0 R 1764 0 R 1766 0 R 1772 0 R 1778 0 R 1784 0 R 1788 0 R 1796 0 R 1801 0 R 1807 0 R 1812 0 R 1814 0 R 1822 0 R 1830 0 R 1836 0 R 1841 0 R 1845 0 R 1848 0 R 1853 0 R 1858 0 R 1865 0 R 1867 0 R 1869 0 R 1872 0 R 1880 0 R 1883 0 R 1890 0 R 1900 0 R 1903 0 R 1908 0 R 1910 0 R 1915 0 R 1918 0 R 1920 0 R 1925 0 R 1935 0 R 1937 0 R 1939 0 R 1941 0 R 1943 0 R 1946 0 R 1948 0 R 1950 0 R 1953 0 R 1955 0 R 1957 0 R 1961 0 R 1965 0 R 1974 0 R 1976 0 R 1978 0 R 1984 0 R 1986 0 R 1991 0 R 1993 0 R 1995 0 R 2002 0 R 2007 0 R 2011 0 R 2015 0 R 2019 0 R 2021 0 R 202 3 0 R 2027 0 R 2030 0 R 2032 0 R 2034 0 R 2038 0 R 2040 0 R 2043 0 R 2045 0 R 2047 0 R 2049 0 R 2056 0 R 2059 0 R 2064 0 R 2066 0 R 2068 0 R 2070 0 R 2072 0 R 2080 0 R 2091 0 R 2105 0 R 2116 0 R 2120 0 R 2125 0 R 2129 0 R 2132 0 R 2137 0 R 2143 0 R 2145 0 R 2149 0 R 2151 0 R 2153 0 R 2155 0 R 2159 0 R 2161 0 R 2174 0 R 2177 0 R 2185 0 R 2191 0 R 2203 0 R 2217 0 R 2231 0 R 2248 0 R 2252 0 R 2254 0 R 2258 0 R 2276 0 R 2282 0 R 2294 0 R 2298 0 R 2302 0 R 2311 0 R 2321 0 R 2326 0 R 2337 0 R 2350 0 R 2369 0 R 2378 0 R 2381 0 R 2390 0 R 2408 0 R 2415 0 R 2418 0 R 2423 0 R 2427 0 R 2430 0 R 2439 0 R 2448 0 R 2451 0 R 2453 0 R 2457 0 R 2472 0 R 2480 0 R 2485 0 R 2489 0 R 2493 0 R 2495 0 R 2497 0 R 2499 0 R 2504 0 R 2517 0 R 2527 0 R 2536 0 R 2545 0 R 2551 0 R 2562 0 R 2569 0 R 2575 0 R 2577 0 R 2587 0 R 2595 0 R 2605 0 R 2609 0 R 2620 0 R 2624 0 R 2634 0 R 2642 0 R 2650 0 R 2656 0 R 2660 0 R 2664 0 R 2668 0 R 2670 0 R 2676 0 R 2680 0 R 2684 0 R 2690 0 R 2696 0 R 2699 0 R 2705 0 R 2709 0 R 2 718 0 R 2723 0 R 2728 0 R 2737 0 R 2743 0 R 2751 0 R 2755 0 R 2759 0 R 2765 0 R 2769 0 R 2773 0 R 2782 0 R 2787 0 R 2789 0 R 2793 0 R 2801 0 R 2804 0 R 2814 0 R 2819 0 R 2828 0 R 2831 0 R 2841 0 R 2846 0 R 2850 0 R 2
[06/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteByteBufferCell.html new file mode 100644 index 000..8d9b628 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteByteBufferCell.html @@ -0,0 +1,592 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.ValueAndTagRewriteByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.ValueAndTagRewriteByteBufferCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.ValueAndTagRewriteByteBufferCell + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp + + +Enclosing class: +PrivateCellUtil + + + +static class PrivateCellUtil.ValueAndTagRewriteByteBufferCell +extends PrivateCellUtil.TagRewriteByteBufferCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +protected byte[] +value + + + + + + +Fields inherited from class org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteByteBufferCell +cell, tags + + + + + +Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell +CELL_NOT_BASED_ON_CHUNK + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +ValueAndTagRewriteByteBufferCell(ByteBufferCell cell, +byte[] value, +byte[] tags) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +ExtendedCell +deepClone() +Does a deep copy of the contents to a new memory area and returns it as a new cell. + + + +int +getSerializedSize(boolean withTags) + + +byte[] +getValueArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getValueByteBuffer() + + +int +getValueLength() + + +int +getValueOffset() + + +int +getValuePosition() + + +long +heapSize() + + +void +write(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer buf, + int offset) +Write this Cell into the given buf's offset in a KeyValue format. + + + +int +write(http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true"; title="class or interface in java.io">OutputStream out, + boolean withTags) +Write this cell to an OutputStream in a KeyValue format. + + + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteByteBufferCell +getFamilyArray, getFamilyByteBuffer, getFamilyLength, getFamilyOffset, getFamilyPosition, getQualifierArray, getQualifierByteBuffer, getQualifierLength, getQualifierOffset, getQualifierPosition, getRowArray, getRowByteBuffer, getRowLength, getRowOffset, getRowPositio n, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getTimestamp, getTypeByte, setSequenceId, setTimest
[09/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColByteBufferCell.html new file mode 100644 index 000..2ec6580 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColByteBufferCell.html @@ -0,0 +1,531 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.LastOnRowColByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.LastOnRowColByteBufferCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowByteBufferCell + + +org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowColByteBufferCell + + + + + + + + + + + + + +All Implemented Interfaces: +Cell, SettableSequenceId + + +Enclosing class: +PrivateCellUtil + + + +private static class PrivateCellUtil.LastOnRowColByteBufferCell +extends PrivateCellUtil.LastOnRowByteBufferCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +private http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +fBuffer + + +private byte +flength + + +private int +foffset + + +private http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +qBuffer + + +private int +qlength + + +private int +qoffset + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +LastOnRowColByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer rBuffer, + int roffset, + short rlength, + http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer fBuffer, + int foffset, + byte flength, + http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer qBuffer, + int qoffset, + int qlength) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getFamilyByteBuffer() + + +byte +getFamilyLength() + + +int +getFamilyPosition() + + +http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer +getQualifierByteBuffer() + + +int +getQualifierLength() + + +int +getQualifierPosition() + + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.LastOnRowByteBufferCell +getRowByteBuffer, getRowLength, getRowPosition, getTimestamp, getTypeByte + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyByteBufferCell +getFamilyArray, getFamilyOffset, getQualifierArray, getQualifierOffset, getRowArray, getRowOffset, getSequenceId, getTagsArray, getTagsByteBuffer, getTagsLength, getTagsOffset, getTagsPosition, getValueArray, getValueByteBuffer,
[26/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index 158d6d9..c49df8d 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. en-us ©2007 - 2017 The Apache Software Foundation - File: 2060, - Errors: 13637, + File: 2061, + Errors: 13717, Warnings: 0, Infos: 0 @@ -853,7 +853,7 @@ under the License. 0 - 5 + 6 @@ -1189,7 +1189,7 @@ under the License. 0 - 4 + 5 @@ -1399,7 +1399,7 @@ under the License. 0 - 22 + 23 @@ -1595,7 +1595,7 @@ under the License. 0 - 15 + 16 @@ -1978,6 +1978,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.PrivateCellUtil.java";>org/apache/hadoop/hbase/PrivateCellUtil.java + + + 0 + + + 0 + + + 73 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.io.HeapSize.java";>org/apache/hadoop/hbase/io/HeapSize.java @@ -2323,7 +2337,7 @@ under the License. 0 - 15 + 16 @@ -2743,7 +2757,7 @@ under the License. 0 - 1 + 2 @@ -3149,7 +3163,7 @@ under the License. 0 - 3 + 4 @@ -3219,7 +3233,7 @@ under the License. 0 - 9 + 10 @@ -4591,7 +4605,7 @@ under the License. 0 - 1 + 2 @@ -4731,7 +4745,7 @@ under the License. 0 - 1 + 2 @@ -5599,7 +5613,7 @@ under the License. 0 - 1 + 2 @@ -5655,7 +5669,7 @@ under the License. 0 - 18 + 20 @@ -6089,7 +6103,7 @@ under the License. 0 - 12 + 13 @@ -7335,7 +7349,7 @@ under the License. 0 - 3 + 4 @@ -7377,7 +7391,7 @@ under the License. 0 - 9 + 10 @@ -8119,7 +8133,7 @@ under the License. 0 - 52 + 53 @@ -8133,7 +8147,7 @@ under the License. 0 - 3 + 4 @@ -8749,7 +8763,7 @@ under the License. 0 - 2 + 3 @@ -8763,7 +8777,7 @@ under the License. 0 - 123 + 7
[29/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html index c6abac8..223370c 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html @@ -31,7 +31,7 @@ 023import java.util.TreeSet; 024 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellUtil; +026import org.apache.hadoop.hbase.PrivateCellUtil; 027import org.apache.yetus.audience.InterfaceAudience; 028import org.apache.hadoop.hbase.exceptions.DeserializationException; 029import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; @@ -158,14 +158,14 @@ 150 // but it's always better to be extra safe and protect against future 151 // behavioral changes. 152 -153 return CellUtil.createLastOnRowCol(currentCell); +153 return PrivateCellUtil.createLastOnRowCol(currentCell); 154} 155 156// Since we know the nextTimestampObject isn't null here there must still be 157// timestamps that can be included. Cast the Long to a long and return the 158// a cell with the current row/cf/col and the next found timestamp. 159long nextTimestamp = nextTimestampObject; -160return CellUtil.createFirstOnRowColTS(currentCell, nextTimestamp); +160return PrivateCellUtil.createFirstOnRowColTS(currentCell, nextTimestamp); 161 } 162 163 public static Filter createFilterFromArguments(ArrayListfilterArguments) { http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/CellSerialization.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/CellSerialization.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/CellSerialization.html index 2f94a75..f5b8fe6 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/CellSerialization.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/CellSerialization.html @@ -32,73 +32,72 @@ 024import java.io.OutputStream; 025 026import org.apache.hadoop.hbase.Cell; -027import org.apache.hadoop.hbase.CellUtil; -028import org.apache.hadoop.hbase.ExtendedCell; -029import org.apache.hadoop.hbase.KeyValue; -030import org.apache.hadoop.hbase.KeyValueUtil; -031import org.apache.hadoop.hbase.util.Bytes; -032import org.apache.yetus.audience.InterfaceAudience; -033import org.apache.hadoop.io.serializer.Deserializer; -034import org.apache.hadoop.io.serializer.Serialization; -035import org.apache.hadoop.io.serializer.Serializer; -036 -037@InterfaceAudience.Public -038public class CellSerialization implements Serialization { -039 @Override -040 public boolean accept(Class> c) { -041return Cell.class.isAssignableFrom(c); -042 } -043 -044 @Override -045 public CellDeserializer getDeserializer(Class | t) { -046return new CellDeserializer(); -047 } -048 -049 @Override -050 public CellSerializer getSerializer(Class | c) { -051return new CellSerializer(); -052 } -053 -054 public static class CellDeserializer implements Deserializer | { -055private DataInputStream dis; -056 -057@Override -058public void close() throws IOException { -059 this.dis.close(); -060} -061 -062@Override -063public KeyValue deserialize(Cell ignore) throws IOException { -064 // I can't overwrite the passed in KV, not from a proto kv, not just yet. TODO -065 return KeyValueUtil.create(this.dis); -066} -067 -068@Override -069public void open(InputStream is) throws IOException { -070 this.dis = new DataInputStream(is); -071} -072 } -073 -074 public static class CellSerializer implements Serializer | { -075private DataOutputStream dos; -076 -077@Override -078public void close() throws IOException { -079 this.dos.close(); -080} -081 -082@Override -083public void open(OutputStream os) throws IOException { -084 this.dos = new DataOutputStream(os); -085} -086 -087@Override -088public void serialize(Cell kv) throws IOException { -089 dos.writeInt(CellUtil.estimatedSerializedSizeOf(kv) - Bytes.SIZEOF_INT); -090 CellUtil.writeCell(kv, dos, true); -091} -092 } -093} +027import org.apache.hadoop.hbase.PrivateCellUtil; +028import org.apache.hadoop.hbase.KeyValue; +029import org.apache.hadoop.hbase.KeyValueUtil; +030import org.apache.hadoop.hbase.util.Bytes; +031import org.apache.yetus.audience.InterfaceAudience; +032import org.apache.hadoop.io.serializer.Deserializer; +033import org.apache.hadoop.io.serializer.Serializati |
[04/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/ProcedureState.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ProcedureState.html b/devapidocs/org/apache/hadoop/hbase/ProcedureState.html index 69456c7..c087a98 100644 --- a/devapidocs/org/apache/hadoop/hbase/ProcedureState.html +++ b/devapidocs/org/apache/hadoop/hbase/ProcedureState.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; -Prev Class +Prev Class Next Class @@ -358,7 +358,7 @@ not permitted.) -Prev Class +Prev Class Next Class http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/SettableSequenceId.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/SettableSequenceId.html b/devapidocs/org/apache/hadoop/hbase/SettableSequenceId.html index 87d72b7..a0eac3e 100644 --- a/devapidocs/org/apache/hadoop/hbase/SettableSequenceId.html +++ b/devapidocs/org/apache/hadoop/hbase/SettableSequenceId.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; All Known Implementing Classes: -BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, CellUtil.EmptyByteBufferCell, CellUtil.Empt yCell, CellUtil.FirstOnRowByteBufferCell, CellUtil.FirstOnRowCell, CellUtil.FirstOnRowColByteBufferCell, CellUtil.FirstOnRowColCell, CellUtil.FirstOnRowColTSByteBufferCell, CellUtil.FirstOnRowColTSCell, CellUtil.FirstOnRowDeleteFamilyCell, CellUtil.LastOnRowByteBufferCell, CellUtil.LastOnRowCell, CellUtil.LastOnRowColByteBufferCell, CellUtil.LastOnRowColCell, CellUtil.TagRewriteByteBufferCell, CellUtil.TagRewriteCell, CellUtil.ValueAndTagRewriteByteBufferCell, CellUtil.ValueAndTagRewriteCell, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArr aySearcher, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, SizeCachedKeyValue, SizeCachedNoTagsKeyValue +BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArraySearcher, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, PrivateCellUtil.EmptyByteBufferCell, PrivateCellUtil.EmptyCell, PrivateCellUtil.FirstOnRowByteBufferCell, PrivateCellUtil.FirstOnRowCell, PrivateCellUtil.FirstOnRowColByteBufferCell, PrivateCellUtil.FirstOnRowColCell, PrivateCellUtil.FirstOnRowColTSByteBufferCell, PrivateCellUtil.FirstOnRowColTSCell, PrivateCellUtil.FirstOnRowDeleteFamilyCell, PrivateCellUtil.LastOnRowByteBufferCell, PrivateCellUtil.LastOnRowCell, PrivateCellUtil.LastOnRowColByteBufferCell, PrivateCellUtil.LastOnRowColCell, PrivateCellUtil.TagRewriteByteBufferCell, PrivateCellUtil.TagRewriteCell, PrivateCellUtil.ValueAndTagRewriteByteBufferCell, PrivateCellUtil.ValueAndTagRewriteCell, SizeCachedKeyValue, SizeCachedNoTagsKeyValue Deprecated. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/SettableTimestamp.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/SettableTimestamp.html b/devapidocs/org/apache/hadoop/hbase/SettableTimestamp.html index 1bf26e4..3e7145e 100644 --- a/devapidocs/org/apache/hadoop/hbase/SettableTimestamp.html +++ b/devapidocs/org/apache/hadoop/hbase/SettableTimestamp.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; All Known Implementing Classes: -BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, CellUtil.TagRewriteByteBufferCell, CellUtil.TagRewriteCell, CellUtil.ValueAndTagRewriteByteBufferCell, CellUtil.ValueAndTagRewriteCell, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, SizeCachedKeyValue, SizeCachedNoTagsKeyValue +BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrivateCellUtil.TagRewriteByteBufferCell, PrivateCellUtil.TagRewriteCell, PrivateCellUtil.ValueAndTagRewriteByteBufferCell, PrivateCellUtil.ValueAndTagRewriteCell, SizeCachedKeyValue, SizeCachedNoTagsKey
[43/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html -- diff --git a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html index 75eced6..56436b2 100644 --- a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html +++ b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.RowRange.html @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public static class MultiRowRangeFilter.RowRange +public static class MultiRowRangeFilter.RowRange extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true"; title="class or interface in java.lang">Comparable@@ -233,7 +233,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl RowRange -public RowRange() +public RowRange() @@ -242,7 +242,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl RowRange -public RowRange(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String startRow, +public RowRange(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String startRow, boolean startRowInclusive, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String stopRow, boolean stopRowInclusive) @@ -257,7 +257,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl RowRange -public RowRange(byte[] startRow, +public RowRange(byte[] startRow, boolean startRowInclusive, byte[] stopRow, boolean stopRowInclusive) @@ -277,7 +277,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl getStartRow -public byte[] getStartRow() +public byte[] getStartRow() @@ -286,7 +286,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl getStopRow -public byte[] getStopRow() +public byte[] getStopRow() @@ -295,7 +295,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl isStartRowInclusive -public boolean isStartRowInclusive() +public boolean isStartRowInclusive() Returns: if start row is inclusive. @@ -308,7 +308,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl isStopRowInclusive -public boolean isStopRowInclusive() +public boolean isStopRowInclusive() Returns: if stop row is inclusive. @@ -321,7 +321,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl contains -public boolean contains(byte[] row) +public boolean contains(byte[] row) @@ -330,7 +330,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl contains -public boolean contains(byte[] buffer, +public boolean contains(byte[] buffer, int offset, int length) @@ -341,7 +341,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl compareTo -public int compareTo(MultiRowRangeFilter.RowRange other) +public int compareTo(MultiRowRangeFilter.RowRange other) Specified by: http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-"; title="class or interface in java.lang">compareTo in interface http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true"; title="class or interface in java.lang">Comparable @@ -354,7 +354,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/lang/Comparabl isValid -public boolean isValid() +public boolean isValid() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html -- diff --git a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html index 827fa81..1f0ac1a 100644 --- a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html +++ b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html @@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class MultiRowRangeFilter +public class MultiRowRangeFilter extends org.apache.hadoop.hbase.filter.FilterBase Filter to support scan multiple row key ranges. It can construct the row key ranges from the passed list w
[38/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html index 580feb4..7d3d133 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html @@ -326,7 +326,7 @@ 318byte [] family = CellUtil.cloneFamily(kv); 319Listlist = getCellList(family); 320//Checking that the row of the kv is the same as the put -321if (!CellUtil.matchingRow(kv, this.row)) { +321if (!CellUtil.matchingRows(kv, this.row)) { 322 throw new WrongRowIOException("The row in " + kv.toString() + 323" doesn't match the original one " + Bytes.toStringBinary(this.row)); 324} |
[01/51] [partial] hbase-site git commit: Published site at .
Repository: hbase-site Updated Branches: refs/heads/asf-site 8021fef8a -> 5018ccb37 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.LastOnRowColByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.LastOnRowColByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.LastOnRowColByteBufferCell.html deleted file mode 100644 index 60fb57d..000 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.LastOnRowColByteBufferCell.html +++ /dev/null @@ -1,125 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -Uses of Class org.apache.hadoop.hbase.CellUtil.LastOnRowColByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -No Frames - - -All Classes - - - - - - - - - - -Uses of Classorg.apache.hadoop.hbase.CellUtil.LastOnRowColByteBufferCell - -No usage of org.apache.hadoop.hbase.CellUtil.LastOnRowColByteBufferCell - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -No Frames - - -All Classes - - - - - - - - - -Copyright © 2007–2017 https://www.apache.org/";>The Apache Software Foundation. All rights reserved. - -
[35/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html index a116d25..722c776 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html @@ -31,8 +31,8 @@ 023import java.util.ArrayList; 024 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.hadoop.hbase.CompareOperator; +026import org.apache.hadoop.hbase.CompareOperator; +027import org.apache.hadoop.hbase.PrivateCellUtil; 028import org.apache.yetus.audience.InterfaceAudience; 029import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; 030import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; @@ -145,7 +145,7 @@ 137if (compareOp == CompareOp.NO_OP) { 138 return true; 139} -140int compareResult = CellUtil.compareRow(cell, comparator); +140int compareResult = PrivateCellUtil.compareRow(cell, comparator); 141return compare(compareOp, compareResult); 142 } 143 @@ -154,7 +154,7 @@ 146if (op == CompareOperator.NO_OP) { 147 return true; 148} -149int compareResult = CellUtil.compareRow(cell, comparator); +149int compareResult = PrivateCellUtil.compareRow(cell, comparator); 150return compare(op, compareResult); 151 } 152 @@ -168,7 +168,7 @@ 160if (compareOp == CompareOp.NO_OP) { 161 return true; 162} -163int compareResult = CellUtil.compareFamily(cell, comparator); +163int compareResult = PrivateCellUtil.compareFamily(cell, comparator); 164return compare(compareOp, compareResult); 165 } 166 @@ -177,7 +177,7 @@ 169if (op == CompareOperator.NO_OP) { 170 return true; 171} -172int compareResult = CellUtil.compareFamily(cell, comparator); +172int compareResult = PrivateCellUtil.compareFamily(cell, comparator); 173return compare(op, compareResult); 174 } 175 @@ -192,7 +192,7 @@ 184if (compareOp == CompareOp.NO_OP) { 185 return true; 186} -187int compareResult = CellUtil.compareQualifier(cell, comparator); +187int compareResult = PrivateCellUtil.compareQualifier(cell, comparator); 188return compare(compareOp, compareResult); 189 } 190 @@ -202,7 +202,7 @@ 194if (op == CompareOperator.NO_OP) { 195 return true; 196} -197int compareResult = CellUtil.compareQualifier(cell, comparator); +197int compareResult = PrivateCellUtil.compareQualifier(cell, comparator); 198return compare(op, compareResult); 199 } 200 @@ -217,7 +217,7 @@ 209if (compareOp == CompareOp.NO_OP) { 210 return true; 211} -212int compareResult = CellUtil.compareValue(cell, comparator); +212int compareResult = PrivateCellUtil.compareValue(cell, comparator); 213return compare(compareOp, compareResult); 214 } 215 @@ -226,7 +226,7 @@ 218if (op == CompareOperator.NO_OP) { 219 return true; 220} -221int compareResult = CellUtil.compareValue(cell, comparator); +221int compareResult = PrivateCellUtil.compareValue(cell, comparator); 222return compare(op, compareResult); 223 } 224 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html index a116d25..722c776 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html @@ -31,8 +31,8 @@ 023import java.util.ArrayList; 024 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.hadoop.hbase.CompareOperator; +026import org.apache.hadoop.hbase.CompareOperator; +027import org.apache.hadoop.hbase.PrivateCellUtil; 028import org.apache.yetus.audience.InterfaceAudience; 029import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; 030import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; @@ -145,7 +145,7 @@ 137if (compareOp == CompareOp.NO_OP) { 138 return true; 139} -140int compareResult = CellUtil.compareRow(cell, comparator); +140int compareResult = PrivateCellUtil.compareRow(cell, comparator); 141return compare(compareOp, compareResult); 142 } 143 @@ -154,7 +154,7 @@ 146if (op == CompareOperator.NO_OP) { 147 return true; 148} -149int compareResult = CellUtil.compareRow(
[44/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/client/Result.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Result.html b/apidocs/org/apache/hadoop/hbase/client/Result.html index 306afb4..245071f 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Result.html +++ b/apidocs/org/apache/hadoop/hbase/client/Result.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Result +public class Result extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellScanner Single row result of a Get or Scan query. @@ -564,7 +564,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc EMPTY_RESULT -public static final Result EMPTY_RESULT +public static final Result EMPTY_RESULT @@ -581,7 +581,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc Result -public Result() +public Result() Creates an empty Result w/ no KeyValue payload; returns null if you call rawCells(). Use this to represent no results if null won't do or in old 'mapred' as opposed to 'mapreduce' package MapReduce where you need to overwrite a Result instance with a @@ -602,7 +602,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">Listcells) +public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells) Instantiate a Result with the specified List of KeyValues. Note: You must ensure that the keyvalues are already sorted. @@ -617,7 +617,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, +public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true"; title="class or interface in java.lang">Boolean exists) @@ -627,7 +627,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, +public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true"; title="class or interface in java.lang">Boolean exists, boolean stale) @@ -638,7 +638,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, +public static Result create(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">List | cells, http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true"; title="class or interface in java.lang">Boolean exists, boolean stale, boolean mayHaveMoreCellsInRow) @@ -650,7 +650,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(Cell[] cells) +public static Result create(Cell[] cells) Instantiate a Result with the specified array of KeyValues. Note: You must ensure that the keyvalues are already sorted. @@ -665,7 +665,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(Cell[] cells, +public static Result create(Cell[] cells, http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true"; title="class or interface in java.lang">Boolean exists, boolean stale) @@ -676,7 +676,7 @@ implements org.apache.hadoop.hbase.CellScannable, org.apache.hadoop.hbase.CellSc create -public static Result create(Cell[] cells, +public static Result create(Cell[] cells, |
[05/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.html new file mode 100644 index 000..de37418 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.html @@ -0,0 +1,2470 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.PrivateCellUtil + + + + + + + + +@InterfaceAudience.Private +public class PrivateCellUtil +extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object +Utility methods helpful slinging Cell instances. It has more powerful and + rich set of APIs than those in CellUtil for internal usage. + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Class and Description + + +private static class +PrivateCellUtil.EmptyByteBufferCell +These cells are used in reseeks/seeks to improve the read performance. + + + +private static class +PrivateCellUtil.EmptyCell +These cells are used in reseeks/seeks to improve the read performance. + + + +private static class +PrivateCellUtil.FirstOnRowByteBufferCell + + +private static class +PrivateCellUtil.FirstOnRowCell + + +private static class +PrivateCellUtil.FirstOnRowColByteBufferCell + + +private static class +PrivateCellUtil.FirstOnRowColCell + + +private static class +PrivateCellUtil.FirstOnRowColTSByteBufferCell + + +private static class +PrivateCellUtil.FirstOnRowColTSCell + + +private static class +PrivateCellUtil.FirstOnRowDeleteFamilyCell + + +private static class +PrivateCellUtil.LastOnRowByteBufferCell + + +private static class +PrivateCellUtil.LastOnRowCell + + +private static class +PrivateCellUtil.LastOnRowColByteBufferCell + + +private static class +PrivateCellUtil.LastOnRowColCell + + +(package private) static class +PrivateCellUtil.TagRewriteByteBufferCell + + +(package private) static class +PrivateCellUtil.TagRewriteCell +This can be used when a Cell has to change with addition/removal of one or more tags. + + + +(package private) static class +PrivateCellUtil.ValueAndTagRewriteByteBufferCell + + +(package private) static class +PrivateCellUtil.ValueAndTagRewriteCell + + + + + + + + + +Constructor Summary + +Constructors + +Modifier +Constructor and Description + + +private +PrivateCellUtil() +Private constructor to keep this class from being instantiated. + + + + + + + + + + +Method Summary + +All Methods Static Methods Concrete Methods + +Modifier and Type +Method and Description + + +static byte[] +cloneTags(Cell cell) + + +static int +compare(CellComparator comparator, + Cell left, + byte[] key, + int offset, + int length) +Used when a cell needs to be compared with a key byte[] such as cases
[25/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/deprecated-list.html -- diff --git a/devapidocs/deprecated-list.html b/devapidocs/deprecated-list.html index d7efd78..4f1f8b1 100644 --- a/devapidocs/deprecated-list.html +++ b/devapidocs/deprecated-list.html @@ -522,42 +522,52 @@ +org.apache.hadoop.hbase.CellUtil.cloneTags(Cell) +As of HBase-2.0. Will be removed in HBase-3.0. + + + org.apache.hadoop.hbase.client.Admin.closeRegion(byte[], String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.HBaseAdmin.closeRegion(byte[], String) - + org.apache.hadoop.hbase.client.Admin.closeRegion(ServerName, HRegionInfo) As of release 2.0.0, this will be removed in HBase 3.0.0 (https://issues.apache.org/jira/browse/HBASE-18231";>HBASE-18231). Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.HBaseAdmin.closeRegion(ServerName, HRegionInfo) - + org.apache.hadoop.hbase.client.Admin.closeRegion(String, String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.HBaseAdmin.closeRegion(String, String) - + org.apache.hadoop.hbase.client.Admin.closeRegionWithEncodedRegionName(String, String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.HBaseAdmin.closeRegionWithEncodedRegionName(String, String) + +org.apache.hadoop.hbase.CellUtil.compare(CellComparator, Cell, byte[], int, int) +As of HBase-2.0. Will be removed in HBase-3.0 + + org.apache.hadoop.hbase.filter.CompareFilter.compareFamily(CompareFilter.CompareOp, ByteArrayComparable, Cell) Since 2.0.0. Will be removed in 3.0.0. @@ -597,6 +607,16 @@ +org.apache.hadoop.hbase.CellUtil.copyTagTo(Cell, byte[], int) +As of HBase-2.0. Will be removed in HBase-3.0. + + + +org.apache.hadoop.hbase.CellUtil.copyTagTo(Cell, ByteBuffer, int) +As of HBase-2.0. Will be removed in 3.0. + + + org.apache.hadoop.hbase.mapreduce.CellCreator.create(byte[], int, int, byte[], int, int, byte[], int, int, long, byte[], int, int, String) @@ -613,14 +633,14 @@ org.apache.hadoop.hbase.CellUtil.createCell(byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -631,32 +651,32 @@ org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[], byte[], long) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[], long) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, KeyValue.Type, byte[], byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], int, int, byte[], int, int, byte[], int, int) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -819,6 +839,26 @@ org.apache.hadoop.hbase.KeyValueUtil.ensureKeyValues(List) +org.apache.hadoop.hbase.CellUtil.equalsIgnoreMvccVersion(Cell, Cell) +As of HBase-2.0. Will be removed in HBase-3.0 + + + +org.apache.hadoop.hbase.CellUtil.estimatedHeapSizeOf(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + + + +org.apache.hadoop.hbase.CellUtil.estimatedSerializedSizeOf(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + + + +org.a |
[02/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html index 5d092e7..4b25794 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html @@ -170,15 +170,27 @@ byte[] key, int offset, int length) -Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0 + static int -CellUtil.compareKeyBasedOnColHint(CellComparator comparator, +PrivateCellUtil.compare(CellComparator comparator, + Cell left, + byte[] key, + int offset, + int length) +Used when a cell needs to be compared with a key byte[] such as cases of finding the index from + the index block, bloom keys from the bloom blocks This byte[] is expected to be serialized in + the KeyValue serialization format If the KeyValue (Cell's) serialization format changes this + method cannot be used. + + + +static int +PrivateCellUtil.compareKeyBasedOnColHint(CellComparator comparator, Cell nextIndexedCell, Cell currentCell, int foff, @@ -191,24 +203,23 @@ Used to compare two cells based on the column hint provided. - + static int -CellUtil.compareKeyIgnoresMvcc(CellComparator comparator, +PrivateCellUtil.compareKeyIgnoresMvcc(CellComparator comparator, Cell left, Cell right) Compares only the key portion of a cell. - -private static int -CellUtil.compareWithoutRow(CellComparator comparator, + +(package private) static int +PrivateCellUtil.compareWithoutRow(CellComparator comparator, Cell left, byte[] right, int roffset, int rlength, short rowlength) -Compare columnFamily, qualifier, timestamp, and key type (everything - except the row). +Compare columnFamily, qualifier, timestamp, and key type (everything except the row). http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.EmptyByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.EmptyByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.EmptyByteBufferCell.html deleted file mode 100644 index 2b27e78..000 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellUtil.EmptyByteBufferCell.html +++ /dev/null @@ -1,181 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -Uses of Class org.apache.hadoop.hbase.CellUtil.EmptyByteBufferCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -No Frames - - -All Classes - - - - - - - - - - -Uses of Classorg.apache.hadoop.hbase.CellUtil.EmptyByteBufferCell - - - - - -Packages that use CellUtil.EmptyByteBufferCell - -Package -Description - - - -org.apache.hadoop.hbase - - - - - - - - - - -Uses of CellUtil.EmptyByteBufferCell in org.apache.hadoop.hbase - -Subclasses of CellUtil.EmptyByteBufferCell in org.apache.hadoop.hbase - -Modifier and Type -Class and Description - - - -private static class -CellUtil.FirstOnRowByteBufferCell - - -private static class -CellUtil.FirstOnRowColByteBufferCell - - -private static class -CellUtil.FirstOnRowColTSByteBufferCell - - -private static class -CellUtil.LastOnRowByteBufferCell - - -private static class -CellUtil.LastOnRowColByteBufferCell - - - - - - - - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -No Frames - - -All Classes - - - -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":41,"i32":41,"i33":41,"i34":41,"i35":41,"i36":41,"i37":41,"i38":41,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":41,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":41,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i 120":9,"i121":9,"i122":9,"i123":9,"i124":41,"i125":9,"i126":9,"i127":9,"i128":9,"i129":9,"i130":9,"i131":9,"i132":9,"i133":9,"i134":9,"i135":9,"i136":9,"i137":9,"i138":9,"i139":9,"i140":9,"i141":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":9,"i5":41,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":41,"i18":9,"i19":9,"i20":41,"i21":41,"i22":41,"i23":41,"i24":41,"i25":41,"i26":41,"i27":41,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":41,"i38":41,"i39":41,"i40":41,"i41":41,"i42":41,"i43":41,"i44":41,"i45":41,"i46":41,"i47":9,"i48":41,"i49":41,"i50":41,"i51":41,"i52":41,"i53":41,"i54":41,"i55":41,"i56":9,"i57":41,"i58":41,"i59":41,"i60":41,"i61":41,"i62":41,"i63":9,"i64":9,"i65":41,"i66":9,"i67":9,"i68":41,"i69":9,"i70":9,"i71":41,"i72":9,"i73":41,"i74":9,"i75":41,"i76":9,"i77":9,"i78":9,"i79":9,"i80":41,"i81":9,"i82":9,"i83":9,"i84":41,"i85":9,"i86":41,"i87":41,"i88":41,"i89":41,"i90":9,"i91":41,"i92":41,"i93":41,"i94":41,"i95":41,"i96":41}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; Prev Class -Next Class +Next Class Frames @@ -74,7 +74,7 @@ var activeTableTab = "activeTableTab"; Summary: -Nested | +Nested | Field | Constr | Method @@ -110,102 +110,17 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public final class CellUtil +public final class CellUtil extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -Utility methods helpful slinging Cell instances. - Some methods below are for internal use only and are marked InterfaceAudience.Private at the - method level. +Utility methods helpful for slinging Cell instances. Some methods below are for internal + use only and are marked InterfaceAudience.Private at the method level. Note that all such methods + have been marked deprecated in HBase-2.0 which will be subsequently removed in HBase-3.0 - - - - - -Nested Class Summary - -Nested Classes - -Modifier and Type -Class and Description - - -private static class -CellUtil.EmptyByteBufferCell - - -private static class -CellUtil.EmptyCell - - -private static class -CellUtil.FirstOnRowByteBufferCell - - -private static class -CellUtil.FirstOnRowCell - - -private static class -CellUtil.FirstOnRowColByteBufferCell - - -private static class -CellUtil.FirstOnRowColCell - - -private static class -CellUtil.FirstOnRowColTSByteBufferCell - - -private static class -CellUtil.FirstOnRowColTSCell - - -private static class -CellUtil.FirstOnRowDeleteFamilyCell - - -private static class -CellUtil.LastOnRowByteBufferCell - - -private static class -CellUtil.LastOnRowCell - - -private static class -CellUtil.LastOnRowColByteBufferCell - - -private static class -CellUtil.LastOnRowColCell - - -private static class -CellUtil.TagRewriteByteBufferCell - - -private static class -CellUtil.TagRewriteCell -This can be used when a Cell has to change with addition/removal of one or more tags. - - - -private static class -CellUtil.ValueAndTagRewriteByteBufferCell - - -private static class -CellUtil.ValueAndTagRewriteCell - - - - @@ -255,7 +170,11 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
[11/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColCell.html new file mode 100644 index 000..3cacd1e --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColCell.html @@ -0,0 +1,548 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.FirstOnRowColCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.FirstOnRowColCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell + + +org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowCell + + +org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowColCell + + + + + + + + + + + +All Implemented Interfaces: +Cell, SettableSequenceId + + +Direct Known Subclasses: +PrivateCellUtil.FirstOnRowColTSCell + + +Enclosing class: +PrivateCellUtil + + + +private static class PrivateCellUtil.FirstOnRowColCell +extends PrivateCellUtil.FirstOnRowCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +private byte[] +fArray + + +private byte +flength + + +private int +foffset + + +private byte[] +qArray + + +private int +qlength + + +private int +qoffset + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +FirstOnRowColCell(byte[] rArray, + int roffset, + short rlength, + byte[] fArray, + int foffset, + byte flength, + byte[] qArray, + int qoffset, + int qlength) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +byte[] +getFamilyArray() +Contiguous bytes composed of legal HDFS filename characters which may start at any index in the + containing array. + + + +byte +getFamilyLength() + + +int +getFamilyOffset() + + +byte[] +getQualifierArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +int +getQualifierLength() + + +int +getQualifierOffset() + + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowCell +getRowArray, getRowLength, getRowOffset, getTimestamp, getTypeByte + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell +getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId + + + + + +Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"; title="class or interface in java.lang">
[10/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowDeleteFamilyCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowDeleteFamilyCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowDeleteFamilyCell.html new file mode 100644 index 000..4dc839b --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowDeleteFamilyCell.html @@ -0,0 +1,460 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.FirstOnRowDeleteFamilyCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.FirstOnRowDeleteFamilyCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell + + +org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowDeleteFamilyCell + + + + + + + + + +All Implemented Interfaces: +Cell, SettableSequenceId + + +Enclosing class: +PrivateCellUtil + + + +private static class PrivateCellUtil.FirstOnRowDeleteFamilyCell +extends PrivateCellUtil.EmptyCell + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +private byte[] +fam + + +private byte[] +row + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +FirstOnRowDeleteFamilyCell(byte[] row, + byte[] fam) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +byte[] +getFamilyArray() +Contiguous bytes composed of legal HDFS filename characters which may start at any index in the + containing array. + + + +byte +getFamilyLength() + + +byte[] +getRowArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +short +getRowLength() + + +long +getTimestamp() + + +byte +getTypeByte() + + + + + + +Methods inherited from class org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell +getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getRowOffset, getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId + + + + + +Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/8/doc
[07/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteCell.html b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteCell.html new file mode 100644 index 000..c2e5024 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteCell.html @@ -0,0 +1,948 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +PrivateCellUtil.TagRewriteCell (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +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}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +org.apache.hadoop.hbase +Class PrivateCellUtil.TagRewriteCell + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteCell + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true"; title="class or interface in java.lang">Cloneable, Cell, ExtendedCell, HeapSize, SettableSequenceId, SettableTimestamp + + +Direct Known Subclasses: +PrivateCellUtil.ValueAndTagRewriteCell + + +Enclosing class: +PrivateCellUtil + + + +static class PrivateCellUtil.TagRewriteCell +extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object +implements ExtendedCell +This can be used when a Cell has to change with addition/removal of one or more tags. This is + an efficient way to do so in which only the tags bytes part need to recreated and copied. All + other parts, refer to the original Cell. + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +protected Cell +cell + + +private static long +HEAP_SIZE_OVERHEAD + + +protected byte[] +tags + + + + + + +Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell +CELL_NOT_BASED_ON_CHUNK + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +TagRewriteCell(Cell cell, + byte[] tags) + + + + + + + + + +Method Summary + +All Methods Instance Methods Concrete Methods + +Modifier and Type +Method and Description + + +ExtendedCell +deepClone() +Does a deep copy of the contents to a new memory area and returns it as a new cell. + + + +byte[] +getFamilyArray() +Contiguous bytes composed of legal HDFS filename characters which may start at any index in the + containing array. + + + +byte +getFamilyLength() + + +int +getFamilyOffset() + + +byte[] +getQualifierArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +int +getQualifierLength() + + +int +getQualifierOffset() + + +byte[] +getRowArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +short +getRowLength() + + +int +getRowOffset() + + +long +getSequenceId() +A region-specific unique monotonically increasing sequence ID given to each Cell. + + + +int +getSerializedSize(boolean withTags) + + +byte[] +getTagsArray() +Contiguous raw bytes representing tags that may start at any index in the containing array. + + + +int +getTagsLength() +HBase internally uses 2 bytes to store tags length in Cell. + + + +int +getTagsOffset() + + +long +getTimestamp() + + +byte +getTypeByte() + + +byte[] +getValueArray() +Contiguous raw bytes that may start at any index in the containing array. + + + +int +getValueLength() + + +int +getValueOffset() + + +long +heapSize() + + +void +setSequenceId(long seqId) +Sets with the given seqId. + + + +void +setTimestamp(byte[] ts, +int tsOffset) +Sets with t
[41/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html index 0b7322a..9d879b2 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html @@ -26,420 +26,420 @@ 018 019package org.apache.hadoop.hbase; 020 -021import static org.apache.hadoop.hbase.HConstants.EMPTY_BYTE_ARRAY; -022import static org.apache.hadoop.hbase.Tag.TAG_LENGTH_SIZE; -023import static org.apache.hadoop.hbase.KeyValue.COLUMN_FAMILY_DELIMITER; -024import static org.apache.hadoop.hbase.KeyValue.getDelimiter; -025import static org.apache.hadoop.hbase.KeyValue.COLUMN_FAMILY_DELIM_ARRAY; -026 -027import java.io.DataOutput; -028import java.io.DataOutputStream; -029import java.io.IOException; -030import java.io.OutputStream; -031import java.math.BigDecimal; -032import java.nio.ByteBuffer; -033import java.util.ArrayList; -034import java.util.Arrays; -035import java.util.Iterator; -036import java.util.List; -037import java.util.Map.Entry; -038import java.util.NavigableMap; -039 -040import org.apache.hadoop.hbase.KeyValue.Type; -041import org.apache.hadoop.hbase.filter.ByteArrayComparable; -042import org.apache.yetus.audience.InterfaceAudience; -043import org.apache.yetus.audience.InterfaceAudience.Private; -044 -045import com.google.common.annotations.VisibleForTesting; -046 -047import org.apache.hadoop.hbase.io.HeapSize; -048import org.apache.hadoop.hbase.io.TagCompressionContext; -049import org.apache.hadoop.hbase.io.util.Dictionary; -050import org.apache.hadoop.hbase.io.util.StreamUtils; -051import org.apache.hadoop.hbase.util.ByteBufferUtils; -052import org.apache.hadoop.hbase.util.ByteRange; -053import org.apache.hadoop.hbase.util.Bytes; -054import org.apache.hadoop.hbase.util.ClassSize; +021import static org.apache.hadoop.hbase.Tag.TAG_LENGTH_SIZE; +022import static org.apache.hadoop.hbase.KeyValue.COLUMN_FAMILY_DELIMITER; +023import static org.apache.hadoop.hbase.KeyValue.getDelimiter; +024import static org.apache.hadoop.hbase.KeyValue.COLUMN_FAMILY_DELIM_ARRAY; +025 +026import java.io.DataOutput; +027import java.io.DataOutputStream; +028import java.io.IOException; +029import java.io.OutputStream; +030import java.nio.ByteBuffer; +031import java.util.Arrays; +032import java.util.Iterator; +033import java.util.List; +034import java.util.Map.Entry; +035import java.util.NavigableMap; +036 +037import org.apache.hadoop.hbase.KeyValue.Type; +038import org.apache.yetus.audience.InterfaceAudience; +039import org.apache.yetus.audience.InterfaceAudience.Private; +040 +041import com.google.common.annotations.VisibleForTesting; +042 +043import org.apache.hadoop.hbase.io.HeapSize; +044import org.apache.hadoop.hbase.util.ByteBufferUtils; +045import org.apache.hadoop.hbase.util.ByteRange; +046import org.apache.hadoop.hbase.util.Bytes; +047 +048/** +049 * Utility methods helpful for slinging {@link Cell} instances. Some methods below are for internal +050 * use only and are marked InterfaceAudience.Private at the method level. Note that all such methods +051 * have been marked deprecated in HBase-2.0 which will be subsequently removed in HBase-3.0 +052 */ +053@InterfaceAudience.Public +054public final class CellUtil { 055 -056/** -057 * Utility methods helpful slinging {@link Cell} instances. -058 * Some methods below are for internal use only and are marked InterfaceAudience.Private at the -059 * method level. -060 */ -061@InterfaceAudience.Public -062public final class CellUtil { +056 /** +057 * Private constructor to keep this class from being instantiated. +058 */ +059 private CellUtil() { +060 } +061 +062 /*** ByteRange ***/ 063 064 /** -065 * Private constructor to keep this class from being instantiated. +065 * @deprecated As of HBase-2.0. Will be removed in HBase-3.0. 066 */ -067 private CellUtil(){} -068 -069 /*** ByteRange ***/ -070 -071 public static ByteRange fillRowRange(Cell cell, ByteRange range) { -072return range.set(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()); -073 } -074 -075 public static ByteRange fillFamilyRange(Cell cell, ByteRange range) { -076return range.set(cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength()); -077 } -078 -079 public static ByteRange fillQualifierRange(Cell cell, ByteRange range) { -080return range.set(cell.getQualifierArray(), cell.getQualifierOffset(), -081 cell.getQualifierLength()); -082 } -083 -084 public static ByteRange fillValueRange(Cell cell, ByteRange range) { -085return range.set(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); +067 @De
[22/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html deleted file mode 100644 index 7c9abc9..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html +++ /dev/null @@ -1,646 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.EmptyCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -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}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.EmptyCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.CellUtil.EmptyCell - - - - - - - -All Implemented Interfaces: -Cell, SettableSequenceId - - -Direct Known Subclasses: -CellUtil.FirstOnRowCell, CellUtil.FirstOnRowDeleteFamilyCell, CellUtil.LastOnRowCell - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private abstract static class CellUtil.EmptyCell -extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -implements Cell, SettableSequenceId - - - - - - - - - - - -Constructor Summary - -Constructors - -Modifier -Constructor and Description - - -private -EmptyCell() - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -byte[] -getFamilyArray() -Contiguous bytes composed of legal HDFS filename characters which may start at any index in the - containing array. - - - -byte -getFamilyLength() - - -int -getFamilyOffset() - - -byte[] -getQualifierArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -int -getQualifierLength() - - -int -getQualifierOffset() - - -byte[] -getRowArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -short -getRowLength() - - -int -getRowOffset() - - -long -getSequenceId() -A region-specific unique monotonically increasing sequence ID given to each Cell. - - - -byte[] -getTagsArray() -Contiguous raw bytes representing tags that may start at any index in the containing array. - - - -int -getTagsLength() -HBase internally uses 2 bytes to store tags length in Cell. - - - -int -getTagsOffset() - - -byte[] -getValueArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -int -getValueLength() - - -int -getValueOffset() - - -void -setSequenceId(long seqId) -Sets with the given seqId. - - - - - - - -Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAl
[27/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index b298db3..e69d8fb 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase – Checkstyle Results @@ -286,10 +286,10 @@ Warnings Errors -2060 +2061 0 0 -13637 +13717 Files @@ -367,7 +367,7 @@ org/apache/hadoop/hbase/CellUtil.java 0 0 -123 +71 org/apache/hadoop/hbase/ChoreService.java 0 @@ -472,7 +472,7 @@ org/apache/hadoop/hbase/IndividualBytesFieldCell.java 0 0 -12 +10 org/apache/hadoop/hbase/JMXListener.java 0 @@ -539,520 +539,530 @@ 0 1 +org/apache/hadoop/hbase/PrivateCellUtil.java +0 +0 +73 + org/apache/hadoop/hbase/RegionLoad.java 0 0 2 - + org/apache/hadoop/hbase/RegionLocations.java 0 0 12 - + org/apache/hadoop/hbase/RegionStateListener.java 0 0 2 - + org/apache/hadoop/hbase/ScheduledChore.java 0 0 6 - + org/apache/hadoop/hbase/ServerLoad.java 0 0 8 - + org/apache/hadoop/hbase/ServerName.java 0 0 28 - + org/apache/hadoop/hbase/SettableSequenceId.java 0 0 1 - + org/apache/hadoop/hbase/SettableTimestamp.java 0 0 1 - + org/apache/hadoop/hbase/SizeCachedKeyValue.java 0 0 1 - + org/apache/hadoop/hbase/SplitLogCounters.java 0 0 1 - + org/apache/hadoop/hbase/SplitLogTask.java 0 0 3 - + org/apache/hadoop/hbase/TableDescriptors.java 0 0 9 - + org/apache/hadoop/hbase/TableInfoMissingException.java 0 0 6 - + org/apache/hadoop/hbase/TableName.java 0 0 18 - + org/apache/hadoop/hbase/TableNotDisabledException.java 0 0 1 - + org/apache/hadoop/hbase/TableNotEnabledException.java 0 0 1 - + org/apache/hadoop/hbase/TableNotFoundException.java 0 0 1 - + org/apache/hadoop/hbase/Tag.java 0 0 1 - + org/apache/hadoop/hbase/TagType.java 0 0 1 - + org/apache/hadoop/hbase/TagUtil.java 0 0 3 - + org/apache/hadoop/hbase/UnknownRegionException.java 0 0 1 - + org/apache/hadoop/hbase/ZKNamespaceManager.java 0 0 4 - + org/apache/hadoop/hbase/ZNodeClearer.java 0 0 3 - + org/apache/hadoop/hbase/backup/BackupClientFactory.java 0 0 3 - + org/apache/hadoop/hbase/backup/BackupCopyJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupDriver.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupHFileCleaner.java 0 0 4 - + org/apache/hadoop/hbase/backup/BackupInfo.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupMergeJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupRestoreConstants.java 0 0 5 - + org/apache/hadoop/hbase/backup/BackupRestoreFactory.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupTableInfo.java 0 0 2 - + org/apache/hadoop/hbase/backup/FailedArchiveException.java 0 0 1 - + org/apache/hadoop/hbase/backup/HBackupFileSystem.java 0 0 1 - + org/apache/hadoop/hbase/backup/HFileArchiver.java 0 0 20 - + org/apache/hadoop/hbase/backup/LogUtils.java 0 0 2 - + org/apache/hadoop/hbase/backup/RestoreDriver.java 0 0 2 - + org/apache/hadoop/hbase/backup/RestoreJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/RestoreRequest.java 0 0 1 - + org/apache/hadoop/hbase/backup/example/HFileArchiveManager.java 0 0 4 - + org/apache/hadoop/hbase/backup/example/LongTermArchivingHFileCleaner.java 0 0 5 - + org/apache/hadoop/hbase/backup/example/TableHFileArchiveTracker.java 0 0 6 - + org/apache/hadoop/hbase/backup/example/ZKTableArchiveClient.java 0 0 2 - + org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java 0 0 14 - + org/apache/hadoop/hbase/backup/impl/BackupCommands.java 0 0 56 - + org/apache/hadoop/hbase/backup/impl/BackupManager.java 0 0 5 - + org/apache/hadoop/hbase/backup/impl/BackupManifest.java 0 0 3 - + org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java 0 0 26 - + org/apache/hadoop/hbase/backup/impl/FullTableBackupClient.java 0 0 3 - + org/apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java 0 0 5 - + org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java 0 0 10 - + org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java 0 0 2 - + org/apache/hadoop/hbase/backup/impl/TableBackupClient.java 0 0 14 - + org/apache/hadoop/hbase/backup/mapreduce/MapReduceBackupMergeJob.java 0 0 2 - + org/apache/hadoop/hbase/backup/mapreduce/MapReduceHFileSplitterJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/mapreduce/MapReduceRestoreJob.java 0 0 4 - + org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java 0 0 1 - + org/apache/hadoop/hbase/backup/master/LogRollMasterProcedureManager.java 0 0 2 - + org/apache/hadoop/hbase/backup/regionserver/LogRollBackupSubprocedure.java 0 0 3 - + org/apache/hadoop/hbase/backup/regionserver/LogRollBackupSubprocedurePool.java 0 0 1 - + org/apache/hadoop/hbase/backup/regionserver/LogRollRegion
[40/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/client/Delete.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Delete.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Delete.html index d614ad8..686fe97 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Delete.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Delete.html @@ -28,353 +28,352 @@ 020package org.apache.hadoop.hbase.client; 021 022import java.io.IOException; -023import java.util.ArrayList; -024import java.util.List; -025import java.util.Map; -026import java.util.NavigableMap; -027import java.util.UUID; -028 -029import org.apache.hadoop.hbase.Cell; -030import org.apache.hadoop.hbase.CellUtil; -031import org.apache.hadoop.hbase.HConstants; -032import org.apache.hadoop.hbase.KeyValue; -033import org.apache.yetus.audience.InterfaceAudience; -034import org.apache.hadoop.hbase.security.access.Permission; -035import org.apache.hadoop.hbase.security.visibility.CellVisibility; -036import org.apache.hadoop.hbase.util.Bytes; -037 -038/** -039 * Used to perform Delete operations on a single row. -040 *-041 * To delete an entire row, instantiate a Delete object with the row -042 * to delete. To further define the scope of what to delete, perform -043 * additional methods as outlined below. -044 *
-045 * To delete specific families, execute {@link #addFamily(byte[]) deleteFamily} -046 * for each family to delete. -047 *
-048 * To delete multiple versions of specific columns, execute -049 * {@link #addColumns(byte[], byte[]) deleteColumns} -050 * for each column to delete. -051 *
-052 * To delete specific versions of specific columns, execute -053 * {@link #addColumn(byte[], byte[], long) deleteColumn} -054 * for each column version to delete. -055 *
-056 * Specifying timestamps, deleteFamily and deleteColumns will delete all -057 * versions with a timestamp less than or equal to that passed. If no -058 * timestamp is specified, an entry is added with a timestamp of 'now' -059 * where 'now' is the servers's System.currentTimeMillis(). -060 * Specifying a timestamp to the deleteColumn method will -061 * delete versions only with a timestamp equal to that specified. -062 * If no timestamp is passed to deleteColumn, internally, it figures the -063 * most recent cell's timestamp and adds a delete at that timestamp; i.e. -064 * it deletes the most recently added cell. -065 *
The timestamp passed to the constructor is used ONLY for delete of -066 * rows. For anything less -- a deleteColumn, deleteColumns or -067 * deleteFamily -- then you need to use the method overrides that take a -068 * timestamp. The constructor timestamp is not referenced. -069 */ -070@InterfaceAudience.Public -071public class Delete extends Mutation implements Comparable
{ -072 /** -073 * Create a Delete operation for the specified row. -074 *
-075 * If no further operations are done, this will delete everything -076 * associated with the specified row (all versions of all columns in all -077 * families), with timestamp from current point in time to the past. -078 * Cells defining timestamp for a future point in time -079 * (timestamp > current time) will not be deleted. -080 * @param row row key -081 */ -082 public Delete(byte [] row) { -083this(row, HConstants.LATEST_TIMESTAMP); -084 } -085 -086 /** -087 * Create a Delete operation for the specified row and timestamp.
-088 * -089 * If no further operations are done, this will delete all columns in all -090 * families of the specified row with a timestamp less than or equal to the -091 * specified timestamp.
-092 * -093 * This timestamp is ONLY used for a delete row operation. If specifying -094 * families or columns, you must specify each timestamp individually. -095 * @param row row key -096 * @param timestamp maximum version timestamp (only for delete row) -097 */ -098 public Delete(byte [] row, long timestamp) { -099this(row, 0, row.length, timestamp); -100 } -101 -102 /** -103 * Create a Delete operation for the specified row and timestamp.
-104 * -105 * If no further operations are done, this will delete all columns in all -106 * families of the specified row with a timestamp less than or equal to the -107 * specified timestamp.
-108 * -109 * This timestamp is ONLY used for a delete row operation. If specifying -110 * families or columns, you must specify each timestamp individually. -111 * @param row We make a local copy of this passed in row. -112 * @param rowOffset -113 * @param rowLength -114 */ -115 public Delete(final byte[] row, final int rowOffset, final int rowLength) { -116this(row, rowOffset, rowLength, HConstants.LATEST_TIMESTAMP); -117 } -118 -119 /** -120 * Create
[19/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html deleted file mode 100644 index fd9007e..000 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html +++ /dev/null @@ -1,453 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - - -CellUtil.LastOnRowCell (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -org.apache.hadoop.hbase -Class CellUtil.LastOnRowCell - - - -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">java.lang.Object - - -org.apache.hadoop.hbase.CellUtil.EmptyCell - - -org.apache.hadoop.hbase.CellUtil.LastOnRowCell - - - - - - - - - -All Implemented Interfaces: -Cell, SettableSequenceId - - -Direct Known Subclasses: -CellUtil.LastOnRowColCell - - -Enclosing class: -CellUtil - - - -@InterfaceAudience.Private -private static class CellUtil.LastOnRowCell -extends CellUtil.EmptyCell - - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -private short -rlength - - -private int -roffset - - -private byte[] -rowArray - - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -LastOnRowCell(byte[] row, - int roffset, - short rlength) - - - - - - - - - -Method Summary - -All Methods Instance Methods Concrete Methods - -Modifier and Type -Method and Description - - -byte[] -getRowArray() -Contiguous raw bytes that may start at any index in the containing array. - - - -short -getRowLength() - - -int -getRowOffset() - - -long -getTimestamp() - - -byte -getTypeByte() - - - - - - -Methods inherited from class org.apache.hadoop.hbase.CellUtil.EmptyCell -getFamilyArray, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getSequenceId, getTagsArray, getTagsLength, getTagsOffset, getValueArray, getValueLength, getValueOffset, setSequenceId - - - - - -Methods inherited from class java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"; title="class or inter
[32/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html index 1554d23..af883ab 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html @@ -32,493 +32,494 @@ 024import org.apache.hadoop.hbase.Cell; 025import org.apache.hadoop.hbase.CellUtil; 026import org.apache.hadoop.hbase.HConstants; -027import org.apache.yetus.audience.InterfaceAudience; -028import org.apache.hadoop.hbase.exceptions.DeserializationException; -029import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -030import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -031import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -032import org.apache.hadoop.hbase.util.Bytes; -033 -034/** -035 * Filter to support scan multiple row key ranges. It can construct the row key ranges from the -036 * passed list which can be accessed by each region server. -037 * -038 * HBase is quite efficient when scanning only one small row key range. If user needs to specify -039 * multiple row key ranges in one scan, the typical solutions are: 1. through FilterList which is a -040 * list of row key Filters, 2. using the SQL layer over HBase to join with two table, such as hive, -041 * phoenix etc. However, both solutions are inefficient. Both of them can't utilize the range info -042 * to perform fast forwarding during scan which is quite time consuming. If the number of ranges -043 * are quite big (e.g. millions), join is a proper solution though it is slow. However, there are -044 * cases that user wants to specify a small number of ranges to scan (e.g. <1000 ranges). Both -045 * solutions can't provide satisfactory performance in such case. MultiRowRangeFilter is to support -046 * such usec ase (scan multiple row key ranges), which can construct the row key ranges from user -047 * specified list and perform fast-forwarding during scan. Thus, the scan will be quite efficient. -048 */ -049@InterfaceAudience.Public -050public class MultiRowRangeFilter extends FilterBase { -051 -052 private ListrangeList; -053 -054 private static final int ROW_BEFORE_FIRST_RANGE = -1; -055 private boolean EXCLUSIVE = false; -056 private boolean done = false; -057 private boolean initialized = false; -058 private int index; -059 private RowRange range; -060 private ReturnCode currentReturnCode; -061 -062 /** -063 * @param list A list of RowRange
-064 */ -065 public MultiRowRangeFilter(Listlist) { -066this.rangeList = sortAndMerge(list); -067 } -068 -069 @Override -070 public boolean filterAllRemaining() { -071return done; -072 } -073 -074 public List getRowRanges() { -075return this.rangeList; -076 } -077 -078 @Override -079 public boolean filterRowKey(Cell firstRowCell) { -080if (filterAllRemaining()) return true; -081// If it is the first time of running, calculate the current range index for -082// the row key. If index is out of bound which happens when the start row -083// user sets is after the largest stop row of the ranges, stop the scan. -084// If row key is after the current range, find the next range and update index. -085byte[] rowArr = firstRowCell.getRowArray(); -086int length = firstRowCell.getRowLength(); -087int offset = firstRowCell.getRowOffset(); -088if (!initialized -089|| !range.contains(rowArr, offset, length)) { -090 byte[] rowkey = CellUtil.cloneRow(firstRowCell); -091 index = getNextRangeIndex(rowkey); -092 if (index >= rangeList.size()) { -093done = true; -094currentReturnCode = ReturnCode.NEXT_ROW; -095return false; -096 } -097 if(index != ROW_BEFORE_FIRST_RANGE) { -098range = rangeList.get(index); -099 } else { -100range = rangeList.get(0); -101 } -102 if (EXCLUSIVE) { -103EXCLUSIVE = false; -104currentReturnCode = ReturnCode.NEXT_ROW; -105return false; -106 } -107 if (!initialized) { -108if(index != ROW_BEFORE_FIRST_RANGE) { -109 currentReturnCode = ReturnCode.INCLUDE; -110} else { -111 currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; -112} -113initialized = true; -114 } else { -115if (range.contains(rowArr, offset, length)) { -116 currentReturnCode = ReturnCode.INCLUDE; -117} else { -118 currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; -119} -120 } -121} else { -122
[24/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/index-all.html -- diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html index 8a7db80..4fc9e58 100644 --- a/devapidocs/index-all.html +++ b/devapidocs/index-all.html @@ -9152,14 +9152,14 @@ The unit of storage in HBase consisting of the following fields: -cell - Variable in class org.apache.hadoop.hbase.CellUtil.TagRewriteByteBufferCell - -cell - Variable in class org.apache.hadoop.hbase.CellUtil.TagRewriteCell - cell - Variable in class org.apache.hadoop.hbase.filter.KeyOnlyFilter.KeyOnlyByteBufferCell cell - Variable in class org.apache.hadoop.hbase.filter.KeyOnlyFilter.KeyOnlyCell +cell - Variable in class org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteByteBufferCell + +cell - Variable in class org.apache.hadoop.hbase.PrivateCellUtil.TagRewriteCell + cell - Variable in class org.apache.hadoop.hbase.regionserver.CellFlatMap.CellFlatMapEntry Cell() - Constructor for class org.apache.hadoop.hbase.util.Counter.Cell @@ -9653,48 +9653,12 @@ CellUtil - Class in org.apache.hadoop.hbase -Utility methods helpful slinging Cell instances. +Utility methods helpful for slinging Cell instances. CellUtil() - Constructor for class org.apache.hadoop.hbase.CellUtil Private constructor to keep this class from being instantiated. -CellUtil.EmptyByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.EmptyCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowColByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowColCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowColTSByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowColTSCell - Class in org.apache.hadoop.hbase - -CellUtil.FirstOnRowDeleteFamilyCell - Class in org.apache.hadoop.hbase - -CellUtil.LastOnRowByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.LastOnRowCell - Class in org.apache.hadoop.hbase - -CellUtil.LastOnRowColByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.LastOnRowColCell - Class in org.apache.hadoop.hbase - -CellUtil.TagRewriteByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.TagRewriteCell - Class in org.apache.hadoop.hbase - -This can be used when a Cell has to change with addition/removal of one or more tags. - -CellUtil.ValueAndTagRewriteByteBufferCell - Class in org.apache.hadoop.hbase - -CellUtil.ValueAndTagRewriteCell - Class in org.apache.hadoop.hbase - cellValueToBackupSet(Cell) - Method in class org.apache.hadoop.hbase.backup.impl.BackupSystemTable Converts cell to backup set list. @@ -12210,6 +12174,12 @@ Constructor cloneTags(Cell) - Static method in class org.apache.hadoop.hbase.CellUtil + +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0. + + +cloneTags(Cell) - Static method in class org.apache.hadoop.hbase.PrivateCellUtil cloneUncompressedBufferWithHeader() - Method in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer @@ -13335,7 +13305,7 @@ colAdjust - Variable in class org.apache.hadoop.hbase.util.MunkresAssignment -colBuff - Variable in class org.apache.hadoop.hbase.CellUtil.FirstOnRowColByteBufferCell +colBuff - Variable in class org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowColByteBufferCell colDescFromHbase(HColumnDescriptor) - Static method in class org.apache.hadoop.hbase.thrift.ThriftUtilities @@ -13385,9 +13355,9 @@ collectRow() - Method in class org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.KeyValueStatsCollector -colLength - Variable in class org.apache.hadoop.hbase.CellUtil.FirstOnRowColByteBufferCell +colLength - Variable in class org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowColByteBufferCell -colOffset - Variable in class org.apache.hadoop.hbase.CellUtil.FirstOnRowColByteBufferCell +colOffset - Variable in class org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowColByteBufferCell COLON - Static variable in class org.apache.hadoop.hbase.filter.ParseConstants @@ -14434,10 +14404,9 @@ compare(CellComparator, Cell, byte[], int, int) - Static method in class org.apache.hadoop.hbase.CellUtil -Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0 + compare(BigDecimal, BigDecimal) - Method in class org.apache.hadoop.hbase.client.coprocessor.BigDecimalColumnInterpreter @@ -14493,6 +14462,13 @@ compare(PartitionedMobCompactionRequest.CompactionDelPartition
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site 5018ccb37 -> e01eeb1a0 INFRA-10751 Empty commit Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/e01eeb1a Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/e01eeb1a Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/e01eeb1a Branch: refs/heads/asf-site Commit: e01eeb1a0e85dac4c8eeabd38a42a74b7ce42c24 Parents: 5018ccb Author: jenkins Authored: Sat Oct 28 15:16:23 2017 + Committer: jenkins Committed: Sat Oct 28 15:16:23 2017 + -- --
[42/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/mapreduce/Import.html -- diff --git a/apidocs/org/apache/hadoop/hbase/mapreduce/Import.html b/apidocs/org/apache/hadoop/hbase/mapreduce/Import.html index 3a27233..7512e2f 100644 --- a/apidocs/org/apache/hadoop/hbase/mapreduce/Import.html +++ b/apidocs/org/apache/hadoop/hbase/mapreduce/Import.html @@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Import +public class Import extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool Import data written by Export. @@ -298,7 +298,7 @@ implements org.apache.hadoop.util.Tool CF_RENAME_PROP -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String CF_RENAME_PROP +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String CF_RENAME_PROP See Also: Constant Field Values @@ -311,7 +311,7 @@ implements org.apache.hadoop.util.Tool BULK_OUTPUT_CONF_KEY -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String BULK_OUTPUT_CONF_KEY +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String BULK_OUTPUT_CONF_KEY See Also: Constant Field Values @@ -324,7 +324,7 @@ implements org.apache.hadoop.util.Tool FILTER_CLASS_CONF_KEY -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String FILTER_CLASS_CONF_KEY +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String FILTER_CLASS_CONF_KEY See Also: Constant Field Values @@ -337,7 +337,7 @@ implements org.apache.hadoop.util.Tool FILTER_ARGS_CONF_KEY -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String FILTER_ARGS_CONF_KEY +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String FILTER_ARGS_CONF_KEY See Also: Constant Field Values @@ -350,7 +350,7 @@ implements org.apache.hadoop.util.Tool TABLE_NAME -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String TABLE_NAME +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String TABLE_NAME See Also: Constant Field Values @@ -363,7 +363,7 @@ implements org.apache.hadoop.util.Tool WAL_DURABILITY -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String WAL_DURABILITY +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String WAL_DURABILITY See Also: Constant Field Values @@ -376,7 +376,7 @@ implements org.apache.hadoop.util.Tool HAS_LARGE_RESULT -public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String HAS_LARGE_RESULT +public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String HAS_LARGE_RESULT See Also: Constant Field Values @@ -397,7 +397,7 @@ implements org.apache.hadoop.util.Tool Import -public Import() +public Import() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/package-summary.html -- diff --git a/apidocs/org/apache/hadoop/hbase/package-summary.html b/apidocs/org/apache/hadoop/hbase/package-summary.html index 03b8b13..39ae361 100644 --- a/apidocs/org/apache/hadoop/hbase/package-summary.html +++ b/apidocs/org/apache/hadoop/hbase/package-summary.html @@ -127,7 +127,7 @@ CellUtil -Utility methods helpful slinging Cell instances. +Utility methods helpful for slinging Cell instances. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/util/class-use/ByteRange.html -- diff --git a/apidocs/org/apache/hadoop/hbase/util/class-use/ByteRange.html b/apidocs/org/apache/hadoop/hbase/util/class-use/ByteRange.html index e1b1f6e..043fd83 100644 --- a/apidocs/org/ap
[14/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/ChoreService.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ChoreService.html b/devapidocs/org/apache/hadoop/hbase/ChoreService.html index f851a4c..a99075c 100644 --- a/devapidocs/org/apache/hadoop/hbase/ChoreService.html +++ b/devapidocs/org/apache/hadoop/hbase/ChoreService.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; -Prev Class +Prev Class Next Class @@ -790,7 +790,7 @@ public void -Prev Class +Prev Class Next Class http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html b/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html index e3e6898..cecadde 100644 --- a/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html +++ b/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; All Known Implementing Classes: -BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, CellUtil.TagRewriteByteBufferCell, CellUtil.TagRewriteCell, CellUtil.ValueAndTagRewriteByteBufferCell, CellUtil.ValueAndTagRewriteCell, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, SizeCachedKeyValue, SizeCachedNoTagsKeyValue +BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferChunkCell, ByteBufferKeyValue, IndividualBytesFieldCell, KeyValue, KeyValue.KeyOnlyKeyValue, MapReduceCell, NoTagByteBufferChunkCell, NoTagsByteBufferKeyValue, NoTagsKeyValue, PrivateCellUtil.TagRewriteByteBufferCell, PrivateCellUtil.TagRewriteCell, PrivateCellUtil.ValueAndTagRewriteByteBufferCell, PrivateCellUtil.ValueAndTagRewriteCell, SizeCachedKeyValue, SizeCachedNoTagsKeyValue http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html b/devapidocs/org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html index 5095197..521a727 100644 --- a/devapidocs/org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html +++ b/devapidocs/org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html @@ -272,7 +272,7 @@ the order they are declared. values -public static HealthChecker.HealthCheckerExitStatus[] values() +public static HealthChecker.HealthCheckerExitStatus[] values() 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: @@ -292,7 +292,7 @@ for (HealthChecker.HealthCheckerExitStatus c : HealthChecker.HealthCheckerExitSt valueOf -public static HealthChecker.HealthCheckerExitStatus valueOf(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String name) +public static HealthChecker.HealthCheckerExitStatus valueOf(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"; title="class or interface in java.lang">String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html b/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html index 5c9c440..a4a63b5 100644 --- a/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html +++ b/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class IndividualBytesFieldCell +public class IndividualBytesFieldCell extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object implements ExtendedCell @@ -476,7 +476,7 @@ implements FIXED_OVERHEAD -private static final long FIXED_OVERHEAD +private static final long FIXED_OVERHEAD @@ -485,7 +485,7 @@ implements row -private final byte[] row +private final byte[] row @@ -494,7 +494,7 @@ implements rOffset -private final int rOffset +private final int rOffset @@ -503,7
[46/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html index 036d92b..7ba7e45 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -134,8 +134,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. static Cell CellUtil.createCell(byte[] row) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -144,8 +144,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. CellUtil.createCell(byte[] row, byte[] value) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -169,8 +169,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. byte type, byte[] value) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -185,8 +185,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. byte[] tags, long memstoreTS) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead @@ -200,8 +200,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. byte[] value, long memstoreTS) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead @@ -215,8 +215,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. byte[] value, byte[] tags) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead @@ -232,8 +232,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. int qualifierOffset, int qualifierLength) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -253,111 +253,6 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. CellUtil.createCell(Cell cell, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"; title="class or interface in java.util">Listtags) - -static Cell -CellUtil.createFirstDeleteFamilyCellOnRow(byte[] row, -byte[] fam) -Create a Delete Family Cell for the specified row and family that would - be smaller than all other possible Delete Family KeyValues that have the - same row and family. - - - -static Cell -CellUtil.createFirstOnNextRow(Cell cell) -Create a Cell that is smaller than all other possible Cells for the given Cell row's next row. - - - -static Cell -CellUtil.createFirstOnRow(byte[] row) - - -static Cell -CellUtil.createFirstOnRow(byte[] row, -byte[] family, -byte[] col) - - -static Cell -CellUtil.createFirstOnRow(byte[] row, -int roffset, -short rlength) - - -static Cell -CellUtil.createFirstOnRow(byte[] row, -int roffset, -short rlength, -byte[] family, -int foffset, -byte flength, -byte[] col, -int coffset, -int clength) - - -static Cell -CellUtil.createFirstOnRow(Cell cell) -Create a Cell that is smaller than all other possible Cells for the given Cell's row. - - - -static Cell -CellUtil.createFirstOnRowCol(Cell cell) -Create a Cell that is smaller than all other possible Cells for the given Cell's row. - - - -static Cell -CellUtil.createFirstOnRowCol(Cell cell, - byte[] qArray, - int qoffest, - int qlength) -Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and - passed qualifier. - - - -static Cell -CellUtil.createFirst
[47/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/apidocs/org/apache/hadoop/hbase/CellUtil.html b/apidocs/org/apache/hadoop/hbase/CellUtil.html index 7c9ad66..5600f0d 100644 --- a/apidocs/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/org/apache/hadoop/hbase/CellUtil.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":41,"i22":41,"i23":41,"i24":41,"i25":41,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":41,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":41,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":41,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i12 0":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":9,"i5":41,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":41,"i18":9,"i19":9,"i20":41,"i21":41,"i22":41,"i23":41,"i24":41,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":41,"i35":41,"i36":41,"i37":41,"i38":41,"i39":41,"i40":41,"i41":41,"i42":41,"i43":41,"i44":9,"i45":41,"i46":41,"i47":41,"i48":41,"i49":41,"i50":41,"i51":41,"i52":9,"i53":41,"i54":41,"i55":41,"i56":41,"i57":41,"i58":41,"i59":9,"i60":9,"i61":41,"i62":9,"i63":9,"i64":41,"i65":9,"i66":9,"i67":41,"i68":9,"i69":41,"i70":9,"i71":41,"i72":9,"i73":9,"i74":9,"i75":9,"i76":41,"i77":9,"i78":9,"i79":9,"i80":41,"i81":9,"i82":41,"i83":41,"i84":41,"i85":41,"i86":9,"i87":41,"i88":41,"i89":41,"i90":41,"i91":41,"i92":41}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -110,11 +110,11 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public final class CellUtil +public final class CellUtil extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"; title="class or interface in java.lang">Object -Utility methods helpful slinging Cell instances. - Some methods below are for internal use only and are marked InterfaceAudience.Private at the - method level. +Utility methods helpful for slinging Cell instances. Some methods below are for internal + use only and are marked InterfaceAudience.Private at the method level. Note that all such methods + have been marked deprecated in HBase-2.0 which will be subsequently removed in HBase-3.0 @@ -149,7 +149,11 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? static byte[] -cloneTags(Cell cell) +cloneTags(Cell cell) +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0. + + static byte[] @@ -162,10 +166,9 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? byte[] key, int offset, int length) -Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +Deprecated. +As of HBase-2.0. Will be removed in HBase-3.0 + @@ -190,14 +193,6 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? static int -compareKeyIgnoresMvcc(org.apache.hadoop.hbase.CellComparator comparator, - Cell left, - Cell right) -Compares only the key portion of a cell. - - - -static int compareQualifiers(Cell left, byte[] right, int rOffset, @@ -205,96 +200,116 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? Compares the cell's qualifier with the given byte[] - + static int copyFamilyTo(Cell cell, byte[] destination, -int destinationOffset) +int destinationOffset) +Copies the family to the given byte[] + - + static int copyFamilyTo(Cell cell, http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true"; title="class or interface in java.nio">ByteBuffer destination, -int destinationOffset) +int destinat
[49/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/apidocs/deprecated-list.html -- diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html index 8124883..1b1bec9 100644 --- a/apidocs/deprecated-list.html +++ b/apidocs/deprecated-list.html @@ -327,30 +327,40 @@ +org.apache.hadoop.hbase.CellUtil.cloneTags(Cell) +As of HBase-2.0. Will be removed in HBase-3.0. + + + org.apache.hadoop.hbase.client.Admin.closeRegion(byte[], String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.Admin.closeRegion(ServerName, HRegionInfo) As of release 2.0.0, this will be removed in HBase 3.0.0 (https://issues.apache.org/jira/browse/HBASE-18231";>HBASE-18231). Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.Admin.closeRegion(String, String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). - + org.apache.hadoop.hbase.client.Admin.closeRegionWithEncodedRegionName(String, String) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Admin.unassign(byte[], boolean). + +org.apache.hadoop.hbase.CellUtil.compare(CellComparator, Cell, byte[], int, int) +As of HBase-2.0. Will be removed in HBase-3.0 + + org.apache.hadoop.hbase.filter.CompareFilter.compareFamily(CompareFilter.CompareOp, ByteArrayComparable, Cell) Since 2.0.0. Will be removed in 3.0.0. @@ -390,18 +400,28 @@ +org.apache.hadoop.hbase.CellUtil.copyTagTo(Cell, byte[], int) +As of HBase-2.0. Will be removed in HBase-3.0. + + + +org.apache.hadoop.hbase.CellUtil.copyTagTo(Cell, ByteBuffer, int) +As of HBase-2.0. Will be removed in 3.0. + + + org.apache.hadoop.hbase.mapreduce.CellCreator.create(byte[], int, int, byte[], int, int, byte[], int, int, long, byte[], int, int, String) org.apache.hadoop.hbase.CellUtil.createCell(byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -412,32 +432,32 @@ org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[], byte[], long) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, byte, byte[], long) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], byte[], byte[], long, KeyValue.Type, byte[], byte[]) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead org.apache.hadoop.hbase.CellUtil.createCell(byte[], int, int, byte[], int, int, byte[], int, int) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -586,6 +606,26 @@ +org.apache.hadoop.hbase.CellUtil.equalsIgnoreMvccVersion(Cell, Cell) +As of HBase-2.0. Will be removed in HBase-3.0 + + + +org.apache.hadoop.hbase.CellUtil.estimatedHeapSizeOf(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + + + +org.apache.hadoop.hbase.CellUtil.estimatedSerializedSizeOf(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + + + +org.apache.hadoop.hbase.CellUtil.estimatedSerializedSizeOfKey(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + + + org.apache.hadoop.hbase.client.Admin.execProcedureWithRet(String, String, Map) Since 2.0.0. Will be removed in 3.0.0. Use Admin.execProcedureWithReturn(String, String, Map) } instead. @@ -595,89 +635,119 @@ org.apache.hadoop.hbase.rest.client.RemoteHTable.exists(List ) -org.apache.hadoop.hb
[03/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html index d553f00..545679f 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -296,103 +296,107 @@ service. -private static class -CellUtil.EmptyByteBufferCell +class +IndividualBytesFieldCell -private static class -CellUtil.EmptyCell +class +KeyValue +An HBase Key/Value. + -private static class -CellUtil.FirstOnRowByteBufferCell +static class +KeyValue.KeyOnlyKeyValue +A simple form of KeyValue that creates a keyvalue with only the key part of the byte[] + Mainly used in places where we need to compare two cells. + -private static class -CellUtil.FirstOnRowCell +class +NoTagsByteBufferKeyValue +An extension of the ByteBufferKeyValue where the tags length is always 0 + -private static class -CellUtil.FirstOnRowColByteBufferCell +class +NoTagsKeyValue +An extension of the KeyValue where the tags length is always 0 + private static class -CellUtil.FirstOnRowColCell +PrivateCellUtil.EmptyByteBufferCell +These cells are used in reseeks/seeks to improve the read performance. + private static class -CellUtil.FirstOnRowColTSByteBufferCell +PrivateCellUtil.EmptyCell +These cells are used in reseeks/seeks to improve the read performance. + private static class -CellUtil.FirstOnRowColTSCell +PrivateCellUtil.FirstOnRowByteBufferCell private static class -CellUtil.FirstOnRowDeleteFamilyCell +PrivateCellUtil.FirstOnRowCell private static class -CellUtil.LastOnRowByteBufferCell +PrivateCellUtil.FirstOnRowColByteBufferCell private static class -CellUtil.LastOnRowCell +PrivateCellUtil.FirstOnRowColCell private static class -CellUtil.LastOnRowColByteBufferCell +PrivateCellUtil.FirstOnRowColTSByteBufferCell private static class -CellUtil.LastOnRowColCell +PrivateCellUtil.FirstOnRowColTSCell private static class -CellUtil.TagRewriteByteBufferCell +PrivateCellUtil.FirstOnRowDeleteFamilyCell private static class -CellUtil.TagRewriteCell -This can be used when a Cell has to change with addition/removal of one or more tags. - +PrivateCellUtil.LastOnRowByteBufferCell private static class -CellUtil.ValueAndTagRewriteByteBufferCell +PrivateCellUtil.LastOnRowCell private static class -CellUtil.ValueAndTagRewriteCell +PrivateCellUtil.LastOnRowColByteBufferCell -class -IndividualBytesFieldCell +private static class +PrivateCellUtil.LastOnRowColCell -class -KeyValue -An HBase Key/Value. - +(package private) static class +PrivateCellUtil.TagRewriteByteBufferCell -static class -KeyValue.KeyOnlyKeyValue -A simple form of KeyValue that creates a keyvalue with only the key part of the byte[] - Mainly used in places where we need to compare two cells. +(package private) static class +PrivateCellUtil.TagRewriteCell +This can be used when a Cell has to change with addition/removal of one or more tags. -class -NoTagsByteBufferKeyValue -An extension of the ByteBufferKeyValue where the tags length is always 0 - +(package private) static class +PrivateCellUtil.ValueAndTagRewriteByteBufferCell -class -NoTagsKeyValue -An extension of the KeyValue where the tags length is always 0 - +(package private) static class +PrivateCellUtil.ValueAndTagRewriteCell class @@ -417,7 +421,7 @@ service. protected Cell -CellUtil.TagRewriteCell.cell +PrivateCellUtil.TagRewriteCell.cell @@ -436,8 +440,8 @@ service. static Cell CellUtil.createCell(byte[] row) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -446,8 +450,8 @@ service. CellUtil.createCell(byte[] row, byte[] value) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -471,8 +475,8 @@ service. byte type, byte[] value) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead @@ -487,8 +491,8 @@ service. byte[] tags, long memstoreTS) Deprecated. -As of release 2.0.0, this will be removed in HBase 3.0.0. - Use ExtendedCellBuilder instead +As of release 2.0.0, this will be removed in HBase 3.0.0. Use + ExtendedCellBuilder instead @@ -502,8 +506,8 @@ servic
hbase git commit: HBASE-18922 Fix all dead links in our HBase book
Repository: hbase Updated Branches: refs/heads/master bfaacfdba -> 281bbc40c HBASE-18922 Fix all dead links in our HBase book Signed-off-by: Chia-Ping Tsai Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/281bbc40 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/281bbc40 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/281bbc40 Branch: refs/heads/master Commit: 281bbc40c559e4c570fd76c94d590846dc37d7c6 Parents: bfaacfd Author: Yung-An He Authored: Mon Oct 23 10:44:53 2017 +0800 Committer: Chia-Ping Tsai Committed: Sat Oct 28 21:22:09 2017 +0800 -- src/main/asciidoc/_chapters/architecture.adoc| 10 -- src/main/asciidoc/_chapters/community.adoc | 6 +++--- src/main/asciidoc/_chapters/compression.adoc | 3 +-- src/main/asciidoc/_chapters/configuration.adoc | 2 +- src/main/asciidoc/_chapters/cp.adoc | 6 +++--- src/main/asciidoc/_chapters/datamodel.adoc | 12 ++-- src/main/asciidoc/_chapters/developer.adoc | 16 +++- src/main/asciidoc/_chapters/external_apis.adoc | 4 +++- src/main/asciidoc/_chapters/ops_mgt.adoc | 10 +- src/main/asciidoc/_chapters/other_info.adoc | 14 +- src/main/asciidoc/_chapters/performance.adoc | 9 - src/main/asciidoc/_chapters/protobuf.adoc| 2 +- src/main/asciidoc/_chapters/schema_design.adoc | 9 - src/main/asciidoc/_chapters/security.adoc| 4 ++-- src/main/asciidoc/_chapters/troubleshooting.adoc | 11 +++ src/main/asciidoc/_chapters/unit_testing.adoc| 2 +- src/main/asciidoc/_chapters/upgrading.adoc | 2 +- src/main/asciidoc/_chapters/zookeeper.adoc | 2 +- 18 files changed, 59 insertions(+), 65 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/281bbc40/src/main/asciidoc/_chapters/architecture.adoc -- diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index 8b521df..0f02a79 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -76,7 +76,7 @@ HBase can run quite well stand-alone on a laptop - but this should be considered [[arch.overview.hbasehdfs]] === What Is The Difference Between HBase and Hadoop/HDFS? -link:http://hadoop.apache.org/hdfs/[HDFS] is a distributed file system that is well suited for the storage of large files. +link:https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html[HDFS] is a distributed file system that is well suited for the storage of large files. Its documentation states that it is not, however, a general purpose file system, and does not provide fast individual record lookups in files. HBase, on the other hand, is built on top of HDFS and provides fast record lookups (and updates) for large tables. This can sometimes be a point of conceptual confusion. @@ -119,9 +119,7 @@ If a region has both an empty start and an empty end key, it is the only region In the (hopefully unlikely) event that programmatic processing of catalog metadata -is required, see the -+++http://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/util/Writables.html#getHRegionInfo%28byte%5B%5D%29";>Writables+++ -utility. +is required, see the link:http://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/client/RegionInfo.html#parseFrom-byte:A-[RegionInfo.parseFrom] utility. [[arch.catalog.startup]] === Startup Sequencing @@ -221,7 +219,7 @@ In HBase 2.0 and later, link:http://hbase.apache.org/devapidocs/org/apache/hadoo For additional information on write durability, review the link:/acid-semantics.html[ACID semantics] page. -For fine-grained control of batching of ``Put``s or ``Delete``s, see the link:http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#batch%28java.util.List%29[batch] methods on Table. +For fine-grained control of batching of ``Put``s or ``Delete``s, see the link:http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html#batch-java.util.List-java.lang.Object:A-[batch] methods on Table. [[async.client]] === Asynchronous Client === @@ -2799,7 +2797,7 @@ if (result.isStale()) { === Resources . More information about the design and implementation can be found at the jira issue: link:https://issues.apache.org/jira/browse/HBASE-10070[HBASE-10070] -. HBaseCon 2014 link:http://hbasecon.com/sessions/#session15[talk] also contains some details and link:http://www.slideshare.net/enissoz/hbase-high-availability-for-reads-with-time[slides]. +. HBaseCon 2014 talk: link:http://hbase.apache.org/www.hbasecon.com/#2014-PresentationsRecordings[HBase Read High Avai