org.openjena.riot.lang
Class SinkQuadsToDataset

java.lang.Object
  extended by org.openjena.riot.lang.SinkQuadsToDataset
All Implemented Interfaces:
Closeable, Sink<Quad>

public class SinkQuadsToDataset
extends Object
implements Sink<Quad>

Send quads to a dataset. This Sink must be clsosed after use.


Constructor Summary
SinkQuadsToDataset(DatasetGraph dataset)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(Quad quad)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkQuadsToDataset

public SinkQuadsToDataset(DatasetGraph dataset)
Method Detail

send

public void send(Quad quad)
Specified by:
send in interface Sink<Quad>

flush

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

close

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


Licenced under the Apache License, Version 2.0