com.hp.hpl.jena.sparql.modify
Class UsingUpdateSink

java.lang.Object
  extended by com.hp.hpl.jena.sparql.modify.UsingUpdateSink
All Implemented Interfaces:
UpdateSink, Closeable, Sink<Update>

public class UsingUpdateSink
extends Object
implements UpdateSink

Adds using clauses from the UsingList to UpdateWithUsing operations; will throw an UpdateException if the modify operation already contains a using clause.


Constructor Summary
UsingUpdateSink(UpdateSink sink, UsingList usingList)
           
 
Method Summary
 void close()
           
 QuadDataAccSink createDeleteDataSink()
           
 QuadDataAccSink createInsertDataSink()
           
 void flush()
           
 Prologue getPrologue()
           
 void send(Update update)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsingUpdateSink

public UsingUpdateSink(UpdateSink sink,
                       UsingList usingList)
Method Detail

send

public void send(Update update)
Specified by:
send in interface Sink<Update>

createInsertDataSink

public QuadDataAccSink createInsertDataSink()
Specified by:
createInsertDataSink in interface UpdateSink

createDeleteDataSink

public QuadDataAccSink createDeleteDataSink()
Specified by:
createDeleteDataSink in interface UpdateSink

flush

public void flush()
Specified by:
flush in interface Sink<Update>

close

public void close()
Specified by:
close in interface Closeable

getPrologue

public Prologue getPrologue()
Specified by:
getPrologue in interface UpdateSink


Licenced under the Apache License, Version 2.0