Class: HbaseClient::Thrift::IOError

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

Overview

to the Hbase master or an Hbase region server. Also used to return more general Hbase error conditions.

Constant Summary collapse

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

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ IOError

Returns a new instance of IOError.



264
265
266
267
# File 'lib/hbase-client/thrift/hbase_types.rb', line 264

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

Instance Method Details

#struct_fieldsObject



275
# File 'lib/hbase-client/thrift/hbase_types.rb', line 275

def struct_fields; FIELDS; end

#validateObject



277
278
# File 'lib/hbase-client/thrift/hbase_types.rb', line 277

def validate
end