http://git-wip-us.apache.org/repos/asf/accumulo/blob/823e2294/1.4/apidocs/org/apache/accumulo/core/client/mock/MockConnector.html ---------------------------------------------------------------------- diff --git a/1.4/apidocs/org/apache/accumulo/core/client/mock/MockConnector.html b/1.4/apidocs/org/apache/accumulo/core/client/mock/MockConnector.html new file mode 100644 index 0000000..60f3c00 --- /dev/null +++ b/1.4/apidocs/org/apache/accumulo/core/client/mock/MockConnector.html @@ -0,0 +1,476 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_95) on Thu Mar 03 19:53:23 EST 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MockConnector (accumulo 1.4.5 API)</title> +<meta name="date" content="2016-03-03"> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="MockConnector (accumulo 1.4.5 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/MockConnector.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockBatchWriter.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mock/MockConnector.html" target="_top">Frames</a></li> +<li><a href="MockConnector.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> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </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> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.accumulo.core.client.mock</div> +<h2 title="Class MockConnector" class="title">Class MockConnector</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/6/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><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">org.apache.accumulo.core.client.Connector</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.accumulo.core.client.mock.MockConnector</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">MockConnector</span> +extends <a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<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> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/BatchDeleter.html" title="interface in org.apache.accumulo.core.client">BatchDeleter</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#createBatchDeleter(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int,%20long,%20long,%20int)">createBatchDeleter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations, + int numQueryThreads, + long maxMemory, + long maxLatency, + int maxWriteThreads)</code> +<div class="block">Factory method to create a BatchDeleter connected to Accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/BatchScanner.html" title="interface in org.apache.accumulo.core.client">BatchScanner</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#createBatchScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int)">createBatchScanner</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations, + int numQueryThreads)</code> +<div class="block">Factory method to create a BatchScanner connected to Accumulo.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client">BatchWriter</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#createBatchWriter(java.lang.String,%20long,%20long,%20int)">createBatchWriter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + long maxMemory, + long maxLatency, + int maxWriteThreads)</code> +<div class="block">Factory method to create a BatchWriter connected to Accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/MultiTableBatchWriter.html" title="interface in org.apache.accumulo.core.client">MultiTableBatchWriter</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#createMultiTableBatchWriter(long,%20long,%20int)">createMultiTableBatchWriter</a></strong>(long maxMemory, + long maxLatency, + int maxWriteThreads)</code> +<div class="block">Factory method to create a Multi-Table BatchWriter connected to Accumulo.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Scanner.html" title="interface in org.apache.accumulo.core.client">Scanner</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#createScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations)">createScanner</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations)</code> +<div class="block">Factory method to create a Scanner connected to Accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#getInstance()">getInstance</a></strong>()</code> +<div class="block">Accessor method for internal instance object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/admin/InstanceOperations.html" title="interface in org.apache.accumulo.core.client.admin">InstanceOperations</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#instanceOperations()">instanceOperations</a></strong>()</code> +<div class="block">Retrieves an InstanceOperations object to modify instance configuration.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/admin/SecurityOperations.html" title="interface in org.apache.accumulo.core.client.admin">SecurityOperations</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#securityOperations()">securityOperations</a></strong>()</code> +<div class="block">Retrieves a SecurityOperations object to perform user security operations, such as creating users.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html" title="interface in org.apache.accumulo.core.client.admin">TableOperations</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#tableOperations()">tableOperations</a></strong>()</code> +<div class="block">Retrieves a TableOperations object to perform table functions, such as create and delete.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html#whoami()">whoami</a></strong>()</code> +<div class="block">Get the current user for this connector</div> +</td> +</tr> +</table> +<ul class="blockList"> +<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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="createBatchScanner(java.lang.String, org.apache.accumulo.core.security.Authorizations, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createBatchScanner</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/BatchScanner.html" title="interface in org.apache.accumulo.core.client">BatchScanner</a> createBatchScanner(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations, + int numQueryThreads) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int)">Connector</a></code></strong></div> +<div class="block">Factory method to create a BatchScanner connected to Accumulo.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int)">createBatchScanner</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table to query</dd><dd><code>authorizations</code> - A set of authorization labels that will be checked against the column visibility of each key in order to filter data. The authorizations passed in + must be a subset of the accumulo user's set of authorizations. If the accumulo user has authorizations (A1, A2) and authorizations (A2, A3) are + passed, then an exception will be thrown.</dd><dd><code>numQueryThreads</code> - the number of concurrent threads to spawn for querying</dd> +<dt><span class="strong">Returns:</span></dt><dd>BatchScanner object for configuring and querying</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code> - when the specified table doesn't exist</dd></dl> +</li> +</ul> +<a name="createBatchDeleter(java.lang.String, org.apache.accumulo.core.security.Authorizations, int, long, long, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createBatchDeleter</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/BatchDeleter.html" title="interface in org.apache.accumulo.core.client">BatchDeleter</a> createBatchDeleter(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations, + int numQueryThreads, + long maxMemory, + long maxLatency, + int maxWriteThreads) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int,%20long,%20long,%20int)">Connector</a></code></strong></div> +<div class="block">Factory method to create a BatchDeleter connected to Accumulo.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20int,%20long,%20long,%20int)">createBatchDeleter</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table to query and delete from</dd><dd><code>authorizations</code> - A set of authorization labels that will be checked against the column visibility of each key in order to filter data. The authorizations passed in + must be a subset of the accumulo user's set of authorizations. If the accumulo user has authorizations (A1, A2) and authorizations (A2, A3) are + passed, then an exception will be thrown.</dd><dd><code>numQueryThreads</code> - the number of concurrent threads to spawn for querying</dd><dd><code>maxMemory</code> - size in bytes of the maximum memory to batch before writing</dd><dd><code>maxLatency</code> - size in milliseconds; set to 0 or Long.MAX_VALUE to allow the maximum time to hold a batch before writing</dd><dd><code>maxWriteThreads</code> - the maximum number of threads to use for writing data to the tablet servers</dd> +<dt><span class="strong">Returns:</span></dt><dd>BatchDeleter object for configuring and deleting</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code> - when the specified table doesn't exist</dd></dl> +</li> +</ul> +<a name="createBatchWriter(java.lang.String, long, long, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createBatchWriter</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client">BatchWriter</a> createBatchWriter(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + long maxMemory, + long maxLatency, + int maxWriteThreads) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter(java.lang.String,%20long,%20long,%20int)">Connector</a></code></strong></div> +<div class="block">Factory method to create a BatchWriter connected to Accumulo.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter(java.lang.String,%20long,%20long,%20int)">createBatchWriter</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table to insert data into</dd><dd><code>maxMemory</code> - size in bytes of the maximum memory to batch before writing</dd><dd><code>maxLatency</code> - time in milliseconds; set to 0 or Long.MAX_VALUE to allow the maximum time to hold a batch before writing</dd><dd><code>maxWriteThreads</code> - the maximum number of threads to use for writing data to the tablet servers</dd> +<dt><span class="strong">Returns:</span></dt><dd>BatchWriter object for configuring and writing data to</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code> - when the specified table doesn't exist</dd></dl> +</li> +</ul> +<a name="createMultiTableBatchWriter(long, long, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createMultiTableBatchWriter</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/MultiTableBatchWriter.html" title="interface in org.apache.accumulo.core.client">MultiTableBatchWriter</a> createMultiTableBatchWriter(long maxMemory, + long maxLatency, + int maxWriteThreads)</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter(long,%20long,%20int)">Connector</a></code></strong></div> +<div class="block">Factory method to create a Multi-Table BatchWriter connected to Accumulo. Multi-table batch writers can queue data for multiple tables, which is good for + ingesting data into multiple tables from the same source</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter(long,%20long,%20int)">createMultiTableBatchWriter</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>maxMemory</code> - size in bytes of the maximum memory to batch before writing</dd><dd><code>maxLatency</code> - size in milliseconds; set to 0 or Long.MAX_VALUE to allow the maximum time to hold a batch before writing</dd><dd><code>maxWriteThreads</code> - the maximum number of threads to use for writing data to the tablet servers</dd> +<dt><span class="strong">Returns:</span></dt><dd>MultiTableBatchWriter object for configuring and writing data to</dd></dl> +</li> +</ul> +<a name="createScanner(java.lang.String, org.apache.accumulo.core.security.Authorizations)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createScanner</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Scanner.html" title="interface in org.apache.accumulo.core.client">Scanner</a> createScanner(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="../../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a> authorizations) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations)">Connector</a></code></strong></div> +<div class="block">Factory method to create a Scanner connected to Accumulo.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#createScanner(java.lang.String,%20org.apache.accumulo.core.security.Authorizations)">createScanner</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table to query data from</dd><dd><code>authorizations</code> - A set of authorization labels that will be checked against the column visibility of each key in order to filter data. The authorizations passed in + must be a subset of the accumulo user's set of authorizations. If the accumulo user has authorizations (A1, A2) and authorizations (A2, A3) are + passed, then an exception will be thrown.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Scanner object for configuring and querying data with</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code> - when the specified table doesn't exist</dd></dl> +</li> +</ul> +<a name="getInstance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstance</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a> getInstance()</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#getInstance()">Connector</a></code></strong></div> +<div class="block">Accessor method for internal instance object.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#getInstance()">getInstance</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the internal instance object</dd></dl> +</li> +</ul> +<a name="whoami()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>whoami</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> whoami()</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#whoami()">Connector</a></code></strong></div> +<div class="block">Get the current user for this connector</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#whoami()">whoami</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the user name</dd></dl> +</li> +</ul> +<a name="tableOperations()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tableOperations</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html" title="interface in org.apache.accumulo.core.client.admin">TableOperations</a> tableOperations()</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#tableOperations()">Connector</a></code></strong></div> +<div class="block">Retrieves a TableOperations object to perform table functions, such as create and delete.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#tableOperations()">tableOperations</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>an object to manipulate tables</dd></dl> +</li> +</ul> +<a name="securityOperations()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>securityOperations</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/admin/SecurityOperations.html" title="interface in org.apache.accumulo.core.client.admin">SecurityOperations</a> securityOperations()</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#securityOperations()">Connector</a></code></strong></div> +<div class="block">Retrieves a SecurityOperations object to perform user security operations, such as creating users.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#securityOperations()">securityOperations</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>an object to modify users and permissions</dd></dl> +</li> +</ul> +<a name="instanceOperations()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>instanceOperations</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/admin/InstanceOperations.html" title="interface in org.apache.accumulo.core.client.admin">InstanceOperations</a> instanceOperations()</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#instanceOperations()">Connector</a></code></strong></div> +<div class="block">Retrieves an InstanceOperations object to modify instance configuration.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html#instanceOperations()">instanceOperations</a></code> in class <code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>an object to modify instance configuration</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/MockConnector.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockBatchWriter.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mock/MockConnector.html" target="_top">Frames</a></li> +<li><a href="MockConnector.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> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </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> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/823e2294/1.4/apidocs/org/apache/accumulo/core/client/mock/MockInstance.html ---------------------------------------------------------------------- diff --git a/1.4/apidocs/org/apache/accumulo/core/client/mock/MockInstance.html b/1.4/apidocs/org/apache/accumulo/core/client/mock/MockInstance.html new file mode 100644 index 0000000..af1c026 --- /dev/null +++ b/1.4/apidocs/org/apache/accumulo/core/client/mock/MockInstance.html @@ -0,0 +1,558 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_95) on Thu Mar 03 19:53:23 EST 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MockInstance (accumulo 1.4.5 API)</title> +<meta name="date" content="2016-03-03"> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="MockInstance (accumulo 1.4.5 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/MockInstance.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstanceOperations.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mock/MockInstance.html" target="_top">Frames</a></li> +<li><a href="MockInstance.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> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<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> +</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> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.accumulo.core.client.mock</div> +<h2 title="Class MockInstance" class="title">Class MockInstance</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/6/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.accumulo.core.client.mock.MockInstance</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">MockInstance</span> +extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<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"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#MockInstance()">MockInstance</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#MockInstance(java.lang.String)">MockInstance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> instanceName)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#MockInstance(java.lang.String,%20org.apache.hadoop.fs.FileSystem)">MockInstance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> instanceName, + org.apache.hadoop.fs.FileSystem fs)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<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> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>org.apache.accumulo.core.conf.AccumuloConfiguration</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getConfiguration()">getConfiguration</a></strong>()</code> +<div class="block">Returns the AccumuloConfiguration to use when interacting with this instance.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getConnector(org.apache.accumulo.core.security.thrift.AuthInfo)">getConnector</a></strong>(org.apache.accumulo.core.security.thrift.AuthInfo auth)</code> +<div class="block">Returns a connection to accumulo.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getConnector(java.lang.String,%20byte[])">getConnector</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + byte[] pass)</code> +<div class="block">Returns a connection to accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getConnector(java.lang.String,%20java.nio.ByteBuffer)">getConnector</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> pass)</code> +<div class="block">Returns a connection to accumulo.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getConnector(java.lang.String,%20java.lang.CharSequence)">getConnector</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> pass)</code> +<div class="block">Returns a connection to this instance of accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getInstanceID()">getInstanceID</a></strong>()</code> +<div class="block">Returns a unique string that identifies this instance of accumulo.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getInstanceName()">getInstanceName</a></strong>()</code> +<div class="block">Returns the instance name given at system initialization time.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getMasterLocations()">getMasterLocations</a></strong>()</code> +<div class="block">Returns the location(s) of the accumulo master and any redundant servers.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getRootTabletLocation()">getRootTabletLocation</a></strong>()</code> +<div class="block">Returns the location of the tablet server that is serving the root tablet.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getZooKeepers()">getZooKeepers</a></strong>()</code> +<div class="block">Returns a comma-separated list of zookeeper servers the instance is using.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#getZooKeepersSessionTimeOut()">getZooKeepersSessionTimeOut</a></strong>()</code> +<div class="block">Returns the zookeeper connection timeout.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html#setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration)">setConfiguration</a></strong>(org.apache.accumulo.core.conf.AccumuloConfiguration conf)</code> +<div class="block">Set the AccumuloConfiguration to use when interacting with this instance.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="MockInstance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MockInstance</h4> +<pre>public MockInstance()</pre> +</li> +</ul> +<a name="MockInstance(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MockInstance</h4> +<pre>public MockInstance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> instanceName)</pre> +</li> +</ul> +<a name="MockInstance(java.lang.String, org.apache.hadoop.fs.FileSystem)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>MockInstance</h4> +<pre>public MockInstance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> instanceName, + org.apache.hadoop.fs.FileSystem fs)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getRootTabletLocation()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRootTabletLocation</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getRootTabletLocation()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getRootTabletLocation()">Instance</a></code></strong></div> +<div class="block">Returns the location of the tablet server that is serving the root tablet.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getRootTabletLocation()">getRootTabletLocation</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>location in "hostname:port" form</dd></dl> +</li> +</ul> +<a name="getMasterLocations()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMasterLocations</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getMasterLocations()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getMasterLocations()">Instance</a></code></strong></div> +<div class="block">Returns the location(s) of the accumulo master and any redundant servers.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getMasterLocations()">getMasterLocations</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>a list of locations in "hostname:port" form</dd></dl> +</li> +</ul> +<a name="getInstanceID()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstanceID</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getInstanceID()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getInstanceID()">Instance</a></code></strong></div> +<div class="block">Returns a unique string that identifies this instance of accumulo.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getInstanceID()">getInstanceID</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>a UUID</dd></dl> +</li> +</ul> +<a name="getInstanceName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstanceName</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getInstanceName()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getInstanceName()">Instance</a></code></strong></div> +<div class="block">Returns the instance name given at system initialization time.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getInstanceName()">getInstanceName</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>current instance name</dd></dl> +</li> +</ul> +<a name="getZooKeepers()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getZooKeepers</h4> +<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getZooKeepers()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getZooKeepers()">Instance</a></code></strong></div> +<div class="block">Returns a comma-separated list of zookeeper servers the instance is using.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getZooKeepers()">getZooKeepers</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the zookeeper servers this instance is using in "hostname:port" form</dd></dl> +</li> +</ul> +<a name="getZooKeepersSessionTimeOut()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getZooKeepersSessionTimeOut</h4> +<pre>public int getZooKeepersSessionTimeOut()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getZooKeepersSessionTimeOut()">Instance</a></code></strong></div> +<div class="block">Returns the zookeeper connection timeout.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getZooKeepersSessionTimeOut()">getZooKeepersSessionTimeOut</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the configured timeout to connect to zookeeper</dd></dl> +</li> +</ul> +<a name="getConnector(java.lang.String, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConnector</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a> getConnector(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + byte[] pass) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20byte[])">Instance</a></code></strong></div> +<div class="block">Returns a connection to accumulo.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20byte[])">getConnector</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>user</code> - a valid accumulo user</dd><dd><code>pass</code> - A UTF-8 encoded password. The password may be cleared after making this call.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the accumulo Connector</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code> - when a generic exception occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - when a user's credentials are invalid</dd></dl> +</li> +</ul> +<a name="getConnector(java.lang.String, java.nio.ByteBuffer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConnector</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a> getConnector(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> pass) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20java.nio.ByteBuffer)">Instance</a></code></strong></div> +<div class="block">Returns a connection to accumulo.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20java.nio.ByteBuffer)">getConnector</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>user</code> - a valid accumulo user</dd><dd><code>pass</code> - A UTF-8 encoded password. The password may be cleared after making this call.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the accumulo Connector</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code> - when a generic exception occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - when a user's credentials are invalid</dd></dl> +</li> +</ul> +<a name="getConnector(java.lang.String, java.lang.CharSequence)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConnector</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a> getConnector(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> pass) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20java.lang.CharSequence)">Instance</a></code></strong></div> +<div class="block">Returns a connection to this instance of accumulo.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(java.lang.String,%20java.lang.CharSequence)">getConnector</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>user</code> - a valid accumulo user</dd><dd><code>pass</code> - If a mutable CharSequence is passed in, it may be cleared after this call.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the accumulo Connector</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code> - when a generic exception occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - when a user's credentials are invalid</dd></dl> +</li> +</ul> +<a name="getConfiguration()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConfiguration</h4> +<pre>public org.apache.accumulo.core.conf.AccumuloConfiguration getConfiguration()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConfiguration()">Instance</a></code></strong></div> +<div class="block">Returns the AccumuloConfiguration to use when interacting with this instance.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConfiguration()">getConfiguration</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the AccumuloConfiguration that specifies properties related to interacting with this instance</dd></dl> +</li> +</ul> +<a name="setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setConfiguration</h4> +<pre>public void setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration conf)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration)">Instance</a></code></strong></div> +<div class="block">Set the AccumuloConfiguration to use when interacting with this instance.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#setConfiguration(org.apache.accumulo.core.conf.AccumuloConfiguration)">setConfiguration</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - accumulo configuration</dd></dl> +</li> +</ul> +<a name="getConnector(org.apache.accumulo.core.security.thrift.AuthInfo)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getConnector</h4> +<pre>public <a href="../../../../../../org/apache/accumulo/core/client/Connector.html" title="class in org.apache.accumulo.core.client">Connector</a> getConnector(org.apache.accumulo.core.security.thrift.AuthInfo auth) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(org.apache.accumulo.core.security.thrift.AuthInfo)">Instance</a></code></strong></div> +<div class="block">Returns a connection to accumulo.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html#getConnector(org.apache.accumulo.core.security.thrift.AuthInfo)">getConnector</a></code> in interface <code><a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>auth</code> - An AuthInfo object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the accumulo Connector</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code> - when a generic exception occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - when a user's credentials are invalid</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/MockInstance.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockConnector.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstanceOperations.html" title="class in org.apache.accumulo.core.client.mock"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mock/MockInstance.html" target="_top">Frames</a></li> +<li><a href="MockInstance.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> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<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> +</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> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>
