public class AccumuloInputFormat extends InputFormatBase<Key,Value>
InputFormat
provides keys and values of type Key
and
Value
to the Map function.
The user must specify the following via static configurator methods:
AbstractInputFormat.setConnectorInfo(JobConf, String, AuthenticationToken)
AbstractInputFormat.setConnectorInfo(JobConf, String, String)
AbstractInputFormat.setScanAuthorizations(JobConf, Authorizations)
AbstractInputFormat.setZooKeeperInstance(JobConf, ClientConfiguration)
OR AbstractInputFormat.setMockInstance(JobConf, String)
InputFormatBase.RangeInputSplit, InputFormatBase.RecordReaderBase<K,V>
AbstractInputFormat.AbstractRecordReader<K,V>
CLASS, log
Constructor and Description |
---|
AccumuloInputFormat() |
Modifier and Type | Method and 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) |
addIterator, fetchColumns, getAutoAdjustRanges, getFetchedColumns, getInputTableName, getIterators, getRanges, getTabletLocator, isBatchScan, isIsolated, isOfflineScan, setAutoAdjustRanges, setBatchScan, setInputTableName, setLocalIterators, setOfflineTableScan, setRanges, setScanIsolation, usesLocalIterators
getAuthenticationToken, getClientConfiguration, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, getTabletLocator, isConnectorInfoSet, setConnectorInfo, setConnectorInfo, setLogLevel, setMockInstance, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptions
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
IOException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.