blob: e5894741cb96bdcdd5b0ea16526c8580916f8702 [file] [log] [blame]
<!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 (1.8.0_201) on Thu Apr 11 20:05:14 EDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Connector (Apache Accumulo Project 1.9.3 API)</title>
<meta name="date" content="2019-04-11">
<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"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Connector (Apache Accumulo Project 1.9.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":38,"i2":6,"i3":6,"i4":38,"i5":6,"i6":6,"i7":38,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated 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">
<!-- -->
</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">
<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/Connector.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/ConditionalWriterConfig.html" title="class in org.apache.accumulo.core.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/client/Durability.html" title="enum in org.apache.accumulo.core.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/client/Connector.html" target="_top">Frames</a></li>
<li><a href="Connector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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</div>
<h2 title="Class Connector" class="title">Class Connector</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://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.accumulo.core.client.Connector</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/accumulo/core/client/mock/MockConnector.html" title="class in org.apache.accumulo.core.client.mock">MockConnector</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">Connector</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Connector connects to an Accumulo instance and allows the user to request readers and writers for
the instance as well as various objects that permit administrative operations.
The Connector enforces security on the client side by forcing all API calls to be accompanied by
user credentials.</div>
</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#Connector--">Connector</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter-java.lang.String-org.apache.accumulo.core.security.Authorizations-int-org.apache.accumulo.core.client.BatchWriterConfig-">createBatchDeleter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;numQueryThreads,
<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter-java.lang.String-org.apache.accumulo.core.security.Authorizations-int-long-long-int-">createBatchDeleter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;numQueryThreads,
long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;maxWriteThreads)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.5.0; Use
<a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter-java.lang.String-org.apache.accumulo.core.security.Authorizations-int-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createBatchDeleter(String, Authorizations, int, BatchWriterConfig)</code></a>
instead.</span></div>
</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchScanner-java.lang.String-org.apache.accumulo.core.security.Authorizations-int-">createBatchScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;numQueryThreads)</code>
<div class="block">Factory method to create a BatchScanner connected to Accumulo.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter-java.lang.String-org.apache.accumulo.core.client.BatchWriterConfig-">createBatchWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)</code>
<div class="block">Factory method to create a BatchWriter connected to Accumulo.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter-java.lang.String-long-long-int-">createBatchWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;maxWriteThreads)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.5.0; Use <a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter-java.lang.String-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createBatchWriter(String, BatchWriterConfig)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/accumulo/core/client/ConditionalWriter.html" title="interface in org.apache.accumulo.core.client">ConditionalWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createConditionalWriter-java.lang.String-org.apache.accumulo.core.client.ConditionalWriterConfig-">createConditionalWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/client/ConditionalWriterConfig.html" title="class in org.apache.accumulo.core.client">ConditionalWriterConfig</a>&nbsp;config)</code>
<div class="block">Factory method to create a ConditionalWriter connected to Accumulo.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter-org.apache.accumulo.core.client.BatchWriterConfig-">createMultiTableBatchWriter</a></span>(<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)</code>
<div class="block">Factory method to create a Multi-Table BatchWriter connected to Accumulo.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter-long-long-int-">createMultiTableBatchWriter</a></span>(long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;maxWriteThreads)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.5.0; Use <a href="../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createMultiTableBatchWriter(BatchWriterConfig)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#createScanner-java.lang.String-org.apache.accumulo.core.security.Authorizations-">createScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations)</code>
<div class="block">Factory method to create a Scanner connected to Accumulo.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Accessor method for internal instance object.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#instanceOperations--">instanceOperations</a></span>()</code>
<div class="block">Retrieves an InstanceOperations object to modify instance configuration.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/accumulo/core/client/admin/NamespaceOperations.html" title="interface in org.apache.accumulo.core.client.admin">NamespaceOperations</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#namespaceOperations--">namespaceOperations</a></span>()</code>
<div class="block">Retrieves a NamespaceOperations object to perform namespace functions, such as create and
delete.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/accumulo/core/client/admin/ReplicationOperations.html" title="interface in org.apache.accumulo.core.client.admin">ReplicationOperations</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#replicationOperations--">replicationOperations</a></span>()</code>
<div class="block">Retrieves a ReplicationOperations object to manage replication configuration.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#securityOperations--">securityOperations</a></span>()</code>
<div class="block">Retrieves a SecurityOperations object to perform user security operations, such as creating
users.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>abstract <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><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#tableOperations--">tableOperations</a></span>()</code>
<div class="block">Retrieves a TableOperations object to perform table functions, such as create and delete.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/client/Connector.html#whoami--">whoami</a></span>()</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&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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>
</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="Connector--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Connector</h4>
<pre>public&nbsp;Connector()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ 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 abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/BatchScanner.html" title="interface in org.apache.accumulo.core.client">BatchScanner</a>&nbsp;createBatchScanner(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;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">Factory method to create a BatchScanner connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
<dd>BatchScanner object for configuring and querying</dd>
<dt><span class="throwsLabel">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><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/BatchDeleter.html" title="interface in org.apache.accumulo.core.client">BatchDeleter</a>&nbsp;createBatchDeleter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;numQueryThreads,
long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.5.0; Use
<a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchDeleter-java.lang.String-org.apache.accumulo.core.security.Authorizations-int-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createBatchDeleter(String, Authorizations, int, BatchWriterConfig)</code></a>
instead.</span></div>
<div class="block">Factory method to create a BatchDeleter connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
<dd>BatchDeleter object for configuring and deleting</dd>
<dt><span class="throwsLabel">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-org.apache.accumulo.core.client.BatchWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBatchDeleter</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/BatchDeleter.html" title="interface in org.apache.accumulo.core.client">BatchDeleter</a>&nbsp;createBatchDeleter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;authorizations,
int&nbsp;numQueryThreads,
<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)
throws <a href="../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre>
<dl>
<dt><span class="paramLabel">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>config</code> - configuration used to create batch writer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>BatchDeleter object for configuring and deleting</dd>
<dt><span class="throwsLabel">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></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="createBatchWriter-java.lang.String-long-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBatchWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client">BatchWriter</a>&nbsp;createBatchWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.5.0; Use <a href="../../../../../org/apache/accumulo/core/client/Connector.html#createBatchWriter-java.lang.String-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createBatchWriter(String, BatchWriterConfig)</code></a> instead.</span></div>
<div class="block">Factory method to create a BatchWriter connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
<dd>BatchWriter object for configuring and writing data to</dd>
<dt><span class="throwsLabel">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-org.apache.accumulo.core.client.BatchWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBatchWriter</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client">BatchWriter</a>&nbsp;createBatchWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)
throws <a href="../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre>
<div class="block">Factory method to create a BatchWriter connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - the name of the table to insert data into</dd>
<dd><code>config</code> - configuration used to create batch writer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>BatchWriter object for configuring and writing data to</dd>
<dt><span class="throwsLabel">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></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="createMultiTableBatchWriter-long-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMultiTableBatchWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/MultiTableBatchWriter.html" title="interface in org.apache.accumulo.core.client">MultiTableBatchWriter</a>&nbsp;createMultiTableBatchWriter(long&nbsp;maxMemory,
long&nbsp;maxLatency,
int&nbsp;maxWriteThreads)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.5.0; Use <a href="../../../../../org/apache/accumulo/core/client/Connector.html#createMultiTableBatchWriter-org.apache.accumulo.core.client.BatchWriterConfig-"><code>createMultiTableBatchWriter(BatchWriterConfig)</code></a> instead.</span></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><span class="paramLabel">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="returnLabel">Returns:</span></dt>
<dd>MultiTableBatchWriter object for configuring and writing data to</dd>
</dl>
</li>
</ul>
<a name="createMultiTableBatchWriter-org.apache.accumulo.core.client.BatchWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMultiTableBatchWriter</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/MultiTableBatchWriter.html" title="interface in org.apache.accumulo.core.client">MultiTableBatchWriter</a>&nbsp;createMultiTableBatchWriter(<a href="../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;config)</pre>
<div class="block">Factory method to create a Multi-Table BatchWriter connected to Accumulo. Multi-table batch
writers can queue data for multiple tables. Also data for multiple tables can be sent to a
server in a single batch. Its an efficient way to ingest data into multiple tables from a
single process.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>config</code> - configuration used to create multi-table batch writer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>MultiTableBatchWriter object for configuring and writing data to</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</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 abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/Scanner.html" title="interface in org.apache.accumulo.core.client">Scanner</a>&nbsp;createScanner(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/security/Authorizations.html" title="class in org.apache.accumulo.core.security">Authorizations</a>&nbsp;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">Factory method to create a Scanner connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
<dd>Scanner object for configuring and querying data with</dd>
<dt><span class="throwsLabel">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="createConditionalWriter-java.lang.String-org.apache.accumulo.core.client.ConditionalWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConditionalWriter</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/ConditionalWriter.html" title="interface in org.apache.accumulo.core.client">ConditionalWriter</a>&nbsp;createConditionalWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../../org/apache/accumulo/core/client/ConditionalWriterConfig.html" title="class in org.apache.accumulo.core.client">ConditionalWriterConfig</a>&nbsp;config)
throws <a href="../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre>
<div class="block">Factory method to create a ConditionalWriter connected to Accumulo.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - the name of the table to query data from</dd>
<dd><code>config</code> - configuration used to create conditional writer</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ConditionalWriter object for writing ConditionalMutations</dd>
<dt><span class="throwsLabel">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>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.6.0</dd>
</dl>
</li>
</ul>
<a name="getInstance--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a>&nbsp;getInstance()</pre>
<div class="block">Accessor method for internal instance object.</div>
<dl>
<dt><span class="returnLabel">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 abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;whoami()</pre>
<div class="block">Get the current user for this connector</div>
<dl>
<dt><span class="returnLabel">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 abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/admin/TableOperations.html" title="interface in org.apache.accumulo.core.client.admin">TableOperations</a>&nbsp;tableOperations()</pre>
<div class="block">Retrieves a TableOperations object to perform table functions, such as create and delete.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an object to manipulate tables</dd>
</dl>
</li>
</ul>
<a name="namespaceOperations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>namespaceOperations</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/admin/NamespaceOperations.html" title="interface in org.apache.accumulo.core.client.admin">NamespaceOperations</a>&nbsp;namespaceOperations()</pre>
<div class="block">Retrieves a NamespaceOperations object to perform namespace functions, such as create and
delete.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an object to manipulate namespaces</dd>
</dl>
</li>
</ul>
<a name="securityOperations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>securityOperations</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/admin/SecurityOperations.html" title="interface in org.apache.accumulo.core.client.admin">SecurityOperations</a>&nbsp;securityOperations()</pre>
<div class="block">Retrieves a SecurityOperations object to perform user security operations, such as creating
users.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an object to modify users and permissions</dd>
</dl>
</li>
</ul>
<a name="instanceOperations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>instanceOperations</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/admin/InstanceOperations.html" title="interface in org.apache.accumulo.core.client.admin">InstanceOperations</a>&nbsp;instanceOperations()</pre>
<div class="block">Retrieves an InstanceOperations object to modify instance configuration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an object to modify instance configuration</dd>
</dl>
</li>
</ul>
<a name="replicationOperations--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>replicationOperations</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/accumulo/core/client/admin/ReplicationOperations.html" title="interface in org.apache.accumulo.core.client.admin">ReplicationOperations</a>&nbsp;replicationOperations()</pre>
<div class="block">Retrieves a ReplicationOperations object to manage replication configuration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an object to modify replication configuration</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.7.0</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>
<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">
<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/Connector.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/ConditionalWriterConfig.html" title="class in org.apache.accumulo.core.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/client/Durability.html" title="enum in org.apache.accumulo.core.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/client/Connector.html" target="_top">Frames</a></li>
<li><a href="Connector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2011&#x2013;2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>