org.gcube.datatransformation.datatransformationlibrary.datahandlers
Interface DataSink

All Superinterfaces:
DataHandler
All Known Subinterfaces:
DataBridge
All Known Implementing Classes:
FilterDataBridge, REFDataBridge

public interface DataSink
extends DataHandler

Author:
Dimitris Katris, NKUA

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.


Method Summary
 void append(DataElement element)
          Appends the specified DataElement to this DataSink
 String getOutput()
          Returns the output of the transformation.
 
Methods inherited from interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler
close, isClosed
 

Method Detail

append

void append(DataElement element)
Appends the specified DataElement to this DataSink

Parameters:
element - DataElement to be appended to this DataSink

getOutput

String getOutput()
Returns the output of the transformation.

Returns:
The output of the transformation.


Copyright © 2013. All Rights Reserved.