OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.set_cur_session_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.set_cur_session_args:
+ Collaboration diagram for heavydb.thrift.Heavy.set_cur_session_args:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 parent_session
 
 leaf_session
 
 start_time_str
 
 label
 
 for_running_query_kernel
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - parent_session
 - leaf_session
 - start_time_str
 - label
 - for_running_query_kernel

Definition at line 11247 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.set_cur_session_args.__init__ (   self,
  parent_session = None,
  leaf_session = None,
  start_time_str = None,
  label = None,
  for_running_query_kernel = None 
)

Definition at line 11259 of file Heavy.py.

11260  def __init__(self, parent_session=None, leaf_session=None, start_time_str=None, label=None, for_running_query_kernel=None,):
11261  self.parent_session = parent_session
11262  self.leaf_session = leaf_session
11263  self.start_time_str = start_time_str
11264  self.label = label
11265  self.for_running_query_kernel = for_running_query_kernel

Member Function Documentation

def heavydb.thrift.Heavy.set_cur_session_args.__eq__ (   self,
  other 
)

Definition at line 11341 of file Heavy.py.

11342  def __eq__(self, other):
11343  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.set_cur_session_args.__ne__ (   self,
  other 
)

Definition at line 11344 of file Heavy.py.

11345  def __ne__(self, other):
11346  return not (self == other)
11347 all_structs.append(set_cur_session_args)
set_cur_session_args.thrift_spec = (
def heavydb.thrift.Heavy.set_cur_session_args.__repr__ (   self)

Definition at line 11336 of file Heavy.py.

11337  def __repr__(self):
11338  L = ['%s=%r' % (key, value)
11339  for key, value in self.__dict__.items()]
11340  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.Heavy.set_cur_session_args.read (   self,
  iprot 
)

Definition at line 11266 of file Heavy.py.

References heavydb.thrift.Heavy.set_cur_session_args.for_running_query_kernel, com.mapd.bench.BenchmarkCloud.label, heavydb.thrift.Heavy.set_cur_session_args.label, heavydb.thrift.Heavy.set_cur_session_args.leaf_session, heavydb.thrift.Heavy.set_cur_session_args.parent_session, and heavydb.thrift.Heavy.set_cur_session_args.start_time_str.

11267  def read(self, iprot):
11268  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
11269  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
11270  return
11271  iprot.readStructBegin()
11272  while True:
11273  (fname, ftype, fid) = iprot.readFieldBegin()
11274  if ftype == TType.STOP:
11275  break
11276  if fid == 1:
11277  if ftype == TType.STRING:
11278  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11279  else:
11280  iprot.skip(ftype)
11281  elif fid == 2:
11282  if ftype == TType.STRING:
11283  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11284  else:
11285  iprot.skip(ftype)
11286  elif fid == 3:
11287  if ftype == TType.STRING:
11288  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11289  else:
11290  iprot.skip(ftype)
11291  elif fid == 4:
11292  if ftype == TType.STRING:
11293  self.label = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11294  else:
11295  iprot.skip(ftype)
11296  elif fid == 5:
11297  if ftype == TType.BOOL:
11298  self.for_running_query_kernel = iprot.readBool()
11299  else:
11300  iprot.skip(ftype)
11301  else:
11302  iprot.skip(ftype)
11303  iprot.readFieldEnd()
11304  iprot.readStructEnd()
def heavydb.thrift.Heavy.set_cur_session_args.validate (   self)

Definition at line 11333 of file Heavy.py.

11334  def validate(self):
11335  return
def heavydb.thrift.Heavy.set_cur_session_args.write (   self,
  oprot 
)

Definition at line 11305 of file Heavy.py.

References heavydb.thrift.Heavy.set_cur_session_args.for_running_query_kernel, com.mapd.bench.BenchmarkCloud.label, heavydb.thrift.Heavy.set_cur_session_args.label, heavydb.thrift.Heavy.set_cur_session_args.leaf_session, heavydb.thrift.Heavy.set_cur_session_args.parent_session, and heavydb.thrift.Heavy.set_cur_session_args.start_time_str.

11306  def write(self, oprot):
11307  if oprot._fast_encode is not None and self.thrift_spec is not None:
11308  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
11309  return
11310  oprot.writeStructBegin('set_cur_session_args')
11311  if self.parent_session is not None:
11312  oprot.writeFieldBegin('parent_session', TType.STRING, 1)
11313  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
11314  oprot.writeFieldEnd()
11315  if self.leaf_session is not None:
11316  oprot.writeFieldBegin('leaf_session', TType.STRING, 2)
11317  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
11318  oprot.writeFieldEnd()
11319  if self.start_time_str is not None:
11320  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
11321  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
11322  oprot.writeFieldEnd()
11323  if self.label is not None:
11324  oprot.writeFieldBegin('label', TType.STRING, 4)
11325  oprot.writeString(self.label.encode('utf-8') if sys.version_info[0] == 2 else self.label)
11326  oprot.writeFieldEnd()
11327  if self.for_running_query_kernel is not None:
11328  oprot.writeFieldBegin('for_running_query_kernel', TType.BOOL, 5)
11329  oprot.writeBool(self.for_running_query_kernel)
11330  oprot.writeFieldEnd()
11331  oprot.writeFieldStop()
11332  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.set_cur_session_args.__dict__
private

Definition at line 11342 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.set_cur_session_args.for_running_query_kernel

Definition at line 11264 of file Heavy.py.

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

heavydb.thrift.Heavy.set_cur_session_args.label

Definition at line 11263 of file Heavy.py.

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

heavydb.thrift.Heavy.set_cur_session_args.leaf_session

Definition at line 11261 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.set_cur_session_args.read(), heavydb.thrift.Heavy.invalidate_cur_session_args.read(), heavydb.thrift.Heavy.start_query_args.read(), heavydb.thrift.Heavy.set_cur_session_args.write(), heavydb.thrift.Heavy.invalidate_cur_session_args.write(), and heavydb.thrift.Heavy.start_query_args.write().

heavydb.thrift.Heavy.set_cur_session_args.parent_session

Definition at line 11260 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.set_cur_session_args.read(), heavydb.thrift.Heavy.invalidate_cur_session_args.read(), heavydb.thrift.Heavy.start_query_args.read(), heavydb.thrift.Heavy.set_cur_session_args.write(), heavydb.thrift.Heavy.invalidate_cur_session_args.write(), and heavydb.thrift.Heavy.start_query_args.write().

heavydb.thrift.Heavy.set_cur_session_args.start_time_str

Definition at line 11262 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.set_cur_session_args.read(), heavydb.thrift.Heavy.invalidate_cur_session_args.read(), heavydb.thrift.Heavy.start_query_args.read(), heavydb.thrift.Heavy.execute_query_step_args.read(), heavydb.thrift.Heavy.set_cur_session_args.write(), heavydb.thrift.Heavy.invalidate_cur_session_args.write(), heavydb.thrift.Heavy.start_query_args.write(), and heavydb.thrift.Heavy.execute_query_step_args.write().


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