Class: Droonga::Catalog::Schema::ColumnIndexOptions
- Inherits:
-
Object
- Object
- Droonga::Catalog::Schema::ColumnIndexOptions
- Defined in:
- lib/droonga/catalog/schema.rb
Instance Method Summary collapse
-
#initialize(raw) ⇒ ColumnIndexOptions
constructor
A new instance of ColumnIndexOptions.
- #position ⇒ Object
- #section ⇒ Object
- #sources ⇒ Object
- #weight ⇒ Object
Constructor Details
#initialize(raw) ⇒ ColumnIndexOptions
Returns a new instance of ColumnIndexOptions.
32 33 34 |
# File 'lib/droonga/catalog/schema.rb', line 32 def initialize(raw) @raw = raw end |
Instance Method Details
#position ⇒ Object
44 45 46 |
# File 'lib/droonga/catalog/schema.rb', line 44 def position @raw["position"] end |
#section ⇒ Object
36 37 38 |
# File 'lib/droonga/catalog/schema.rb', line 36 def section @raw["section"] end |
#sources ⇒ Object
48 49 50 |
# File 'lib/droonga/catalog/schema.rb', line 48 def sources @raw["sources"] end |
#weight ⇒ Object
40 41 42 |
# File 'lib/droonga/catalog/schema.rb', line 40 def weight @raw["weight"] end |