|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.gcube.indexmanagement.fulltextindexlookup.ResultsMerger
public class ResultsMerger
A temporary class used to merge results from a head-partition and its sub-partitions in a round-robin manner
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ResultsMerger(java.lang.String localResultEPR,
java.util.ArrayList<FullTextIndexLookupPortType> partitionList,
java.lang.String queryTerm,
RSXMLWriter rsWriter)
Constructor which initiates the ResultsMerger. |
|
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResultsMerger(java.lang.String localResultEPR,
java.util.ArrayList<FullTextIndexLookupPortType> partitionList,
java.lang.String queryTerm,
RSXMLWriter rsWriter)
localResultEPR - String - serialization of an End Point Reference pointing to the ResultSet containing the local results (of the head-partition)partitionList - ArrayList\ - A list of FullTextIndexLookupPortType instances of all the sub-partitionsqueryTerm - String - the original queryTermrsWriter - RSXMLWriter - the ResultSet writer to be used when writing the merged results.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||