Class RecordWriterStreamRDF<T>
java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<Long,T>
net.sansa_stack.hadoop.output.jena.base.RecordWriterStreamRDF<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AutoCloseableprotected BiConsumer<org.apache.jena.riot.system.StreamRDF,T> protected org.apache.jena.riot.system.StreamRDF -
Constructor Summary
ConstructorsConstructorDescriptionRecordWriterStreamRDF(org.apache.jena.riot.system.StreamRDF streamRdf, BiConsumer<org.apache.jena.riot.system.StreamRDF, T> sendRecordToStreamRdf, AutoCloseable closeAction) -
Method Summary
-
Field Details
-
streamRdf
protected org.apache.jena.riot.system.StreamRDF streamRdf -
sendRecordToStreamRdf
-
closeAction
-
-
Constructor Details
-
RecordWriterStreamRDF
public RecordWriterStreamRDF(org.apache.jena.riot.system.StreamRDF streamRdf, BiConsumer<org.apache.jena.riot.system.StreamRDF, T> sendRecordToStreamRdf, AutoCloseable closeAction)
-
-
Method Details
-
write
- Specified by:
writein classorg.apache.hadoop.mapreduce.RecordWriter<Long,T> - Throws:
IOExceptionInterruptedException
-
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException - Specified by:
closein classorg.apache.hadoop.mapreduce.RecordWriter<Long,T> - Throws:
IOExceptionInterruptedException
-