|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
gr.uoa.di.madgik.searchlibrary.operatorlibrary.gmerge.GradualMergeOp
public class GradualMergeOp
Operator class used to create a merged ResultSet output from the contents of multiple ResultSet.
| Field Summary | |
|---|---|
static int |
BufferCapacityDef
The default capacity of the RecordWriters and, if applicable, of
all IRecordReaders' buffers |
static OperationMode |
OperationModeDef
The default operation mode. |
| Fields inherited from class gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary |
|---|
inLocator, operatorParameters, stats, timeout, TimeoutDef, timeUnit, TimeUnitDef |
| Constructor Summary | |
|---|---|
GradualMergeOp(URI inLocator,
Map<String,String> operatorParameters,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new GradualMergeOp with configurable operation mode and
timeout |
|
GradualMergeOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
Creates a new GradualMergeOp with the default timeout used both
for readers and the writer |
|
| Method Summary | |
|---|---|
URI |
compute()
Performs the merging operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final OperationMode OperationModeDef
OperationMode.FirstAvailable
public static final int BufferCapacityDef
RecordWriters and, if applicable, of
all IRecordReaders' buffers
| Constructor Detail |
|---|
public GradualMergeOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
throws Exception
GradualMergeOp with the default timeout used both
for readers and the writer
inLocator - The locator of the inputs that will be mergedoperatorParameters - oeprator parametersstats - Statistics
Exception
public GradualMergeOp(URI inLocator,
Map<String,String> operatorParameters,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
throws Exception
GradualMergeOp with configurable operation mode and
timeout
inLocator - The locator of the inputs that will be mergedoperatorParameters - operator parameterstimeout - The timeout that will be used by the RecordWriter and
all ForwardReaderstimeUnit - The timeout unit that will be used by the RecordWriter
and all ForwardReadersstats - Statistics
Exception| Method Detail |
|---|
public URI compute()
throws Exception
compute in class UnaryException - An unrecoverable for the operation error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||