http://git-wip-us.apache.org/repos/asf/hbase-site/blob/7cf0bad8/apidocs/org/apache/hadoop/hbase/client/Connection.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/Connection.html b/apidocs/org/apache/hadoop/hbase/client/Connection.html index 46ea826..be87060 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Connection.html +++ b/apidocs/org/apache/hadoop/hbase/client/Connection.html @@ -2,24 +2,38 @@ <!-- NewPage --> <html lang="en"> <head> +<!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Connection (Apache HBase 2.0.0-SNAPSHOT API)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Connection (Apache HBase 2.0.0-SNAPSHOT API)"; + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Connection (Apache HBase 2.0.0-SNAPSHOT API)"; + } + } + catch(err) { } //--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> +<div class="topNav"><a name="navbar.top"> <!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -35,15 +49,15 @@ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Connection.html" target="_top">Frames</a></li> -<li><a href="Connection.html" target="_top">No Frames</a></li> +<li><a href="Connection.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -63,16 +77,16 @@ <li>Nested | </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method_summary">Method</a></li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method_detail">Method</a></li> +<li><a href="#method.detail">Method</a></li> </ul> </div> -<a name="skip-navbar_top"> +<a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> @@ -87,17 +101,17 @@ <li class="blockList"> <dl> <dt>All Superinterfaces:</dt> -<dd>org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></dd> +<dd>org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></dd> </dl> <hr> <br> <pre>@InterfaceAudience.Public -@InterfaceStability.Evolving + @InterfaceStability.Evolving public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.54">Connection</a> -extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> +extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> <div class="block">A cluster connection encapsulating lower level individual connections to actual servers and a connection to zookeeper. Connections are instantiated through the <a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a> - class. The lifecycle of the connection is managed by the caller, who has to <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>close()</code></a> + class. The lifecycle of the connection is managed by the caller, who has to <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>close()</code></a> the connection to release the resources. <p> The connection object contains logic to find the master, locate regions out on the cluster, @@ -111,9 +125,12 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas thread-safe. Typically, a single connection per client application is instantiated and every thread will obtain its own Table instance. Caching or pooling of <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> and <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client"><code>Admin</code></a> is not recommended.</div> -<dl><dt><span class="strong">Since:</span></dt> - <dd>0.99.0</dd> -<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a></dd></dl> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>0.99.0</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a></dd> +</dl> </li> </ul> </div> @@ -122,71 +139,71 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> -<li class="blockList"><a name="method_summary"> +<li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> -<tr class="altColor"> +<tr id="i0" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()">close</a></strong>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--">close</a></span>()</code> </td> </tr> -<tr class="rowColor"> +<tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client">Admin</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getAdmin()">getAdmin</a></strong>()</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getAdmin--">getAdmin</a></span>()</code> <div class="block">Retrieve an Admin implementation to administer an HBase cluster.</div> </td> </tr> -<tr class="altColor"> +<tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">BufferedMutator</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams)">getBufferedMutator</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutatorParams.html" title="class in org.apache.hadoop.hbase.client">BufferedMutatorParams</a> params)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getBufferedMutator-org.apache.hadoop.hbase.client.BufferedMutatorParams-">getBufferedMutator</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutatorParams.html" title="class in org.apache.hadoop.hbase.client">BufferedMutatorParams</a> params)</code> <div class="block">Retrieve a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for performing client-side buffering of writes.</div> </td> </tr> -<tr class="rowColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">BufferedMutator</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getBufferedMutator(org.apache.hadoop.hbase.TableName)">getBufferedMutator</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getBufferedMutator-org.apache.hadoop.hbase.TableName-">getBufferedMutator</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block"> Retrieve a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for performing client-side buffering of writes.</div> </td> </tr> -<tr class="altColor"> +<tr id="i4" class="altColor"> <td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getConfiguration()">getConfiguration</a></strong>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getConfiguration--">getConfiguration</a></span>()</code> </td> </tr> -<tr class="rowColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getRegionLocator(org.apache.hadoop.hbase.TableName)">getRegionLocator</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getRegionLocator-org.apache.hadoop.hbase.TableName-">getRegionLocator</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Retrieve a RegionLocator implementation to inspect region information on a table.</div> </td> </tr> -<tr class="altColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable(org.apache.hadoop.hbase.TableName)">getTable</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable-org.apache.hadoop.hbase.TableName-">getTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Retrieve a Table implementation for accessing a table.</div> </td> </tr> -<tr class="rowColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable(org.apache.hadoop.hbase.TableName,%20java.util.concurrent.ExecutorService)">getTable</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable-org.apache.hadoop.hbase.TableName-java.util.concurrent.ExecutorService-">getTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</code> <div class="block">Retrieve a Table implementation for accessing a table.</div> </td> </tr> -<tr class="altColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#isClosed()">isClosed</a></strong>()</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#isClosed--">isClosed</a></span>()</code> <div class="block">Returns whether the connection is closed or not.</div> </td> </tr> </table> <ul class="blockList"> -<li class="blockList"><a name="methods_inherited_from_class_org.apache.hadoop.hbase.Abortable"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.Abortable"> <!-- --> </a> <h3>Methods inherited from interface org.apache.hadoop.hbase.Abortable</h3> @@ -202,177 +219,205 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> -<li class="blockList"><a name="method_detail"> +<li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> -<a name="getConfiguration()"> +<a name="getConfiguration--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getConfiguration</h4> <pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.69">getConfiguration</a>()</pre> -<dl><dt><span class="strong">Returns:</span></dt><dd>Configuration instance being used by this Connection instance.</dd></dl> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Configuration instance being used by this Connection instance.</dd> +</dl> </li> </ul> -<a name="getTable(org.apache.hadoop.hbase.TableName)"> +<a name="getTable-org.apache.hadoop.hbase.TableName-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTable</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.86">getTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Retrieve a Table implementation for accessing a table. The returned Table is not thread safe, a new instance should be created for each using thread. This is a lightweight operation, pooling or caching of the returned Table is neither required nor desired. <p> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close()"><code>Table.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--"><code>Table.close()</code></a> on the returned table instance. <p> Since 0.98.1 this method no longer checks table existence. An exception will be thrown if the table does not exist only when the first operation is attempted.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd> -<dt><span class="strong">Returns:</span></dt><dd>a Table to use for interactions with this table</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tableName</code> - the name of the table</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a Table to use for interactions with this table</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="getTable(org.apache.hadoop.hbase.TableName, java.util.concurrent.ExecutorService)"> +<a name="getTable-org.apache.hadoop.hbase.TableName-java.util.concurrent.ExecutorService-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTable</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.105">getTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Retrieve a Table implementation for accessing a table. The returned Table is not thread safe, a new instance should be created for each using thread. This is a lightweight operation, pooling or caching of the returned Table is neither required nor desired. <p> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close()"><code>Table.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--"><code>Table.close()</code></a> on the returned table instance. <p> Since 0.98.1 this method no longer checks table existence. An exception will be thrown if the table does not exist only when the first operation is attempted.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>pool</code> - The thread pool to use for batch operations, null to use a default pool.</dd> -<dt><span class="strong">Returns:</span></dt><dd>a Table to use for interactions with this table</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tableName</code> - the name of the table</dd> +<dd><code>pool</code> - The thread pool to use for batch operations, null to use a default pool.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a Table to use for interactions with this table</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="getBufferedMutator(org.apache.hadoop.hbase.TableName)"> +<a name="getBufferedMutator-org.apache.hadoop.hbase.TableName-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBufferedMutator</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">BufferedMutator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.125">getBufferedMutator</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><p> Retrieve a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for performing client-side buffering of writes. The <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> returned by this method is thread-safe. This BufferedMutator will use the Connection's ExecutorService. This object can be used for long lived operations. </p> <p> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html#close()"><code>BufferedMutator.close()</code></a> on + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html#close--"><code>BufferedMutator.close()</code></a> on the returned <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> instance. </p> <p> This accessor will use the connection's ExecutorService and will throw an exception in the main thread when an asynchronous exception occurs.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd> -<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for the supplied tableName.</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tableName</code> - the name of the table</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for the supplied tableName.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams)"> +<a name="getBufferedMutator-org.apache.hadoop.hbase.client.BufferedMutatorParams-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBufferedMutator</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client">BufferedMutator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.136">getBufferedMutator</a>(<a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutatorParams.html" title="class in org.apache.hadoop.hbase.client">BufferedMutatorParams</a> params) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Retrieve a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for performing client-side buffering of writes. The <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> returned by this method is thread-safe. This object can be used for long lived table operations. The caller is responsible for calling - <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html#close()"><code>BufferedMutator.close()</code></a> on the returned <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> instance.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>params</code> - details on how to instantiate the <code>BufferedMutator</code>.</dd> -<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for the supplied tableName.</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> + <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html#close--"><code>BufferedMutator.close()</code></a> on the returned <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> instance.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>params</code> - details on how to instantiate the <code>BufferedMutator</code>.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a <a href="../../../../../org/apache/hadoop/hbase/client/BufferedMutator.html" title="interface in org.apache.hadoop.hbase.client"><code>BufferedMutator</code></a> for the supplied tableName.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="getRegionLocator(org.apache.hadoop.hbase.TableName)"> +<a name="getRegionLocator-org.apache.hadoop.hbase.TableName-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRegionLocator</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.153">getRegionLocator</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Retrieve a RegionLocator implementation to inspect region information on a table. The returned RegionLocator is not thread-safe, so a new instance should be created for each using thread. This is a lightweight operation. Pooling or caching of the returned RegionLocator is neither required nor desired. <br> - The caller is responsible for calling <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io"><code>Closeable.close()</code></a> on the returned + The caller is responsible for calling <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io"><code>Closeable.close()</code></a> on the returned RegionLocator instance. RegionLocator needs to be unmanaged</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - Name of the table who's region is to be examined</dd> -<dt><span class="strong">Returns:</span></dt><dd>A RegionLocator instance</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tableName</code> - Name of the table who's region is to be examined</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A RegionLocator instance</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="getAdmin()"> +<a name="getAdmin--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAdmin</h4> <pre><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client">Admin</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.166">getAdmin</a>() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Retrieve an Admin implementation to administer an HBase cluster. The returned Admin is not guaranteed to be thread-safe. A new instance should be created for each using thread. This is a lightweight operation. Pooling or caching of the returned Admin is not recommended. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#close()"><code>Admin.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#close--"><code>Admin.close()</code></a> on the returned Admin instance.</div> -<dl><dt><span class="strong">Returns:</span></dt><dd>an Admin instance for cluster administration</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an Admin instance for cluster administration</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="close()"> +<a name="close--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>close</h4> <pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.169">close</a>() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> -<dt><strong>Specified by:</strong></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> -<dt><strong>Specified by:</strong></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="isClosed()"> +<a name="isClosed--"> <!-- --> </a> <ul class="blockListLast"> @@ -380,7 +425,10 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas <h4>isClosed</h4> <pre>boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Connection.html#line.175">isClosed</a>()</pre> <div class="block">Returns whether the connection is closed or not.</div> -<dl><dt><span class="strong">Returns:</span></dt><dd>true if this connection is closed</dd></dl> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if this connection is closed</dd> +</dl> </li> </ul> </li> @@ -391,9 +439,11 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> +<div class="bottomNav"><a name="navbar.bottom"> <!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -409,15 +459,15 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Connection.html" target="_top">Frames</a></li> -<li><a href="Connection.html" target="_top">No Frames</a></li> +<li><a href="Connection.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -437,16 +487,16 @@ extends org.apache.hadoop.hbase.Abortable, <a href="http://docs.oracle.com/javas <li>Nested | </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method_summary">Method</a></li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method_detail">Method</a></li> +<li><a href="#method.detail">Method</a></li> </ul> </div> -<a name="skip-navbar_bottom"> +<a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= -->
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/7cf0bad8/apidocs/org/apache/hadoop/hbase/client/ConnectionFactory.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/ConnectionFactory.html b/apidocs/org/apache/hadoop/hbase/client/ConnectionFactory.html index e630433..2144893 100644 --- a/apidocs/org/apache/hadoop/hbase/client/ConnectionFactory.html +++ b/apidocs/org/apache/hadoop/hbase/client/ConnectionFactory.html @@ -2,24 +2,38 @@ <!-- NewPage --> <html lang="en"> <head> +<!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ConnectionFactory (Apache HBase 2.0.0-SNAPSHOT API)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ConnectionFactory (Apache HBase 2.0.0-SNAPSHOT API)"; + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ConnectionFactory (Apache HBase 2.0.0-SNAPSHOT API)"; + } + } + catch(err) { } //--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> +<div class="topNav"><a name="navbar.top"> <!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -35,15 +49,15 @@ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/ConnectionFactory.html" target="_top">Frames</a></li> -<li><a href="ConnectionFactory.html" target="_top">No Frames</a></li> +<li><a href="ConnectionFactory.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -62,17 +76,17 @@ <li>Summary: </li> <li>Nested | </li> <li>Field | </li> -<li><a href="#constructor_summary">Constr</a> | </li> -<li><a href="#method_summary">Method</a></li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> -<li><a href="#constructor_detail">Constr</a> | </li> -<li><a href="#method_detail">Method</a></li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> </ul> </div> -<a name="skip-navbar_top"> +<a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> @@ -83,7 +97,7 @@ </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> <li>org.apache.hadoop.hbase.client.ConnectionFactory</li> @@ -96,14 +110,14 @@ <hr> <br> <pre>@InterfaceAudience.Public -@InterfaceStability.Evolving + @InterfaceStability.Evolving public class <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.58">ConnectionFactory</a> -extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">A non-instantiable class that manages creation of <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a>s. Managing the lifecycle of the <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a>s to the cluster is the responsibility of the caller. From a <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a>, <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementations are retrieved - with <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable(org.apache.hadoop.hbase.TableName)"><code>Connection.getTable(TableName)</code></a>. Example: + with <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#getTable-org.apache.hadoop.hbase.TableName-"><code>Connection.getTable(TableName)</code></a>. Example: <pre> Connection connection = ConnectionFactory.createConnection(config); Table table = connection.getTable(TableName.valueOf("table1")); @@ -117,9 +131,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? Similarly, <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a> also returns <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client"><code>Admin</code></a> and <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> implementations.</div> -<dl><dt><span class="strong">Since:</span></dt> - <dd>0.99.0</dd> -<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a></dd></dl> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>0.99.0</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a></dd> +</dl> </li> </ul> </div> @@ -128,11 +145,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> -<li class="blockList"><a name="constructor_summary"> +<li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier</th> @@ -140,7 +157,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#ConnectionFactory()">ConnectionFactory</a></strong>()</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#ConnectionFactory--">ConnectionFactory</a></span>()</code> <div class="block">No public c.tors</div> </td> </tr> @@ -149,57 +166,57 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> -<li class="blockList"><a name="method_summary"> +<li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> -<tr class="altColor"> +<tr id="i0" class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection()">createConnection</a></strong>()</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection--">createConnection</a></span>()</code> <div class="block">Create a new Connection instance using default HBaseConfiguration.</div> </td> </tr> -<tr class="rowColor"> +<tr id="i1" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection(org.apache.hadoop.conf.Configuration)">createConnection</a></strong>(org.apache.hadoop.conf.Configuration conf)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf)</code> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance.</div> </td> </tr> -<tr class="altColor"> +<tr id="i2" class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection(org.apache.hadoop.conf.Configuration,%20java.util.concurrent.ExecutorService)">createConnection</a></strong>(org.apache.hadoop.conf.Configuration conf, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-java.util.concurrent.ExecutorService-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</code> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance.</div> </td> </tr> -<tr class="rowColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection(org.apache.hadoop.conf.Configuration,%20java.util.concurrent.ExecutorService,%20org.apache.hadoop.hbase.security.User)">createConnection</a></strong>(org.apache.hadoop.conf.Configuration conf, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool, - <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-java.util.concurrent.ExecutorService-org.apache.hadoop.hbase.security.User-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool, + <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user)</code> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance.</div> </td> </tr> -<tr class="altColor"> +<tr id="i4" class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection(org.apache.hadoop.conf.Configuration,%20org.apache.hadoop.hbase.security.User)">createConnection</a></strong>(org.apache.hadoop.conf.Configuration conf, - <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.security.User-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf, + <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user)</code> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance.</div> </td> </tr> </table> <ul class="blockList"> -<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> @@ -211,11 +228,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> -<li class="blockList"><a name="constructor_detail"> +<li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> -<a name="ConnectionFactory()"> +<a name="ConnectionFactory--"> <!-- --> </a> <ul class="blockListLast"> @@ -229,24 +246,24 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> -<li class="blockList"><a name="method_detail"> +<li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> -<a name="createConnection()"> +<a name="createConnection--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> <pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.88">createConnection</a>() - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a new Connection instance using default HBaseConfiguration. Connection encapsulates all housekeeping for a connection to the cluster. All tables and interfaces created from returned connection share zookeeper connection, meta cache, and connections to region servers and masters. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>Connection.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>Connection.close()</code></a> on the returned connection instance. Typical usage: @@ -261,25 +278,28 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? connection.close(); } </pre></div> -<dl><dt><span class="strong">Returns:</span></dt><dd>Connection object for <code>conf</code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Connection object for <code>conf</code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="createConnection(org.apache.hadoop.conf.Configuration)"> +<a name="createConnection-org.apache.hadoop.conf.Configuration-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> <pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.117">createConnection</a>(org.apache.hadoop.conf.Configuration conf) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance. Connection encapsulates all housekeeping for a connection to the cluster. All tables and interfaces created from returned connection share zookeeper connection, meta cache, and connections to region servers and masters. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>Connection.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>Connection.close()</code></a> on the returned connection instance. Typical usage: @@ -294,27 +314,31 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? connection.close(); } </pre></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd> -<dt><span class="strong">Returns:</span></dt><dd>Connection object for <code>conf</code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>conf</code> - configuration</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Connection object for <code>conf</code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="createConnection(org.apache.hadoop.conf.Configuration, java.util.concurrent.ExecutorService)"> +<a name="createConnection-org.apache.hadoop.conf.Configuration-java.util.concurrent.ExecutorService-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> <pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.147">createConnection</a>(org.apache.hadoop.conf.Configuration conf, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance. Connection encapsulates all housekeeping for a connection to the cluster. All tables and interfaces created from returned connection share zookeeper connection, meta cache, and connections to region servers and masters. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>Connection.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>Connection.close()</code></a> on the returned connection instance. Typical usage: @@ -329,27 +353,32 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? connection.close(); } </pre></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd><dd><code>pool</code> - the thread pool to use for batch operations</dd> -<dt><span class="strong">Returns:</span></dt><dd>Connection object for <code>conf</code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>conf</code> - configuration</dd> +<dd><code>pool</code> - the thread pool to use for batch operations</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Connection object for <code>conf</code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="createConnection(org.apache.hadoop.conf.Configuration, org.apache.hadoop.hbase.security.User)"> +<a name="createConnection-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.security.User-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> <pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.178">createConnection</a>(org.apache.hadoop.conf.Configuration conf, - <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance. Connection encapsulates all housekeeping for a connection to the cluster. All tables and interfaces created from returned connection share zookeeper connection, meta cache, and connections to region servers and masters. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>Connection.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>Connection.close()</code></a> on the returned connection instance. Typical usage: @@ -364,28 +393,33 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? connection.close(); } </pre></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd><dd><code>user</code> - the user the connection is for</dd> -<dt><span class="strong">Returns:</span></dt><dd>Connection object for <code>conf</code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>conf</code> - configuration</dd> +<dd><code>user</code> - the user the connection is for</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Connection object for <code>conf</code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> -<a name="createConnection(org.apache.hadoop.conf.Configuration, java.util.concurrent.ExecutorService, org.apache.hadoop.hbase.security.User)"> +<a name="createConnection-org.apache.hadoop.conf.Configuration-java.util.concurrent.ExecutorService-org.apache.hadoop.hbase.security.User-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>createConnection</h4> <pre>public static <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/ConnectionFactory.html#line.210">createConnection</a>(org.apache.hadoop.conf.Configuration conf, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool, - <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user) - throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool, + <a href="../../../../../org/apache/hadoop/hbase/security/User.html" title="class in org.apache.hadoop.hbase.security">User</a> user) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Create a new Connection instance using the passed <code>conf</code> instance. Connection encapsulates all housekeeping for a connection to the cluster. All tables and interfaces created from returned connection share zookeeper connection, meta cache, and connections to region servers and masters. <br> - The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close()"><code>Connection.close()</code></a> on the returned + The caller is responsible for calling <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#close--"><code>Connection.close()</code></a> on the returned connection instance. Typical usage: @@ -400,10 +434,16 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? connection.close(); } </pre></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd><dd><code>user</code> - the user the connection is for</dd><dd><code>pool</code> - the thread pool to use for batch operations</dd> -<dt><span class="strong">Returns:</span></dt><dd>Connection object for <code>conf</code></dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>conf</code> - configuration</dd> +<dd><code>user</code> - the user the connection is for</dd> +<dd><code>pool</code> - the thread pool to use for batch operations</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Connection object for <code>conf</code></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> </li> </ul> </li> @@ -414,9 +454,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> +<div class="bottomNav"><a name="navbar.bottom"> <!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -432,15 +474,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/ConnectionFactory.html" target="_top">Frames</a></li> -<li><a href="ConnectionFactory.html" target="_top">No Frames</a></li> +<li><a href="ConnectionFactory.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -459,17 +501,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li>Summary: </li> <li>Nested | </li> <li>Field | </li> -<li><a href="#constructor_summary">Constr</a> | </li> -<li><a href="#method_summary">Method</a></li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> -<li><a href="#constructor_detail">Constr</a> | </li> -<li><a href="#method_detail">Method</a></li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> </ul> </div> -<a name="skip-navbar_bottom"> +<a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= -->