Class QueryProcessingStatsAndExceptionsImpl
java.lang.Object
se.liu.ida.hefquin.base.utils.StatsImpl
se.liu.ida.hefquin.engine.queryproc.impl.QueryProcessingStatsAndExceptionsImpl
- All Implemented Interfaces:
Stats,QueryProcessingStatsAndExceptions
public class QueryProcessingStatsAndExceptionsImpl
extends StatsImpl
implements QueryProcessingStatsAndExceptions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryProcessingStatsAndExceptionsImpl(long overallQueryProcessingTime, long planningTime, long compilationTime, long executionTime, QueryPlanningStats queryPlanningStats, ExecutionStats execStats) QueryProcessingStatsAndExceptionsImpl(long overallQueryProcessingTime, long planningTime, long compilationTime, long executionTime, QueryPlanningStats queryPlanningStats, ExecutionStats execStats, List<Exception> exceptions) QueryProcessingStatsAndExceptionsImpl(QueryProcessingStatsAndExceptions other, Exception additionalException) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this object contains exceptions that have occurred while processing the query for which this object was returned.copyAndAdd(List<Exception> otherExceptions, Exception additionalException) longReturns a list of the exceptions that have occurred while processing the query for which this object was returned.longlonglongMethods inherited from class se.liu.ida.hefquin.base.utils.StatsImpl
getEntry, getEntryNames, isEmpty, putMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.base.utils.Stats
getEntry, getEntryNames, isEmpty
-
Field Details
-
enOverallProcTime
- See Also:
-
enPlanningTime
- See Also:
-
enCompilationTime
- See Also:
-
enExecutionTime
- See Also:
-
enQueryPlanningStats
- See Also:
-
enExecStats
- See Also:
-
exceptions
-
-
Constructor Details
-
QueryProcessingStatsAndExceptionsImpl
public QueryProcessingStatsAndExceptionsImpl(long overallQueryProcessingTime, long planningTime, long compilationTime, long executionTime, QueryPlanningStats queryPlanningStats, ExecutionStats execStats, List<Exception> exceptions) -
QueryProcessingStatsAndExceptionsImpl
public QueryProcessingStatsAndExceptionsImpl(long overallQueryProcessingTime, long planningTime, long compilationTime, long executionTime, QueryPlanningStats queryPlanningStats, ExecutionStats execStats) -
QueryProcessingStatsAndExceptionsImpl
public QueryProcessingStatsAndExceptionsImpl(QueryProcessingStatsAndExceptions other, Exception additionalException)
-
-
Method Details
-
copyAndAdd
-
getOverallQueryProcessingTime
public long getOverallQueryProcessingTime()- Specified by:
getOverallQueryProcessingTimein interfaceQueryProcessingStatsAndExceptions
-
getPlanningTime
public long getPlanningTime()- Specified by:
getPlanningTimein interfaceQueryProcessingStatsAndExceptions
-
getCompilationTime
public long getCompilationTime()- Specified by:
getCompilationTimein interfaceQueryProcessingStatsAndExceptions
-
getExecutionTime
public long getExecutionTime()- Specified by:
getExecutionTimein interfaceQueryProcessingStatsAndExceptions
-
getQueryPlanningStats
- Specified by:
getQueryPlanningStatsin interfaceQueryProcessingStatsAndExceptions
-
getExecutionStats
- Specified by:
getExecutionStatsin interfaceQueryProcessingStatsAndExceptions
-
containsExceptions
public boolean containsExceptions()Description copied from interface:QueryProcessingStatsAndExceptionsReturnstrueif this object contains exceptions that have occurred while processing the query for which this object was returned. The exceptions themselves can be accessed viaQueryProcessingStatsAndExceptions.getExceptions().- Specified by:
containsExceptionsin interfaceQueryProcessingStatsAndExceptions
-
getExceptions
Description copied from interface:QueryProcessingStatsAndExceptionsReturns a list of the exceptions that have occurred while processing the query for which this object was returned. If no exceptions occurred, this function returnsnull.The function
QueryProcessingStatsAndExceptions.containsExceptions()can be used to ask whether there are exceptions.- Specified by:
getExceptionsin interfaceQueryProcessingStatsAndExceptions
-