|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.CollectionDataSource
public class CollectionDataSource
This DataSource fetches DataElements from a content collection.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
CollectionDataSource(java.lang.String input,
Parameter[] inputParameters)
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
hasNext()
|
boolean |
isClosed()
|
DataElement |
next()
|
ContentType |
nextContentType()
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionDataSource(java.lang.String input,
Parameter[] inputParameters)
throws java.lang.Exception
input - The input value of the DataSource.inputParameters - The input parameters of the DataSource.
java.lang.Exception - If data source could not be initialized| Method Detail |
|---|
public boolean hasNext()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource#hasNext()public DataElement next()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource#next()public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadThread.run()public void close()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#close()public boolean isClosed()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#isClosed()public ContentType nextContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||