class Groonga::Client::Response::ColumnList::Column
Public Instance Methods
flags()
click to toggle source
@return [::Array<String>]
The flag names of the column.
@since 0.5.3
Calls superclass method
# File lib/groonga/client/response/column-list.rb, line 79 def flags (super || "").split("|") end
full_name()
click to toggle source
The column name with table name such as `TABLE.COLUMN`.
@since 0.5.4
# File lib/groonga/client/response/column-list.rb, line 71 def full_name "#{domain}.#{name}" end
index?()
click to toggle source
@return [Boolean]
`true` if the column is an index column, `false` otherwise.
@since 0.5.3
# File lib/groonga/client/response/column-list.rb, line 103 def index? flags.include?("COLUMN_INDEX") end
scalar?()
click to toggle source
@return [Boolean]
`true` if the column is a scalar column, `false` otherwise.
@since 0.5.3
# File lib/groonga/client/response/column-list.rb, line 87 def scalar? flags.include?("COLUMN_SCALAR") end
vector?()
click to toggle source
@return [Boolean]
`true` if the column is a vector column, `false` otherwise.
@since 0.5.3
# File lib/groonga/client/response/column-list.rb, line 95 def vector? flags.include?("COLUMN_VECTOR") end