OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bench_update.HeavyAICon Class Reference

Public Member Functions

def __init__
 
def query
 

Public Attributes

 con
 
 cursor
 

Detailed Description

Definition at line 20 of file bench_update.py.

Constructor & Destructor Documentation

def bench_update.HeavyAICon.__init__ (   self,
  user,
  pw,
  dbname,
  host 
)

Definition at line 21 of file bench_update.py.

21 
22  def __init__(self, user, pw, dbname, host):
23  self.con = pymapd.connect(user=user, password=pw, dbname=dbname, host=host)
24  self.cursor = self.con.cursor()

Member Function Documentation

def bench_update.HeavyAICon.query (   self,
  sql 
)

Definition at line 25 of file bench_update.py.

25 
26  def query(self, sql):
27  return self.cursor.execute(sql)

Member Data Documentation

bench_update.HeavyAICon.con

Definition at line 22 of file bench_update.py.

bench_update.HeavyAICon.cursor

Definition at line 23 of file bench_update.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: