Class ElementInputFormat


  • public class ElementInputFormat
    extends org.apache.accumulo.core.client.mapreduce.InputFormatBase<Element,​org.apache.hadoop.io.NullWritable>
    An InputFormatBase that allows the data in an Accumulo store to be read as Element, NullWritable pairs.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.hadoop.mapreduce.RecordReader<Element,​org.apache.hadoop.io.NullWritable> createRecordReader​(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)  
      static boolean doPostFilter​(Element element, View view)  
      static boolean postFilter​(Element element, ElementFilter postFilter)  
      • Methods inherited from class org.apache.accumulo.core.client.mapreduce.InputFormatBase

        addIterator, fetchColumns, isBatchScan, setAutoAdjustRanges, setBatchScan, setInputTableName, setLocalIterators, setOfflineTableScan, setRanges, setSamplerConfiguration, setScanIsolation
      • Methods inherited from class org.apache.accumulo.core.client.mapreduce.AbstractInputFormat

        getClassLoaderContext, getSplits, setClassLoaderContext, setConnectorInfo, setConnectorInfo, setLogLevel, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance
    • Constructor Detail

      • ElementInputFormat

        public ElementInputFormat()
    • Method Detail

      • createRecordReader

        public org.apache.hadoop.mapreduce.RecordReader<Element,​org.apache.hadoop.io.NullWritable> createRecordReader​(org.apache.hadoop.mapreduce.InputSplit split,
                                                                                                                            org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                                                                     throws IOException
        Specified by:
        createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<Element,​org.apache.hadoop.io.NullWritable>
        Throws:
        IOException
      • doPostFilter

        public static boolean doPostFilter​(Element element,
                                           View view)