Class RecordWriterRowSetStream
java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<Long,org.apache.jena.sparql.engine.binding.Binding>
net.sansa_stack.hadoop.output.jena.base.RecordWriterRowSetStream
public class RecordWriterRowSetStream
extends org.apache.hadoop.mapreduce.RecordWriter<Long,org.apache.jena.sparql.engine.binding.Binding>
RecordWriter implementation over
RowSetStreamWriter.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FragmentOutputSpecprotected org.aksw.jenax.io.rowset.core.RowSetStreamWriter -
Constructor Summary
ConstructorsConstructorDescriptionRecordWriterRowSetStream(org.aksw.jenax.io.rowset.core.RowSetStreamWriter writer, FragmentOutputSpec fragmentOutputSpec) -
Method Summary
-
Field Details
-
writer
protected org.aksw.jenax.io.rowset.core.RowSetStreamWriter writer -
fragmentOutputSpec
-
-
Constructor Details
-
RecordWriterRowSetStream
public RecordWriterRowSetStream(org.aksw.jenax.io.rowset.core.RowSetStreamWriter writer, FragmentOutputSpec fragmentOutputSpec) throws IOException - Throws:
IOException
-
-
Method Details
-
write
public void write(Long aLong, org.apache.jena.sparql.engine.binding.Binding record) throws IOException, InterruptedException - Specified by:
writein classorg.apache.hadoop.mapreduce.RecordWriter<Long,org.apache.jena.sparql.engine.binding.Binding> - Throws:
IOExceptionInterruptedException
-
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException - Specified by:
closein classorg.apache.hadoop.mapreduce.RecordWriter<Long,org.apache.jena.sparql.engine.binding.Binding> - Throws:
IOExceptionInterruptedException
-