org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl
Class RSBlobDataSink

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.RSBlobDataSink

public class RSBlobDataSink
extends java.lang.Object

Author:
Dimitris Katris, NKUA

This DataSink stores DataElements to a result set with blob elements.


Constructor Summary
RSBlobDataSink(java.lang.String output, Parameter[] outputParameters)
          This constructor is used when DTS is instantiating a new RSBlobDataSink.
 
Method Summary
 void append(DataElement element)
           
 void close()
           
 java.lang.String getOutput()
           
 boolean isClosed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSBlobDataSink

public RSBlobDataSink(java.lang.String output,
                      Parameter[] outputParameters)
This constructor is used when DTS is instantiating a new RSBlobDataSink. The output and outputParameters are not used in this DataSink.

Parameters:
output - The output value of the DataSink.
outputParameters - The output parameters of the DataSink.
Method Detail

getOutput

public java.lang.String getOutput()
Returns:
The output of the transformation.
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink#getOutput()

append

public void append(DataElement element)
Parameters:
element - DataElement to be appended to this DataSink
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink#append(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement)

close

public void close()
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#close()

isClosed

public boolean isClosed()
Returns:
true if the DataHandler has been closed.
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#isClosed()