veritas-optimizer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (349) hide show
  1. data/.gemtest +0 -0
  2. data/.rvmrc +1 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +20 -10
  5. data/Guardfile +22 -0
  6. data/README.rdoc +2 -0
  7. data/Rakefile +4 -2
  8. data/TODO +43 -2
  9. data/config/flay.yml +2 -2
  10. data/config/flog.yml +1 -1
  11. data/config/roodi.yml +4 -4
  12. data/lib/veritas/optimizer/aggregate/count.rb +17 -0
  13. data/lib/veritas/optimizer/aggregate/maximum.rb +17 -0
  14. data/lib/veritas/optimizer/aggregate/mean.rb +17 -0
  15. data/lib/veritas/optimizer/aggregate/minimum.rb +17 -0
  16. data/lib/veritas/optimizer/aggregate/standard_deviation.rb +17 -0
  17. data/lib/veritas/optimizer/aggregate/sum.rb +17 -0
  18. data/lib/veritas/optimizer/aggregate/variance.rb +17 -0
  19. data/lib/veritas/optimizer/aggregate.rb +16 -0
  20. data/lib/veritas/optimizer/algebra/difference.rb +3 -1
  21. data/lib/veritas/optimizer/algebra/extension.rb +58 -3
  22. data/lib/veritas/optimizer/algebra/intersection.rb +3 -1
  23. data/lib/veritas/optimizer/algebra/join.rb +6 -4
  24. data/lib/veritas/optimizer/algebra/product.rb +3 -1
  25. data/lib/veritas/optimizer/algebra/projection.rb +23 -54
  26. data/lib/veritas/optimizer/algebra/rename.rb +55 -80
  27. data/lib/veritas/optimizer/algebra/restriction.rb +33 -66
  28. data/lib/veritas/optimizer/algebra/summarization.rb +161 -3
  29. data/lib/veritas/optimizer/algebra/union.rb +3 -1
  30. data/lib/veritas/optimizer/function/binary.rb +124 -0
  31. data/lib/veritas/optimizer/{logic → function}/connective/binary.rb +48 -102
  32. data/lib/veritas/optimizer/{logic → function}/connective/conjunction.rb +12 -11
  33. data/lib/veritas/optimizer/{logic → function}/connective/disjunction.rb +15 -14
  34. data/lib/veritas/optimizer/function/connective/negation.rb +65 -0
  35. data/lib/veritas/optimizer/function/numeric/absolute.rb +20 -0
  36. data/lib/veritas/optimizer/function/numeric/addition.rb +20 -0
  37. data/lib/veritas/optimizer/function/numeric/division.rb +20 -0
  38. data/lib/veritas/optimizer/function/numeric/exponentiation.rb +20 -0
  39. data/lib/veritas/optimizer/function/numeric/modulo.rb +20 -0
  40. data/lib/veritas/optimizer/function/numeric/multiplication.rb +20 -0
  41. data/lib/veritas/optimizer/function/numeric/square_root.rb +20 -0
  42. data/lib/veritas/optimizer/function/numeric/subtraction.rb +20 -0
  43. data/lib/veritas/optimizer/function/numeric/unary_minus.rb +20 -0
  44. data/lib/veritas/optimizer/function/numeric/unary_plus.rb +20 -0
  45. data/lib/veritas/optimizer/function/numeric.rb +34 -0
  46. data/lib/veritas/optimizer/{logic → function}/predicate/comparable.rb +6 -4
  47. data/lib/veritas/optimizer/{logic → function}/predicate/enumerable.rb +24 -26
  48. data/lib/veritas/optimizer/{logic → function}/predicate/equality.rb +6 -6
  49. data/lib/veritas/optimizer/{logic → function}/predicate/exclusion.rb +6 -16
  50. data/lib/veritas/optimizer/{logic → function}/predicate/greater_than.rb +6 -5
  51. data/lib/veritas/optimizer/{logic → function}/predicate/greater_than_or_equal_to.rb +6 -6
  52. data/lib/veritas/optimizer/{logic → function}/predicate/inclusion.rb +6 -16
  53. data/lib/veritas/optimizer/{logic → function}/predicate/inequality.rb +6 -6
  54. data/lib/veritas/optimizer/{logic → function}/predicate/less_than.rb +6 -5
  55. data/lib/veritas/optimizer/{logic → function}/predicate/less_than_or_equal_to.rb +6 -6
  56. data/lib/veritas/optimizer/{logic → function}/predicate/match.rb +5 -4
  57. data/lib/veritas/optimizer/{logic → function}/predicate/no_match.rb +5 -4
  58. data/lib/veritas/optimizer/function/predicate.rb +61 -0
  59. data/lib/veritas/optimizer/function/string/length.rb +31 -0
  60. data/lib/veritas/optimizer/function/unary.rb +86 -0
  61. data/lib/veritas/optimizer/function.rb +87 -0
  62. data/lib/veritas/optimizer/optimizable.rb +6 -3
  63. data/lib/veritas/optimizer/relation/operation/binary.rb +36 -70
  64. data/lib/veritas/optimizer/relation/operation/limit.rb +1 -9
  65. data/lib/veritas/optimizer/relation/operation/offset.rb +1 -9
  66. data/lib/veritas/optimizer/relation/operation/order.rb +1 -9
  67. data/lib/veritas/optimizer/relation/operation/reverse.rb +1 -9
  68. data/lib/veritas/optimizer/relation/operation/unary.rb +50 -13
  69. data/lib/veritas/optimizer/version.rb +1 -1
  70. data/lib/veritas/optimizer.rb +43 -16
  71. data/spec/integration/veritas/algebra/difference/optimize_spec.rb +6 -4
  72. data/spec/integration/veritas/algebra/intersection/optimize_spec.rb +6 -4
  73. data/spec/integration/veritas/algebra/join/optimize_spec.rb +4 -2
  74. data/spec/integration/veritas/algebra/product/optimize_spec.rb +2 -0
  75. data/spec/integration/veritas/algebra/projection/optimize_spec.rb +6 -4
  76. data/spec/integration/veritas/algebra/rename/optimize_spec.rb +2 -0
  77. data/spec/integration/veritas/algebra/restriction/optimize_spec.rb +9 -7
  78. data/spec/integration/veritas/algebra/summarization/optimize_spec.rb +49 -0
  79. data/spec/integration/veritas/algebra/union/optimize_spec.rb +6 -4
  80. data/spec/integration/veritas/{logic → function}/connective/conjunction/optimize_spec.rb +33 -31
  81. data/spec/integration/veritas/{logic → function}/connective/disjunction/optimize_spec.rb +30 -28
  82. data/spec/integration/veritas/{logic → function}/connective/negation/optimize_spec.rb +7 -5
  83. data/spec/integration/veritas/{logic/expression → function}/optimize_spec.rb +5 -3
  84. data/spec/integration/veritas/{logic → function}/predicate/equality/optimize_spec.rb +9 -7
  85. data/spec/integration/veritas/{logic → function}/predicate/exclusion/optimize_spec.rb +13 -11
  86. data/spec/integration/veritas/{logic → function}/predicate/greater_than/optimize_spec.rb +17 -15
  87. data/spec/integration/veritas/{logic → function}/predicate/greater_than_or_equal_to/optimize_spec.rb +17 -15
  88. data/spec/integration/veritas/{logic → function}/predicate/inclusion/optimize_spec.rb +13 -11
  89. data/spec/integration/veritas/{logic → function}/predicate/inequality/optimize_spec.rb +9 -7
  90. data/spec/integration/veritas/{logic → function}/predicate/less_than/optimize_spec.rb +17 -15
  91. data/spec/integration/veritas/{logic → function}/predicate/less_than_or_equal_to/optimize_spec.rb +17 -15
  92. data/spec/integration/veritas/relation/empty/optimize_spec.rb +2 -0
  93. data/spec/integration/veritas/relation/materialized/optimize_spec.rb +2 -0
  94. data/spec/integration/veritas/relation/operation/limit/optimize_spec.rb +3 -1
  95. data/spec/integration/veritas/relation/operation/offset/optimize_spec.rb +3 -1
  96. data/spec/integration/veritas/relation/operation/order/optimize_spec.rb +4 -2
  97. data/spec/integration/veritas/relation/operation/reverse/optimize_spec.rb +4 -2
  98. data/spec/integration/veritas/relation/optimize_spec.rb +2 -0
  99. data/spec/shared/{logic_connective_binary_optimize_behavior.rb → function_connective_binary_optimize_behavior.rb} +14 -12
  100. data/spec/shared/idempotent_method_behavior.rb +2 -0
  101. data/spec/shared/optimize_method_behavior.rb +2 -0
  102. data/spec/support/add_method_missing.rb +2 -0
  103. data/spec/unit/veritas/optimizer/algebra/difference/empty_left/optimize_spec.rb +2 -0
  104. data/spec/unit/veritas/optimizer/algebra/difference/empty_right/optimize_spec.rb +2 -0
  105. data/spec/unit/veritas/optimizer/algebra/difference/equal_operands/optimize_spec.rb +2 -0
  106. data/spec/unit/veritas/optimizer/algebra/extension/extensions_spec.rb +31 -0
  107. data/spec/unit/veritas/optimizer/algebra/extension/order_operand/optimizable_spec.rb +23 -0
  108. data/spec/unit/veritas/optimizer/algebra/extension/order_operand/optimize_spec.rb +22 -0
  109. data/spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimizable_spec.rb +18 -8
  110. data/spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimize_spec.rb +4 -2
  111. data/spec/unit/veritas/optimizer/algebra/intersection/empty_left/optimize_spec.rb +2 -0
  112. data/spec/unit/veritas/optimizer/algebra/intersection/empty_right/optimize_spec.rb +2 -0
  113. data/spec/unit/veritas/optimizer/algebra/intersection/equal_operands/optimize_spec.rb +2 -0
  114. data/spec/unit/veritas/optimizer/algebra/join/equal_headers/optimizable_spec.rb +2 -0
  115. data/spec/unit/veritas/optimizer/algebra/join/equal_headers/optimize_spec.rb +2 -0
  116. data/spec/unit/veritas/optimizer/algebra/product/table_dee_left/optimizable_spec.rb +2 -0
  117. data/spec/unit/veritas/optimizer/algebra/product/table_dee_left/optimize_spec.rb +2 -0
  118. data/spec/unit/veritas/optimizer/algebra/product/table_dee_right/optimizable_spec.rb +2 -0
  119. data/spec/unit/veritas/optimizer/algebra/product/table_dee_right/optimize_spec.rb +2 -0
  120. data/spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimizable_spec.rb +2 -0
  121. data/spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimize_spec.rb +2 -0
  122. data/spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimizable_spec.rb +2 -0
  123. data/spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimize_spec.rb +2 -0
  124. data/spec/unit/veritas/optimizer/algebra/projection/{set_operand → union_operand}/optimizable_spec.rb +3 -1
  125. data/spec/unit/veritas/optimizer/algebra/projection/{set_operand → union_operand}/optimize_spec.rb +4 -2
  126. data/spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimizable_spec.rb +3 -1
  127. data/spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimize_spec.rb +6 -4
  128. data/spec/unit/veritas/optimizer/algebra/rename/aliases_spec.rb +5 -13
  129. data/spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimizable_spec.rb +2 -0
  130. data/spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimize_spec.rb +2 -0
  131. data/spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimizable_spec.rb +2 -0
  132. data/spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimize_spec.rb +2 -0
  133. data/spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimizable_spec.rb +2 -0
  134. data/spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimize_spec.rb +2 -0
  135. data/spec/unit/veritas/optimizer/algebra/rename/order_operand/optimizable_spec.rb +2 -0
  136. data/spec/unit/veritas/optimizer/algebra/rename/order_operand/optimize_spec.rb +2 -0
  137. data/spec/unit/veritas/optimizer/algebra/rename/projection_operand/optimizable_spec.rb +17 -7
  138. data/spec/unit/veritas/optimizer/algebra/rename/projection_operand/optimize_spec.rb +2 -0
  139. data/spec/unit/veritas/optimizer/algebra/rename/rename_operand/optimizable_spec.rb +2 -0
  140. data/spec/unit/veritas/optimizer/algebra/rename/rename_operand/optimize_spec.rb +2 -0
  141. data/spec/unit/veritas/optimizer/algebra/rename/rename_operand_and_empty_aliases/optimizable_spec.rb +2 -0
  142. data/spec/unit/veritas/optimizer/algebra/rename/rename_operand_and_empty_aliases/optimize_spec.rb +2 -0
  143. data/spec/unit/veritas/optimizer/algebra/rename/restriction_operand/optimizable_spec.rb +3 -1
  144. data/spec/unit/veritas/optimizer/algebra/rename/restriction_operand/optimize_spec.rb +7 -5
  145. data/spec/unit/veritas/optimizer/algebra/rename/reverse_operand/optimizable_spec.rb +2 -0
  146. data/spec/unit/veritas/optimizer/algebra/rename/reverse_operand/optimize_spec.rb +2 -0
  147. data/spec/unit/veritas/optimizer/algebra/rename/set_operand/optimizable_spec.rb +2 -0
  148. data/spec/unit/veritas/optimizer/algebra/rename/set_operand/optimize_spec.rb +2 -0
  149. data/spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimizable_spec.rb +7 -20
  150. data/spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimize_spec.rb +2 -0
  151. data/spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimizable_spec.rb +23 -3
  152. data/spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimize_spec.rb +7 -5
  153. data/spec/unit/veritas/optimizer/algebra/restriction/order_operand/optimizable_spec.rb +3 -1
  154. data/spec/unit/veritas/optimizer/algebra/restriction/order_operand/optimize_spec.rb +7 -3
  155. data/spec/unit/veritas/optimizer/algebra/restriction/predicate_spec.rb +3 -1
  156. data/spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimizable_spec.rb +5 -3
  157. data/spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimize_spec.rb +8 -6
  158. data/spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimizable_spec.rb +3 -1
  159. data/spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimize_spec.rb +5 -3
  160. data/spec/unit/veritas/optimizer/algebra/restriction/tautology/optimizable_spec.rb +11 -3
  161. data/spec/unit/veritas/optimizer/algebra/restriction/tautology/optimize_spec.rb +4 -2
  162. data/spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimizable_spec.rb +7 -5
  163. data/spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimize_spec.rb +2 -0
  164. data/spec/unit/veritas/optimizer/algebra/summarization/empty_operand/class_methods/extension_default_spec.rb +22 -0
  165. data/spec/unit/veritas/optimizer/algebra/summarization/empty_operand/optimizable_spec.rb +29 -0
  166. data/spec/unit/veritas/optimizer/algebra/summarization/empty_operand/optimize_spec.rb +47 -0
  167. data/spec/unit/veritas/optimizer/algebra/summarization/empty_summarize_per/optimizable_spec.rb +29 -0
  168. data/spec/unit/veritas/optimizer/algebra/summarization/empty_summarize_per/optimize_spec.rb +23 -0
  169. data/spec/unit/veritas/optimizer/algebra/summarization/order_operand/optimizable_spec.rb +23 -0
  170. data/spec/unit/veritas/optimizer/algebra/summarization/order_operand/optimize_spec.rb +22 -0
  171. data/spec/unit/veritas/optimizer/algebra/summarization/summarize_per_spec.rb +29 -0
  172. data/spec/unit/veritas/optimizer/algebra/summarization/summarizers_spec.rb +31 -0
  173. data/spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimizable_spec.rb +30 -8
  174. data/spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimize_spec.rb +12 -9
  175. data/spec/unit/veritas/optimizer/algebra/union/empty_left/optimize_spec.rb +2 -0
  176. data/spec/unit/veritas/optimizer/algebra/union/empty_right/optimize_spec.rb +2 -0
  177. data/spec/unit/veritas/optimizer/algebra/union/equal_operands/optimize_spec.rb +2 -0
  178. data/spec/unit/veritas/optimizer/class_methods/chain_spec.rb +2 -0
  179. data/spec/unit/veritas/optimizer/function/binary/constant_operands/optimizable_spec.rb +36 -0
  180. data/spec/unit/veritas/optimizer/function/binary/constant_operands/optimize_spec.rb +18 -0
  181. data/spec/unit/veritas/optimizer/function/binary/left_spec.rb +28 -0
  182. data/spec/unit/veritas/optimizer/function/binary/right_spec.rb +28 -0
  183. data/spec/unit/veritas/optimizer/function/binary/unoptimized_operands/optimizable_spec.rb +37 -0
  184. data/spec/unit/veritas/optimizer/function/binary/unoptimized_operands/optimize_spec.rb +23 -0
  185. data/spec/unit/veritas/optimizer/function/class_methods/optimize_functions_spec.rb +26 -0
  186. data/spec/unit/veritas/optimizer/function/class_methods/optimize_operand_spec.rb +22 -0
  187. data/spec/unit/veritas/optimizer/function/connective/binary/constant_operands/optimize_spec.rb +16 -0
  188. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/equal_operands/optimizable_spec.rb +4 -2
  189. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/equal_operands/optimize_spec.rb +3 -1
  190. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/left_spec.rb +3 -1
  191. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/redundant_left_operand/optimizable_spec.rb +4 -2
  192. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/redundant_left_operand/optimize_spec.rb +4 -2
  193. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/redundant_right_operand/optimizable_spec.rb +4 -2
  194. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/redundant_right_operand/optimize_spec.rb +4 -2
  195. data/spec/unit/veritas/optimizer/{logic → function}/connective/binary/right_spec.rb +3 -1
  196. data/spec/unit/veritas/optimizer/function/connective/conjunction/contradiction/optimizable_spec.rb +64 -0
  197. data/spec/unit/veritas/optimizer/function/connective/conjunction/contradiction/optimize_spec.rb +19 -0
  198. data/spec/unit/veritas/optimizer/{logic/connective/disjunction/contradiction_left_operand → function/connective/conjunction/left_operand_tautology}/optimizable_spec.rb +9 -7
  199. data/spec/unit/veritas/optimizer/{logic → function}/connective/conjunction/left_operand_tautology/optimize_spec.rb +8 -6
  200. data/spec/unit/veritas/optimizer/{logic → function}/connective/conjunction/optimizable_to_exclusion/optimizable_spec.rb +4 -2
  201. data/spec/unit/veritas/optimizer/{logic → function}/connective/conjunction/optimizable_to_exclusion/optimize_spec.rb +5 -3
  202. data/spec/unit/veritas/optimizer/{logic → function}/connective/conjunction/right_operand_tautology/optimizable_spec.rb +6 -4
  203. data/spec/unit/veritas/optimizer/function/connective/conjunction/right_operand_tautology/optimize_spec.rb +19 -0
  204. data/spec/unit/veritas/optimizer/{logic/connective/conjunction/left_operand_tautology → function/connective/disjunction/contradiction_left_operand}/optimizable_spec.rb +9 -7
  205. data/spec/unit/veritas/optimizer/{logic → function}/connective/disjunction/contradiction_left_operand/optimize_spec.rb +8 -6
  206. data/spec/unit/veritas/optimizer/{logic → function}/connective/disjunction/contradiction_right_operand/optimizable_spec.rb +6 -4
  207. data/spec/unit/veritas/optimizer/{logic → function}/connective/disjunction/contradiction_right_operand/optimize_spec.rb +8 -6
  208. data/spec/unit/veritas/optimizer/{logic → function}/connective/disjunction/optimizable_to_inclusion/optimizable_spec.rb +4 -2
  209. data/spec/unit/veritas/optimizer/{logic → function}/connective/disjunction/optimizable_to_inclusion/optimize_spec.rb +5 -3
  210. data/spec/unit/veritas/optimizer/function/connective/disjunction/tautology/optimizable_spec.rb +64 -0
  211. data/spec/unit/veritas/optimizer/function/connective/disjunction/tautology/optimize_spec.rb +19 -0
  212. data/spec/unit/veritas/optimizer/function/connective/negation/constant_operand/optimize_spec.rb +16 -0
  213. data/spec/unit/veritas/optimizer/function/connective/negation/invertible_operand/optimizable_spec.rb +28 -0
  214. data/spec/unit/veritas/optimizer/function/connective/negation/invertible_operand/optimize_spec.rb +22 -0
  215. data/spec/unit/veritas/optimizer/{logic → function}/connective/negation/operand_spec.rb +3 -1
  216. data/spec/unit/veritas/optimizer/{logic → function}/predicate/comparable/never_comparable/optimizable_spec.rb +23 -7
  217. data/spec/unit/veritas/optimizer/{logic → function}/predicate/comparable/never_equivalent/optimizable_spec.rb +23 -7
  218. data/spec/unit/veritas/optimizer/{logic → function}/predicate/comparable/normalizable_operands/optimizable_spec.rb +7 -5
  219. data/spec/unit/veritas/optimizer/{logic → function}/predicate/comparable/normalizable_operands/optimize_spec.rb +7 -5
  220. data/spec/unit/veritas/optimizer/function/predicate/constant_operands/optimize_spec.rb +16 -0
  221. data/spec/unit/veritas/optimizer/function/predicate/contradiction/optimize_spec.rb +18 -0
  222. data/spec/unit/veritas/optimizer/function/predicate/enumerable/class_methods/sort_by_value_spec.rb +27 -0
  223. data/spec/unit/veritas/optimizer/{logic → function}/predicate/enumerable/empty_right_operand/optimizable_spec.rb +6 -4
  224. data/spec/unit/veritas/optimizer/{logic → function}/predicate/enumerable/one_right_operand/optimizable_spec.rb +9 -7
  225. data/spec/unit/veritas/optimizer/{logic/predicate/enumerable/unoptimized_operand → function/predicate/enumerable/unoptimized_operands}/optimizable_spec.rb +4 -2
  226. data/spec/unit/veritas/optimizer/{logic/predicate/enumerable/unoptimized_operand → function/predicate/enumerable/unoptimized_operands}/optimize_spec.rb +18 -5
  227. data/spec/unit/veritas/optimizer/{logic → function}/predicate/equality/tautology/optimizable_spec.rb +4 -2
  228. data/spec/unit/veritas/optimizer/{logic → function}/predicate/exclusion/empty_right_operand/optimize_spec.rb +8 -6
  229. data/spec/unit/veritas/optimizer/{logic → function}/predicate/exclusion/one_right_operand/optimize_spec.rb +8 -6
  230. data/spec/unit/veritas/optimizer/{logic → function}/predicate/greater_than/contradiction/optimizable_spec.rb +4 -2
  231. data/spec/unit/veritas/optimizer/{logic → function}/predicate/greater_than/tautology/optimizable_spec.rb +4 -2
  232. data/spec/unit/veritas/optimizer/{logic → function}/predicate/greater_than_or_equal_to/contradiction/optimizable_spec.rb +4 -2
  233. data/spec/unit/veritas/optimizer/{logic → function}/predicate/greater_than_or_equal_to/tautology/optimizable_spec.rb +4 -2
  234. data/spec/unit/veritas/optimizer/{logic → function}/predicate/inclusion/empty_right_operand/optimize_spec.rb +8 -6
  235. data/spec/unit/veritas/optimizer/{logic → function}/predicate/inclusion/one_right_operand/optimize_spec.rb +8 -6
  236. data/spec/unit/veritas/optimizer/{logic → function}/predicate/inequality/contradiction/optimizable_spec.rb +4 -2
  237. data/spec/unit/veritas/optimizer/{logic → function}/predicate/less_than/contradiction/optimizable_spec.rb +4 -2
  238. data/spec/unit/veritas/optimizer/{logic → function}/predicate/less_than/tautology/optimizable_spec.rb +4 -2
  239. data/spec/unit/veritas/optimizer/{logic → function}/predicate/less_than_or_equal_to/contradiction/optimizable_spec.rb +4 -2
  240. data/spec/unit/veritas/optimizer/{logic → function}/predicate/less_than_or_equal_to/tautology/optimizable_spec.rb +4 -2
  241. data/spec/unit/veritas/optimizer/function/predicate/tautology/optimize_spec.rb +18 -0
  242. data/spec/unit/veritas/optimizer/function/unary/constant_operand/optimizable_spec.rb +27 -0
  243. data/spec/unit/veritas/optimizer/function/unary/constant_operand/optimize_spec.rb +18 -0
  244. data/spec/unit/veritas/optimizer/function/unary/operand_spec.rb +27 -0
  245. data/spec/unit/veritas/optimizer/function/unary/unoptimized_operand/optimizable_spec.rb +27 -0
  246. data/spec/unit/veritas/optimizer/function/unary/unoptimized_operand/optimize_spec.rb +18 -0
  247. data/spec/unit/veritas/optimizer/{logic/predicate → function}/util/class_methods/attribute_spec.rb +4 -2
  248. data/spec/unit/veritas/optimizer/{logic/predicate → function}/util/class_methods/constant_spec.rb +13 -5
  249. data/spec/unit/veritas/optimizer/function/util/class_methods/max_spec.rb +27 -0
  250. data/spec/unit/veritas/optimizer/function/util/class_methods/min_spec.rb +27 -0
  251. data/spec/unit/veritas/optimizer/operation_spec.rb +2 -0
  252. data/spec/unit/veritas/optimizer/optimizable/class_methods/optimizer_spec.rb +2 -0
  253. data/spec/unit/veritas/optimizer/optimizable/optimize_spec.rb +3 -1
  254. data/spec/unit/veritas/optimizer/optimizable_spec.rb +2 -0
  255. data/spec/unit/veritas/optimizer/optimize_spec.rb +2 -0
  256. data/spec/unit/veritas/optimizer/relation/materialized/empty_operand/optimizable_spec.rb +2 -0
  257. data/spec/unit/veritas/optimizer/relation/materialized/empty_operand/optimize_spec.rb +2 -0
  258. data/spec/unit/veritas/optimizer/relation/operation/binary/empty_left/optimizable_spec.rb +2 -4
  259. data/spec/unit/veritas/optimizer/relation/operation/binary/empty_right/optimizable_spec.rb +2 -4
  260. data/spec/unit/veritas/optimizer/relation/operation/binary/equal_operands/optimizable_spec.rb +2 -5
  261. data/spec/unit/veritas/optimizer/relation/operation/binary/left_order_operand/optimizable_spec.rb +23 -0
  262. data/spec/unit/veritas/optimizer/relation/operation/binary/left_order_operand/optimize_spec.rb +23 -0
  263. data/spec/unit/veritas/optimizer/relation/operation/binary/left_spec.rb +2 -4
  264. data/spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimizable_spec.rb +2 -0
  265. data/spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimize_spec.rb +2 -0
  266. data/spec/unit/veritas/optimizer/relation/operation/binary/right_order_operand/optimizable_spec.rb +23 -0
  267. data/spec/unit/veritas/optimizer/relation/operation/binary/right_order_operand/optimize_spec.rb +23 -0
  268. data/spec/unit/veritas/optimizer/relation/operation/binary/right_spec.rb +2 -4
  269. data/spec/unit/veritas/optimizer/relation/operation/binary/{unoptimized_operand → unoptimized_operands}/optimizable_spec.rb +3 -1
  270. data/spec/unit/veritas/optimizer/relation/operation/binary/{unoptimized_operand → unoptimized_operands}/optimize_spec.rb +3 -1
  271. data/spec/unit/veritas/optimizer/relation/operation/combination/optimize_spec.rb +2 -0
  272. data/spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimizable_spec.rb +2 -0
  273. data/spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimize_spec.rb +2 -0
  274. data/spec/unit/veritas/optimizer/relation/operation/limit/limit_operand/optimizable_spec.rb +2 -0
  275. data/spec/unit/veritas/optimizer/relation/operation/limit/limit_operand/optimize_spec.rb +2 -0
  276. data/spec/unit/veritas/optimizer/relation/operation/limit/unoptimized_operand/optimizable_spec.rb +2 -0
  277. data/spec/unit/veritas/optimizer/relation/operation/limit/unoptimized_operand/optimize_spec.rb +2 -0
  278. data/spec/unit/veritas/optimizer/relation/operation/limit/zero_limit/optimizable_spec.rb +2 -0
  279. data/spec/unit/veritas/optimizer/relation/operation/limit/zero_limit/optimize_spec.rb +2 -0
  280. data/spec/unit/veritas/optimizer/relation/operation/offset/offset_operand/optimizable_spec.rb +2 -0
  281. data/spec/unit/veritas/optimizer/relation/operation/offset/offset_operand/optimize_spec.rb +2 -0
  282. data/spec/unit/veritas/optimizer/relation/operation/offset/unoptimized_operand/optimizable_spec.rb +2 -0
  283. data/spec/unit/veritas/optimizer/relation/operation/offset/unoptimized_operand/optimize_spec.rb +2 -0
  284. data/spec/unit/veritas/optimizer/relation/operation/offset/zero_offset/optimizable_spec.rb +2 -0
  285. data/spec/unit/veritas/optimizer/relation/operation/offset/zero_offset/optimize_spec.rb +2 -0
  286. data/spec/unit/veritas/optimizer/relation/operation/order/one_limit_operand/optimizable_spec.rb +2 -0
  287. data/spec/unit/veritas/optimizer/relation/operation/order/one_limit_operand/optimize_spec.rb +2 -0
  288. data/spec/unit/veritas/optimizer/relation/operation/order/order_operand/optimizable_spec.rb +2 -0
  289. data/spec/unit/veritas/optimizer/relation/operation/order/order_operand/optimize_spec.rb +3 -1
  290. data/spec/unit/veritas/optimizer/relation/operation/order/unoptimized_operand/optimizable_spec.rb +2 -0
  291. data/spec/unit/veritas/optimizer/relation/operation/order/unoptimized_operand/optimize_spec.rb +2 -0
  292. data/spec/unit/veritas/optimizer/relation/operation/reverse/order_operand/optimizable_spec.rb +2 -0
  293. data/spec/unit/veritas/optimizer/relation/operation/reverse/order_operand/optimize_spec.rb +2 -0
  294. data/spec/unit/veritas/optimizer/relation/operation/reverse/reverse_operand/optimizable_spec.rb +2 -0
  295. data/spec/unit/veritas/optimizer/relation/operation/reverse/reverse_operand/optimize_spec.rb +2 -0
  296. data/spec/unit/veritas/optimizer/relation/operation/reverse/unoptimized_operand/optimizable_spec.rb +2 -0
  297. data/spec/unit/veritas/optimizer/relation/operation/reverse/unoptimized_operand/optimize_spec.rb +2 -0
  298. data/spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimizable_spec.rb +5 -2
  299. data/spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimize_spec.rb +2 -0
  300. data/spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb +15 -0
  301. data/spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimizable_spec.rb +5 -2
  302. data/spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimize_spec.rb +2 -0
  303. data/spec/unit/veritas/optimizer/relation/operation/unary/operand_spec.rb +8 -5
  304. data/spec/unit/veritas/optimizer/relation/operation/unary/order_operand/optimizable_spec.rb +28 -0
  305. data/spec/unit/veritas/optimizer/relation/operation/unary/order_operand/optimize_spec.rb +27 -0
  306. data/spec/unit/veritas/optimizer/relation/operation/unary/unchanged_header/optimizable_spec.rb +24 -0
  307. data/spec/unit/veritas/optimizer/relation/operation/unary/unchanged_header/optimize_spec.rb +14 -0
  308. data/tasks/metrics/ci.rake +7 -0
  309. data/tasks/{quality → metrics}/flay.rake +0 -0
  310. data/tasks/{quality → metrics}/flog.rake +0 -0
  311. data/tasks/{quality → metrics}/heckle.rake +1 -0
  312. data/tasks/{quality → metrics}/metric_fu.rake +3 -0
  313. data/tasks/{quality → metrics}/reek.rake +0 -0
  314. data/tasks/{quality → metrics}/roodi.rake +0 -0
  315. data/tasks/{quality → metrics}/yardstick.rake +0 -0
  316. data/tasks/spec.rake +1 -0
  317. data/veritas-optimizer.gemspec +183 -352
  318. metadata +232 -357
  319. data/lib/veritas/optimizer/logic/connective/negation.rb +0 -71
  320. data/lib/veritas/optimizer/logic/predicate.rb +0 -177
  321. data/spec/unit/veritas/optimizer/algebra/projection/header_spec.rb +0 -16
  322. data/spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimizable_spec.rb +0 -26
  323. data/spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimize_spec.rb +0 -16
  324. data/spec/unit/veritas/optimizer/algebra/rename/class_methods/union_aliases_spec.rb +0 -27
  325. data/spec/unit/veritas/optimizer/algebra/rename/header_spec.rb +0 -19
  326. data/spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimizable_spec.rb +0 -26
  327. data/spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimize_spec.rb +0 -16
  328. data/spec/unit/veritas/optimizer/algebra/restriction/class_methods/optimize_predicate_spec.rb +0 -31
  329. data/spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimizable_spec.rb +0 -26
  330. data/spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimize_spec.rb +0 -18
  331. data/spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimizable_spec.rb +0 -34
  332. data/spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimize_spec.rb +0 -21
  333. data/spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimizable_spec.rb +0 -41
  334. data/spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimize_spec.rb +0 -17
  335. data/spec/unit/veritas/optimizer/logic/connective/conjunction/right_operand_tautology/optimize_spec.rb +0 -17
  336. data/spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimizable_spec.rb +0 -41
  337. data/spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimize_spec.rb +0 -17
  338. data/spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimizable_spec.rb +0 -26
  339. data/spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimize_spec.rb +0 -20
  340. data/spec/unit/veritas/optimizer/logic/predicate/class_methods/optimize_operand_spec.rb +0 -20
  341. data/spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimizable_spec.rb +0 -29
  342. data/spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimize_spec.rb +0 -14
  343. data/spec/unit/veritas/optimizer/logic/predicate/contradiction/optimize_spec.rb +0 -16
  344. data/spec/unit/veritas/optimizer/logic/predicate/left_spec.rb +0 -25
  345. data/spec/unit/veritas/optimizer/logic/predicate/right_spec.rb +0 -25
  346. data/spec/unit/veritas/optimizer/logic/predicate/tautology/optimize_spec.rb +0 -16
  347. data/spec/unit/veritas/optimizer/logic/predicate/util/class_methods/max_spec.rb +0 -19
  348. data/spec/unit/veritas/optimizer/logic/predicate/util/class_methods/min_spec.rb +0 -19
  349. data/tasks/quality/ci.rake +0 -2
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veritas-optimizer
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 23
4
5
  prerelease:
