Class Debugger.AbstractEventWithState
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.debug.Debugger.AbstractEventWithState
-
- All Implemented Interfaces:
Debugger.Event
,Debugger.EventWithState
- Direct Known Subclasses:
Debugger.ExecutingTaskEvent
,Debugger.ExploreExpressionEvent
,Debugger.ExploreGroupEvent
,Debugger.MatchExpressionEvent
,Debugger.MatchExpressionWithCandidateEvent
,Debugger.OptimizeGroupEvent
,Debugger.OptimizeInputsEvent
,Debugger.TransformEvent
,Debugger.TransformRuleCallEvent
- Enclosing interface:
- Debugger
public abstract static class Debugger.AbstractEventWithState extends Object implements Debugger.EventWithState
Abstract event class to capturerootReference
amdtaskStack
.
-
-
Constructor Summary
Constructors Constructor Description AbstractEventWithState(GroupExpressionRef<? extends RelationalExpression> rootReference, Deque<CascadesPlanner.Task> taskStack, Debugger.Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Debugger.Location
getLocation()
Getter.GroupExpressionRef<? extends RelationalExpression>
getRootReference()
Getter.Deque<CascadesPlanner.Task>
getTaskStack()
Getter.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.apple.foundationdb.record.query.plan.temp.debug.Debugger.Event
getDescription, getShorthand
-
-
-
-
Constructor Detail
-
AbstractEventWithState
public AbstractEventWithState(@Nonnull GroupExpressionRef<? extends RelationalExpression> rootReference, @Nonnull Deque<CascadesPlanner.Task> taskStack, @Nonnull Debugger.Location location)
-
-
Method Detail
-
getRootReference
@Nonnull public GroupExpressionRef<? extends RelationalExpression> getRootReference()
Description copied from interface:Debugger.EventWithState
Getter.- Specified by:
getRootReference
in interfaceDebugger.EventWithState
- Returns:
- the root reference of the event
-
getTaskStack
@Nonnull public Deque<CascadesPlanner.Task> getTaskStack()
Description copied from interface:Debugger.EventWithState
Getter.- Specified by:
getTaskStack
in interfaceDebugger.EventWithState
- Returns:
- the current task stack of the planner
-
getLocation
@Nonnull public Debugger.Location getLocation()
Description copied from interface:Debugger.Event
Getter.- Specified by:
getLocation
in interfaceDebugger.Event
- Returns:
- the location of where the event came from
-
-