Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PartitionWorker(gr.uoa.di.madgik.grs.reader.IRecordReader<T> reader,
gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
boolean byColumn,
int partitionField,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new
PartitionWorker which will perform the background
filter operation |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Performs the filter operation
|
activeCount, checkAccess, clone, 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, yieldpublic PartitionWorker(gr.uoa.di.madgik.grs.reader.IRecordReader<T> reader, gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer, boolean byColumn, int partitionField, StatsContainer stats, long timeout, TimeUnit timeUnit)
PartitionWorker which will perform the background
filter operationreader - The reader to consume record fromwriter - The writer which will be used for authoringbyColumn - If partition will be applied by column or for a predefined
number of partitionspartitionField - The name of the Field containing the payload on which
the partitioning will be appliedstats - Statisticstimeout - The timeout to be used both by the reader and the writertimeUnit - The unit of the timeout to be usedCopyright © 2017. All Rights Reserved.