X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=doc%2Fclasses%2FMCollective%2FAggregate%2FResult%2FBase.html;fp=doc%2Fclasses%2FMCollective%2FAggregate%2FResult%2FBase.html;h=fa2bcda94e0c0d4d71d875b0f60a15c9a270d298;hb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;hp=0000000000000000000000000000000000000000;hpb=8a3fe7daeecccf43dd71c59371c5005400d35101;p=packages%2Fprecise%2Fmcollective.git diff --git a/doc/classes/MCollective/Aggregate/Result/Base.html b/doc/classes/MCollective/Aggregate/Result/Base.html new file mode 100644 index 0000000..fa2bcda --- /dev/null +++ b/doc/classes/MCollective/Aggregate/Result/Base.html @@ -0,0 +1,223 @@ + + + + + + Class: MCollective::Aggregate::Result::Base + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassMCollective::Aggregate::Result::Base
In: + + lib/mcollective/aggregate/result/base.rb + +
+
Parent: + Object +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ new   + result_type   + to_s   +
+
+ +
+ + + + +
+ + + + + +
+

Attributes

+ +
+ + + + + + + + + + + + + + + + +
action [RW] 
aggregate_format [RW] 
result [RW] 
+
+
+ + + + +
+

Public Class methods

+ +
+ + + + +
+

[Source]

+
+
+    # File lib/mcollective/aggregate/result/base.rb, line 7
+ 7:         def initialize(result, aggregate_format, action)
+ 8:           raise "No aggregate_format defined in ddl or aggregate function" unless aggregate_format
+ 9: 
+10:           @result = result
+11:           @aggregate_format = aggregate_format
+12:           @action = action
+13:         end
+
+
+
+
+ +

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+    # File lib/mcollective/aggregate/result/base.rb, line 19
+19:         def result_type
+20:           @result[:type]
+21:         end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+    # File lib/mcollective/aggregate/result/base.rb, line 15
+15:         def to_s
+16:           raise "'to_s' method not implemented for result class '#{self.class}'"
+17:         end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file