Class: Apache::Hadoop::Hbase::Thrift::AlreadyExists

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/massive_record/thrift/hbase_types.rb

Overview

An AlreadyExists exceptions signals that a table with the specified name already exists

Constant Summary collapse

MESSAGE =
1
FIELDS =
{
  MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ AlreadyExists

Returns a new instance of AlreadyExists.



203
204
205
206
# File 'lib/massive_record/thrift/hbase_types.rb', line 203

def initialize(message=nil)
  super()
  self.message = message
end

Instance Method Details

#struct_fieldsObject



214
# File 'lib/massive_record/thrift/hbase_types.rb', line 214

def struct_fields; FIELDS; end

#validateObject



216
217
# File 'lib/massive_record/thrift/hbase_types.rb', line 216

def validate
end