|
||||||||||
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.CollectionDataSink
public class CollectionDataSink
This DataSink stores DataElements in a new 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 | |
---|---|
CollectionDataSink(java.lang.String output,
Parameter[] outputParameters)
|
Method Summary | |
---|---|
void |
append(DataElement object)
|
void |
close()
|
java.lang.String |
getOutput()
|
boolean |
isClosed()
|
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 CollectionDataSink(java.lang.String output, Parameter[] outputParameters) throws java.lang.Exception
output
- The output value of the DataSink.outputParameters
- The output parameters of the DataSink.
java.lang.Exception
- If the new collection could not be created.Method Detail |
---|
public void append(DataElement object)
object
- DataElement
to be appended to this DataSinkorg.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink#append(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement)
public void close()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#close()
public java.lang.String getOutput()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink#getOutput()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()
public boolean isClosed()
org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler#isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |