Class: Apache::Hadoop::Hbase::Thrift2::TIOError

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

Overview

to the HBase master or a 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', :optional => true}
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ TIOError

Returns a new instance of TIOError.



544
545
546
547
# File 'lib/hbase/hbase_types.rb', line 544

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

Instance Method Details

#struct_fieldsObject



555
# File 'lib/hbase/hbase_types.rb', line 555

def struct_fields; FIELDS; end

#validateObject



557
558
# File 'lib/hbase/hbase_types.rb', line 557

def validate
end