lib/veritas/optimizer.rb in veritas-optimizer-0.0.3 vs lib/veritas/optimizer.rb in veritas-optimizer-0.0.4

- old
+ new

@@ -95,10 +95,14 @@ require 'veritas/optimizer/version' require 'veritas/optimizer/optimizable' +require 'veritas/optimizer/function' +require 'veritas/optimizer/function/binary' +require 'veritas/optimizer/function/unary' + require 'veritas/optimizer/relation/materialized' require 'veritas/optimizer/relation/operation/binary' require 'veritas/optimizer/relation/operation/unary' require 'veritas/optimizer/relation/operation/combination' @@ -116,21 +120,44 @@ require 'veritas/optimizer/algebra/rename' require 'veritas/optimizer/algebra/restriction' require 'veritas/optimizer/algebra/summarization' require 'veritas/optimizer/algebra/union' -require 'veritas/optimizer/logic/connective/binary' -require 'veritas/optimizer/logic/connective/conjunction' -require 'veritas/optimizer/logic/connective/disjunction' -require 'veritas/optimizer/logic/connective/negation' +require 'veritas/optimizer/function/connective/binary' +require 'veritas/optimizer/function/connective/conjunction' +require 'veritas/optimizer/function/connective/disjunction' +require 'veritas/optimizer/function/connective/negation' -require 'veritas/optimizer/logic/predicate' -require 'veritas/optimizer/logic/predicate/comparable' -require 'veritas/optimizer/logic/predicate/enumerable' -require 'veritas/optimizer/logic/predicate/equality' -require 'veritas/optimizer/logic/predicate/exclusion' -require 'veritas/optimizer/logic/predicate/greater_than' -require 'veritas/optimizer/logic/predicate/greater_than_or_equal_to' -require 'veritas/optimizer/logic/predicate/inequality' -require 'veritas/optimizer/logic/predicate/inclusion' -require 'veritas/optimizer/logic/predicate/less_than' -require 'veritas/optimizer/logic/predicate/less_than_or_equal_to' +require 'veritas/optimizer/function/predicate' +require 'veritas/optimizer/function/predicate/comparable' +require 'veritas/optimizer/function/predicate/enumerable' +require 'veritas/optimizer/function/predicate/equality' +require 'veritas/optimizer/function/predicate/exclusion' +require 'veritas/optimizer/function/predicate/greater_than' +require 'veritas/optimizer/function/predicate/greater_than_or_equal_to' +require 'veritas/optimizer/function/predicate/inequality' +require 'veritas/optimizer/function/predicate/inclusion' +require 'veritas/optimizer/function/predicate/less_than' +require 'veritas/optimizer/function/predicate/less_than_or_equal_to' + +require 'veritas/optimizer/function/numeric' +require 'veritas/optimizer/function/numeric/absolute' +require 'veritas/optimizer/function/numeric/addition' +require 'veritas/optimizer/function/numeric/division' +require 'veritas/optimizer/function/numeric/exponentiation' +require 'veritas/optimizer/function/numeric/modulo' +require 'veritas/optimizer/function/numeric/multiplication' +require 'veritas/optimizer/function/numeric/square_root' +require 'veritas/optimizer/function/numeric/subtraction' +require 'veritas/optimizer/function/numeric/unary_minus' +require 'veritas/optimizer/function/numeric/unary_plus' + +require 'veritas/optimizer/function/string/length' + +require 'veritas/optimizer/aggregate' +require 'veritas/optimizer/aggregate/count' +require 'veritas/optimizer/aggregate/maximum' +require 'veritas/optimizer/aggregate/mean' +require 'veritas/optimizer/aggregate/minimum' +require 'veritas/optimizer/aggregate/sum' +require 'veritas/optimizer/aggregate/variance' +require 'veritas/optimizer/aggregate/standard_deviation'