Class: HBase::Response::BasicResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/hbase/response/basic_response.rb

Direct Known Subclasses

MetaResponse, RowResponse, TableResponse

Instance Method Summary collapse

Constructor Details

#initialize(raw_data) ⇒ BasicResponse

Returns a new instance of BasicResponse.



7
8
9
10
# File 'lib/hbase/response/basic_response.rb', line 7

def initialize(raw_data)
  puts raw_data
  @raw_data = raw_data
end

Instance Method Details

#parseObject



12
13
14
# File 'lib/hbase/response/basic_response.rb', line 12

def parse
  parse_content @raw_data
end