TKey - Key typepublic class QuadsToTriplesWriter<TKey> extends org.apache.hadoop.mapreduce.RecordWriter<TKey,QuadWritable>
| Constructor and Description |
|---|
QuadsToTriplesWriter(org.apache.hadoop.mapreduce.RecordWriter<TKey,TripleWritable> tripleWriter)
Creates a new writer
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(TKey key,
QuadWritable value) |
public QuadsToTriplesWriter(org.apache.hadoop.mapreduce.RecordWriter<TKey,TripleWritable> tripleWriter)
tripleWriter - Triple writer to usepublic void write(TKey key, QuadWritable value) throws IOException, InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<TKey,QuadWritable>IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<TKey,QuadWritable>IOExceptionInterruptedExceptionLicenced under the Apache License, Version 2.0