public class AccumuloRowInputFormat extends InputFormatBase<org.apache.hadoop.io.Text,org.apache.accumulo.core.util.PeekingIterator<Map.Entry<Key,Value>>>
InputFormat
provides row names as Text
as keys, and a
corresponding PeekingIterator
as a value, which in turn makes the Key
/Value
pairs for that row available to the Map function.
The user must specify the following via static configurator methods:
Other static methods are optional.InputFormatBase.RangeInputSplit, InputFormatBase.RecordReaderBase<K,V>
log
Constructor and Description |
---|
AccumuloRowInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,org.apache.accumulo.core.util.PeekingIterator<Map.Entry<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, getInstance, getIterators, getLogLevel, getPrincipal, getRanges, getScanAuthorizations, getSplits, getTabletLocator, getToken, getTokenClass, isConnectorInfoSet, isIsolated, isOfflineScan, setAutoAdjustRanges, setConnectorInfo, setInputTableName, setLocalIterators, setLogLevel, setMockInstance, setOfflineTableScan, setRanges, setScanAuthorizations, setScanIsolation, setZooKeeperInstance, usesLocalIterators, validateOptions
public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,org.apache.accumulo.core.util.PeekingIterator<Map.Entry<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-2016 The Apache Software Foundation. All Rights Reserved.