class DDLParser::Translator::CreateIndexColumn
Attributes
parse_tree[RW]
Public Class Methods
new(index_column_hash)
click to toggle source
# File lib/ddl_parser/translator/create_index_column.rb, line 6 def initialize(index_column_hash) @index_column_hash = index_column_hash.is_a?(Hash) ? index_column_hash : {} end
Public Instance Methods
index_column()
click to toggle source
# File lib/ddl_parser/translator/create_index_column.rb, line 14 def index_column @index_column_hash[:index_column] end
sequence_no()
click to toggle source
# File lib/ddl_parser/translator/create_index_column.rb, line 18 def sequence_no @index_column_hash[:sequence_no] end
sort_type()
click to toggle source
# File lib/ddl_parser/translator/create_index_column.rb, line 22 def sort_type @index_column_hash[:sort_type].to_s end
to_hash()
click to toggle source
# File lib/ddl_parser/translator/create_index_column.rb, line 10 def to_hash @index_column_hash end