Class AccumuloInputFormat
- java.lang.Object
-
- org.apache.accumulo.core.client.mapred.AbstractInputFormat<K,V>
-
- org.apache.accumulo.core.client.mapred.InputFormatBase<Key,Value>
-
- org.apache.accumulo.core.client.mapred.AccumuloInputFormat
-
@Deprecated public class AccumuloInputFormat extends InputFormatBase<Key,Value>
Deprecated.since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarThis class allows MapReduce jobs to use Accumulo as the source of data. ThisInputFormat
provides keys and values of typeKey
andValue
to the Map function. The user must specify the following via static configurator methods:AbstractInputFormat.setConnectorInfo(JobConf, String, AuthenticationToken)
AbstractInputFormat.setConnectorInfo(JobConf, String, String)
InputFormatBase.setInputTableName(JobConf, String)
AbstractInputFormat.setScanAuthorizations(JobConf, Authorizations)
AbstractInputFormat.setZooKeeperInstance(JobConf, org.apache.accumulo.core.client.ClientConfiguration)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.client.mapred.InputFormatBase
InputFormatBase.RecordReaderBase<K,V>
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.client.mapred.AbstractInputFormat
AbstractInputFormat.AbstractRecordReader<K,V>
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.client.mapred.AbstractInputFormat
CLASS, log
-
-
Constructor Summary
Constructors Constructor Description AccumuloInputFormat()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.hadoop.mapred.RecordReader<Key,Value>
getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)
Deprecated.-
Methods inherited from class org.apache.accumulo.core.client.mapred.InputFormatBase
addIterator, fetchColumns, getAutoAdjustRanges, getFetchedColumns, getInputTableName, getIterators, getRanges, isBatchScan, isIsolated, isOfflineScan, setAutoAdjustRanges, setBatchScan, setInputTableName, setLocalIterators, setOfflineTableScan, setRanges, setSamplerConfiguration, setScanIsolation, usesLocalIterators
-
Methods inherited from class org.apache.accumulo.core.client.mapred.AbstractInputFormat
getAuthenticationToken, getClassLoaderContext, getClientConfiguration, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, isConnectorInfoSet, setClassLoaderContext, setConnectorInfo, setConnectorInfo, setLogLevel, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptions
-
-
-
-
Method Detail
-
getRecordReader
public org.apache.hadoop.mapred.RecordReader<Key,Value> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
Deprecated.- Throws:
IOException
-
-