| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>MetaTableAccessor (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.hadoop.hbase, class: MetaTableAccessor"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/MetaTableAccessor.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.hadoop.hbase</a></div> |
| <h1 title="Class MetaTableAccessor" class="title">Class MetaTableAccessor</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.hadoop.hbase.MetaTableAccessor</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Private |
| </span><span class="modifiers">public final class </span><span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-88">MetaTableAccessor</a></span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> |
| <div class="block">Read/write operations on <code>hbase:meta</code> region as well as assignment information stored |
| to <code>hbase:meta</code>. |
| <p/> |
| Some of the methods of this class take ZooKeeperWatcher as a param. The only reason for this is |
| when this class is used on client-side (e.g. HBaseAdmin), we want to use short-lived connection |
| (opened before each operation, closed right after), while when used on HM or HRS (like in |
| AssignmentManager) we want permanent connection. |
| <p/> |
| HBASE-10070 adds a replicaId to HRI, meaning more than one HRI can be defined for the same table |
| range (table, startKey, endKey). For every range, there will be at least one HRI defined which is |
| called default replica. |
| <p/> |
| <h2>Meta layout</h2> For each table there is single row named for the table with a 'table' column |
| family. The column family currently has one column in it, the 'state' column: |
| |
| <pre> |
| table:state => contains table state |
| </pre> |
| |
| For the catalog family, see the comments of <a href="CatalogFamilyFormat.html" title="class in org.apache.hadoop.hbase"><code>CatalogFamilyFormat</code></a> for more details. |
| <p/> |
| TODO: Add rep_barrier for serial replication explanation. See SerialReplicationChecker. |
| <p/> |
| The actual layout of meta should be encapsulated inside MetaTableAccessor methods, and should not |
| leak out of it (through Result objects, etc)</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="CatalogFamilyFormat.html" title="class in org.apache.hadoop.hbase"><code>CatalogFamilyFormat</code></a></li> |
| <li><a href="ClientMetaTableAccessor.html" title="class in org.apache.hadoop.hbase"><code>ClientMetaTableAccessor</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>private static final org.slf4j.Logger</code></div> |
| <div class="col-second even-row-color"><code><a href="#LOG" class="member-name-link">LOG</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private static final org.slf4j.Logger</code></div> |
| <div class="col-second odd-row-color"><code><a href="#METALOG" class="member-name-link">METALOG</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>private </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">MetaTableAccessor</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addDaughtersToPut(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">addDaughtersToPut</a><wbr>(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitA, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitB)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Adds split daughters to the Put</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addEmptyLocation(org.apache.hadoop.hbase.client.Put,int)" class="member-name-link">addEmptyLocation</a><wbr>(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| int replicaId)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addLocation(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.ServerName,long,int)" class="member-name-link">addLocation</a><wbr>(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| int replicaId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addRegionInfo(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">addRegionInfo</a><wbr>(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> hri)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addRegionStateToPut(org.apache.hadoop.hbase.client.Put,int,org.apache.hadoop.hbase.master.RegionState.State)" class="member-name-link">addRegionStateToPut</a><wbr>(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put, |
| int replicaId, |
| <a href="master/RegionState.State.html" title="enum class in org.apache.hadoop.hbase.master">RegionState.State</a> state)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Set the column value corresponding to this <code>replicaId</code>'s <a href="master/RegionState.html" title="class in org.apache.hadoop.hbase.master"><code>RegionState</code></a> to the |
| provided <code>state</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addRegionsToMeta(org.apache.hadoop.hbase.client.Connection,java.util.List,int)" class="member-name-link">addRegionsToMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>> regionInfos, |
| int regionReplication)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Adds a hbase:meta row for each of the specified new regions.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addRegionsToMeta(org.apache.hadoop.hbase.client.Connection,java.util.List,int,long)" class="member-name-link">addRegionsToMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>> regionInfos, |
| int regionReplication, |
| long ts)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Adds a hbase:meta row for each of the specified new regions.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#addSplitsToParent(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">addSplitsToParent</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitA, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitB)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Adds daughter region infos to hbase:meta row for the specified region.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#debugLogMutation(org.apache.hadoop.hbase.client.Mutation)" class="member-name-link">debugLogMutation</a><wbr>(<a href="client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a> p)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#debugLogMutations(java.util.List)" class="member-name-link">debugLogMutations</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a>> mutations)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#deleteFromMetaTable(org.apache.hadoop.hbase.client.Connection,java.util.List)" class="member-name-link">deleteFromMetaTable</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Delete the passed <code>deletes</code> from the <code>hbase:meta</code> table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#deleteFromMetaTable(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.Delete)" class="member-name-link">deleteFromMetaTable</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> d)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Delete the passed <code>d</code> from the <code>hbase:meta</code> table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#deleteTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)" class="member-name-link">deleteTableState</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Remove state for table from meta</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fullScan(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType)" class="member-name-link">fullScan</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a full scan of <code>hbase:meta</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fullScanMetaAndPrint(org.apache.hadoop.hbase.client.Connection)" class="member-name-link">fullScanMetaAndPrint</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fullScanRegions(org.apache.hadoop.hbase.client.Connection)" class="member-name-link">fullScanRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for regions.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fullScanRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">fullScanRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for regions.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fullScanTables(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">fullScanTables</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for tables.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getAllRegions(org.apache.hadoop.hbase.client.Connection,boolean)" class="member-name-link">getAllRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| boolean excludeOfflinedSplitParents)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Lists all of the regions currently in META.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getCatalogFamilyRow(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">getCatalogFamilyRow</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns Return the <a href="HConstants.html#CATALOG_FAMILY"><code>HConstants.CATALOG_FAMILY</code></a> row from hbase:meta.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getClosestRegionInfo(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,byte%5B%5D)" class="member-name-link">getClosestRegionInfo</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| byte[] row)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns Get closest metatable region row to passed <code>row</code></div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="util/PairOfSameType.html" title="class in org.apache.hadoop.hbase.util">PairOfSameType</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getDaughterRegions(org.apache.hadoop.hbase.client.Result)" class="member-name-link">getDaughterRegions</a><wbr>(<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> data)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns the daughter regions by reading the corresponding columns of the catalog table Result.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getListOfRegionInfos(java.util.List)" class="member-name-link">getListOfRegionInfos</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>> pairs)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getMetaHTable(org.apache.hadoop.hbase.client.Connection)" class="member-name-link">getMetaHTable</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Callers should call close on the returned <a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> instance.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static <a href="client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getMetaScan(org.apache.hadoop.conf.Configuration,int)" class="member-name-link">getMetaScan</a><wbr>(org.apache.hadoop.conf.Configuration conf, |
| int rowUpperLimit)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#getRegion(org.apache.hadoop.hbase.client.Connection,byte%5B%5D)" class="member-name-link">getRegion</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] regionName)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"> |
| <div class="block"><span class="deprecated-label">Deprecated.</span> |
| <div class="deprecation-comment">use <a href="#getRegionLocation(org.apache.hadoop.hbase.client.Connection,byte%5B%5D)"><code>getRegionLocation(Connection, byte[])</code></a> instead</div> |
| </div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getRegionLocation(org.apache.hadoop.hbase.client.Connection,byte%5B%5D)" class="member-name-link">getRegionLocation</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] regionName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns the HRegionLocation from meta for the given region</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getRegionLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">getRegionLocation</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns the HRegionLocation from meta for the given region</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getRegionResult(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">getRegionResult</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Gets the result in hbase:meta for the specified region.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getScanForTableName(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.TableName)" class="member-name-link">getScanForTableName</a><wbr>(org.apache.hadoop.conf.Configuration conf, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">This method creates a Scan object that will only scan catalog rows that belong to the specified |
| table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)" class="member-name-link">getTableRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Gets all of the regions of the specified table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,boolean)" class="member-name-link">getTableRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| boolean excludeOfflinedSplitParents)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Gets all of the regions of the specified table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)" class="member-name-link">getTableRegionsAndLocations</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Do not use this method to get meta table regions, use methods in MetaTableLocator instead.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,boolean)" class="member-name-link">getTableRegionsAndLocations</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| boolean excludeOfflinedSplitParents)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Do not use this method to get meta table regions, use methods in MetaTableLocator instead.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)" class="member-name-link">getTableState</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Fetch table state for given table from META table</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<wbr><a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTableStates(org.apache.hadoop.hbase.client.Connection)" class="member-name-link">getTableStates</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Fetch table states from META table</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTargetServerName(org.apache.hadoop.hbase.client.Result,int)" class="member-name-link">getTargetServerName</a><wbr>(<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> r, |
| int replicaId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns the <a href="ServerName.html" title="class in org.apache.hadoop.hbase"><code>ServerName</code></a> from catalog table <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client"><code>Result</code></a> where the region is |
| transitioning on.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#makeDeleteFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo,long)" class="member-name-link">makeDeleteFromRegionInfo</a><wbr>(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| long ts)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Generates and returns a Delete containing the region info for the catalog table</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#makePutFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo)" class="member-name-link">makePutFromRegionInfo</a><wbr>(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Generates and returns a <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> containing the <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a> for the catalog table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#makePutFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo,long)" class="member-name-link">makePutFromRegionInfo</a><wbr>(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| long ts)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Generates and returns a <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> containing the <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a> for the catalog table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#makePutFromTableState(org.apache.hadoop.hbase.client.TableState,long)" class="member-name-link">makePutFromTableState</a><wbr>(<a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a> state, |
| long ts)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Construct PUT for given state</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#put(org.apache.hadoop.hbase.client.Table,org.apache.hadoop.hbase.client.Put)" class="member-name-link">put</a><wbr>(<a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> t, |
| <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#putsToMetaTable(org.apache.hadoop.hbase.client.Connection,java.util.List)" class="member-name-link">putsToMetaTable</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> ps)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Put the passed <code>ps</code> to the <code>hbase:meta</code> table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#putToMetaTable(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.Put)" class="member-name-link">putToMetaTable</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Put the passed <code>p</code> to the <code>hbase:meta</code> table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanByRegionEncodedName(org.apache.hadoop.hbase.client.Connection,java.lang.String)" class="member-name-link">scanByRegionEncodedName</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> regionEncodedName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Scans META table for a row whose key contains the specified <B>regionEncodedName</B>, returning |
| a single related <code>Result</code> instance if any row is found, null otherwise.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMeta(org.apache.hadoop.hbase.client.Connection,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">scanMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] startRow, |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a scan of META table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMeta(org.apache.hadoop.hbase.client.Connection,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">scanMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] startRow, |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMeta(org.apache.hadoop.hbase.client.Connection,byte%5B%5D,byte%5B%5D,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,org.apache.hadoop.hbase.filter.Filter,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">scanMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] startRow, |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| <a href="filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMeta(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor,org.apache.hadoop.hbase.TableName,byte%5B%5D,int)" class="member-name-link">scanMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| byte[] row, |
| int rowLimit)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Performs a scan of META table for given table starting from given row.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMeta(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)" class="member-name-link">scanMeta</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#scanMetaForTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor,org.apache.hadoop.hbase.TableName)" class="member-name-link">scanMetaForTableRegions</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#updateLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName,long,long)" class="member-name-link">updateLocation</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| long masterSystemTime)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Updates the location of the specified region to be the specified server.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#updateRegionLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName,long,long)" class="member-name-link">updateRegionLocation</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| long masterSystemTime)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Updates the location of the specified region in hbase:meta to be the specified server hostname |
| and startcode.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#updateRegionState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.master.RegionState.State)" class="member-name-link">updateRegionState</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri, |
| <a href="master/RegionState.State.html" title="enum class in org.apache.hadoop.hbase.master">RegionState.State</a> state)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Update state column in hbase:meta.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>private static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#updateTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.TableState)" class="member-name-link">updateTableState</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a> state)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Update state of the table in meta.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#updateTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.TableState.State)" class="member-name-link">updateTableState</a><wbr>(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="client/TableState.State.html" title="enum class in org.apache.hadoop.hbase.client">TableState.State</a> actual)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Updates state in META Do not use.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="LOG"> |
| <h3>LOG</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">org.slf4j.Logger</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-91">LOG</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="METALOG"> |
| <h3>METALOG</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">org.slf4j.Logger</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-92">METALOG</a></span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>MetaTableAccessor</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-94">MetaTableAccessor</a></span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="fullScanRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>fullScanRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-106">fullScanRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for regions.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>visitor</code> - Visitor invoked against each row in regions family.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="fullScanRegions(org.apache.hadoop.hbase.client.Connection)"> |
| <h3>fullScanRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-115">fullScanRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for regions.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="fullScanTables(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>fullScanTables</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-124">fullScanTables</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a full scan of <code>hbase:meta</code> for tables.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>visitor</code> - Visitor invoked against each row in tables family.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="fullScan(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType)"> |
| <h3>fullScan</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-135">fullScan</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a full scan of <code>hbase:meta</code>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>type</code> - scanned part of meta</dd> |
| <dt>Returns:</dt> |
| <dd>List of <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client"><code>Result</code></a></dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMetaHTable(org.apache.hadoop.hbase.client.Connection)"> |
| <h3>getMetaHTable</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-147">getMetaHTable</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Callers should call close on the returned <a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> instance.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using to access Meta</dd> |
| <dt>Returns:</dt> |
| <dd>An <a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> for <code>hbase:meta</code></dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NullPointerException.html" title="class or interface in java.lang" class="external-link">NullPointerException</a></code> - if <code>connection</code> is <code>null</code></dd> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRegion(org.apache.hadoop.hbase.client.Connection,byte[])"> |
| <h3>getRegion</h3> |
| <div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a> |
| </span><span class="modifiers">public static</span> <span class="return-type"><a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-163">getRegion</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] regionName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="deprecation-block"><span class="deprecated-label">Deprecated.</span> |
| <div class="deprecation-comment">use <a href="#getRegionLocation(org.apache.hadoop.hbase.client.Connection,byte%5B%5D)"><code>getRegionLocation(Connection, byte[])</code></a> instead</div> |
| </div> |
| <div class="block">Gets the region info and assignment for the specified region.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionName</code> - Region to lookup.</dd> |
| <dt>Returns:</dt> |
| <dd>Location and RegionInfo for <code>regionName</code></dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRegionLocation(org.apache.hadoop.hbase.client.Connection,byte[])"> |
| <h3>getRegionLocation</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-176">getRegionLocation</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| byte[] regionName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Returns the HRegionLocation from meta for the given region</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionName</code> - region we're looking for</dd> |
| <dt>Returns:</dt> |
| <dd>HRegionLocation for the given region</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRegionLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>getRegionLocation</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-205">getRegionLocation</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Returns the HRegionLocation from meta for the given region</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfo</code> - region information</dd> |
| <dt>Returns:</dt> |
| <dd>HRegionLocation for the given region</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCatalogFamilyRow(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>getCatalogFamilyRow</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-212">getCatalogFamilyRow</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Returns Return the <a href="HConstants.html#CATALOG_FAMILY"><code>HConstants.CATALOG_FAMILY</code></a> row from hbase:meta.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRegionResult(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>getRegionResult</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-227">getRegionResult</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Gets the result in hbase:meta for the specified region.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfo</code> - region we're looking for</dd> |
| <dt>Returns:</dt> |
| <dd>result of the specified region</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanByRegionEncodedName(org.apache.hadoop.hbase.client.Connection,java.lang.String)"> |
| <h3>scanByRegionEncodedName</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-244">scanByRegionEncodedName</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> regionEncodedName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Scans META table for a row whose key contains the specified <B>regionEncodedName</B>, returning |
| a single related <code>Result</code> instance if any row is found, null otherwise.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - the connection to query META table.</dd> |
| <dd><code>regionEncodedName</code> - the region encoded name to look for at META.</dd> |
| <dt>Returns:</dt> |
| <dd><code>Result</code> instance with the row related info in META, null otherwise.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if any errors occur while querying META.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getAllRegions(org.apache.hadoop.hbase.client.Connection,boolean)"> |
| <h3>getAllRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-263">getAllRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| boolean excludeOfflinedSplitParents)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Lists all of the regions currently in META.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - to connect with</dd> |
| <dd><code>excludeOfflinedSplitParents</code> - False if we are to include offlined/splitparents regions, |
| true and we'll leave out offlined regions from returned list</dd> |
| <dt>Returns:</dt> |
| <dd>List of all user-space regions.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)"> |
| <h3>getTableRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-280">getTableRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Gets all of the regions of the specified table. Do not use this method to get meta table |
| regions, use methods in MetaTableLocator instead.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>tableName</code> - table we're looking for</dd> |
| <dt>Returns:</dt> |
| <dd>Ordered list of <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a>.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,boolean)"> |
| <h3>getTableRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-294">getTableRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| boolean excludeOfflinedSplitParents)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Gets all of the regions of the specified table. Do not use this method to get meta table |
| regions, use methods in MetaTableLocator instead.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>tableName</code> - table we're looking for</dd> |
| <dd><code>excludeOfflinedSplitParents</code> - If true, do not include offlined split parents in the |
| return.</dd> |
| <dt>Returns:</dt> |
| <dd>Ordered list of <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a>.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getListOfRegionInfos(java.util.List)"> |
| <h3>getListOfRegionInfos</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-301">getListOfRegionInfos</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>> pairs)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getScanForTableName(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.TableName)"> |
| <h3>getScanForTableName</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-320">getScanForTableName</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</span></div> |
| <div class="block">This method creates a Scan object that will only scan catalog rows that belong to the specified |
| table. It doesn't specify any columns. This is a better alternative to just using a start row |
| and scan until it hits a new table since that requires parsing the HRI to get the table name.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>tableName</code> - bytes of table's name</dd> |
| <dt>Returns:</dt> |
| <dd>configured Scan object</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMetaScan(org.apache.hadoop.conf.Configuration,int)"> |
| <h3>getMetaScan</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type"><a href="client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-332">getMetaScan</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf, |
| int rowUpperLimit)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)"> |
| <h3>getTableRegionsAndLocations</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-353">getTableRegionsAndLocations</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Do not use this method to get meta table regions, use methods in MetaTableLocator instead.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>tableName</code> - table we're looking for</dd> |
| <dt>Returns:</dt> |
| <dd>Return list of regioninfos and server.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,boolean)"> |
| <h3>getTableRegionsAndLocations</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>,<wbr><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-366">getTableRegionsAndLocations</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| @Nullable |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| boolean excludeOfflinedSplitParents)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Do not use this method to get meta table regions, use methods in MetaTableLocator instead.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>tableName</code> - table to work with, can be null for getting all regions</dd> |
| <dd><code>excludeOfflinedSplitParents</code> - don't return split parents</dd> |
| <dt>Returns:</dt> |
| <dd>Return list of regioninfos and server addresses.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="fullScanMetaAndPrint(org.apache.hadoop.hbase.client.Connection)"> |
| <h3>fullScanMetaAndPrint</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-383">fullScanMetaAndPrint</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMetaForTableRegions(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor,org.apache.hadoop.hbase.TableName)"> |
| <h3>scanMetaForTableRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-408">scanMetaForTableRegions</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMeta(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>scanMeta</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-413">scanMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMeta(org.apache.hadoop.hbase.client.Connection,byte[],byte[],org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>scanMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-419">scanMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| @Nullable |
| byte[] startRow, |
| @Nullable |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMeta(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor,org.apache.hadoop.hbase.TableName,byte[],int)"> |
| <h3>scanMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-433">scanMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| byte[] row, |
| int rowLimit)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a scan of META table for given table starting from given row.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>visitor</code> - visitor to call</dd> |
| <dd><code>tableName</code> - table withing we scan</dd> |
| <dd><code>row</code> - start scan from this row</dd> |
| <dd><code>rowLimit</code> - max number of rows to return</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMeta(org.apache.hadoop.hbase.client.Connection,byte[],byte[],org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>scanMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-458">scanMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| @Nullable |
| byte[] startRow, |
| @Nullable |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Performs a scan of META table.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>startRow</code> - Where to start the scan. Pass null if want to begin scan at first row.</dd> |
| <dd><code>stopRow</code> - Where to stop the scan. Pass null if want to scan all rows from the start one</dd> |
| <dd><code>type</code> - scanned part of meta</dd> |
| <dd><code>maxRows</code> - maximum rows to return</dd> |
| <dd><code>visitor</code> - Visitor invoked against each row.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanMeta(org.apache.hadoop.hbase.client.Connection,byte[],byte[],org.apache.hadoop.hbase.ClientMetaTableAccessor.QueryType,org.apache.hadoop.hbase.filter.Filter,int,org.apache.hadoop.hbase.ClientMetaTableAccessor.Visitor)"> |
| <h3>scanMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-464">scanMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| @Nullable |
| byte[] startRow, |
| @Nullable |
| byte[] stopRow, |
| <a href="ClientMetaTableAccessor.QueryType.html" title="enum class in org.apache.hadoop.hbase">ClientMetaTableAccessor.QueryType</a> type, |
| @Nullable |
| <a href="filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter, |
| int maxRows, |
| <a href="ClientMetaTableAccessor.Visitor.html" title="interface in org.apache.hadoop.hbase">ClientMetaTableAccessor.Visitor</a> visitor)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getClosestRegionInfo(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,byte[])"> |
| <h3>getClosestRegionInfo</h3> |
| <div class="member-signature"><span class="annotations">@NonNull |
| </span><span class="modifiers">private static</span> <span class="return-type"><a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-518">getClosestRegionInfo</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| @NonNull |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| @NonNull |
| byte[] row)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Returns Get closest metatable region row to passed <code>row</code></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTargetServerName(org.apache.hadoop.hbase.client.Result,int)"> |
| <h3>getTargetServerName</h3> |
| <div class="member-signature"><span class="annotations">@Nullable |
| </span><span class="modifiers">public static</span> <span class="return-type"><a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-548">getTargetServerName</a></span><wbr><span class="parameters">(<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> r, |
| int replicaId)</span></div> |
| <div class="block">Returns the <a href="ServerName.html" title="class in org.apache.hadoop.hbase"><code>ServerName</code></a> from catalog table <a href="client/Result.html" title="class in org.apache.hadoop.hbase.client"><code>Result</code></a> where the region is |
| transitioning on. It should be the same as |
| <a href="CatalogFamilyFormat.html#getServerName(org.apache.hadoop.hbase.client.Result,int)"><code>CatalogFamilyFormat.getServerName(Result,int)</code></a> if the server is at OPEN state.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>r</code> - Result to pull the transitioning server name from</dd> |
| <dt>Returns:</dt> |
| <dd>A ServerName instance or <a href="CatalogFamilyFormat.html#getServerName(org.apache.hadoop.hbase.client.Result,int)"><code>CatalogFamilyFormat.getServerName(Result,int)</code></a> if |
| necessary fields not found or empty.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDaughterRegions(org.apache.hadoop.hbase.client.Result)"> |
| <h3>getDaughterRegions</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="util/PairOfSameType.html" title="class in org.apache.hadoop.hbase.util">PairOfSameType</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-571">getDaughterRegions</a></span><wbr><span class="parameters">(<a href="client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> data)</span></div> |
| <div class="block">Returns the daughter regions by reading the corresponding columns of the catalog table Result.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>data</code> - a Result object from the catalog table scan</dd> |
| <dt>Returns:</dt> |
| <dd>pair of RegionInfo or PairOfSameType(null, null) if region is not a split parent</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)"> |
| <h3>getTableState</h3> |
| <div class="member-signature"><span class="annotations">@Nullable |
| </span><span class="modifiers">public static</span> <span class="return-type"><a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-582">getTableState</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Fetch table state for given table from META table</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>conn</code> - connection to use</dd> |
| <dd><code>tableName</code> - table to fetch state for</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTableStates(org.apache.hadoop.hbase.client.Connection)"> |
| <h3>getTableStates</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<wbr><a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a>></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-599">getTableStates</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Fetch table states from META table</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>conn</code> - connection to use</dd> |
| <dt>Returns:</dt> |
| <dd>map {tableName -> state}</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.TableState.State)"> |
| <h3>updateTableState</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-617">updateTableState</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="client/TableState.State.html" title="enum class in org.apache.hadoop.hbase.client">TableState.State</a> actual)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Updates state in META Do not use. For internal use only.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>conn</code> - connection to use</dd> |
| <dd><code>tableName</code> - table to look for</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="makePutFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>makePutFromRegionInfo</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-630">makePutFromRegionInfo</a></span><wbr><span class="parameters">(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Generates and returns a <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> containing the <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a> for the catalog table.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - when the provided RegionInfo is not the default replica.</dd> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="makePutFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo,long)"> |
| <h3>makePutFromRegionInfo</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-638">makePutFromRegionInfo</a></span><wbr><span class="parameters">(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| long ts)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Generates and returns a <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> containing the <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a> for the catalog table.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - when the provided RegionInfo is not the default replica.</dd> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="makeDeleteFromRegionInfo(org.apache.hadoop.hbase.client.RegionInfo,long)"> |
| <h3>makeDeleteFromRegionInfo</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-646">makeDeleteFromRegionInfo</a></span><wbr><span class="parameters">(<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| long ts)</span></div> |
| <div class="block">Generates and returns a Delete containing the region info for the catalog table</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addDaughtersToPut(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>addDaughtersToPut</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-662">addDaughtersToPut</a></span><wbr><span class="parameters">(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitA, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitB)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Adds split daughters to the Put</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="putToMetaTable(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.Put)"> |
| <h3>putToMetaTable</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-684">putToMetaTable</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Put the passed <code>p</code> to the <code>hbase:meta</code> table.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>p</code> - Put to add to hbase:meta</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="put(org.apache.hadoop.hbase.client.Table,org.apache.hadoop.hbase.client.Put)"> |
| <h3>put</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-694">put</a></span><wbr><span class="parameters">(<a href="client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> t, |
| <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>t</code> - Table to use</dd> |
| <dd><code>p</code> - put to make</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="putsToMetaTable(org.apache.hadoop.hbase.client.Connection,java.util.List)"> |
| <h3>putsToMetaTable</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-704">putsToMetaTable</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> ps)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Put the passed <code>ps</code> to the <code>hbase:meta</code> table.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>ps</code> - Put to add to hbase:meta</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFromMetaTable(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.Delete)"> |
| <h3>deleteFromMetaTable</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-725">deleteFromMetaTable</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> d)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Delete the passed <code>d</code> from the <code>hbase:meta</code> table.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>d</code> - Delete to add to hbase:meta</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFromMetaTable(org.apache.hadoop.hbase.client.Connection,java.util.List)"> |
| <h3>deleteFromMetaTable</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-737">deleteFromMetaTable</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Delete the passed <code>deletes</code> from the <code>hbase:meta</code> table.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>deletes</code> - Deletes to add to hbase:meta This list should support #remove.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addRegionStateToPut(org.apache.hadoop.hbase.client.Put,int,org.apache.hadoop.hbase.master.RegionState.State)"> |
| <h3>addRegionStateToPut</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-749">addRegionStateToPut</a></span><wbr><span class="parameters">(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put, |
| int replicaId, |
| <a href="master/RegionState.State.html" title="enum class in org.apache.hadoop.hbase.master">RegionState.State</a> state)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Set the column value corresponding to this <code>replicaId</code>'s <a href="master/RegionState.html" title="class in org.apache.hadoop.hbase.master"><code>RegionState</code></a> to the |
| provided <code>state</code>. Mutates the provided <a href="client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a>.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateRegionState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.master.RegionState.State)"> |
| <h3>updateRegionState</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-762">updateRegionState</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri, |
| <a href="master/RegionState.State.html" title="enum class in org.apache.hadoop.hbase.master">RegionState.State</a> state)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Update state column in hbase:meta.</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addSplitsToParent(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>addSplitsToParent</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-782">addSplitsToParent</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitA, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> splitB)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Adds daughter region infos to hbase:meta row for the specified region. |
| <p/> |
| Note that this does not add its daughter's as different rows, but adds information about the |
| daughters in the same row as the parent. Now only used in snapshot. Use |
| <a href="master/assignment/RegionStateStore.html" title="class in org.apache.hadoop.hbase.master.assignment"><code>RegionStateStore</code></a> if you want to split a |
| region.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfo</code> - RegionInfo of parent region</dd> |
| <dd><code>splitA</code> - first split daughter of the parent regionInfo</dd> |
| <dd><code>splitB</code> - second split daughter of the parent regionInfo</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if problem connecting or updating meta</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addRegionsToMeta(org.apache.hadoop.hbase.client.Connection,java.util.List,int)"> |
| <h3>addRegionsToMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-800">addRegionsToMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>> regionInfos, |
| int regionReplication)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Adds a hbase:meta row for each of the specified new regions. Initial state for new regions is |
| CLOSED.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfos</code> - region information list</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if problem connecting or updating meta</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addRegionsToMeta(org.apache.hadoop.hbase.client.Connection,java.util.List,int,long)"> |
| <h3>addRegionsToMeta</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-814">addRegionsToMeta</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>> regionInfos, |
| int regionReplication, |
| long ts)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Adds a hbase:meta row for each of the specified new regions. Initial state for new regions is |
| CLOSED.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfos</code> - region information list</dd> |
| <dd><code>ts</code> - desired timestamp</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if problem connecting or updating meta</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.TableState)"> |
| <h3>updateTableState</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-840">updateTableState</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a> state)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Update state of the table in meta.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - what we use for update</dd> |
| <dd><code>state</code> - new state</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="makePutFromTableState(org.apache.hadoop.hbase.client.TableState,long)"> |
| <h3>makePutFromTableState</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-850">makePutFromTableState</a></span><wbr><span class="parameters">(<a href="client/TableState.html" title="class in org.apache.hadoop.hbase.client">TableState</a> state, |
| long ts)</span></div> |
| <div class="block">Construct PUT for given state</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>state</code> - new state</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteTableState(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.TableName)"> |
| <h3>deleteTableState</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-862">deleteTableState</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Remove state for table from meta</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - to use for deletion</dd> |
| <dd><code>table</code> - to delete state for</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateRegionLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName,long,long)"> |
| <h3>updateRegionLocation</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-882">updateRegionLocation</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| long masterSystemTime)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Updates the location of the specified region in hbase:meta to be the specified server hostname |
| and startcode. |
| <p> |
| Uses passed catalog tracker to get a connection to the server hosting hbase:meta and makes |
| edits to that region.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfo</code> - region to update location of</dd> |
| <dd><code>openSeqNum</code> - the latest sequence number obtained when the region was open</dd> |
| <dd><code>sn</code> - Server name</dd> |
| <dd><code>masterSystemTime</code> - wall clock time from master if passed in the open region RPC</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateLocation(org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName,long,long)"> |
| <h3>updateLocation</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-900">updateLocation</a></span><wbr><span class="parameters">(<a href="client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| long masterSystemTime)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Updates the location of the specified region to be the specified server. |
| <p> |
| Connects to the specified server which should be hosting the specified catalog region name to |
| perform the edit.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - connection we're using</dd> |
| <dd><code>regionInfo</code> - region to update location of</dd> |
| <dd><code>sn</code> - Server name</dd> |
| <dd><code>openSeqNum</code> - the latest sequence number obtained when the region was open</dd> |
| <dd><code>masterSystemTime</code> - wall clock time from master if passed in the open region RPC</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - In particular could throw <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/ConnectException.html" title="class or interface in java.net" class="external-link"><code>ConnectException</code></a> if the server |
| is down on other end.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addRegionInfo(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.client.RegionInfo)"> |
| <h3>addRegionInfo</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-910">addRegionInfo</a></span><wbr><span class="parameters">(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| <a href="client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> hri)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addLocation(org.apache.hadoop.hbase.client.Put,org.apache.hadoop.hbase.ServerName,long,int)"> |
| <h3>addLocation</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-922">addLocation</a></span><wbr><span class="parameters">(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| <a href="ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, |
| long openSeqNum, |
| int replicaId)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addEmptyLocation(org.apache.hadoop.hbase.client.Put,int)"> |
| <h3>addEmptyLocation</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-938">addEmptyLocation</a></span><wbr><span class="parameters">(<a href="client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> p, |
| int replicaId)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="debugLogMutations(java.util.List)"> |
| <h3>debugLogMutations</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-952">debugLogMutations</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a>> mutations)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="debugLogMutation(org.apache.hadoop.hbase.client.Mutation)"> |
| <h3>debugLogMutation</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../src-html/org/apache/hadoop/hbase/MetaTableAccessor.html#line-963">debugLogMutation</a></span><wbr><span class="parameters">(<a href="client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a> p)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |