Yoji Shidara
null+****@clear*****
Tue Feb 18 14:49:04 JST 2014
Yoji Shidara 2014-02-18 14:49:04 +0900 (Tue, 18 Feb 2014) New Revision: 17d3529a47d131d3d437163a8593820a6c1b1337 https://github.com/droonga/fluent-plugin-droonga/commit/17d3529a47d131d3d437163a8593820a6c1b1337 Message: schema: Add readers for Column Modified files: lib/droonga/catalog/schema.rb Modified: lib/droonga/catalog/schema.rb (+12 -0) =================================================================== --- lib/droonga/catalog/schema.rb 2014-02-18 14:26:19 +0900 (c28fbce) +++ lib/droonga/catalog/schema.rb 2014-02-18 14:49:04 +0900 (75f667f) @@ -48,6 +48,18 @@ module Droonga data == other.data end + def type + @data["type"] + end + + def value_type + @data["valueType"] + end + + def sources + @data["sources"] + end + private def index_options_data @data["index_options"] || {} -------------- next part -------------- HTML����������������������������... Download