Class ExpressionRecordWriter
- java.lang.Object
-
- org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
-
- fr.ens.biologie.genomique.eoulsan.bio.io.hadoop.ExpressionRecordWriter
-
public class ExpressionRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
This class define a RecordWriter for expression files.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description ExpressionRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context, DataOutputStream out)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
void
write(org.apache.hadoop.io.Text key, org.apache.hadoop.io.LongWritable value)
-
-
-
Constructor Detail
-
ExpressionRecordWriter
public ExpressionRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context, DataOutputStream out)
Public constructor.- Parameters:
context
- the contextout
- data output stream
-
-
Method Detail
-
write
public void write(org.apache.hadoop.io.Text key, org.apache.hadoop.io.LongWritable value) throws IOException, InterruptedException
- Specified by:
write
in classorg.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
- Throws:
IOException
InterruptedException
-
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
- Throws:
IOException
-
-