Class ZoneMapPruningPass
java.lang.Object
org.impulsegraph.compiler.passes.stage1.ZoneMapPruningPass
- All Implemented Interfaces:
CompilerPass
Stage 1 Pass: Zone Map Pruning and Dead Code Elimination. Evaluates
predicates against precomputed attribute zone maps: 1. If predicate is
provably FALSE (e.g. u.age > 250 when max(age)==114), prunes traversal
branch. 2. If predicate is provably TRUE for 100% of rows, strips the filter
from the inner traversal loop.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()pruneCel(CelAstNode node) transform(ImpScmNode ast, CompilerContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ZoneMapPruningPass
public ZoneMapPruningPass()
-
-
Method Details
-
name
- Specified by:
namein interfaceCompilerPass
-
transform
- Specified by:
transformin interfaceCompilerPass
-
pruneCel
-