5
- version: 0.0.3
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
6
11
  platform: ruby
7
12
  authors:
8
13
  - Dan Kubb
@@ -10,74 +15,104 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-04-22 00:00:00 Z
18
+ date: 2011-06-01 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
- name: veritas
17
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
22
  none: false
19
23
  requirements:
20
24
  - - "="
21
25
  - !ruby/object:Gem::Version
22
- version: 0.0.3
26
+ hash: 23
27
+ segments:
28
+ - 0
29
+ - 0
30
+ - 4
31
+ version: 0.0.4
23
32
  type: :runtime
33
+ requirement: *id001
24
34
  prerelease: false
25
- version_requirements: *id001
35
+ name: veritas
26
36
  - !ruby/object:Gem::Dependency
27
- name: backports
28
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
38
  none: false
30
39
  requirements:
31
40
  - - ~>
32
41
  - !ruby/object:Gem::Version
33
- version: 2.1.0
42
+ hash: 5
43
+ segments:
44
+ - 2
45
+ - 2
46
+ - 1
47
+ version: 2.2.1
34
48
  type: :development
49
+ requirement: *id002
35
50
  prerelease: false
36
- version_requirements: *id002
51
+ name: backports
37
52
  - !ruby/object:Gem::Dependency
38
- name: jeweler
39
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
40
54
  none: false
