public override RecordReader <object, object> CreateRecordReader(InputSplit split, TaskAttemptContext context) { return(new TestLocalRunner.EmptyRecordReader()); }
public override void Initialize(InputSplit split, TaskAttemptContext context) { }
/// <summary>Called once at initialization.</summary> /// <param name="split">the split that defines the range of records to read</param> /// <param name="context">the information about the task</param> /// <exception cref="System.IO.IOException"/> /// <exception cref="System.Exception"/> public abstract void Initialize(InputSplit split, TaskAttemptContext context);
public override RecordReader <K, V> CreateRecordReader(InputSplit ignored, TaskAttemptContext context) { return(new _RecordReader_308()); }
/// <summary>Create a record reader for a given split.</summary> /// <remarks> /// Create a record reader for a given split. The framework will call /// <see cref="RecordReader{KEYIN, VALUEIN}.Initialize(InputSplit, TaskAttemptContext) /// "/> /// before /// the split is used. /// </remarks> /// <param name="split">the split to be read</param> /// <param name="context">the information about the task</param> /// <returns>a new record reader</returns> /// <exception cref="System.IO.IOException"/> /// <exception cref="System.Exception"/> public abstract RecordReader <K, V> CreateRecordReader(InputSplit split, TaskAttemptContext context);
/// <exception cref="System.IO.IOException"/> /// <exception cref="System.Exception"/> public override RecordReader <Text, Text> CreateRecordReader(InputSplit split, TaskAttemptContext context) { return(new RandomWriter.RandomInputFormat.RandomRecordReader(((FileSplit)split).GetPath ())); }
> CreateRecordReader(InputSplit ignored, TaskAttemptContext taskContext) { return(new _RecordReader_259()); }