/usr/lib/ocaml/galax/optimization_predicates.mli is in libgalax-ocaml-dev 1.1-12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: optimization_predicates.mli,v 1.7 2007/02/01 22:08:51 simeon Exp $ *)
(* Module: Optimization_predicates
Description:
This module is used to process predicates during optimization.
*)
open Xquery_algebra_ast
open Logical_algebra_types
val is_simple_conjunct : logical_algop_expr -> bool
(* Get the predicate description from an op that has one *)
val extract_pred_desc : logical_algop_expr -> predicate_desc
(* Construct a select *)
val construct_singleton_select :
logical_algop_expr -> logical_algop_expr ->
Xquery_ast.expr_handle -> Finfo.finfo -> logical_algop_expr
val conjunctive_merge_select :
logical_algop_expr -> logical_algop_expr -> logical_algop_expr
(* Remove a conjunct from an op with a predicate
If this conjunct is the only predicate in a select, return None
else return Some op modified (Notice this should turn a Join into a product *)
val remove_conjunct : logical_algop_expr -> int -> logical_algop_expr option
|