41
55
  requirements:
42
56
  - - ~>
43
57
  - !ruby/object:Gem::Version
44
- version: 1.5.2
58
+ hash: 15
59
+ segments:
60
+ - 1
61
+ - 6
62
+ - 0
63
+ version: 1.6.0
45
64
  type: :development
65
+ requirement: *id003
46
66
  prerelease: false
47
- version_requirements: *id003
67
+ name: jeweler
48
68
  - !ruby/object:Gem::Dependency
49
- name: rake
50
- requirement: &id004 !ruby/object:Gem::Requirement
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
51
70
  none: false
52
71
  requirements:
53
72
  - - ~>
54
73
  - !ruby/object:Gem::Version
55
- version: 0.8.7
74
+ hash: 59
75
+ segments:
76
+ - 0
77
+ - 9
78
+ - 0
79
+ version: 0.9.0
56
80
  type: :development
81
+ requirement: *id004
57
82
  prerelease: false
58
- version_requirements: *id004
83
+ name: rake
59
84
  - !ruby/object:Gem::Dependency
60
- name: rspec
61
- requirement: &id005 !ruby/object:Gem::Requirement
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
62
86
  none: false
63
87
  requirements:
64
88
  - - ~>
65
89
  - !ruby/object:Gem::Version
90
+ hash: 31
91
+ segments:
92
+ - 1
93
+ - 3
94
+ - 2
66
95
  version: 1.3.2
