Class: Droonga::Catalog::Schema::ColumnIndexOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/droonga/catalog/schema.rb

Instance Method Summary collapse

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

#positionObject



44
45
46
# File 'lib/droonga/catalog/schema.rb', line 44

def position
  @raw["position"]
end

#sectionObject



36
37
38
# File 'lib/droonga/catalog/schema.rb', line 36

def section
  @raw["section"]
end

#sourcesObject



48
49
50
# File 'lib/droonga/catalog/schema.rb', line 48

def sources
  @raw["sources"]
end

#weightObject



40
41
42
# File 'lib/droonga/catalog/schema.rb', line 40

def weight
  @raw["weight"]
end