public interface DataSink extends DataHandler
The DataSink interface is implemented by all classes capable for storing DataElements to the respective sink.
Caution: Sinks must also define a constructor (String output, Parameter[] outputParameters). This constructor is used by the service to instantiate the DataSink.
| Modifier and Type | Method and Description |
|---|---|
void |
append(DataElement element)
Appends the specified
DataElement to this DataSink |
String |
getOutput()
Returns the output of the transformation.
|
close, isClosedvoid append(DataElement element)
DataElement to this DataSinkelement - DataElement to be appended to this DataSinkString getOutput()
Copyright © 2014. All Rights Reserved.