Class BaseForExecOpBindJoin<QueryType extends Query,MemberType extends FederationMember>
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.UnaryExecutableOpBase
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOpBindJoin<QueryType,MemberType>
- All Implemented Interfaces:
StatsProvider,ExecutableOperator,UnaryExecutableOp
- Direct Known Subclasses:
BaseForExecOpBindJoinWithRequestOps
public abstract class BaseForExecOpBindJoin<QueryType extends Query,MemberType extends FederationMember>
extends UnaryExecutableOpBase
An abstract base class for the different variants to implement the bind join algorithm.
All that is needed for concrete classes that extend this base class is to implement the
UnaryExecutableOpBase._process(se.liu.ida.hefquin.engine.queryplan.executable.IntermediateResultBlock, IntermediateResultElementSink, ExecutionContext)
function.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprotected final MemberTypeprotected final QueryTypeFields inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.UnaryExecutableOpBase
timeAtCurrentProcStartFields inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
collectExceptions -
Constructor Summary
ConstructorsConstructorDescriptionBaseForExecOpBindJoin(QueryType query, MemberType fm, boolean collectExceptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_concludeExecution(IntermediateResultElementSink sink, ExecutionContext execCxt) Implementations of this function need to conclude the execution of this operator 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.Methods inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.UnaryExecutableOpBase
_process, concludeExecution, getStats, process, resetStatsMethods 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
-
Field Details
-
defaultPreferredInputBlockSize
public static final int defaultPreferredInputBlockSize- See Also:
-
query
-
fm
-
-
Constructor Details
-
BaseForExecOpBindJoin
-
-
Method Details
-
preferredInputBlockSize
public int preferredInputBlockSize()Description copied from interface:UnaryExecutableOpReturns the preferred block size of input blocks that are passed to this executable operator. A query planner may use this number as an optimization hint but it does not have to use it. -
_concludeExecution
Description copied from class:UnaryExecutableOpBaseImplementations of this function need to conclude the execution of this operator 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:
_concludeExecutionin classUnaryExecutableOpBase
-
createStats
- Overrides:
createStatsin classUnaryExecutableOpBase
-