List of usage examples for org.apache.hadoop.mapreduce RecordReader subclass-usage
From source file org.calrissian.accumulorecipes.commons.mock.MockRecordReader.java
public class MockRecordReader<K, V> extends RecordReader<K, V> { Iterator<Pair<K, V>> itrPairs; Pair<K, V> curPair; public MockRecordReader(Iterable<Pair<K, V>> pairs) {
From source file org.calrissian.accumulorecipes.test.MockRecordReader.java
public class MockRecordReader<K, V> extends RecordReader<K, V> { Iterator<Pair<K, V>> itrPairs; Pair<K, V> curPair; public MockRecordReader(Iterable<Pair<K, V>> pairs) {
From source file org.cloudgraph.hbase.mapreduce.GraphRecordReader.java
/**
* Iterates over HBase root table data for the current <code>TableSplit</code>,
* assembling data graphs based on the detailed selection criteria within a
* given <a href="http://plasma-sdo.org/org/plasma/query/Query.html">query</a>.
* Partially or fully assembled data graphs may be passed to a
* {@link GraphRecordRecognizer} and potentially screened from client
From source file org.cloudgraph.mapreduce.GraphXmlRecordReader.java
/**
* An HDFS XML text file record reader that iterates over HDFS data for the
* current <code>TableSplit</code>, unmarshalling the XML as structured data
* graphs based on structural and XML-specific metadata from the underlying
* domain model. Data graphs may be heterogeneous and of any size or complexity
* are supplied through {@link GraphXmlInputFormat} including graphs where the
From source file org.commoncrawl.hadoop.io.mapreduce.ARCFileRecordReader.java
/**
* Reads an ARCFile whose location is spcified via a FileInputSplit
*
* @author rana
*
*/
From source file org.deeplearning4j.iterativereduce.impl.reader.CanovaRecordReader.java
/** * canova record reader * @author Adam Gibson */ public class CanovaRecordReader extends RecordReader<Long, Collection<Writable>> { private org.canova.api.records.reader.RecordReader recordReader;
From source file org.geotools.shapefile.ShapeFileReaderNew.java
/** * This RecordReader implementation hands individual Shapefiles to the Mapper. * The "key" is the file name, the "value" is the file contents. */ public class ShapeFileReaderNew extends RecordReader<Text, BytesWritable> {
From source file org.geotools.WholeFile.WholeFileRecordReader_NewAPI.java
class WholeFileRecordReader_NewAPI extends RecordReader<NullWritable, BytesWritable> { private FileSplit fileSplit; private Configuration conf; private boolean processed = false;
From source file org.godhuli.rhipe.RXLineRecordReader.java
public class RXLineRecordReader extends RecordReader<RHNumeric, RHText> { private CompressionCodecFactory compressionCodecs = null; private long start; private long pos; private long end; private LineReader in;
From source file org.godhuli.rhipe.SequenceFileAsRHTextRecordReader.java
/** * This class converts the input keys and values to their String forms by * calling toString() method. This class to SequenceFileAsTextInputFormat * class is as LineRecordReader class to TextInputFormat class. */ public class SequenceFileAsRHTextRecordReader extends RecordReader<RHText, RHText> {