Пример #1
0
 public override RecordReader <object, object> CreateRecordReader(InputSplit split,
                                                                  TaskAttemptContext context)
 {
     return(new TestLocalRunner.EmptyRecordReader());
 }
Пример #2
0
 public override void Initialize(InputSplit split, TaskAttemptContext context)
 {
 }
Пример #3
0
 /// <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);
Пример #4
0
 public override RecordReader <K, V> CreateRecordReader(InputSplit ignored, TaskAttemptContext
                                                        context)
 {
     return(new _RecordReader_308());
 }
Пример #5
0
 /// <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);
Пример #6
0
 /// <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
                                                                      ()));
 }
Пример #7
0
                               > CreateRecordReader(InputSplit ignored, TaskAttemptContext taskContext)
 {
     return(new _RecordReader_259());
 }