Package org.apache.jena.sparql.modify
Class UpdateVisitorSink
- java.lang.Object
-
- org.apache.jena.sparql.modify.UpdateVisitorSink
-
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,org.apache.jena.atlas.lib.Sink<Update>
,UpdateSink
public class UpdateVisitorSink extends java.lang.Object implements UpdateSink
UpdateSink that sends every Update to a worker except for the quads of INSERT DATA, DELETE DATA which do to special sinks.
-
-
Constructor Summary
Constructors Constructor Description UpdateVisitorSink(UpdateVisitor worker, org.apache.jena.atlas.lib.Sink<Quad> addSink, org.apache.jena.atlas.lib.Sink<Quad> delSink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
QuadDataAccSink
createDeleteDataSink()
QuadDataAccSink
createInsertDataSink()
void
flush()
void
send(Update update)
-
-
-
Constructor Detail
-
UpdateVisitorSink
public UpdateVisitorSink(UpdateVisitor worker, org.apache.jena.atlas.lib.Sink<Quad> addSink, org.apache.jena.atlas.lib.Sink<Quad> delSink)
-
-
Method Detail
-
send
public void send(Update update)
- Specified by:
send
in interfaceorg.apache.jena.atlas.lib.Sink<Update>
-
createInsertDataSink
public QuadDataAccSink createInsertDataSink()
- Specified by:
createInsertDataSink
in interfaceUpdateSink
-
createDeleteDataSink
public QuadDataAccSink createDeleteDataSink()
- Specified by:
createDeleteDataSink
in interfaceUpdateSink
-
flush
public void flush()
- Specified by:
flush
in interfaceorg.apache.jena.atlas.lib.Sink<Update>
-
close
public void close()
- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-
-