67
96
  type: :development
97
+ requirement: *id005
68
98
  prerelease: false
69
- version_requirements: *id005
99
+ name: rspec
70
100
  - !ruby/object:Gem::Dependency
71
- name: yard
72
- requirement: &id006 !ruby/object:Gem::Requirement
101
+ version_requirements: &id006 !ruby/object:Gem::Requirement
73
102
  none: false
74
103
  requirements:
75
104
  - - ~>
76
105
  - !ruby/object:Gem::Version
77
- version: 0.6.8
106
+ hash: 1
107
+ segments:
108
+ - 0
109
+ - 7
110
+ - 1
111
+ version: 0.7.1
78
112
  type: :development
113
+ requirement: *id006
79
114
  prerelease: false
80
- version_requirements: *id006
115
+ name: yard
81
116
  description: Optimizes veritas relations
82
117
  email: dan.kubb@gmail.com
83
118
  executables: []
@@ -89,7 +124,11 @@ extra_rdoc_files:
89
124
  - README.rdoc
90
125
  - TODO
91
126
  files:
127
+ - .gemtest
128
+ - .rvmrc
129
+ - .travis.yml
92
130
  - Gemfile
131
+ - Guardfile
93
132
  - LICENSE
94
133
  - README.rdoc
95
134
  - Rakefile
@@ -101,6 +140,14 @@ files:
101
140
  - config/yardstick.yml
102
141
  - lib/veritas-optimizer.rb
103
142
  - lib/veritas/optimizer.rb
143
+ - lib/veritas/optimizer/aggregate.rb
144
+ - lib/veritas/optimizer/aggregate/count.rb
145
+ - lib/veritas/optimizer/aggregate/maximum.rb
146
+ - lib/veritas/optimizer/aggregate/mean.rb
147
+ - lib/veritas/optimizer/aggregate/minimum.rb
148
+ - lib/veritas/optimizer/aggregate/standard_deviation.rb
149
+ - lib/veritas/optimizer/aggregate/sum.rb
150
+ - lib/veritas/optimizer/aggregate/variance.rb
104
151
  - lib/veritas/optimizer/algebra/difference.rb
105
152
  - lib/veritas/optimizer/algebra/extension.rb
106
153
  - lib/veritas/optimizer/algebra/intersection.rb
@@ -111,23 +158,38 @@ files:
111
158
  - lib/veritas/optimizer/algebra/restriction.rb
112
159
  - lib/veritas/optimizer/algebra/summarization.rb
113
160
  - lib/veritas/optimizer/algebra/union.rb
114
- - lib/veritas/optimizer/logic/connective/binary.rb
115
- - lib/veritas/optimizer/logic/connective/conjunction.rb
116
- - lib/veritas/optimizer/logic/connective/disjunction.rb
117
- - lib/veritas/optimizer/logic/connective/negation.rb
118
- - lib/veritas/optimizer/logic/predicate.rb
119
- - lib/veritas/optimizer/logic/predicate/comparable.rb
120
- - lib/veritas/optimizer/logic/predicate/enumerable.rb
121
- - lib/veritas/optimizer/logic/predicate/equality.rb
122
- - lib/veritas/optimizer/logic/predicate/exclusion.rb
123
- - lib/veritas/optimizer/logic/predicate/greater_than.rb
124
- - lib/veritas/optimizer/logic/predicate/greater_than_or_equal_to.rb
125
- - lib/veritas/optimizer/logic/predicate/inclusion.rb
126
- - lib/veritas/optimizer/logic/predicate/inequality.rb
127
- - lib/veritas/optimizer/logic/predicate/less_than.rb
128
- - lib/veritas/optimizer/logic/predicate/less_than_or_equal_to.rb
129
- - lib/veritas/optimizer/logic/predicate/match.rb
130
- - lib/veritas/optimizer/logic/predicate/no_match.rb
161
+ - lib/veritas/optimizer/function.rb
162
+ - lib/veritas/optimizer/function/binary.rb
163
+ - lib/veritas/optimizer/function/connective/binary.rb
164
+ - lib/veritas/optimizer/function/connective/conjunction.rb
165
+ - lib/veritas/optimizer/function/connective/disjunction.rb
166
+ - lib/veritas/optimizer/function/connective/negation.rb
167
+ - lib/veritas/optimizer/function/numeric.rb
168
+ - lib/veritas/optimizer/function/numeric/absolute.rb
169
+ - lib/veritas/optimizer/function/numeric/addition.rb
170
+ - lib/veritas/optimizer/function/numeric/division.rb
171
+ - lib/veritas/optimizer/function/numeric/exponentiation.rb
172
+ - lib/veritas/optimizer/function/numeric/modulo.rb
173
+ - lib/veritas/optimizer/function/numeric/multiplication.rb
174
+ - lib/veritas/optimizer/function/numeric/square_root.rb
175
+ - lib/veritas/optimizer/function/numeric/subtraction.rb
176
+ - lib/veritas/optimizer/function/numeric/unary_minus.rb
177
+ - lib/veritas/optimizer/function/numeric/unary_plus.rb
178
+ - lib/veritas/optimizer/function/predicate.rb
179
+ - lib/veritas/optimizer/function/predicate/comparable.rb
180
+ - lib/veritas/optimizer/function/predicate/enumerable.rb
181
+ - lib/veritas/optimizer/function/predicate/equality.rb
182
+ - lib/veritas/optimizer/function/predicate/exclusion.rb
183
+ - lib/veritas/optimizer/function/predicate/greater_than.rb
184
+ - lib/veritas/optimizer/function/predicate/greater_than_or_equal_to.rb
185
+ - lib/veritas/optimizer/function/predicate/inclusion.rb
186
+ - lib/veritas/optimizer/function/predicate/inequality.rb
187
+ - lib/veritas/optimizer/function/predicate/less_than.rb
188
+ - lib/veritas/optimizer/function/predicate/less_than_or_equal_to.rb
189
+ - lib/veritas/optimizer/function/predicate/match.rb
190
+ - lib/veritas/optimizer/function/predicate/no_match.rb
191
+ - lib/veritas/optimizer/function/string/length.rb
192
+ - lib/veritas/optimizer/function/unary.rb
131
193
  - lib/veritas/optimizer/optimizable.rb
132
194
  - lib/veritas/optimizer/relation/materialized.rb
133
195
  - lib/veritas/optimizer/relation/operation/binary.rb
@@ -145,19 +207,20 @@ files:
145
207
  - spec/integration/veritas/algebra/projection/optimize_spec.rb
146
208
  - spec/integration/veritas/algebra/rename/optimize_spec.rb
147
209
  - spec/integration/veritas/algebra/restriction/optimize_spec.rb
210
+ - spec/integration/veritas/algebra/summarization/optimize_spec.rb
148
211
  - spec/integration/veritas/algebra/union/optimize_spec.rb
