Class: ActiveWarehouse::Aggregate::PidAggregate

Inherits:
Aggregate
  • Object
show all
Includes:
DwarfCommon
Defined in:
lib/active_warehouse/aggregate/pid_aggregate.rb

Overview

Implementation of a Partitioning and Inserting Dwarf algorithm as defined in www.zju.edu.cn/jzus/2005/A0506/A050608.pdf

Instance Attribute Summary

Attributes inherited from Aggregate

#cube_class

Instance Method Summary collapse

Methods included from DwarfCommon

#create_tuple, #dimension_order, #dimension_order=, #sorted_facts

Constructor Details

#initialize(cube_class) ⇒ PidAggregate

Initialize the aggregate



9
10
11
# File 'lib/active_warehouse/aggregate/pid_aggregate.rb', line 9

def initialize(cube_class)
  super
end

Instance Method Details

#create_dwarf_cube(sorted_facts) ⇒ Object



23
24
25
# File 'lib/active_warehouse/aggregate/pid_aggregate.rb', line 23

def create_dwarf_cube(sorted_facts)
  
end

#populateObject

Populate the aggregate



14
15
16
# File 'lib/active_warehouse/aggregate/pid_aggregate.rb', line 14

def populate
  create_dwarf_cube(sorted_facts)
end

#query(*args) ⇒ Object

Query the aggregate



19
20
21
# File 'lib/active_warehouse/aggregate/pid_aggregate.rb', line 19

def query(*args)
  options = parse_query_args(*args)
end