public class PushDataSource extends Object implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource
DataSource is created for elements passed as parameter. It it used for push transformations. Elements are encoded under base64 and with json
format.| Constructor and Description |
|---|
PushDataSource(String input,
org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
isClosed() |
static void |
main(String[] args) |
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
next() |
org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
nextContentType() |
public boolean isClosed()
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerpublic boolean hasNext()
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourcehasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourcepublic org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement next()
next in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourcepublic void close()
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerpublic org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
nextContentType in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourceCopyright © 2014. All Rights Reserved.