Class: Droonga::GroongaInputAdapter
- Inherits:
-
InputAdapterPlugin
- Object
- Plugin
- InputAdapterPlugin
- Droonga::GroongaInputAdapter
- Defined in:
- lib/droonga/plugin/input_adapter/groonga.rb,
lib/droonga/plugin/input_adapter/groonga/select.rb
Defined Under Namespace
Classes: Select
Instance Method Summary collapse
- #column_create(input_message) ⇒ Object
- #select(input_message) ⇒ Object
- #table_create(input_message) ⇒ Object
- #table_remove(input_message) ⇒ Object
Methods inherited from InputAdapterPlugin
Methods included from PluginRegisterable
#command, extended, #inherited, #method_name, #processable?, #repository
Methods inherited from Plugin
#initialize, #process, #processable?, #shutdown, #start
Constructor Details
This class inherits a constructor from Droonga::InputAdapterPlugin
Instance Method Details
#column_create(input_message) ⇒ Object
43 44 45 |
# File 'lib/droonga/plugin/input_adapter/groonga.rb', line 43 def column_create() .add_route("groonga_generic_response") end |
#select(input_message) ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/droonga/plugin/input_adapter/groonga.rb', line 23 def select() command = Select.new select_request = .body search_request = command.convert(select_request) .add_route("select_response") .command = "search" .body = search_request end |
#table_create(input_message) ⇒ Object
33 34 35 |
# File 'lib/droonga/plugin/input_adapter/groonga.rb', line 33 def table_create() .add_route("groonga_generic_response") end |
#table_remove(input_message) ⇒ Object
38 39 40 |
# File 'lib/droonga/plugin/input_adapter/groonga.rb', line 38 def table_remove() .add_route("groonga_generic_response") end |