Package org.apache.hadoop.mapreduce.lib.input

Examples of org.apache.hadoop.mapreduce.lib.input.LineRecordReader


        RecordReader<LongWritable, X> {
    private static org.apache.commons.logging.Log logger = LogFactory.getLog(LineProcessingRecordReader.class);
    LineRecordReader innerReader;

    public LineProcessingRecordReader() {
        innerReader=new LineRecordReader();
    }
View Full Code Here


    private final Text Key;
    private Text Line;
    private final FsEntry Value;

    public FsEntryRecordReader() {
      Liner = new LineRecordReader();
      Key = new Text();
      Line = new Text();
      Value = new FsEntry();
    }
View Full Code Here

    private final LineRecordReader lineRecordReader;
    private final GraphSONReader graphSONReader;
    private GiraphComputeVertex vertex = null;

    public GraphSONRecordReader() {
        this.lineRecordReader = new LineRecordReader();
        this.graphSONReader = GraphSONReader.build().create();
    }
View Full Code Here

public class GiraphTextInputFormat
    extends GiraphFileInputFormat<LongWritable, Text> {
  @Override
  public RecordReader<LongWritable, Text>
  createRecordReader(InputSplit split, TaskAttemptContext context) {
    return new LineRecordReader();
  }
View Full Code Here

    private final LineRecordReader lineRecordReader;
    private final VertexQueryFilter vertexQuery;
    private FaunusVertex vertex = null;

    public GraphSONRecordReader(VertexQueryFilter vertexQuery) {
        this.lineRecordReader = new LineRecordReader();
        this.vertexQuery = vertexQuery;
    }
View Full Code Here

    private LineRecordReader lineRecordReader;

    private FaunusElement element;

    public RDFRecordReader(final Configuration configuration) throws IOException {
        this.lineRecordReader = new LineRecordReader();
        this.handler = new RDFBlueprintsHandler(configuration);
    }
View Full Code Here

    private boolean pathEnabled;
    private final LineRecordReader lineRecordReader;
    private FaunusVertex vertex;

    public ScriptRecordReader(final VertexQueryFilter vertexQuery, final TaskAttemptContext context) throws IOException {
        this.lineRecordReader = new LineRecordReader();
        this.vertex = new FaunusVertex();
        this.vertexQuery = vertexQuery;
        this.pathEnabled = context.getConfiguration().getBoolean(FaunusCompiler.PATH_ENABLED, false);

        final FileSystem fs = FileSystem.get(context.getConfiguration());
View Full Code Here

    private LineRecordReader lineRecordReader;

    private AvroWrapper<Utf8> currentKey = new AvroWrapper<Utf8>();

    public Utf8LineRecordReader() throws IOException {
      this.lineRecordReader = new LineRecordReader();
    }
View Full Code Here

public class GiraphTextInputFormat
    extends GiraphFileInputFormat<LongWritable, Text> {
  @Override
  public RecordReader<LongWritable, Text>
  createRecordReader(InputSplit split, TaskAttemptContext context) {
    return new LineRecordReader();
  }
View Full Code Here

    private LineRecordReader reader;
    private TextArrayWritable value;
    private final CSVParser parser;

    public CSVRecordReader(Character csvDelimiter) {
      this.reader = new LineRecordReader();
      if (csvDelimiter == null) {
        parser = new CSVParser();             //<co id="ch02_comment_csv_inputformat5"/>
      } else {
        parser = new CSVParser(csvDelimiter);
      }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mapreduce.lib.input.LineRecordReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.