Class: Veritas::Optimizer::Algebra::Extension

Inherits:
Relation::Operation::Unary show all
Defined in:
lib/veritas/optimizer/algebra/extension.rb

Overview

Abstract base class representing Extension optimizations

Direct Known Subclasses

OrderOperand, UnoptimizedOperand

Defined Under Namespace

Classes: OrderOperand, UnoptimizedOperand

Constant Summary

Constants inherited from Veritas::Optimizer

Noop, VERSION

Instance Attribute Summary collapse

Attributes inherited from Relation::Operation::Unary

#header

Attributes included from Function::Unary

#operand

Attributes inherited from Veritas::Optimizer

#operation

Instance Method Summary collapse

Methods inherited from Veritas::Optimizer

chain, #optimizable?, #optimize

Constructor Details

#initializeundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initialize a Summarization optimizer



22
23
24
25
# File 'lib/veritas/optimizer/algebra/extension.rb', line 22

def initialize(*)
  super
  @extensions = optimize_extensions
end

Instance Attribute Details

#extensionsHash{Attribute => Function} (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The optimized extensions

Returns:



15
16
17
# File 'lib/veritas/optimizer/algebra/extension.rb', line 15

def extensions
  @extensions
end