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

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

public class GRS2DataSource
extends java.lang.Object

This DataSource fetches DataElements from a result set.

Author:
john.gerbesiotis - DI NKUA

Constructor Summary
GRS2DataSource(java.lang.String input, Parameter[] inputParameters)
          This constructor for GRS2DataSource
 
Method Summary
 void close()
           
 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

GRS2DataSource

public GRS2DataSource(java.lang.String input,
                      Parameter[] inputParameters)
               throws java.lang.Exception
This constructor for GRS2DataSource

Parameters:
input - The input value of the DataSource.
inputParameters - The output parameters of the DataSink.
Throws:
java.lang.Exception - If the result set could not be created.
Method Detail

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

hasNext

public boolean hasNext()

next

public DataElement next()

nextContentType

public ContentType nextContentType()