http://git-wip-us.apache.org/repos/asf/accumulo/blob/97bc584b/1.8/apidocs/org/apache/accumulo/core/client/admin/TableOperations.html ---------------------------------------------------------------------- diff --git a/1.8/apidocs/org/apache/accumulo/core/client/admin/TableOperations.html b/1.8/apidocs/org/apache/accumulo/core/client/admin/TableOperations.html new file mode 100644 index 0000000..2348770 --- /dev/null +++ b/1.8/apidocs/org/apache/accumulo/core/client/admin/TableOperations.html @@ -0,0 +1,1628 @@ +<!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_79) on Tue Sep 06 14:11:20 EDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>TableOperations (Apache Accumulo Project 1.8.0 API)</title> +<meta name="date" content="2016-09-06"> +<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="TableOperations (Apache Accumulo Project 1.8.0 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/TableOperations.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/admin/SecurityOperations.html" title="interface in org.apache.accumulo.core.client.admin"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/admin/TimeType.html" title="enum in org.apache.accumulo.core.client.admin"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/admin/TableOperations.html" target="_top">Frames</a></li> +<li><a href="TableOperations.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.admin</div> +<h2 title="Interface TableOperations" class="title">Interface TableOperations</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">TableOperations</span></pre> +<div class="block">Provides a class for administering tables</div> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#addConstraint(java.lang.String,%20java.lang.String)">addConstraint</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> constraintClassName)</code> +<div class="block">Add a new constraint to a table.</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/admin/TableOperations.html#addSplits(java.lang.String,%20java.util.SortedSet)">addSplits</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a><org.apache.hadoop.io.Text> partitionKeys)</code> +<div class="block">Ensures that tablets are split along a set of keys.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#attachIterator(java.lang.String,%20org.apache.accumulo.core.client.IteratorSetting)">attachIterator</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a> setting)</code> +<div class="block">Add an iterator to a table on all scopes.</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/admin/TableOperations.html#attachIterator(java.lang.String,%20org.apache.accumulo.core.client.IteratorSetting,%20java.util.EnumSet)">attachIterator</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a> setting, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a><org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope> scopes)</code> +<div class="block">Add an iterator to a table on the given scopes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#cancelCompaction(java.lang.String)">cancelCompaction</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Cancels a user initiated major compaction of a table initiated with <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#compact(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20boolean,%20boolean)"><code>compact(String, Text, Text, boolean, boolean)</code></a> or + <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#compact(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20java.util.List,%20boolean,%20boolean)"><code>compact(String, Text, Text, List, boolean, boolean)</code></a>.</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/admin/TableOperations.html#checkIteratorConflicts(java.lang.String,%20org.apache.accumulo.core.client.IteratorSetting,%20java.util.EnumSet)">checkIteratorConflicts</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a> setting, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a><org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope> scopes)</code> +<div class="block">Check whether a given iterator configuration conflicts with existing configuration; in particular, determine if the name or priority are already in use for + the specified scopes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#clearLocatorCache(java.lang.String)">clearLocatorCache</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Clears the tablet locator cache for a specified table</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/admin/TableOperations.html#clearSamplerConfiguration(java.lang.String)">clearSamplerConfiguration</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Clear all sampling configuration properties on the table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#clone(java.lang.String,%20java.lang.String,%20boolean,%20java.util.Map,%20java.util.Set)">clone</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> srcTableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newTableName, + boolean flush, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> propertiesToSet, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> propertiesToExclude)</code> +<div class="block">Clone a table from an existing table.</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/admin/TableOperations.html#compact(java.lang.String,%20org.apache.accumulo.core.client.admin.CompactionConfig)">compact</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/admin/CompactionConfig.html" title="class in org.apache.accumulo.core.client.admin">CompactionConfig</a> config)</code> +<div class="block">Starts a full major compaction of the tablets in the range (start, end].</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#compact(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20boolean,%20boolean)">compact</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end, + boolean flush, + boolean wait)</code> +<div class="block">Starts a full major compaction of the tablets in the range (start, end].</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/admin/TableOperations.html#compact(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20java.util.List,%20boolean,%20boolean)">compact</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>> iterators, + boolean flush, + boolean wait)</code> +<div class="block">Starts a full major compaction of the tablets in the range (start, end].</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Create a table with no special configuration</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/admin/TableOperations.html#create(java.lang.String,%20boolean)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean limitVersion)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.7.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String,%20org.apache.accumulo.core.client.admin.NewTableConfiguration)"><code>create(String, NewTableConfiguration)</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String,%20boolean,%20org.apache.accumulo.core.client.admin.TimeType)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean versioningIter, + <a href="../../../../../../org/apache/accumulo/core/client/admin/TimeType.html" title="enum in org.apache.accumulo.core.client.admin">TimeType</a> timeType)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.7.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String,%20org.apache.accumulo.core.client.admin.NewTableConfiguration)"><code>create(String, NewTableConfiguration)</code></a> instead.</i></div> +</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/admin/TableOperations.html#create(java.lang.String,%20org.apache.accumulo.core.client.admin.NewTableConfiguration)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/admin/NewTableConfiguration.html" title="class in org.apache.accumulo.core.client.admin">NewTableConfiguration</a> ntc)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#delete(java.lang.String)">delete</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Delete a table</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/admin/TableOperations.html#deleteRows(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text)">deleteRows</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end)</code> +<div class="block">Delete rows between (start, end]</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#exists(java.lang.String)">exists</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">A method to check if a table exists in Accumulo.</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/admin/TableOperations.html#exportTable(java.lang.String,%20java.lang.String)">exportTable</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> exportDir)</code> +<div class="block">Exports a table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#flush(java.lang.String)">flush</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.4; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#flush(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20boolean)"><code>flush(String, Text, Text, boolean)</code></a> instead</i></div> +</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/admin/TableOperations.html#flush(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text,%20boolean)">flush</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end, + boolean wait)</code> +<div class="block">Flush a table's data that is currently in memory.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/accumulo/core/client/admin/DiskUsage.html" title="class in org.apache.accumulo.core.client.admin">DiskUsage</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getDiskUsage(java.util.Set)">getDiskUsage</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> tables)</code> +<div class="block">Gets the number of bytes being used in the files for a set of tables</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getIteratorSetting(java.lang.String,%20java.lang.String,%20org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope)">getIteratorSetting</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope scope)</code> +<div class="block">Get the settings for an iterator.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><org.apache.hadoop.io.Text>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getLocalityGroups(java.lang.String)">getLocalityGroups</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Gets the locality groups currently set for a table.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getMaxRow(java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20org.apache.hadoop.io.Text,%20boolean,%20org.apache.hadoop.io.Text,%20boolean)">getMaxRow</a></strong>(<a href="http://docs.oracle.com/javase/7/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> auths, + org.apache.hadoop.io.Text startRow, + boolean startInclusive, + org.apache.hadoop.io.Text endRow, + boolean endInclusive)</code> +<div class="block">Finds the max row within a given range.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/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/admin/TableOperations.html#getProperties(java.lang.String)">getProperties</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Gets properties of a table.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/sample/SamplerConfiguration.html" title="class in org.apache.accumulo.core.client.sample">SamplerConfiguration</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getSamplerConfiguration(java.lang.String)">getSamplerConfiguration</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Reads the sampling configuration properties for a table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getSplits(java.lang.String)">getSplits</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.5.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String)"><code>listSplits(String)</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#getSplits(java.lang.String,%20int)">getSplits</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + int maxSplits)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.5.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String,%20int)"><code>listSplits(String, int)</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#importDirectory(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">importDirectory</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dir, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> failureDir, + boolean setTime)</code> +<div class="block">Bulk import all the files in a directory into a table.</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/admin/TableOperations.html#importTable(java.lang.String,%20java.lang.String)">importTable</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> importDir)</code> +<div class="block">Imports a table exported via exportTable and copied via hadoop distcp.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a><<a href="http://docs.oracle.com/javase/7/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/admin/TableOperations.html#list()">list</a></strong>()</code> +<div class="block">Retrieve a list of tables in Accumulo.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listConstraints(java.lang.String)">listConstraints</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">List constraints on a table with their assigned numbers.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a><org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listIterators(java.lang.String)">listIterators</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Get a list of iterators for this table.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String)">listSplits</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String,%20int)">listSplits</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + int maxSplits)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/accumulo/core/client/admin/Locations.html" title="interface in org.apache.accumulo.core.client.admin">Locations</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#locate(java.lang.String,%20java.util.Collection)">locate</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../../org/apache/accumulo/core/data/Range.html" title="class in org.apache.accumulo.core.data">Range</a>> ranges)</code> +<div class="block">Locates the tablet servers and tablets that would service a collections of ranges.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#merge(java.lang.String,%20org.apache.hadoop.io.Text,%20org.apache.hadoop.io.Text)">merge</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end)</code> +<div class="block">Merge tablets between (start, end]</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/admin/TableOperations.html#offline(java.lang.String)">offline</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Initiates taking a table offline, but does not wait for action to complete</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#offline(java.lang.String,%20boolean)">offline</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean wait)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#online(java.lang.String)">online</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</code> +<div class="block">Initiates bringing a table online, but does not wait for action to complete</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#online(java.lang.String,%20boolean)">online</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean wait)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#removeConstraint(java.lang.String,%20int)">removeConstraint</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + int number)</code> +<div class="block">Remove a constraint from a table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#removeIterator(java.lang.String,%20java.lang.String,%20java.util.EnumSet)">removeIterator</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a><org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope> scopes)</code> +<div class="block">Remove an iterator from a table by name.</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/admin/TableOperations.html#removeProperty(java.lang.String,%20java.lang.String)">removeProperty</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property)</code> +<div class="block">Removes a property from a table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#rename(java.lang.String,%20java.lang.String)">rename</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> oldTableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newTableName)</code> +<div class="block">Rename a table</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/admin/TableOperations.html#setLocalityGroups(java.lang.String,%20java.util.Map)">setLocalityGroups</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><org.apache.hadoop.io.Text>> groups)</code> +<div class="block">Sets a table's locality groups.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#setProperty(java.lang.String,%20java.lang.String,%20java.lang.String)">setProperty</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> +<div class="block">Sets a property on a table.</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/admin/TableOperations.html#setSamplerConfiguration(java.lang.String,%20org.apache.accumulo.core.client.sample.SamplerConfiguration)">setSamplerConfiguration</a></strong>(<a href="http://docs.oracle.com/javase/7/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/client/sample/SamplerConfiguration.html" title="class in org.apache.accumulo.core.client.sample">SamplerConfiguration</a> samplerConfiguration)</code> +<div class="block">Set or update the sampler configuration for a table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/accumulo/core/data/Range.html" title="class in org.apache.accumulo.core.data">Range</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#splitRangeByTablets(java.lang.String,%20org.apache.accumulo.core.data.Range,%20int)">splitRangeByTablets</a></strong>(<a href="http://docs.oracle.com/javase/7/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/data/Range.html" title="class in org.apache.accumulo.core.data">Range</a> range, + int maxSplits)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/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/admin/TableOperations.html#tableIdMap()">tableIdMap</a></strong>()</code> +<div class="block">Get a mapping of table name to internal table id.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#testClassLoad(java.lang.String,%20java.lang.String,%20java.lang.String)">testClassLoad</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asTypeName)</code> +<div class="block">Test to see if the instance can load the given class as the given type.</div> +</td> +</tr> +</table> +</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="list()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>list</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> list()</pre> +<div class="block">Retrieve a list of tables in Accumulo.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>List of tables in accumulo</dd></dl> +</li> +</ul> +<a name="exists(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre>boolean exists(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName)</pre> +<div class="block">A method to check if a table exists in Accumulo.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the table exists</dd></dl> +</li> +</ul> +<a name="create(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre>void create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></pre> +<div class="block">Create a table with no special configuration</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></code> - if the table already exists</dd></dl> +</li> +</ul> +<a name="create(java.lang.String, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +void create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean limitVersion) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.7.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String,%20org.apache.accumulo.core.client.admin.NewTableConfiguration)"><code>create(String, NewTableConfiguration)</code></a> instead.</i></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>limitVersion</code> - Enables/disables the versioning iterator, which will limit the number of Key versions kept.</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></code> - if the table already exists</dd></dl> +</li> +</ul> +<a name="create(java.lang.String, boolean, org.apache.accumulo.core.client.admin.TimeType)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +void create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + boolean versioningIter, + <a href="../../../../../../org/apache/accumulo/core/client/admin/TimeType.html" title="enum in org.apache.accumulo.core.client.admin">TimeType</a> timeType) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.7.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#create(java.lang.String,%20org.apache.accumulo.core.client.admin.NewTableConfiguration)"><code>create(String, NewTableConfiguration)</code></a> instead.</i></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>versioningIter</code> - Enables/disables the versioning iterator, which will limit the number of Key versions kept.</dd><dd><code>timeType</code> - specifies logical or real-time based time recording for entries in the table</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></code> - if the table already exists</dd></dl> +</li> +</ul> +<a name="create(java.lang.String, org.apache.accumulo.core.client.admin.NewTableConfiguration)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre>void create(<a href="http://docs.oracle.com/javase/7/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/client/admin/NewTableConfiguration.html" title="class in org.apache.accumulo.core.client.admin">NewTableConfiguration</a> ntc) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <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/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>ntc</code> - specifies the new table's configuration variable, which are: 1. enable/disable the versioning iterator, which will limit the number of Key + versions kept; 2. specifies logical or real-time based time recording for entries in the table; 3. user defined properties to be merged into the + initial properties of the table</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></code> - if the table already exists</dd><dt><span class="strong">Since:</span></dt> + <dd>1.7.0</dd></dl> +</li> +</ul> +<a name="importTable(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>importTable</h4> +<pre>void importTable(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> importDir) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a>, + <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">Imports a table exported via exportTable and copied via hadoop distcp.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - Name of a table to create and import into.</dd><dd><code>importDir</code> - Directory that contains the files copied by distcp from exportTable</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableExistsException.html" title="class in org.apache.accumulo.core.client">TableExistsException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="exportTable(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exportTable</h4> +<pre>void exportTable(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> exportDir) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <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">Exports a table. The tables data is not exported, just table metadata and a list of files to distcp. The table being exported must be offline and stay + offline for the duration of distcp. To avoid losing access to a table it can be cloned and the clone taken offline for export. + + <p> + See docs/examples/README.export</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - Name of the table to export.</dd><dd><code>exportDir</code> - An empty directory in HDFS where files containing table metadata and list of files to distcp will be placed.</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></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="addSplits(java.lang.String, java.util.SortedSet)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSplits</h4> +<pre>void addSplits(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a><org.apache.hadoop.io.Text> partitionKeys) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <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">Ensures that tablets are split along a set of keys. + <p> + Note that while the documentation for Text specifies that its bytestream should be UTF-8, the encoding is not enforced by operations that work with byte + arrays. + <p> + For example, you can create 256 evenly-sliced splits via the following code sample even though the given byte sequences are not valid UTF-8. + + <pre> + TableOperations tableOps = connector.tableOperations(); + TreeSet<Text> splits = new TreeSet<Text>(); + for (int i = 0; i < 256; i++) { + byte[] bytes = {(byte) i}; + splits.add(new Text(bytes)); + } + tableOps.addSplits(TABLE_NAME, splits); + </pre></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>partitionKeys</code> - a sorted set of row key values to pre-split the table on</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code> - if the table does not exist</dd></dl> +</li> +</ul> +<a name="getSplits(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSplits</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text> getSplits(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName) + 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="strong">Deprecated.</span> <i>since 1.5.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String)"><code>listSplits(String)</code></a> instead.</i></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd> +<dt><span class="strong">Returns:</span></dt><dd>the split points (end-row names) for the table's current split profile</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> - if the table does not exist</dd></dl> +</li> +</ul> +<a name="listSplits(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>listSplits</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text> listSplits(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd> +<dt><span class="strong">Returns:</span></dt><dd>the split points (end-row names) for the table's current split profile</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> - if the table does not exist</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getSplits(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSplits</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text> getSplits(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + int maxSplits) + 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="strong">Deprecated.</span> <i>since 1.5.0; use <a href="../../../../../../org/apache/accumulo/core/client/admin/TableOperations.html#listSplits(java.lang.String,%20int)"><code>listSplits(String, int)</code></a> instead.</i></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>maxSplits</code> - specifies the maximum number of splits to return</dd> +<dt><span class="strong">Returns:</span></dt><dd>the split points (end-row names) for the table's current split profile, grouped into fewer splits so as not to exceed maxSplits</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></dd></dl> +</li> +</ul> +<a name="listSplits(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>listSplits</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.hadoop.io.Text> listSplits(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + int maxSplits) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the name of the table</dd><dd><code>maxSplits</code> - specifies the maximum number of splits to return</dd> +<dt><span class="strong">Returns:</span></dt><dd>the split points (end-row names) for the table's current split profile, grouped into fewer splits so as not to exceed maxSplits</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> - if a general error occurs</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code> - if the user does not have permission</dd> +<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="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="locate(java.lang.String, java.util.Collection)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>locate</h4> +<pre><a href="../../../../../../org/apache/accumulo/core/client/admin/Locations.html" title="interface in org.apache.accumulo.core.client.admin">Locations</a> locate(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../../org/apache/accumulo/core/data/Range.html" title="class in org.apache.accumulo.core.data">Range</a>> ranges) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block">Locates the tablet servers and tablets that would service a collections of ranges. If a range covers multiple tablets, it will occur multiple times in the + returned map.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ranges</code> - The input ranges that should be mapped to tablet servers and tablets.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableOfflineException.html" title="class in org.apache.accumulo.core.client">TableOfflineException</a></code> - if the table is offline or goes offline during the operation</dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<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="strong">Since:</span></dt> + <dd>1.8.0</dd></dl> +</li> +</ul> +<a name="getMaxRow(java.lang.String, org.apache.accumulo.core.security.Authorizations, org.apache.hadoop.io.Text, boolean, org.apache.hadoop.io.Text, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxRow</h4> +<pre>org.apache.hadoop.io.Text getMaxRow(<a href="http://docs.oracle.com/javase/7/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> auths, + org.apache.hadoop.io.Text startRow, + boolean startInclusive, + org.apache.hadoop.io.Text endRow, + boolean endInclusive) + throws <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <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">Finds the max row within a given range. To find the max row in a table, pass null for start and end row.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>auths</code> - find the max row that can seen with these auths</dd><dd><code>startRow</code> - row to start looking at, null means -Infinity</dd><dd><code>startInclusive</code> - determines if the start row is included</dd><dd><code>endRow</code> - row to stop looking at, null means Infinity</dd><dd><code>endInclusive</code> - determines if the end row is included</dd> +<dt><span class="strong">Returns:</span></dt><dd>The max row in the range, or null if there is no visible data in the range.</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></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd></dl> +</li> +</ul> +<a name="merge(java.lang.String, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>merge</h4> +<pre>void merge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block">Merge tablets between (start, end]</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the table to merge</dd><dd><code>start</code> - first tablet to be merged contains the row after this row, null means the first tablet</dd><dd><code>end</code> - last tablet to be merged contains this row, null means the last tablet</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></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code></dd></dl> +</li> +</ul> +<a name="deleteRows(java.lang.String, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>deleteRows</h4> +<pre>void deleteRows(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end) + 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>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></pre> +<div class="block">Delete rows between (start, end]</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the table to merge</dd><dd><code>start</code> - delete rows after this, null means the first row of the table</dd><dd><code>end</code> - last row to be deleted, inclusive, null means the last row of the table</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></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code></dd></dl> +</li> +</ul> +<a name="compact(java.lang.String, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text, boolean, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>compact</h4> +<pre>void compact(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end, + boolean flush, + boolean wait) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></pre> +<div class="block">Starts a full major compaction of the tablets in the range (start, end]. The compaction is preformed even for tablets that have only one file.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the table to compact</dd><dd><code>start</code> - first tablet to be compacted contains the row after this row, null means the first tablet in table</dd><dd><code>end</code> - last tablet to be compacted contains this row, null means the last tablet in table</dd><dd><code>flush</code> - when true, table memory is flushed before compaction starts</dd><dd><code>wait</code> - when true, the call will not return until compactions are finished</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd></dl> +</li> +</ul> +<a name="compact(java.lang.String, org.apache.hadoop.io.Text, org.apache.hadoop.io.Text, java.util.List, boolean, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>compact</h4> +<pre>void compact(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, + org.apache.hadoop.io.Text start, + org.apache.hadoop.io.Text end, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>> iterators, + boolean flush, + boolean wait) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></pre> +<div class="block">Starts a full major compaction of the tablets in the range (start, end]. The compaction is preformed even for tablets that have only one file.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the table to compact</dd><dd><code>start</code> - first tablet to be compacted contains the row after this row, null means the first tablet in table</dd><dd><code>end</code> - last tablet to be compacted contains this row, null means the last tablet in table</dd><dd><code>iterators</code> - A set of iterators that will be applied to each tablet compacted. If two or more concurrent calls to compact pass iterators, then only one will + succeed and the others will fail.</dd><dd><code>flush</code> - when true, table memory is flushed before compaction starts</dd><dd><code>wait</code> - when true, the call will not return until compactions are finished</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="compact(java.lang.String, org.apache.accumulo.core.client.admin.CompactionConfig)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>compact</h4> +<pre>void compact(<a href="http://docs.oracle.com/javase/7/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/client/admin/CompactionConfig.html" title="class in org.apache.accumulo.core.client.admin">CompactionConfig</a> config) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a>, + <a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></pre> +<div class="block">Starts a full major compaction of the tablets in the range (start, end]. If the config does not specify a compaction strategy, then all files in a tablet + are compacted. The compaction is performed even for tablets that have only one file. + + <p> + Only one compact call at a time can pass iterators and/or a compaction strategy. If two threads call compaction with iterators and/or a copmaction + strategy, then one will fail.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tableName</code> - the table to compact</dd><dd><code>config</code> - the configuration to use</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/TableNotFoundException.html" title="class in org.apache.accumulo.core.client">TableNotFoundException</a></code></dd> +<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloException.html" title="class in org.apache.accumulo.core.client">AccumuloException</a></code></dd><dt><span class="strong">Since:</span></dt> + <dd>1.7.0</dd></dl> +</li> +</ul> +<a name="cancelCompaction(java.
<TRUNCATED>