http://git-wip-us.apache.org/repos/asf/accumulo/blob/97bc584b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html ---------------------------------------------------------------------- diff --git a/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html new file mode 100644 index 0000000..bbfa026 --- /dev/null +++ b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html @@ -0,0 +1,326 @@ +<!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:21 EDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>AccumuloOutputFormat.AccumuloRecordWriter (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="AccumuloOutputFormat.AccumuloRecordWriter (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/AccumuloOutputFormat.AccumuloRecordWriter.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/mapred/AccumuloOutputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloRowInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" target="_top">Frames</a></li> +<li><a href="AccumuloOutputFormat.AccumuloRecordWriter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.accumulo.core.client.mapred</div> +<h2 title="Class AccumuloOutputFormat.AccumuloRecordWriter" class="title">Class AccumuloOutputFormat.AccumuloRecordWriter</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.accumulo.core.client.mapred.AccumuloOutputFormat.AccumuloRecordWriter</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html" title="class in org.apache.accumulo.core.client.mapred">AccumuloOutputFormat</a></dd> +</dl> +<hr> +<br> +<pre>protected static class <span class="strong">AccumuloOutputFormat.AccumuloRecordWriter</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></pre> +<div class="block">A base class to be used to create <code>RecordWriter</code> instances that write to Accumulo.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html#AccumuloOutputFormat.AccumuloRecordWriter(org.apache.hadoop.mapred.JobConf)">AccumuloOutputFormat.AccumuloRecordWriter</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html#addTable(org.apache.hadoop.io.Text)">addTable</a></strong>(org.apache.hadoop.io.Text tableName)</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/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html#close(org.apache.hadoop.mapred.Reporter)">close</a></strong>(org.apache.hadoop.mapred.Reporter reporter)</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/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html#write(org.apache.hadoop.io.Text,%20org.apache.accumulo.core.data.Mutation)">write</a></strong>(org.apache.hadoop.io.Text table, + <a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a> mutation)</code> +<div class="block">Push a mutation into a table.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</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="AccumuloOutputFormat.AccumuloRecordWriter(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>AccumuloOutputFormat.AccumuloRecordWriter</h4> +<pre>protected AccumuloOutputFormat.AccumuloRecordWriter(org.apache.hadoop.mapred.JobConf job) + 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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><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="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="write(org.apache.hadoop.io.Text, org.apache.accumulo.core.data.Mutation)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>write</h4> +<pre>public void write(org.apache.hadoop.io.Text table, + <a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a> mutation) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Push a mutation into a table. If table is null, the defaultTable will be used. If <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#canCreateTables(org.apache.hadoop.mapred.JobConf)"><code>AccumuloOutputFormat.canCreateTables(JobConf)</code></a> is set, the table + will be created if it does not exist. The table name must only contain alphanumerics and underscore.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>write</code> in interface <code>org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="addTable(org.apache.hadoop.io.Text)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addTable</h4> +<pre>public void addTable(org.apache.hadoop.io.Text 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></pre> +<dl><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></dl> +</li> +</ul> +<a name="close(org.apache.hadoop.mapred.Reporter)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>close</h4> +<pre>public void close(org.apache.hadoop.mapred.Reporter reporter) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>close</code> in interface <code>org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AccumuloOutputFormat.AccumuloRecordWriter.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/mapred/AccumuloOutputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloRowInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" target="_top">Frames</a></li> +<li><a href="AccumuloOutputFormat.AccumuloRecordWriter.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2011–2016 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/accumulo/blob/97bc584b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html ---------------------------------------------------------------------- diff --git a/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html new file mode 100644 index 0000000..3c73ed7 --- /dev/null +++ b/1.8/apidocs/org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html @@ -0,0 +1,827 @@ +<!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:21 EDT 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>AccumuloOutputFormat (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="AccumuloOutputFormat (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/AccumuloOutputFormat.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/mapred/AccumuloMultiTableInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html" target="_top">Frames</a></li> +<li><a href="AccumuloOutputFormat.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><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<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.mapred</div> +<h2 title="Class AccumuloOutputFormat" class="title">Class AccumuloOutputFormat</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.accumulo.core.client.mapred.AccumuloOutputFormat</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">AccumuloOutputFormat</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></pre> +<div class="block">This class allows MapReduce jobs to use Accumulo as the sink for data. This <code>OutputFormat</code> accepts keys and values of type <code>Text</code> (for a table + name) and <a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data"><code>Mutation</code></a> from the Map and Reduce functions. + + The user must specify the following via static configurator methods: + + <ul> + <li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.accumulo.core.client.security.tokens.AuthenticationToken)"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a> + <li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20java.lang.String)"><code>setConnectorInfo(JobConf, String, String)</code></a> + <li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.ClientConfiguration)"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a> + </ul> + + Other static methods are optional.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred">AccumuloOutputFormat.AccumuloRecordWriter</a></strong></code> +<div class="block">A base class to be used to create <code>RecordWriter</code> instances that write to Accumulo.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static org.apache.log4j.Logger</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#log">log</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#AccumuloOutputFormat()">AccumuloOutputFormat</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#canCreateTables(org.apache.hadoop.mapred.JobConf)">canCreateTables</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Determines whether tables are permitted to be created as needed.</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/mapred/AccumuloOutputFormat.html#checkOutputSpecs(org.apache.hadoop.fs.FileSystem,%20org.apache.hadoop.mapred.JobConf)">checkOutputSpecs</a></strong>(org.apache.hadoop.fs.FileSystem ignored, + org.apache.hadoop.mapred.JobConf job)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken(org.apache.hadoop.mapred.JobConf)">getAuthenticationToken</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Gets the authenticated token from either the specified token file or directly from the configuration, whichever was used when the job was configured.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getBatchWriterOptions(org.apache.hadoop.mapred.JobConf)">getBatchWriterOptions</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Gets the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a> settings.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <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/mapred/AccumuloOutputFormat.html#getDefaultTableName(org.apache.hadoop.mapred.JobConf)">getDefaultTableName</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Gets the default table name from the configuration.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getInstance(org.apache.hadoop.mapred.JobConf)">getInstance</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Initializes an Accumulo <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client"><code>Instance</code></a> based on the configuration.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static org.apache.log4j.Level</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getLogLevel(org.apache.hadoop.mapred.JobConf)">getLogLevel</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Gets the log level from this configuration.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <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/mapred/AccumuloOutputFormat.html#getPrincipal(org.apache.hadoop.mapred.JobConf)">getPrincipal</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Gets the principal from the configuration.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getRecordWriter(org.apache.hadoop.fs.FileSystem,%20org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.hadoop.util.Progressable)">getRecordWriter</a></strong>(org.apache.hadoop.fs.FileSystem ignored, + org.apache.hadoop.mapred.JobConf job, + <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.hadoop.util.Progressable progress)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getSimulationMode(org.apache.hadoop.mapred.JobConf)">getSimulationMode</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Determines whether this feature is enabled.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getToken(org.apache.hadoop.mapred.JobConf)">getToken</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken(org.apache.hadoop.mapred.JobConf)"><code>getAuthenticationToken(JobConf)</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <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/mapred/AccumuloOutputFormat.html#getTokenClass(org.apache.hadoop.mapred.JobConf)">getTokenClass</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken(org.apache.hadoop.mapred.JobConf)"><code>getAuthenticationToken(JobConf)</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#isConnectorInfoSet(org.apache.hadoop.mapred.JobConf)">isConnectorInfoSet</a></strong>(org.apache.hadoop.mapred.JobConf job)</code> +<div class="block">Determines if the connector has been configured.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setBatchWriterOptions(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.BatchWriterConfig)">setBatchWriterOptions</a></strong>(org.apache.hadoop.mapred.JobConf job, + <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> bwConfig)</code> +<div class="block">Sets the configuration for for the job's <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a> instances.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.accumulo.core.client.security.tokens.AuthenticationToken)">setConnectorInfo</a></strong>(org.apache.hadoop.mapred.JobConf job, + <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> principal, + <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> token)</code> +<div class="block">Sets the connector information needed to communicate with Accumulo in this job.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20java.lang.String)">setConnectorInfo</a></strong>(org.apache.hadoop.mapred.JobConf job, + <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> principal, + <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> tokenFile)</code> +<div class="block">Sets the connector information needed to communicate with Accumulo in this job.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables(org.apache.hadoop.mapred.JobConf,%20boolean)">setCreateTables</a></strong>(org.apache.hadoop.mapred.JobConf job, + boolean enableFeature)</code> +<div class="block">Sets the directive to create new tables, as necessary.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setDefaultTableName(org.apache.hadoop.mapred.JobConf,%20java.lang.String)">setDefaultTableName</a></strong>(org.apache.hadoop.mapred.JobConf job, + <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">Sets the default table name to use if one emits a null in place of a table name for a given mutation.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setLogLevel(org.apache.hadoop.mapred.JobConf,%20org.apache.log4j.Level)">setLogLevel</a></strong>(org.apache.hadoop.mapred.JobConf job, + org.apache.log4j.Level level)</code> +<div class="block">Sets the log level for this job.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setMockInstance(org.apache.hadoop.mapred.JobConf,%20java.lang.String)">setMockInstance</a></strong>(org.apache.hadoop.mapred.JobConf job, + <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> instanceName)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.8.0; use MiniAccumuloCluster or a standard mock framework</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setSimulationMode(org.apache.hadoop.mapred.JobConf,%20boolean)">setSimulationMode</a></strong>(org.apache.hadoop.mapred.JobConf job, + boolean enableFeature)</code> +<div class="block">Sets the directive to use simulation mode for this job.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.ClientConfiguration)">setZooKeeperInstance</a></strong>(org.apache.hadoop.mapred.JobConf job, + <a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a> clientConfig)</code> +<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20java.lang.String)">setZooKeeperInstance</a></strong>(org.apache.hadoop.mapred.JobConf job, + <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> instanceName, + <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> zooKeepers)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.ClientConfiguration)"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a> instead.</i></div> +</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="log"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>log</h4> +<pre>protected static final org.apache.log4j.Logger log</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="AccumuloOutputFormat()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>AccumuloOutputFormat</h4> +<pre>public AccumuloOutputFormat()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setConnectorInfo(org.apache.hadoop.mapred.JobConf, java.lang.String, org.apache.accumulo.core.client.security.tokens.AuthenticationToken)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setConnectorInfo</h4> +<pre>public static void setConnectorInfo(org.apache.hadoop.mapred.JobConf job, + <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> principal, + <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> token) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block">Sets the connector information needed to communicate with Accumulo in this job. + + <p> + <b>WARNING:</b> Some tokens, when serialized, divulge sensitive information in the configuration as a means to pass the token to MapReduce tasks. This + information is BASE64 encoded to provide a charset safe conversion to a string, but this conversion is not intended to be secure. <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/PasswordToken.html" title="class in org.apache.accumulo.core.client.security.tokens"><code>PasswordToken</code></a> is + one example that is insecure in this way; however <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/DelegationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens"><code>DelegationToken</code></a>s, acquired using + <a href="../../../../../../org/apache/accumulo/core/client/admin/SecurityOperations.html#getDelegationToken(org.apache.accumulo.core.client.admin.DelegationTokenConfig)"><code>SecurityOperations.getDelegationToken(DelegationTokenConfig)</code></a>, is not subject to this concern.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>principal</code> - a valid Accumulo user name (user must have Table.CREATE permission if <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables(org.apache.hadoop.mapred.JobConf,%20boolean)"><code>setCreateTables(JobConf, boolean)</code></a> is set to true)</dd><dd><code>token</code> - the user's password</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><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="setConnectorInfo(org.apache.hadoop.mapred.JobConf, java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setConnectorInfo</h4> +<pre>public static void setConnectorInfo(org.apache.hadoop.mapred.JobConf job, + <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> principal, + <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> tokenFile) + throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre> +<div class="block">Sets the connector information needed to communicate with Accumulo in this job. + + <p> + Stores the password in a file in HDFS and pulls that into the Distributed Cache in an attempt to be more secure than storing it in the Configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>principal</code> - a valid Accumulo user name (user must have Table.CREATE permission if <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables(org.apache.hadoop.mapred.JobConf,%20boolean)"><code>setCreateTables(JobConf, boolean)</code></a> is set to true)</dd><dd><code>tokenFile</code> - the path to the password file</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><dt><span class="strong">Since:</span></dt> + <dd>1.6.0</dd></dl> +</li> +</ul> +<a name="isConnectorInfoSet(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isConnectorInfoSet</h4> +<pre>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isConnectorInfoSet(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Determines if the connector has been configured.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the connector has been configured, false otherwise</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.accumulo.core.client.security.tokens.AuthenticationToken)"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a></dd></dl> +</li> +</ul> +<a name="getPrincipal(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPrincipal</h4> +<pre>protected static <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> getPrincipal(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Gets the principal from the configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>the user name</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.accumulo.core.client.security.tokens.AuthenticationToken)"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a></dd></dl> +</li> +</ul> +<a name="getTokenClass(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTokenClass</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> +protected static <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> getTokenClass(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken(org.apache.hadoop.mapred.JobConf)"><code>getAuthenticationToken(JobConf)</code></a> instead.</i></div> +<div class="block">Gets the serialized token class from either the configuration or the token file.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getToken(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getToken</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> +protected static byte[] getToken(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken(org.apache.hadoop.mapred.JobConf)"><code>getAuthenticationToken(JobConf)</code></a> instead.</i></div> +<div class="block">Gets the serialized token from either the configuration or the token file.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getAuthenticationToken(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAuthenticationToken</h4> +<pre>protected static <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Gets the authenticated token from either the specified token file or directly from the configuration, whichever was used when the job was configured.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd> +<dt><span class="strong">Returns:</span></dt><dd>the principal's authentication token</dd><dt><span class="strong">Since:</span></dt> + <dd>1.6.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20org.apache.accumulo.core.client.security.tokens.AuthenticationToken)"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a>, +<a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo(org.apache.hadoop.mapred.JobConf,%20java.lang.String,%20java.lang.String)"><code>setConnectorInfo(JobConf, String, String)</code></a></dd></dl> +</li> +</ul> +<a name="setZooKeeperInstance(org.apache.hadoop.mapred.JobConf, java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setZooKeeperInstance</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> +public static void setZooKeeperInstance(org.apache.hadoop.mapred.JobConf job, + <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> instanceName, + <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> zooKeepers)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.ClientConfiguration)"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a> instead.</i></div> +<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>instanceName</code> - the Accumulo instance name</dd><dd><code>zooKeepers</code> - a comma-separated list of zookeeper servers</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="setZooKeeperInstance(org.apache.hadoop.mapred.JobConf, org.apache.accumulo.core.client.ClientConfiguration)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setZooKeeperInstance</h4> +<pre>public static void setZooKeeperInstance(org.apache.hadoop.mapred.JobConf job, + <a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a> clientConfig)</pre> +<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>clientConfig</code> - client configuration for specifying connection timeouts, SSL connection options, etc.</dd><dt><span class="strong">Since:</span></dt> + <dd>1.6.0</dd></dl> +</li> +</ul> +<a name="setMockInstance(org.apache.hadoop.mapred.JobConf, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMockInstance</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> +public static void setMockInstance(org.apache.hadoop.mapred.JobConf job, + <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> instanceName)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>since 1.8.0; use MiniAccumuloCluster or a standard mock framework</i></div> +<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html" title="class in org.apache.accumulo.core.client.mock"><code>MockInstance</code></a> for this job.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>instanceName</code> - the Accumulo instance name</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getInstance(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstance</h4> +<pre>protected static <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a> getInstance(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Initializes an Accumulo <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client"><code>Instance</code></a> based on the configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>an Accumulo instance</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.ClientConfiguration)"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a></dd></dl> +</li> +</ul> +<a name="setLogLevel(org.apache.hadoop.mapred.JobConf, org.apache.log4j.Level)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogLevel</h4> +<pre>public static void setLogLevel(org.apache.hadoop.mapred.JobConf job, + org.apache.log4j.Level level)</pre> +<div class="block">Sets the log level for this job.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>level</code> - the logging level</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getLogLevel(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogLevel</h4> +<pre>protected static org.apache.log4j.Level getLogLevel(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Gets the log level from this configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>the log level</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setLogLevel(org.apache.hadoop.mapred.JobConf,%20org.apache.log4j.Level)"><code>setLogLevel(JobConf, Level)</code></a></dd></dl> +</li> +</ul> +<a name="setDefaultTableName(org.apache.hadoop.mapred.JobConf, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDefaultTableName</h4> +<pre>public static void setDefaultTableName(org.apache.hadoop.mapred.JobConf job, + <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">Sets the default table name to use if one emits a null in place of a table name for a given mutation. Table names can only be alpha-numeric and + underscores.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>tableName</code> - the table to use when the tablename is null in the write call</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getDefaultTableName(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDefaultTableName</h4> +<pre>protected static <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> getDefaultTableName(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Gets the default table name from the configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>the default table name</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setDefaultTableName(org.apache.hadoop.mapred.JobConf,%20java.lang.String)"><code>setDefaultTableName(JobConf, String)</code></a></dd></dl> +</li> +</ul> +<a name="setBatchWriterOptions(org.apache.hadoop.mapred.JobConf, org.apache.accumulo.core.client.BatchWriterConfig)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBatchWriterOptions</h4> +<pre>public static void setBatchWriterOptions(org.apache.hadoop.mapred.JobConf job, + <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> bwConfig)</pre> +<div class="block">Sets the configuration for for the job's <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a> instances. If not set, a new <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a>, with sensible built-in defaults is + used. Setting the configuration multiple times overwrites any previous configuration.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>bwConfig</code> - the configuration for the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a></dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getBatchWriterOptions(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBatchWriterOptions</h4> +<pre>protected static <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> getBatchWriterOptions(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Gets the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a> settings.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>the configuration object</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setBatchWriterOptions(org.apache.hadoop.mapred.JobConf,%20org.apache.accumulo.core.client.BatchWriterConfig)"><code>setBatchWriterOptions(JobConf, BatchWriterConfig)</code></a></dd></dl> +</li> +</ul> +<a name="setCreateTables(org.apache.hadoop.mapred.JobConf, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCreateTables</h4> +<pre>public static void setCreateTables(org.apache.hadoop.mapred.JobConf job, + boolean enableFeature)</pre> +<div class="block">Sets the directive to create new tables, as necessary. Table names can only be alpha-numeric and underscores. + + <p> + By default, this feature is <b>disabled</b>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>enableFeature</code> - the feature is enabled if true, disabled otherwise</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="canCreateTables(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCreateTables</h4> +<pre>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> canCreateTables(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Determines whether tables are permitted to be created as needed.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the feature is disabled, false otherwise</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables(org.apache.hadoop.mapred.JobConf,%20boolean)"><code>setCreateTables(JobConf, boolean)</code></a></dd></dl> +</li> +</ul> +<a name="setSimulationMode(org.apache.hadoop.mapred.JobConf, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSimulationMode</h4> +<pre>public static void setSimulationMode(org.apache.hadoop.mapred.JobConf job, + boolean enableFeature)</pre> +<div class="block">Sets the directive to use simulation mode for this job. In simulation mode, no output is produced. This is useful for testing. + + <p> + By default, this feature is <b>disabled</b>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop job instance to be configured</dd><dd><code>enableFeature</code> - the feature is enabled if true, disabled otherwise</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd></dl> +</li> +</ul> +<a name="getSimulationMode(org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSimulationMode</h4> +<pre>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> getSimulationMode(org.apache.hadoop.mapred.JobConf job)</pre> +<div class="block">Determines whether this feature is enabled.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>job</code> - the Hadoop context for the configured job</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the feature is enabled, false otherwise</dd><dt><span class="strong">Since:</span></dt> + <dd>1.5.0</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setSimulationMode(org.apache.hadoop.mapred.JobConf,%20boolean)"><code>setSimulationMode(JobConf, boolean)</code></a></dd></dl> +</li> +</ul> +<a name="checkOutputSpecs(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.mapred.JobConf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkOutputSpecs</h4> +<pre>public void checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored, + org.apache.hadoop.mapred.JobConf job) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>checkOutputSpecs</code> in interface <code>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getRecordWriter(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.mapred.JobConf, java.lang.String, org.apache.hadoop.util.Progressable)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getRecordWriter</h4> +<pre>public org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, + org.apache.hadoop.mapred.JobConf job, + <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.hadoop.util.Progressable progress) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>getRecordWriter</code> in interface <code>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AccumuloOutputFormat.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/mapred/AccumuloMultiTableInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html" target="_top">Frames</a></li> +<li><a href="AccumuloOutputFormat.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2011–2016 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>