public static class InMemInputFormat.InMemRecordReader
extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
Constructor and Description |
---|
InMemInputFormat.InMemRecordReader(InMemInputFormat.InMemInputSplit split) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.hadoop.io.IntWritable |
getCurrentKey() |
org.apache.hadoop.io.NullWritable |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit arg0,
org.apache.hadoop.mapreduce.TaskAttemptContext arg1) |
boolean |
nextKeyValue() |
public InMemInputFormat.InMemRecordReader(InMemInputFormat.InMemInputSplit split)
public float getProgress() throws IOException
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
public org.apache.hadoop.io.IntWritable getCurrentKey() throws IOException, InterruptedException
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public org.apache.hadoop.io.NullWritable getCurrentValue() throws IOException, InterruptedException
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public void initialize(org.apache.hadoop.mapreduce.InputSplit arg0, org.apache.hadoop.mapreduce.TaskAttemptContext arg1) throws IOException, InterruptedException
initialize
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable>
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.