Class: Groonga::Command::Load
Instance Attribute Summary collapse
Attributes inherited from Base
#arguments, #name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*argumetns) ⇒ Load
constructor
A new instance of Load.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #key?, #output_type, #to_command_format, #to_uri_format, #uri_format?
Constructor Details
#initialize(*argumetns) ⇒ Load
Returns a new instance of Load.
43 44 45 46 47 |
# File 'lib/groonga/command/load.rb', line 43 def initialize(*argumetns) super @values = nil @columns = nil end |
Instance Attribute Details
#columns ⇒ Object
53 54 55 |
# File 'lib/groonga/command/load.rb', line 53 def columns @columns ||= parse_columns(self[:columns]) end |
#values ⇒ Object
49 50 51 |
# File 'lib/groonga/command/load.rb', line 49 def values @values ||= parse_values(self[:values]) end |
Class Method Details
.parameter_names ⇒ Object
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/groonga/command/load.rb', line 29 def parameter_names [ :values, :table, :columns, :ifexists, :input_type, :each, ] end |