Sha256: ea26d00a43de6a7e55b70ed2cfb919c1a15da53adcab1131e983fa036d579336

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

module Druid
  class Client
    include Druid::Query::Core
    include Druid::Query::Datasource
    include Druid::Query::Task

    attr_reader :broker,
                :config,
                :coordinator,
                :overlord,
                :writer

    def initialize(options = {})
      @config = Druid::Configuration.new(options)
      @broker = Druid::Node::Broker.new(config)
      @coordinator = Druid::Node::Coordinator.new(config)
      @overlord = Druid::Node::Overlord.new(config)
      @writer = Druid::Writer::Base.new(config)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-druid-1.0.0.pre.rc2 lib/druid/client.rb