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

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

public class RSBlobDataBridge
extends java.lang.Object

Author:
Dimitris Katris, NKUA

DataBridge which appends data elements to a local result set.


Constructor Summary
RSBlobDataBridge()
          Instantiates the DataBridge.
 
Method Summary
 void append(DataElement element)
           
 void close()
           
 java.lang.String getOutput()
           
 boolean hasNext()
           
 boolean isClosed()
           
 DataElement next()
           
 ContentType nextContentType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSBlobDataBridge

public RSBlobDataBridge()
Instantiates the DataBridge.

Method Detail

hasNext

public boolean hasNext()
Returns:
true if the DataSource has more elements.
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource#hasNext()

next

public DataElement next()
Returns:
the next element of the DataSource.
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource#next()

nextContentType

public ContentType nextContentType()
Returns:
the next element's ContentType from the DataSource.
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource#nextContentType()

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()

getOutput

public java.lang.String getOutput()
Returns:
null
See Also:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink#getOutput()

isClosed

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