Class: Apache::Hadoop::Hbase::Thrift::IOError

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct
Defined in:
lib/gen-rb/hbase_types.rb

Overview

An IOError exception signals that an error occurred communicating 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.



158
159
160
161
# File 'lib/gen-rb/hbase_types.rb', line 158

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

Instance Method Details

#struct_fieldsObject



170
# File 'lib/gen-rb/hbase_types.rb', line 170

def struct_fields; FIELDS; end

#validateObject



172
173
# File 'lib/gen-rb/hbase_types.rb', line 172

def validate
end