module Dag::Client::Table
Public Instance Methods
table(tbl_name)
click to toggle source
# File lib/dag/client/table.rb, line 8 def table(tbl_name) unless table_info = @api.table(@cluster_name, @db_name, tbl_name) raise Dag::Client::TableNotFound.new('table not found') end Dag::Table.new(@api, @cluster_name, @db_name, params: table_info) end
tables()
click to toggle source
# File lib/dag/client/table.rb, line 4 def tables Dag::TableCollection.new(@api, @cluster_name, @db_name) end