Class ExecOpMultiwayUnion
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.NaryExecutableOpBase
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.ExecOpMultiwayUnion
- All Implemented Interfaces:
StatsProvider,ExecutableOperator,NaryExecutableOp
-
Field Summary
Fields inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.NaryExecutableOpBase
numberOfChildren, timeAtCurrentProcStartXthInputFields inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
collectExceptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_processBlockFromXthChild(int x, IntermediateResultBlock input, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to process the given input block coming from the x-th operand and send the produced result elements (if any) to the given sink.protected void_wrapUpForXthChild(int x, IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to finish up any processing related to the input coming from the x-th operand and send the remaining result elements (if any) to the given sink.protected ExecutableOperatorStatsImplintReturns the preferred block size of input blocks that are passed to this executable operator from any of its operands.voidMethods inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.NaryExecutableOpBase
getStats, processBlockFromXthChild, wrapUpForXthChildMethods inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
getExceptionsCaughtDuringExecution, recordExceptionCaughtDuringExecutionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.executable.ExecutableOperator
getExceptionsCaughtDuringExecution
-
Constructor Details
-
ExecOpMultiwayUnion
public ExecOpMultiwayUnion(int numberOfChildren, boolean collectExceptions)
-
-
Method Details
-
preferredInputBlockSizeFromChilden
public int preferredInputBlockSizeFromChilden()Description copied from interface:NaryExecutableOpReturns the preferred block size of input blocks that are passed to this executable operator from any of its operands. A query planner may use this number as an optimization hint but it does not have to use it. -
_processBlockFromXthChild
protected void _processBlockFromXthChild(int x, IntermediateResultBlock input, IntermediateResultElementSink sink, ExecutionContext execCxt) Description copied from class:NaryExecutableOpBaseImplementations of this function need to process the given input block coming from the x-th operand and send the produced result elements (if any) to the given sink. If an exception occurs while processing the input block, this exception needs to either be collected or be thrown, depending on whetherBaseForExecOps.collectExceptionsis set totrue.- Specified by:
_processBlockFromXthChildin classNaryExecutableOpBase
-
_wrapUpForXthChild
protected void _wrapUpForXthChild(int x, IntermediateResultElementSink sink, ExecutionContext execCxt) Description copied from class:NaryExecutableOpBaseImplementations of this function need to finish up any processing related to the input coming from the x-th operand and send the remaining result elements (if any) to the given sink. If an exception occurs during this process, then this exception needs to either be collected or be thrown, depending on whetherBaseForExecOps.collectExceptionsis set totrue.- Specified by:
_wrapUpForXthChildin classNaryExecutableOpBase
-
resetStats
public void resetStats()- Specified by:
resetStatsin interfaceStatsProvider- Overrides:
resetStatsin classNaryExecutableOpBase
-
createStats
- Overrides:
createStatsin classNaryExecutableOpBase
-