use crate::db::query::explain::ExplainExecutionNodeType;
pub(in crate::db::query::explain) const fn owns(node_type: ExplainExecutionNodeType) -> bool {
matches!(
node_type,
ExplainExecutionNodeType::IndexPredicatePrefilter
| ExplainExecutionNodeType::ResidualPredicateFilter
| ExplainExecutionNodeType::OrderByAccessSatisfied
| ExplainExecutionNodeType::OrderByMaterializedSort
| ExplainExecutionNodeType::CursorResume
| ExplainExecutionNodeType::IndexRangeLimitPushdown
| ExplainExecutionNodeType::TopNSeek
| ExplainExecutionNodeType::SecondaryOrderPushdown
)
}