149
- - spec/integration/veritas/logic/connective/conjunction/optimize_spec.rb
150
- - spec/integration/veritas/logic/connective/disjunction/optimize_spec.rb
151
- - spec/integration/veritas/logic/connective/negation/optimize_spec.rb
152
- - spec/integration/veritas/logic/expression/optimize_spec.rb
153
- - spec/integration/veritas/logic/predicate/equality/optimize_spec.rb
154
- - spec/integration/veritas/logic/predicate/exclusion/optimize_spec.rb
155
- - spec/integration/veritas/logic/predicate/greater_than/optimize_spec.rb
156
- - spec/integration/veritas/logic/predicate/greater_than_or_equal_to/optimize_spec.rb
157
- - spec/integration/veritas/logic/predicate/inclusion/optimize_spec.rb
158
- - spec/integration/veritas/logic/predicate/inequality/optimize_spec.rb
159
- - spec/integration/veritas/logic/predicate/less_than/optimize_spec.rb
160
- - spec/integration/veritas/logic/predicate/less_than_or_equal_to/optimize_spec.rb
212
+ - spec/integration/veritas/function/connective/conjunction/optimize_spec.rb
213
+ - spec/integration/veritas/function/connective/disjunction/optimize_spec.rb
214
+ - spec/integration/veritas/function/connective/negation/optimize_spec.rb
215
+ - spec/integration/veritas/function/optimize_spec.rb
216
+ - spec/integration/veritas/function/predicate/equality/optimize_spec.rb
217
+ - spec/integration/veritas/function/predicate/exclusion/optimize_spec.rb
218
+ - spec/integration/veritas/function/predicate/greater_than/optimize_spec.rb
219
+ - spec/integration/veritas/function/predicate/greater_than_or_equal_to/optimize_spec.rb
220
+ - spec/integration/veritas/function/predicate/inclusion/optimize_spec.rb
221
+ - spec/integration/veritas/function/predicate/inequality/optimize_spec.rb
222
+ - spec/integration/veritas/function/predicate/less_than/optimize_spec.rb
223
+ - spec/integration/veritas/function/predicate/less_than_or_equal_to/optimize_spec.rb
161
224
  - spec/integration/veritas/relation/empty/optimize_spec.rb
162
225
  - spec/integration/veritas/relation/materialized/optimize_spec.rb
163
226
  - spec/integration/veritas/relation/operation/limit/optimize_spec.rb
@@ -166,8 +229,8 @@ files:
166
229
  - spec/integration/veritas/relation/operation/reverse/optimize_spec.rb
167
230
  - spec/integration/veritas/relation/optimize_spec.rb
168
231
  - spec/rcov.opts
232
+ - spec/shared/function_connective_binary_optimize_behavior.rb
169
233
  - spec/shared/idempotent_method_behavior.rb
170
- - spec/shared/logic_connective_binary_optimize_behavior.rb
171
234
  - spec/shared/optimize_method_behavior.rb
172
235
  - spec/spec.opts
173
236
  - spec/spec_helper.rb
@@ -175,6 +238,9 @@ files:
175
238
  - spec/unit/veritas/optimizer/algebra/difference/empty_left/optimize_spec.rb
176
239
  - spec/unit/veritas/optimizer/algebra/difference/empty_right/optimize_spec.rb
177
240
  - spec/unit/veritas/optimizer/algebra/difference/equal_operands/optimize_spec.rb
241
+ - spec/unit/veritas/optimizer/algebra/extension/extensions_spec.rb
242
+ - spec/unit/veritas/optimizer/algebra/extension/order_operand/optimizable_spec.rb
243
+ - spec/unit/veritas/optimizer/algebra/extension/order_operand/optimize_spec.rb
178
244
  - spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimizable_spec.rb
179
245
  - spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimize_spec.rb
180
246
  - spec/unit/veritas/optimizer/algebra/intersection/empty_left/optimize_spec.rb
@@ -188,20 +254,15 @@ files:
188
254
  - spec/unit/veritas/optimizer/algebra/product/table_dee_right/optimize_spec.rb
189
255
  - spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimizable_spec.rb
190
256
  - spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimize_spec.rb
191
- - spec/unit/veritas/optimizer/algebra/projection/header_spec.rb
192
257
  - spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimizable_spec.rb
193
258
  - spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimize_spec.rb
194
- - spec/unit/veritas/optimizer/algebra/projection/set_operand/optimizable_spec.rb
195
- - spec/unit/veritas/optimizer/algebra/projection/set_operand/optimize_spec.rb
196
- - spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimizable_spec.rb
197
- - spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimize_spec.rb
259
+ - spec/unit/veritas/optimizer/algebra/projection/union_operand/optimizable_spec.rb
260
+ - spec/unit/veritas/optimizer/algebra/projection/union_operand/optimize_spec.rb
198
261
  - spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimizable_spec.rb
199
262
  - spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimize_spec.rb
200
263
  - spec/unit/veritas/optimizer/algebra/rename/aliases_spec.rb
201
- - spec/unit/veritas/optimizer/algebra/rename/class_methods/union_aliases_spec.rb
202
264
  - spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimizable_spec.rb
203
265
  - spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimize_spec.rb
204
- - spec/unit/veritas/optimizer/algebra/rename/header_spec.rb
205
266
  - spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimizable_spec.rb
206
267
  - spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimize_spec.rb
207
268
  - spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimizable_spec.rb
@@ -220,11 +281,8 @@ files:
220
281
  - spec/unit/veritas/optimizer/algebra/rename/reverse_operand/optimize_spec.rb
221
282
  - spec/unit/veritas/optimizer/algebra/rename/set_operand/optimizable_spec.rb
222
283
  - spec/unit/veritas/optimizer/algebra/rename/set_operand/optimize_spec.rb
223
- - spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimizable_spec.rb
224
- - spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimize_spec.rb
225
284
  - spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimizable_spec.rb
226
285
  - spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimize_spec.rb
227
- - spec/unit/veritas/optimizer/algebra/restriction/class_methods/optimize_predicate_spec.rb
228
286
  - spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimizable_spec.rb
229
287
  - spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimize_spec.rb
230
288
  - spec/unit/veritas/optimizer/algebra/restriction/order_operand/optimizable_spec.rb
@@ -232,82 +290,99 @@ files:
232
290
  - spec/unit/veritas/optimizer/algebra/restriction/predicate_spec.rb
233
291
  - spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimizable_spec.rb
234
292
  - spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimize_spec.rb
235
- - spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimizable_spec.rb
236
- - spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimize_spec.rb
237
293
  - spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimizable_spec.rb
238
294
  - spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimize_spec.rb
239
295
  - spec/unit/veritas/optimizer/algebra/restriction/tautology/optimizable_spec.rb
240
296
  - spec/unit/veritas/optimizer/algebra/restriction/tautology/optimize_spec.rb
241
297
  - spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimizable_spec.rb
242
298
  - spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimize_spec.rb
299
+ - spec/unit/veritas/optimizer/algebra/summarization/empty_operand/class_methods/extension_default_spec.rb
300
+ - spec/unit/veritas/optimizer/algebra/summarization/empty_operand/optimizable_spec.rb
301
+ - spec/unit/veritas/optimizer/algebra/summarization/empty_operand/optimize_spec.rb
302
+ - spec/unit/veritas/optimizer/algebra/summarization/empty_summarize_per/optimizable_spec.rb
303
+ - spec/unit/veritas/optimizer/algebra/summarization/empty_summarize_per/optimize_spec.rb
304
+ - spec/unit/veritas/optimizer/algebra/summarization/order_operand/optimizable_spec.rb
305
+ - spec/unit/veritas/optimizer/algebra/summarization/order_operand/optimize_spec.rb
306
+ - spec/unit/veritas/optimizer/algebra/summarization/summarize_per_spec.rb
307
+ - spec/unit/veritas/optimizer/algebra/summarization/summarizers_spec.rb
243
308
  - spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimizable_spec.rb
244
309
  - spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimize_spec.rb
245
310
  - spec/unit/veritas/optimizer/algebra/union/empty_left/optimize_spec.rb
246
311
  - spec/unit/veritas/optimizer/algebra/union/empty_right/optimize_spec.rb
247
312
  - spec/unit/veritas/optimizer/algebra/union/equal_operands/optimize_spec.rb
248
313
  - spec/unit/veritas/optimizer/class_methods/chain_spec.rb
