OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bench_system_tables.HeavyAICon Class Reference

Public Member Functions

def __init__
 
def query
 
def create_dashboard
 

Public Attributes

 con
 
 cursor
 

Detailed Description

Definition at line 23 of file bench_system_tables.py.

Constructor & Destructor Documentation

def bench_system_tables.HeavyAICon.__init__ (   self,
  user,
  password,
  db_name,
  host 
)

Definition at line 24 of file bench_system_tables.py.

24 
25  def __init__(self, user, password, db_name, host):
26  self.con = pymapd.connect(user=user, password=password, dbname=db_name, host=host)
27  self.cursor = self.con.cursor()

Member Function Documentation

def bench_system_tables.HeavyAICon.create_dashboard (   self,
  dashboard_name 
)

Definition at line 31 of file bench_system_tables.py.

31 
32  def create_dashboard(self, dashboard_name):
33  dashboard = TDashboard(dashboard_name = dashboard_name)
34  return self.con.create_dashboard(dashboard)
def bench_system_tables.HeavyAICon.query (   self,
  sql 
)

Definition at line 28 of file bench_system_tables.py.

28 
29  def query(self, sql):
30  return self.cursor.execute(sql)

Member Data Documentation

bench_system_tables.HeavyAICon.con

Definition at line 25 of file bench_system_tables.py.

bench_system_tables.HeavyAICon.cursor

Definition at line 26 of file bench_system_tables.py.

Referenced by heavydb.thrift.Heavy.get_completion_hints_args.read(), and heavydb.thrift.Heavy.get_completion_hints_args.write().


The documentation for this class was generated from the following file: