|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink.DataSink
public abstract class DataSink
The DataSink abstract class is extended by all classes that will be used as a data sink.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected gr.uoa.di.madgik.grs.record.RecordDefinition[] |
fieldDefs
The field definition of the reader |
protected URI |
inLocator
The locator of the input |
protected String |
output
Output value of the DataSink |
protected Map<String,String> |
outputParameters
Output parameters of the DataSink |
protected gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer |
stats
Statistics |
protected long |
timeout
|
protected TimeUnit |
timeUnit
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DataSink(URI inLocator,
String output,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
Constructor of the abstract class. |
|
| Method Summary | |
|---|---|
abstract String |
getOutput()
Abstract method used to retrieve output |
void |
setTimeout(long timeout)
|
void |
setTimeUnit(TimeUnit timeUnit)
|
| 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String output
DataSink
protected Map<String,String> outputParameters
DataSink
protected URI inLocator
protected gr.uoa.di.madgik.grs.record.RecordDefinition[] fieldDefs
protected long timeout
protected TimeUnit timeUnit
protected gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats
| Constructor Detail |
|---|
public DataSink(URI inLocator,
String output,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
throws Exception
inLocator - input locator of the consuming result setoutput - output value of the DataSinkoutputParameters - output parameters of the DataSinkstats - statistics container
Exception - If the initialization of the DataSink fails| Method Detail |
|---|
public abstract String getOutput()
public void setTimeout(long timeout)
timeout - the timeout to setpublic void setTimeUnit(TimeUnit timeUnit)
timeUnit - the timeUnit to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||