249
- - spec/unit/veritas/optimizer/logic/connective/binary/equal_operands/optimizable_spec.rb
250
- - spec/unit/veritas/optimizer/logic/connective/binary/equal_operands/optimize_spec.rb
251
- - spec/unit/veritas/optimizer/logic/connective/binary/left_spec.rb
252
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_left_operand/optimizable_spec.rb
253
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_left_operand/optimize_spec.rb
254
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_right_operand/optimizable_spec.rb
255
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_right_operand/optimize_spec.rb
256
- - spec/unit/veritas/optimizer/logic/connective/binary/right_spec.rb
257
- - spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimizable_spec.rb
258
- - spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimize_spec.rb
259
- - spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimizable_spec.rb
260
- - spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimize_spec.rb
261
- - spec/unit/veritas/optimizer/logic/connective/conjunction/left_operand_tautology/optimizable_spec.rb
262
- - spec/unit/veritas/optimizer/logic/connective/conjunction/left_operand_tautology/optimize_spec.rb
263
- - spec/unit/veritas/optimizer/logic/connective/conjunction/optimizable_to_exclusion/optimizable_spec.rb
264
- - spec/unit/veritas/optimizer/logic/connective/conjunction/optimizable_to_exclusion/optimize_spec.rb
265
- - spec/unit/veritas/optimizer/logic/connective/conjunction/right_operand_tautology/optimizable_spec.rb
266
- - spec/unit/veritas/optimizer/logic/connective/conjunction/right_operand_tautology/optimize_spec.rb
267
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_left_operand/optimizable_spec.rb
268
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_left_operand/optimize_spec.rb
269
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_right_operand/optimizable_spec.rb
270
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_right_operand/optimize_spec.rb
271
- - spec/unit/veritas/optimizer/logic/connective/disjunction/optimizable_to_inclusion/optimizable_spec.rb
272
- - spec/unit/veritas/optimizer/logic/connective/disjunction/optimizable_to_inclusion/optimize_spec.rb
273
- - spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimizable_spec.rb
274
- - spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimize_spec.rb
275
- - spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimizable_spec.rb
276
- - spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimize_spec.rb
277
- - spec/unit/veritas/optimizer/logic/connective/negation/operand_spec.rb
278
- - spec/unit/veritas/optimizer/logic/predicate/class_methods/optimize_operand_spec.rb
279
- - spec/unit/veritas/optimizer/logic/predicate/comparable/never_comparable/optimizable_spec.rb
280
- - spec/unit/veritas/optimizer/logic/predicate/comparable/never_equivalent/optimizable_spec.rb
281
- - spec/unit/veritas/optimizer/logic/predicate/comparable/normalizable_operands/optimizable_spec.rb
282
- - spec/unit/veritas/optimizer/logic/predicate/comparable/normalizable_operands/optimize_spec.rb
283
- - spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimizable_spec.rb
284
- - spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimize_spec.rb
285
- - spec/unit/veritas/optimizer/logic/predicate/contradiction/optimize_spec.rb
286
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/empty_right_operand/optimizable_spec.rb
287
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/one_right_operand/optimizable_spec.rb
288
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/unoptimized_operand/optimizable_spec.rb
289
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/unoptimized_operand/optimize_spec.rb
290
- - spec/unit/veritas/optimizer/logic/predicate/equality/tautology/optimizable_spec.rb
291
- - spec/unit/veritas/optimizer/logic/predicate/exclusion/empty_right_operand/optimize_spec.rb
292
- - spec/unit/veritas/optimizer/logic/predicate/exclusion/one_right_operand/optimize_spec.rb
293
- - spec/unit/veritas/optimizer/logic/predicate/greater_than/contradiction/optimizable_spec.rb
294
- - spec/unit/veritas/optimizer/logic/predicate/greater_than/tautology/optimizable_spec.rb
295
- - spec/unit/veritas/optimizer/logic/predicate/greater_than_or_equal_to/contradiction/optimizable_spec.rb
296
- - spec/unit/veritas/optimizer/logic/predicate/greater_than_or_equal_to/tautology/optimizable_spec.rb
297
- - spec/unit/veritas/optimizer/logic/predicate/inclusion/empty_right_operand/optimize_spec.rb
298
- - spec/unit/veritas/optimizer/logic/predicate/inclusion/one_right_operand/optimize_spec.rb
299
- - spec/unit/veritas/optimizer/logic/predicate/inequality/contradiction/optimizable_spec.rb
300
- - spec/unit/veritas/optimizer/logic/predicate/left_spec.rb
301
- - spec/unit/veritas/optimizer/logic/predicate/less_than/contradiction/optimizable_spec.rb
302
- - spec/unit/veritas/optimizer/logic/predicate/less_than/tautology/optimizable_spec.rb
303
- - spec/unit/veritas/optimizer/logic/predicate/less_than_or_equal_to/contradiction/optimizable_spec.rb
304
- - spec/unit/veritas/optimizer/logic/predicate/less_than_or_equal_to/tautology/optimizable_spec.rb
305
- - spec/unit/veritas/optimizer/logic/predicate/right_spec.rb
306
- - spec/unit/veritas/optimizer/logic/predicate/tautology/optimize_spec.rb
307
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/attribute_spec.rb
308
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/constant_spec.rb
309
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/max_spec.rb
310
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/min_spec.rb
314
+ - spec/unit/veritas/optimizer/function/binary/constant_operands/optimizable_spec.rb
315
+ - spec/unit/veritas/optimizer/function/binary/constant_operands/optimize_spec.rb
316
+ - spec/unit/veritas/optimizer/function/binary/left_spec.rb
317
+ - spec/unit/veritas/optimizer/function/binary/right_spec.rb
318
+ - spec/unit/veritas/optimizer/function/binary/unoptimized_operands/optimizable_spec.rb
319
+ - spec/unit/veritas/optimizer/function/binary/unoptimized_operands/optimize_spec.rb
320
+ - spec/unit/veritas/optimizer/function/class_methods/optimize_functions_spec.rb
321
+ - spec/unit/veritas/optimizer/function/class_methods/optimize_operand_spec.rb
322
+ - spec/unit/veritas/optimizer/function/connective/binary/constant_operands/optimize_spec.rb
323
+ - spec/unit/veritas/optimizer/function/connective/binary/equal_operands/optimizable_spec.rb
324
+ - spec/unit/veritas/optimizer/function/connective/binary/equal_operands/optimize_spec.rb
325
+ - spec/unit/veritas/optimizer/function/connective/binary/left_spec.rb
326
+ - spec/unit/veritas/optimizer/function/connective/binary/redundant_left_operand/optimizable_spec.rb
327
+ - spec/unit/veritas/optimizer/function/connective/binary/redundant_left_operand/optimize_spec.rb
328
+ - spec/unit/veritas/optimizer/function/connective/binary/redundant_right_operand/optimizable_spec.rb
329
+ - spec/unit/veritas/optimizer/function/connective/binary/redundant_right_operand/optimize_spec.rb
330
+ - spec/unit/veritas/optimizer/function/connective/binary/right_spec.rb
331
+ - spec/unit/veritas/optimizer/function/connective/conjunction/contradiction/optimizable_spec.rb
332
+ - spec/unit/veritas/optimizer/function/connective/conjunction/contradiction/optimize_spec.rb
333
+ - spec/unit/veritas/optimizer/function/connective/conjunction/left_operand_tautology/optimizable_spec.rb
334
+ - spec/unit/veritas/optimizer/function/connective/conjunction/left_operand_tautology/optimize_spec.rb
335
+ - spec/unit/veritas/optimizer/function/connective/conjunction/optimizable_to_exclusion/optimizable_spec.rb
336
+ - spec/unit/veritas/optimizer/function/connective/conjunction/optimizable_to_exclusion/optimize_spec.rb
337
+ - spec/unit/veritas/optimizer/function/connective/conjunction/right_operand_tautology/optimizable_spec.rb
338
+ - spec/unit/veritas/optimizer/function/connective/conjunction/right_operand_tautology/optimize_spec.rb
339
+ - spec/unit/veritas/optimizer/function/connective/disjunction/contradiction_left_operand/optimizable_spec.rb
340
+ - spec/unit/veritas/optimizer/function/connective/disjunction/contradiction_left_operand/optimize_spec.rb
341
+ - spec/unit/veritas/optimizer/function/connective/disjunction/contradiction_right_operand/optimizable_spec.rb
342
+ - spec/unit/veritas/optimizer/function/connective/disjunction/contradiction_right_operand/optimize_spec.rb
343
+ - spec/unit/veritas/optimizer/function/connective/disjunction/optimizable_to_inclusion/optimizable_spec.rb
344
+ - spec/unit/veritas/optimizer/function/connective/disjunction/optimizable_to_inclusion/optimize_spec.rb
345
+ - spec/unit/veritas/optimizer/function/connective/disjunction/tautology/optimizable_spec.rb
346
+ - spec/unit/veritas/optimizer/function/connective/disjunction/tautology/optimize_spec.rb
347
+ - spec/unit/veritas/optimizer/function/connective/negation/constant_operand/optimize_spec.rb
348
+ - spec/unit/veritas/optimizer/function/connective/negation/invertible_operand/optimizable_spec.rb
349
+ - spec/unit/veritas/optimizer/function/connective/negation/invertible_operand/optimize_spec.rb
350
+ - spec/unit/veritas/optimizer/function/connective/negation/operand_spec.rb
351
+ - spec/unit/veritas/optimizer/function/predicate/comparable/never_comparable/optimizable_spec.rb
352
+ - spec/unit/veritas/optimizer/function/predicate/comparable/never_equivalent/optimizable_spec.rb
353
+ - spec/unit/veritas/optimizer/function/predicate/comparable/normalizable_operands/optimizable_spec.rb
354
+ - spec/unit/veritas/optimizer/function/predicate/comparable/normalizable_operands/optimize_spec.rb
355
+ - spec/unit/veritas/optimizer/function/predicate/constant_operands/optimize_spec.rb
356
+ - spec/unit/veritas/optimizer/function/predicate/contradiction/optimize_spec.rb
357
+ - spec/unit/veritas/optimizer/function/predicate/enumerable/class_methods/sort_by_value_spec.rb
358
+ - spec/unit/veritas/optimizer/function/predicate/enumerable/empty_right_operand/optimizable_spec.rb
359
+ - spec/unit/veritas/optimizer/function/predicate/enumerable/one_right_operand/optimizable_spec.rb
360
+ - spec/unit/veritas/optimizer/function/predicate/enumerable/unoptimized_operands/optimizable_spec.rb
361
+ - spec/unit/veritas/optimizer/function/predicate/enumerable/unoptimized_operands/optimize_spec.rb
362
+ - spec/unit/veritas/optimizer/function/predicate/equality/tautology/optimizable_spec.rb
363
+ - spec/unit/veritas/optimizer/function/predicate/exclusion/empty_right_operand/optimize_spec.rb
364
+ - spec/unit/veritas/optimizer/function/predicate/exclusion/one_right_operand/optimize_spec.rb
365
+ - spec/unit/veritas/optimizer/function/predicate/greater_than/contradiction/optimizable_spec.rb
366
+ - spec/unit/veritas/optimizer/function/predicate/greater_than/tautology/optimizable_spec.rb
367
+ - spec/unit/veritas/optimizer/function/predicate/greater_than_or_equal_to/contradiction/optimizable_spec.rb
368
+ - spec/unit/veritas/optimizer/function/predicate/greater_than_or_equal_to/tautology/optimizable_spec.rb
369
+ - spec/unit/veritas/optimizer/function/predicate/inclusion/empty_right_operand/optimize_spec.rb
370
+ - spec/unit/veritas/optimizer/function/predicate/inclusion/one_right_operand/optimize_spec.rb
371
+ - spec/unit/veritas/optimizer/function/predicate/inequality/contradiction/optimizable_spec.rb
372
+ - spec/unit/veritas/optimizer/function/predicate/less_than/contradiction/optimizable_spec.rb
373
+ - spec/unit/veritas/optimizer/function/predicate/less_than/tautology/optimizable_spec.rb
374
+ - spec/unit/veritas/optimizer/function/predicate/less_than_or_equal_to/contradiction/optimizable_spec.rb
375
+ - spec/unit/veritas/optimizer/function/predicate/less_than_or_equal_to/tautology/optimizable_spec.rb
376
+ - spec/unit/veritas/optimizer/function/predicate/tautology/optimize_spec.rb
377
+ - spec/unit/veritas/optimizer/function/unary/constant_operand/optimizable_spec.rb
378
+ - spec/unit/veritas/optimizer/function/unary/constant_operand/optimize_spec.rb
379
+ - spec/unit/veritas/optimizer/function/unary/operand_spec.rb
380
+ - spec/unit/veritas/optimizer/function/unary/unoptimized_operand/optimizable_spec.rb
381
+ - spec/unit/veritas/optimizer/function/unary/unoptimized_operand/optimize_spec.rb
382
+ - spec/unit/veritas/optimizer/function/util/class_methods/attribute_spec.rb
383
+ - spec/unit/veritas/optimizer/function/util/class_methods/constant_spec.rb
384
+ - spec/unit/veritas/optimizer/function/util/class_methods/max_spec.rb
385
+ - spec/unit/veritas/optimizer/function/util/class_methods/min_spec.rb
311
386
  - spec/unit/veritas/optimizer/operation_spec.rb
312
387
  - spec/unit/veritas/optimizer/optimizable/class_methods/optimizer_spec.rb
313
388
  - spec/unit/veritas/optimizer/optimizable/optimize_spec.rb
@@ -318,12 +393,16 @@ files:
318
393
  - spec/unit/veritas/optimizer/relation/operation/binary/empty_left/optimizable_spec.rb
319
394
  - spec/unit/veritas/optimizer/relation/operation/binary/empty_right/optimizable_spec.rb
320
395
  - spec/unit/veritas/optimizer/relation/operation/binary/equal_operands/optimizable_spec.rb
396
+ - spec/unit/veritas/optimizer/relation/operation/binary/left_order_operand/optimizable_spec.rb
397
+ - spec/unit/veritas/optimizer/relation/operation/binary/left_order_operand/optimize_spec.rb
321
398
  - spec/unit/veritas/optimizer/relation/operation/binary/left_spec.rb
322
399
  - spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimizable_spec.rb
323
400
  - spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimize_spec.rb
401
+ - spec/unit/veritas/optimizer/relation/operation/binary/right_order_operand/optimizable_spec.rb
402
+ - spec/unit/veritas/optimizer/relation/operation/binary/right_order_operand/optimize_spec.rb
324
403
  - spec/unit/veritas/optimizer/relation/operation/binary/right_spec.rb
325
- - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operand/optimizable_spec.rb
326
- - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operand/optimize_spec.rb
404
+ - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operands/optimizable_spec.rb
405
+ - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operands/optimize_spec.rb
327
406
  - spec/unit/veritas/optimizer/relation/operation/combination/optimize_spec.rb
