|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSource
The DataSource interface is implemented by all classes capable for fetching DataElements from the respective source.
Caution: Sources must also define a constructor (String input, Parameter[] inputParameters). This constructor is used by the service to instantiate the DataSource.
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the DataSource has more DataElements. |
DataElement |
next()
Returns the next element of the DataSource. |
| Methods inherited from interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler |
|---|
close, isClosed |
| Methods inherited from interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource |
|---|
nextContentType |
| Method Detail |
|---|
boolean hasNext()
DataElements.
hasNext in interface ContentTypeDataSourceDataElement next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||