Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
optimizeRelationalExpr :: DatabaseContext -> RelationalExpr -> Either RelationalError RelationalExpr Source #
optimizeRelationalExprReader :: RelationalExpr -> RelationalExprState (Either RelationalError RelationalExpr) Source #
optimizeDatabaseContextExpr :: DatabaseContext -> DatabaseContextExpr -> Either RelationalError DatabaseContextExpr Source #
applyStaticRelationalOptimization :: RelationalExpr -> RelationalExprState (Either RelationalError RelationalExpr) Source #
applyStaticDatabaseOptimization :: DatabaseContextExpr -> DatabaseState (Either RelationalError DatabaseContextExpr) Source #
applyStaticPredicateOptimization :: RestrictionPredicateExpr -> RelationalExprState (Either RelationalError RestrictionPredicateExpr) Source #
replaceStaticAtomExprs :: RestrictionPredicateExpr -> Map AttributeName AtomExpr -> RestrictionPredicateExpr Source #
isStaticAtomExpr :: AtomExpr -> Bool Source #