Class: Apache::Hadoop::Hbase::Thrift::IOError
- Inherits:
-
Thrift::Exception
- Object
- Thrift::Exception
- Apache::Hadoop::Hbase::Thrift::IOError
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/massive_record/adapters/thrift/hbase/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
-
#initialize(message = nil) ⇒ IOError
constructor
A new instance of IOError.
- #struct_fields ⇒ Object
- #validate ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ IOError
Returns a new instance of IOError.
157 158 159 160 |
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 157 def initialize(=nil) super() self. = end |
Instance Method Details
#struct_fields ⇒ Object
168 |
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 168 def struct_fields; FIELDS; end |
#validate ⇒ Object
170 171 |
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 170 def validate end |