| Package | Description |
|---|---|
| org.apache.jena.atlas.iterator | |
| org.apache.jena.atlas.lib |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Iter.sendToSink(Iterable<T> stream,
Sink<T> sink)
Send the elements of the iterable to a sink
|
static <T> void |
Iter.sendToSink(Iterator<T> iter,
Sink<T> sink)
Send the elements of the iterator to a sink - consumes the iterator
|
void |
Iter.sendToSink(Sink<T> sink) |
| Modifier and Type | Class and Description |
|---|---|
class |
SinkCounting<T> |
class |
SinkLogging<T> |
class |
SinkNull<T> |
class |
SinkPrint<T> |
class |
SinkSplit<T>
Split a sink stream and duplicate the operations onto two sinks
See also:
SinkWrapper |
class |
SinkToCollection<T>
Send items to a collection
|
class |
SinkToQueue<T>
Send items to a blocking queue
|
class |
SinkWrapper<T>
Wrap one sink in another - to pass on behaviour, the derived Sink must call super.operation
See also:
SinkSplit |
| Constructor and Description |
|---|
SinkCounting(Sink<T> output) |
SinkSplit(Sink<T> sink1,
Sink<T> sink2) |
SinkSplit(Sink<T> sink1,
Sink<T> sink2) |
SinkWrapper(Sink<T> sink) |
Licenced under the Apache License, Version 2.0