OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.invalidate_cur_session_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.invalidate_cur_session_args:
+ Collaboration diagram for heavydb.thrift.Heavy.invalidate_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 11288 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.invalidate_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 11300 of file Heavy.py.

11301  def __init__(self, parent_session=None, leaf_session=None, start_time_str=None, label=None, for_running_query_kernel=None,):
11302  self.parent_session = parent_session
11303  self.leaf_session = leaf_session
11304  self.start_time_str = start_time_str
11305  self.label = label
11306  self.for_running_query_kernel = for_running_query_kernel

Member Function Documentation

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

Definition at line 11382 of file Heavy.py.

11383  def __eq__(self, other):
11384  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.invalidate_cur_session_args.__ne__ (   self,
  other 
)

Definition at line 11385 of file Heavy.py.

11386  def __ne__(self, other):
11387  return not (self == other)
11388 all_structs.append(invalidate_cur_session_args)
invalidate_cur_session_args.thrift_spec = (
def heavydb.thrift.Heavy.invalidate_cur_session_args.__repr__ (   self)

Definition at line 11377 of file Heavy.py.

11378  def __repr__(self):
11379  L = ['%s=%r' % (key, value)
11380  for key, value in self.__dict__.items()]
11381  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.invalidate_cur_session_args.read (   self,
  iprot 
)

Definition at line 11307 of file Heavy.py.

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

11308  def read(self, iprot):
11309  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
11310  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
11311  return
11312  iprot.readStructBegin()
11313  while True:
11314  (fname, ftype, fid) = iprot.readFieldBegin()
11315  if ftype == TType.STOP:
11316  break
11317  if fid == 1:
11318  if ftype == TType.STRING:
11319  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11320  else:
11321  iprot.skip(ftype)
11322  elif fid == 2:
11323  if ftype == TType.STRING:
11324  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11325  else:
11326  iprot.skip(ftype)
11327  elif fid == 3:
11328  if ftype == TType.STRING:
11329  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11330  else:
11331  iprot.skip(ftype)
11332  elif fid == 4:
11333  if ftype == TType.STRING:
11334  self.label = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11335  else:
11336  iprot.skip(ftype)
11337  elif fid == 5:
11338  if ftype == TType.BOOL:
11339  self.for_running_query_kernel = iprot.readBool()
11340  else:
11341  iprot.skip(ftype)
11342  else:
11343  iprot.skip(ftype)
11344  iprot.readFieldEnd()
11345  iprot.readStructEnd()
def heavydb.thrift.Heavy.invalidate_cur_session_args.validate (   self)

Definition at line 11374 of file Heavy.py.

11375  def validate(self):
11376  return
def heavydb.thrift.Heavy.invalidate_cur_session_args.write (   self,
  oprot 
)

Definition at line 11346 of file Heavy.py.

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

11347  def write(self, oprot):
11348  if oprot._fast_encode is not None and self.thrift_spec is not None:
11349  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
11350  return
11351  oprot.writeStructBegin('invalidate_cur_session_args')
11352  if self.parent_session is not None:
11353  oprot.writeFieldBegin('parent_session', TType.STRING, 1)
11354  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
11355  oprot.writeFieldEnd()
11356  if self.leaf_session is not None:
11357  oprot.writeFieldBegin('leaf_session', TType.STRING, 2)
11358  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
11359  oprot.writeFieldEnd()
11360  if self.start_time_str is not None:
11361  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
11362  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
11363  oprot.writeFieldEnd()
11364  if self.label is not None:
11365  oprot.writeFieldBegin('label', TType.STRING, 4)
11366  oprot.writeString(self.label.encode('utf-8') if sys.version_info[0] == 2 else self.label)
11367  oprot.writeFieldEnd()
11368  if self.for_running_query_kernel is not None:
11369  oprot.writeFieldBegin('for_running_query_kernel', TType.BOOL, 5)
11370  oprot.writeBool(self.for_running_query_kernel)
11371  oprot.writeFieldEnd()
11372  oprot.writeFieldStop()
11373  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.invalidate_cur_session_args.__dict__
private

Definition at line 11383 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.invalidate_cur_session_args.for_running_query_kernel

Definition at line 11305 of file Heavy.py.

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

heavydb.thrift.Heavy.invalidate_cur_session_args.label

Definition at line 11304 of file Heavy.py.

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

heavydb.thrift.Heavy.invalidate_cur_session_args.leaf_session

Definition at line 11302 of file Heavy.py.

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

heavydb.thrift.Heavy.invalidate_cur_session_args.parent_session

Definition at line 11301 of file Heavy.py.

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

heavydb.thrift.Heavy.invalidate_cur_session_args.start_time_str

Definition at line 11303 of file Heavy.py.

Referenced by 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.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: