class Cequel::Schema::Patch::DropIndex

Attributes

index_name[R]

Public Instance Methods

to_cql() click to toggle source
# File lib/cequel/schema/patch.rb, line 82
def to_cql
  %Q|DROP INDEX IF EXISTS "#{index_name}"|
end

Protected Instance Methods

post_init(column_with_obsolete_idx) click to toggle source
# File lib/cequel/schema/patch.rb, line 76
          def post_init(column_with_obsolete_idx)
  @index_name = column_with_obsolete_idx.index_name
end
subclass_eql?(other) click to toggle source
# File lib/cequel/schema/patch.rb, line 88
def subclass_eql?(other)
  other.index_name == index_name
end