Class: Droonga::Collector
- Inherits:
-
Object
- Object
- Droonga::Collector
- Extended by:
- Pluggable
- Includes:
- ErrorMessages
- Defined in:
- lib/droonga/collector.rb
Direct Known Subclasses
Plugins::Basic::GatherCollector, Plugins::Basic::ReduceCollector, Plugins::Search::GatherCollector, Plugins::Search::ReduceCollector
Class Method Summary collapse
Instance Method Summary collapse
- #collect(message) ⇒ Object
-
#initialize ⇒ Collector
constructor
A new instance of Collector.
Methods included from Pluggable
Constructor Details
#initialize ⇒ Collector
Returns a new instance of Collector.
31 32 |
# File 'lib/droonga/collector.rb', line 31 def initialize end |
Class Method Details
.message ⇒ Object
26 27 28 |
# File 'lib/droonga/collector.rb', line 26 def Plugin::Metadata::CollectorMessage.new(self) end |
Instance Method Details
#collect(message) ⇒ Object
34 35 36 |
# File 'lib/droonga/collector.rb', line 34 def collect() raise NotImplemented, "#{self.class.name}\##{__method__} must implement." end |