gr.uoa.di.madgik.searchlibrary.operatorlibrary.except
Class ExceptWorker
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.except.ExceptWorker
- All Implemented Interfaces:
- Runnable
public class ExceptWorker
- extends Thread
Helper thread class used to perform the set difference operation
- Author:
- UoA
|
Constructor Summary |
ExceptWorker(gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> leftReader,
gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> rightReader,
String leftKeyFieldName,
String rightKeyFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new ExceptWorker |
|
Method Summary |
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 |
ExceptWorker
public ExceptWorker(gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> leftReader,
gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> rightReader,
String leftKeyFieldName,
String rightKeyFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
- Creates a new
ExceptWorker
- Parameters:
writer - The IRecordWriter to write records toleftReader - The reader for the left inputrightReader - The reader for the right inputleftKeyFieldName - The name of the Field originating from the left IRecordReader and containing the key to base the operation onrightKeyFieldName - The name of the Field originating from the right IRecordReader and containing the key to base the operation ontimeout - The timeout to be used both by the IRecordReaders and the IRecordWritertimeUnit - The time unit of the timeout that will be usedstats - statistics
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Runnable.run()
Copyright © 2013. All Rights Reserved.