328
407
  - spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimizable_spec.rb
329
408
  - spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimize_spec.rb
@@ -353,17 +432,22 @@ files:
353
432
  - spec/unit/veritas/optimizer/relation/operation/reverse/unoptimized_operand/optimize_spec.rb
354
433
  - spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimizable_spec.rb
355
434
  - spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimize_spec.rb
435
+ - spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb
356
436
  - spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimizable_spec.rb
357
437
  - spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimize_spec.rb
358
438
  - spec/unit/veritas/optimizer/relation/operation/unary/operand_spec.rb
359
- - tasks/quality/ci.rake
360
- - tasks/quality/flay.rake
361
- - tasks/quality/flog.rake
362
- - tasks/quality/heckle.rake
363
- - tasks/quality/metric_fu.rake
364
- - tasks/quality/reek.rake
365
- - tasks/quality/roodi.rake
366
- - tasks/quality/yardstick.rake
439
+ - spec/unit/veritas/optimizer/relation/operation/unary/order_operand/optimizable_spec.rb
440
+ - spec/unit/veritas/optimizer/relation/operation/unary/order_operand/optimize_spec.rb
441
+ - spec/unit/veritas/optimizer/relation/operation/unary/unchanged_header/optimizable_spec.rb
442
+ - spec/unit/veritas/optimizer/relation/operation/unary/unchanged_header/optimize_spec.rb
443
+ - tasks/metrics/ci.rake
444
+ - tasks/metrics/flay.rake
445
+ - tasks/metrics/flog.rake
446
+ - tasks/metrics/heckle.rake
447
+ - tasks/metrics/metric_fu.rake
448
+ - tasks/metrics/reek.rake
449
+ - tasks/metrics/roodi.rake
450
+ - tasks/metrics/yardstick.rake
367
451
  - tasks/spec.rake
368
452
  - tasks/yard.rake
369
453
  - veritas-optimizer.gemspec
@@ -380,234 +464,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
380
464
  requirements:
381
465
  - - ">="
382
466
  - !ruby/object:Gem::Version
467
+ hash: 3
468
+ segments:
469
+ - 0
383
470
  version: "0"
384
471
  required_rubygems_version: !ruby/object:Gem::Requirement
385
472
  none: false
386
473
  requirements:
387
474
  - - ">="
388
475
  - !ruby/object:Gem::Version
476
+ hash: 3
477
+ segments:
478
+ - 0
389
479
  version: "0"
390
480
  requirements: []
391
481
 
392
482
  rubyforge_project:
393
- rubygems_version: 1.7.2
483
+ rubygems_version: 1.8.5
394
484
  signing_key:
395
485
  specification_version: 3
396
486
  summary: Relational algebra optimizer
