Class ExecOpOrderBy
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.ExecOpOrderBy
- All Implemented Interfaces:
StatsProvider,ExecutableOperator,UnaryExecutableOp
Sorts solution mappings according to the ordering conditions of an
ORDER BY clause. This is a blocking operator that consumes all input
solution mappings before producing output.
-
Field Summary
FieldsFields inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
collectExceptions, mayReduce, qpInfo -
Constructor Summary
ConstructorsConstructorDescriptionExecOpOrderBy(List<org.apache.jena.query.SortCondition> sortConditions, boolean mayReduce, boolean collectExceptions, QueryPlanningInfo qpInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplementations of this function need to conclude the execution of this operator and send the remaining result elements (if any) to the given sink.protected void_process(SolutionMapping inputSolMap, IntermediateResultElementSink sink, QueryProcContextExt ctx) Implementations of this function need to process the given solution mapping as input and send the produced result elements (if any) to the given sink.protected ExecutableOperatorStatsImplvoidMethods inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.UnaryExecutableOpBase
_process, concludeExecution, getStats, process, processMethods inherited from class se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
getExceptionsCaughtDuringExecution, getQueryPlanningInfo, mayReduce, 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, getQueryPlanningInfo, mayReduce
-
Field Details
-
solutionMappings
-
-
Constructor Details
-
ExecOpOrderBy
public ExecOpOrderBy(List<org.apache.jena.query.SortCondition> sortConditions, boolean mayReduce, boolean collectExceptions, QueryPlanningInfo qpInfo)
-
-
Method Details
-
_process
protected void _process(SolutionMapping inputSolMap, IntermediateResultElementSink sink, QueryProcContextExt ctx) Description copied from class:UnaryExecutableOpBaseImplementations of this function need to process the given solution mapping as input and send the produced result elements (if any) to the given sink. If an exception occurs while processing the solution mapping, then this exception needs to be thrown.- Specified by:
_processin classUnaryExecutableOpBase
-
_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 be thrown.- Specified by:
_concludeExecutionin classUnaryExecutableOpBase
-
resetStats
public void resetStats()- Specified by:
resetStatsin interfaceStatsProvider- Overrides:
resetStatsin classUnaryExecutableOpBase
-
createStats
- Overrides:
createStatsin classUnaryExecutableOpBase
-