Class: Alf::Engine::Summarize::Cesure

Inherits:
Object
  • Object
show all
Includes:
Cesure, Alf::Engine::Summarize
Defined in:
lib/alf/engine/summarize/cesure.rb

Constant Summary

Constants included from Cog

Cog::EMPTY_CHILDREN, Cog::EMPTY_OPTIONS

Instance Attribute Summary collapse

Attributes included from Compiler::Cog

#compiler, #expr

Instance Method Summary collapse

Methods included from Cesure

#each

Methods included from Cog

#arguments, #children, #each, #options, #to_s

Methods included from Compiler::Cog

#cog_orders, #orderedby?, #relation_type, #to_ascii_tree, #to_cog, #to_relation

Methods included from Alf::Engine::Summarize

#arguments

Constructor Details

#initialize(operand, by, summarization, allbut, expr = nil, compiler = nil) ⇒ Cesure

Creates an Summarize::Cesure instance


20
21
22
23
24
25
26
# File 'lib/alf/engine/summarize/cesure.rb', line 20

def initialize(operand, by, summarization, allbut, expr = nil, compiler = nil)
  super(expr, compiler)
  @operand = operand
  @by = by
  @summarization = summarization
  @allbut = allbut
end

Instance Attribute Details

#allbutBoolean (readonly)


17
18
19
# File 'lib/alf/engine/summarize/cesure.rb', line 17

def allbut
  @allbut
end

#byAttrList (readonly)


11
12
13
# File 'lib/alf/engine/summarize/cesure.rb', line 11

def by
  @by
end

#operandEnumerable (readonly)


8
9
10
# File 'lib/alf/engine/summarize/cesure.rb', line 8

def operand
  @operand
end

#summarizationSummarization (readonly)


14
15
16
# File 'lib/alf/engine/summarize/cesure.rb', line 14

def summarization
  @summarization
end