Class: Fairy::XGroupBy
- Defined in:
- lib/fairy/client/group-by.rb
Defined Under Namespace
Classes: PostFilter
Constant Summary collapse
- UnhandleMethods =
[ :post_mod_group_by_filter, :post_mod_xgroup_by_filter, :post_merge_group_by_filter ]
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from GroupBy
Methods inherited from IOFilter
Methods inherited from Filter
#backend, #backend=, #backend_class, #def_pool_variable, #initialize
Constructor Details
This class inherits a constructor from Fairy::GroupBy
Class Method Details
.post_initialize ⇒ Object
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/fairy/client/group-by.rb', line 117 def self.post_initialize for interface in ::Fairy::FilterInterfaces for m in interface.instance_methods m = m.intern if m.kind_of?(String) next if UnhandleMethods.include?(m) m = m.id2name XGroupBy::module_eval %{ def #{m}(*argv, &block) post_mod_xgroup_by_filter(@block_source, @opts).#{m}(*argv, &block) end } end end end |
Instance Method Details
#backend_class_name ⇒ Object
108 109 110 |
# File 'lib/fairy/client/group-by.rb', line 108 def backend_class_name "CXGroupBy" end |