public abstract class AbstractCachedBuildSideMatchDriver<IT1,IT2,OT> extends MatchDriver<IT1,IT2,OT> implements ResettablePactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>
LOG, running, taskContext| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCachedBuildSideMatchDriver(int buildSideIndex,
int probeSideIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
This method is invoked when the driver must aborted in mid processing.
|
void |
cleanup()
This method is invoked in any case (clean termination and exception) at the end of the tasks operation.
|
void |
initialize() |
boolean |
isInputResettable(int inputNum) |
void |
prepare()
This method is called before the user code is opened.
|
void |
reset() |
void |
run()
The main operation method of the task.
|
void |
teardown() |
getNumberOfDriverComparators, getNumberOfInputs, getStubType, setupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumberOfDriverComparators, getNumberOfInputs, getStubType, setupprotected AbstractCachedBuildSideMatchDriver(int buildSideIndex,
int probeSideIndex)
public boolean isInputResettable(int inputNum)
isInputResettable in interface ResettablePactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>public void initialize()
throws Exception
initialize in interface ResettablePactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>Exceptionpublic void prepare()
throws Exception
PactDriverprepare in interface PactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>prepare in class MatchDriver<IT1,IT2,OT>Exception - Exceptions may be forwarded and signal task failure.public void run()
throws Exception
PactDriverrun in interface PactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>run in class MatchDriver<IT1,IT2,OT>Exception - Any exception thrown by this method signals task failure. Because exceptions in the user
code typically signal situations where this instance in unable to proceed, exceptions
from the user code should be forwarded.public void cleanup()
throws Exception
PactDrivercleanup in interface PactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>cleanup in class MatchDriver<IT1,IT2,OT>Exception - Exceptions may be forwarded.public void reset()
throws Exception
reset in interface ResettablePactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>Exceptionpublic void teardown()
teardown in interface ResettablePactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>public void cancel()
PactDrivercancel in interface PactDriver<FlatJoinFunction<IT1,IT2,OT>,OT>cancel in class MatchDriver<IT1,IT2,OT>Copyright © 2015 The Apache Software Foundation. All rights reserved.