Class: HBase::Request::MetaRequest

Inherits:
BasicRequest show all
Defined in:
lib/hbase/request/meta_request.rb

Instance Attribute Summary

Attributes inherited from BasicRequest

#path

Instance Method Summary collapse

Constructor Details

#initializeMetaRequest

Returns a new instance of MetaRequest.


4
5
6
# File 'lib/hbase/request/meta_request.rb', line 4

def initialize
  super("")
end

Instance Method Details

#create_tableObject


12
13
14
# File 'lib/hbase/request/meta_request.rb', line 12

def create_table
  @path << "/tables"
end

#list_tablesObject


8
9
10
# File 'lib/hbase/request/meta_request.rb', line 8

def list_tables
  @path << "/"
end