gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink.predefined
Class JDBCDataSink<T extends gr.uoa.di.madgik.grs.record.Record>
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink.DataSink
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink.predefined.JDBCDataSink<T>
- Type Parameters:
T - extends Record
- All Implemented Interfaces:
- Runnable
public class JDBCDataSink<T extends gr.uoa.di.madgik.grs.record.Record>
- extends DataSink
DataSink created for a database. Given a sql query, contents
retrieved through a gRS2 are stored in given db system.
- Author:
- john.gerbesiotis - DI NKUA
| 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 |
JDBCDataSink
public JDBCDataSink(URI inLocator,
String output,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer statsCont)
throws Exception
- Parameters:
inLocator - input locator of the consuming result setoutput - output value of the DataSinkoutputParameters - output parameters of the DataSinkstatsCont - statistics container
- Throws:
Exception - If the initialization of the DataSink fails
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
getOutput
public String getOutput()
- Description copied from class:
DataSink
- Abstract method used to retrieve output
- Specified by:
getOutput in class DataSink
- Returns:
- An output description
Copyright © 2013. All Rights Reserved.