397
- test_files:
398
- - spec/integration/veritas/algebra/difference/optimize_spec.rb
399
- - spec/integration/veritas/algebra/intersection/optimize_spec.rb
400
- - spec/integration/veritas/algebra/join/optimize_spec.rb
401
- - spec/integration/veritas/algebra/product/optimize_spec.rb
402
- - spec/integration/veritas/algebra/projection/optimize_spec.rb
403
- - spec/integration/veritas/algebra/rename/optimize_spec.rb
404
- - spec/integration/veritas/algebra/restriction/optimize_spec.rb
405
- - spec/integration/veritas/algebra/union/optimize_spec.rb
406
- - spec/integration/veritas/logic/connective/conjunction/optimize_spec.rb
407
- - spec/integration/veritas/logic/connective/disjunction/optimize_spec.rb
408
- - spec/integration/veritas/logic/connective/negation/optimize_spec.rb
409
- - spec/integration/veritas/logic/expression/optimize_spec.rb
410
- - spec/integration/veritas/logic/predicate/equality/optimize_spec.rb
411
- - spec/integration/veritas/logic/predicate/exclusion/optimize_spec.rb
412
- - spec/integration/veritas/logic/predicate/greater_than/optimize_spec.rb
413
- - spec/integration/veritas/logic/predicate/greater_than_or_equal_to/optimize_spec.rb
414
- - spec/integration/veritas/logic/predicate/inclusion/optimize_spec.rb
415
- - spec/integration/veritas/logic/predicate/inequality/optimize_spec.rb
416
- - spec/integration/veritas/logic/predicate/less_than/optimize_spec.rb
417
- - spec/integration/veritas/logic/predicate/less_than_or_equal_to/optimize_spec.rb
418
- - spec/integration/veritas/relation/empty/optimize_spec.rb
419
- - spec/integration/veritas/relation/materialized/optimize_spec.rb
420
- - spec/integration/veritas/relation/operation/limit/optimize_spec.rb
421
- - spec/integration/veritas/relation/operation/offset/optimize_spec.rb
422
- - spec/integration/veritas/relation/operation/order/optimize_spec.rb
423
- - spec/integration/veritas/relation/operation/reverse/optimize_spec.rb
424
- - spec/integration/veritas/relation/optimize_spec.rb
425
- - spec/shared/idempotent_method_behavior.rb
426
- - spec/shared/logic_connective_binary_optimize_behavior.rb
427
- - spec/shared/optimize_method_behavior.rb
428
- - spec/spec_helper.rb
429
- - spec/support/add_method_missing.rb
430
- - spec/unit/veritas/optimizer/algebra/difference/empty_left/optimize_spec.rb
431
- - spec/unit/veritas/optimizer/algebra/difference/empty_right/optimize_spec.rb
432
- - spec/unit/veritas/optimizer/algebra/difference/equal_operands/optimize_spec.rb
433
- - spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimizable_spec.rb
434
- - spec/unit/veritas/optimizer/algebra/extension/unoptimized_operand/optimize_spec.rb
435
- - spec/unit/veritas/optimizer/algebra/intersection/empty_left/optimize_spec.rb
436
- - spec/unit/veritas/optimizer/algebra/intersection/empty_right/optimize_spec.rb
437
- - spec/unit/veritas/optimizer/algebra/intersection/equal_operands/optimize_spec.rb
438
- - spec/unit/veritas/optimizer/algebra/join/equal_headers/optimizable_spec.rb
439
- - spec/unit/veritas/optimizer/algebra/join/equal_headers/optimize_spec.rb
440
- - spec/unit/veritas/optimizer/algebra/product/table_dee_left/optimizable_spec.rb
441
- - spec/unit/veritas/optimizer/algebra/product/table_dee_left/optimize_spec.rb
442
- - spec/unit/veritas/optimizer/algebra/product/table_dee_right/optimizable_spec.rb
443
- - spec/unit/veritas/optimizer/algebra/product/table_dee_right/optimize_spec.rb
444
- - spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimizable_spec.rb
445
- - spec/unit/veritas/optimizer/algebra/projection/empty_operand/optimize_spec.rb
446
- - spec/unit/veritas/optimizer/algebra/projection/header_spec.rb
447
- - spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimizable_spec.rb
448
- - spec/unit/veritas/optimizer/algebra/projection/projection_operand/optimize_spec.rb
449
- - spec/unit/veritas/optimizer/algebra/projection/set_operand/optimizable_spec.rb
450
- - spec/unit/veritas/optimizer/algebra/projection/set_operand/optimize_spec.rb
451
- - spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimizable_spec.rb
452
- - spec/unit/veritas/optimizer/algebra/projection/unchanged_header/optimize_spec.rb
453
- - spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimizable_spec.rb
454
- - spec/unit/veritas/optimizer/algebra/projection/unoptimized_operand/optimize_spec.rb
455
- - spec/unit/veritas/optimizer/algebra/rename/aliases_spec.rb
456
- - spec/unit/veritas/optimizer/algebra/rename/class_methods/union_aliases_spec.rb
457
- - spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimizable_spec.rb
458
- - spec/unit/veritas/optimizer/algebra/rename/empty_operand/optimize_spec.rb
459
- - spec/unit/veritas/optimizer/algebra/rename/header_spec.rb
460
- - spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimizable_spec.rb
461
- - spec/unit/veritas/optimizer/algebra/rename/limit_operand/optimize_spec.rb
462
- - spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimizable_spec.rb
463
- - spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimize_spec.rb
464
- - spec/unit/veritas/optimizer/algebra/rename/order_operand/optimizable_spec.rb
465
- - spec/unit/veritas/optimizer/algebra/rename/order_operand/optimize_spec.rb
466
- - spec/unit/veritas/optimizer/algebra/rename/projection_operand/optimizable_spec.rb
467
- - spec/unit/veritas/optimizer/algebra/rename/projection_operand/optimize_spec.rb
468
- - spec/unit/veritas/optimizer/algebra/rename/rename_operand/optimizable_spec.rb
469
- - spec/unit/veritas/optimizer/algebra/rename/rename_operand/optimize_spec.rb
470
- - spec/unit/veritas/optimizer/algebra/rename/rename_operand_and_empty_aliases/optimizable_spec.rb
471
- - spec/unit/veritas/optimizer/algebra/rename/rename_operand_and_empty_aliases/optimize_spec.rb
472
- - spec/unit/veritas/optimizer/algebra/rename/restriction_operand/optimizable_spec.rb
473
- - spec/unit/veritas/optimizer/algebra/rename/restriction_operand/optimize_spec.rb
474
- - spec/unit/veritas/optimizer/algebra/rename/reverse_operand/optimizable_spec.rb
475
- - spec/unit/veritas/optimizer/algebra/rename/reverse_operand/optimize_spec.rb
476
- - spec/unit/veritas/optimizer/algebra/rename/set_operand/optimizable_spec.rb
477
- - spec/unit/veritas/optimizer/algebra/rename/set_operand/optimize_spec.rb
478
- - spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimizable_spec.rb
479
- - spec/unit/veritas/optimizer/algebra/rename/unchanged_header/optimize_spec.rb
480
- - spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimizable_spec.rb
481
- - spec/unit/veritas/optimizer/algebra/rename/unoptimized_operand/optimize_spec.rb
482
- - spec/unit/veritas/optimizer/algebra/restriction/class_methods/optimize_predicate_spec.rb
483
- - spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimizable_spec.rb
484
- - spec/unit/veritas/optimizer/algebra/restriction/contradiction/optimize_spec.rb
485
- - spec/unit/veritas/optimizer/algebra/restriction/order_operand/optimizable_spec.rb
486
- - spec/unit/veritas/optimizer/algebra/restriction/order_operand/optimize_spec.rb
487
- - spec/unit/veritas/optimizer/algebra/restriction/predicate_spec.rb
488
- - spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimizable_spec.rb
489
- - spec/unit/veritas/optimizer/algebra/restriction/restriction_operand/optimize_spec.rb
490
- - spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimizable_spec.rb
491
- - spec/unit/veritas/optimizer/algebra/restriction/reverse_operand/optimize_spec.rb
492
- - spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimizable_spec.rb
493
- - spec/unit/veritas/optimizer/algebra/restriction/set_operand/optimize_spec.rb
494
- - spec/unit/veritas/optimizer/algebra/restriction/tautology/optimizable_spec.rb
495
- - spec/unit/veritas/optimizer/algebra/restriction/tautology/optimize_spec.rb
496
- - spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimizable_spec.rb
497
- - spec/unit/veritas/optimizer/algebra/restriction/unoptimized_operand/optimize_spec.rb
498
- - spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimizable_spec.rb
499
- - spec/unit/veritas/optimizer/algebra/summarization/unoptimized_operand/optimize_spec.rb
500
- - spec/unit/veritas/optimizer/algebra/union/empty_left/optimize_spec.rb
501
- - spec/unit/veritas/optimizer/algebra/union/empty_right/optimize_spec.rb
502
- - spec/unit/veritas/optimizer/algebra/union/equal_operands/optimize_spec.rb
503
- - spec/unit/veritas/optimizer/class_methods/chain_spec.rb
504
- - spec/unit/veritas/optimizer/logic/connective/binary/equal_operands/optimizable_spec.rb
505
- - spec/unit/veritas/optimizer/logic/connective/binary/equal_operands/optimize_spec.rb
506
- - spec/unit/veritas/optimizer/logic/connective/binary/left_spec.rb
507
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_left_operand/optimizable_spec.rb
508
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_left_operand/optimize_spec.rb
509
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_right_operand/optimizable_spec.rb
510
- - spec/unit/veritas/optimizer/logic/connective/binary/redundant_right_operand/optimize_spec.rb
511
- - spec/unit/veritas/optimizer/logic/connective/binary/right_spec.rb
512
- - spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimizable_spec.rb
513
- - spec/unit/veritas/optimizer/logic/connective/binary/unoptimized_operand/optimize_spec.rb
514
- - spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimizable_spec.rb
515
- - spec/unit/veritas/optimizer/logic/connective/conjunction/contradiction/optimize_spec.rb
516
- - spec/unit/veritas/optimizer/logic/connective/conjunction/left_operand_tautology/optimizable_spec.rb
517
- - spec/unit/veritas/optimizer/logic/connective/conjunction/left_operand_tautology/optimize_spec.rb
518
- - spec/unit/veritas/optimizer/logic/connective/conjunction/optimizable_to_exclusion/optimizable_spec.rb
519
- - spec/unit/veritas/optimizer/logic/connective/conjunction/optimizable_to_exclusion/optimize_spec.rb
520
- - spec/unit/veritas/optimizer/logic/connective/conjunction/right_operand_tautology/optimizable_spec.rb
521
- - spec/unit/veritas/optimizer/logic/connective/conjunction/right_operand_tautology/optimize_spec.rb
522
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_left_operand/optimizable_spec.rb
523
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_left_operand/optimize_spec.rb
524
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_right_operand/optimizable_spec.rb
525
- - spec/unit/veritas/optimizer/logic/connective/disjunction/contradiction_right_operand/optimize_spec.rb
526
- - spec/unit/veritas/optimizer/logic/connective/disjunction/optimizable_to_inclusion/optimizable_spec.rb
527
- - spec/unit/veritas/optimizer/logic/connective/disjunction/optimizable_to_inclusion/optimize_spec.rb
528
- - spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimizable_spec.rb
529
- - spec/unit/veritas/optimizer/logic/connective/disjunction/tautology/optimize_spec.rb
530
- - spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimizable_spec.rb
531
- - spec/unit/veritas/optimizer/logic/connective/negation/invertible_operand/optimize_spec.rb
532
- - spec/unit/veritas/optimizer/logic/connective/negation/operand_spec.rb
533
- - spec/unit/veritas/optimizer/logic/predicate/class_methods/optimize_operand_spec.rb
534
- - spec/unit/veritas/optimizer/logic/predicate/comparable/never_comparable/optimizable_spec.rb
535
- - spec/unit/veritas/optimizer/logic/predicate/comparable/never_equivalent/optimizable_spec.rb
536
- - spec/unit/veritas/optimizer/logic/predicate/comparable/normalizable_operands/optimizable_spec.rb
537
- - spec/unit/veritas/optimizer/logic/predicate/comparable/normalizable_operands/optimize_spec.rb
538
- - spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimizable_spec.rb
539
- - spec/unit/veritas/optimizer/logic/predicate/constant_operands/optimize_spec.rb
540
- - spec/unit/veritas/optimizer/logic/predicate/contradiction/optimize_spec.rb
541
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/empty_right_operand/optimizable_spec.rb
542
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/one_right_operand/optimizable_spec.rb
543
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/unoptimized_operand/optimizable_spec.rb
544
- - spec/unit/veritas/optimizer/logic/predicate/enumerable/unoptimized_operand/optimize_spec.rb
545
- - spec/unit/veritas/optimizer/logic/predicate/equality/tautology/optimizable_spec.rb
546
- - spec/unit/veritas/optimizer/logic/predicate/exclusion/empty_right_operand/optimize_spec.rb
547
- - spec/unit/veritas/optimizer/logic/predicate/exclusion/one_right_operand/optimize_spec.rb
548
- - spec/unit/veritas/optimizer/logic/predicate/greater_than/contradiction/optimizable_spec.rb
549
- - spec/unit/veritas/optimizer/logic/predicate/greater_than/tautology/optimizable_spec.rb
550
- - spec/unit/veritas/optimizer/logic/predicate/greater_than_or_equal_to/contradiction/optimizable_spec.rb
551
- - spec/unit/veritas/optimizer/logic/predicate/greater_than_or_equal_to/tautology/optimizable_spec.rb
552
- - spec/unit/veritas/optimizer/logic/predicate/inclusion/empty_right_operand/optimize_spec.rb
553
- - spec/unit/veritas/optimizer/logic/predicate/inclusion/one_right_operand/optimize_spec.rb
554
- - spec/unit/veritas/optimizer/logic/predicate/inequality/contradiction/optimizable_spec.rb
555
- - spec/unit/veritas/optimizer/logic/predicate/left_spec.rb
556
- - spec/unit/veritas/optimizer/logic/predicate/less_than/contradiction/optimizable_spec.rb
557
- - spec/unit/veritas/optimizer/logic/predicate/less_than/tautology/optimizable_spec.rb
558
- - spec/unit/veritas/optimizer/logic/predicate/less_than_or_equal_to/contradiction/optimizable_spec.rb
559
- - spec/unit/veritas/optimizer/logic/predicate/less_than_or_equal_to/tautology/optimizable_spec.rb
560
- - spec/unit/veritas/optimizer/logic/predicate/right_spec.rb
561
- - spec/unit/veritas/optimizer/logic/predicate/tautology/optimize_spec.rb
562
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/attribute_spec.rb
563
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/constant_spec.rb
564
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/max_spec.rb
565
- - spec/unit/veritas/optimizer/logic/predicate/util/class_methods/min_spec.rb
566
- - spec/unit/veritas/optimizer/operation_spec.rb
567
- - spec/unit/veritas/optimizer/optimizable/class_methods/optimizer_spec.rb
568
- - spec/unit/veritas/optimizer/optimizable/optimize_spec.rb
569
- - spec/unit/veritas/optimizer/optimizable_spec.rb
570
- - spec/unit/veritas/optimizer/optimize_spec.rb
571
- - spec/unit/veritas/optimizer/relation/materialized/empty_operand/optimizable_spec.rb
572
- - spec/unit/veritas/optimizer/relation/materialized/empty_operand/optimize_spec.rb
573
- - spec/unit/veritas/optimizer/relation/operation/binary/empty_left/optimizable_spec.rb
574
- - spec/unit/veritas/optimizer/relation/operation/binary/empty_right/optimizable_spec.rb
575
- - spec/unit/veritas/optimizer/relation/operation/binary/equal_operands/optimizable_spec.rb
576
- - spec/unit/veritas/optimizer/relation/operation/binary/left_spec.rb
577
- - spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimizable_spec.rb
578
- - spec/unit/veritas/optimizer/relation/operation/binary/materialized_operand/optimize_spec.rb
579
- - spec/unit/veritas/optimizer/relation/operation/binary/right_spec.rb
580
- - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operand/optimizable_spec.rb
581
- - spec/unit/veritas/optimizer/relation/operation/binary/unoptimized_operand/optimize_spec.rb
582
- - spec/unit/veritas/optimizer/relation/operation/combination/optimize_spec.rb
583
- - spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimizable_spec.rb
584
- - spec/unit/veritas/optimizer/relation/operation/limit/equal_limit_operand/optimize_spec.rb
585
- - spec/unit/veritas/optimizer/relation/operation/limit/limit_operand/optimizable_spec.rb
586
- - spec/unit/veritas/optimizer/relation/operation/limit/limit_operand/optimize_spec.rb
587
- - spec/unit/veritas/optimizer/relation/operation/limit/unoptimized_operand/optimizable_spec.rb
588
- - spec/unit/veritas/optimizer/relation/operation/limit/unoptimized_operand/optimize_spec.rb
589
- - spec/unit/veritas/optimizer/relation/operation/limit/zero_limit/optimizable_spec.rb
590
- - spec/unit/veritas/optimizer/relation/operation/limit/zero_limit/optimize_spec.rb
591
- - spec/unit/veritas/optimizer/relation/operation/offset/offset_operand/optimizable_spec.rb
592
- - spec/unit/veritas/optimizer/relation/operation/offset/offset_operand/optimize_spec.rb
593
- - spec/unit/veritas/optimizer/relation/operation/offset/unoptimized_operand/optimizable_spec.rb
594
- - spec/unit/veritas/optimizer/relation/operation/offset/unoptimized_operand/optimize_spec.rb
595
- - spec/unit/veritas/optimizer/relation/operation/offset/zero_offset/optimizable_spec.rb
596
- - spec/unit/veritas/optimizer/relation/operation/offset/zero_offset/optimize_spec.rb
597
- - spec/unit/veritas/optimizer/relation/operation/order/one_limit_operand/optimizable_spec.rb
598
- - spec/unit/veritas/optimizer/relation/operation/order/one_limit_operand/optimize_spec.rb
599
- - spec/unit/veritas/optimizer/relation/operation/order/order_operand/optimizable_spec.rb
600
- - spec/unit/veritas/optimizer/relation/operation/order/order_operand/optimize_spec.rb
601
- - spec/unit/veritas/optimizer/relation/operation/order/unoptimized_operand/optimizable_spec.rb
602
- - spec/unit/veritas/optimizer/relation/operation/order/unoptimized_operand/optimize_spec.rb
603
- - spec/unit/veritas/optimizer/relation/operation/reverse/order_operand/optimizable_spec.rb
604
- - spec/unit/veritas/optimizer/relation/operation/reverse/order_operand/optimize_spec.rb
605
- - spec/unit/veritas/optimizer/relation/operation/reverse/reverse_operand/optimizable_spec.rb
606
- - spec/unit/veritas/optimizer/relation/operation/reverse/reverse_operand/optimize_spec.rb
607
- - spec/unit/veritas/optimizer/relation/operation/reverse/unoptimized_operand/optimizable_spec.rb
608
- - spec/unit/veritas/optimizer/relation/operation/reverse/unoptimized_operand/optimize_spec.rb
609
- - spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimizable_spec.rb
610
- - spec/unit/veritas/optimizer/relation/operation/unary/empty_operand/optimize_spec.rb
611
- - spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimizable_spec.rb
612
- - spec/unit/veritas/optimizer/relation/operation/unary/materialized_operand/optimize_spec.rb
613
- - spec/unit/veritas/optimizer/relation/operation/unary/operand_spec.rb
487
+ test_files: []
488
+