Sha256: 10e276e707f7241c1c76c0e00d4e8b4794e104c2ef3075edb9b230ee34cea534

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

module Druid
  module Writer
    module Tranquilizer
      class Aggregators
        class << self
          def build(metrics)
            aggs = []
            metrics.keys.each{ |metric_name| aggs << LongSumAggregatorFactory.new(metric_name, metric_name) }
            ImmutableList.of(*aggs)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jruby-druid-1.0.0.pre.rc4 lib/druid/writer/tranquilizer/aggregators.rb
jruby-druid-1.0.0.pre.rc3 lib/druid/writer/tranquilizer/aggregators.rb
jruby-druid-1.0.0.pre.rc2 lib/druid/writer/tranquilizer/aggregators.rb