gr.uoa.di.madgik.searchlibrary.operatorlibrary.join
Class ReaderScan

java.lang.Object
  extended by java.lang.Thread
      extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.join.ReaderScan
All Implemented Interfaces:
Runnable

public class ReaderScan
extends Thread

Helper thread class used to iterate over an input result set retrieve the records it contains and persist them in a temporary file buffer and offer them for join

Author:
UoA

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReaderScan(ScanElement scan, String uid)
          Creates a new ReaderScan
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReaderScan

public ReaderScan(ScanElement scan,
                  String uid)
Creates a new ReaderScan

Parameters:
scan - Info on the input org.gcube.searchservice.searchlibrary.resultset.ResultSet and the buffer file
uid - A unique identifier for this operation
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Runnable.run()


Copyright © 2013. All Rights Reserved.