OmniSciDB  4201147b46
 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 11116 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 11128 of file Heavy.py.

11129  def __init__(self, parent_session=None, leaf_session=None, start_time_str=None, label=None, for_running_query_kernel=None,):
11130  self.parent_session = parent_session
11131  self.leaf_session = leaf_session
11132  self.start_time_str = start_time_str
11133  self.label = label
11134  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 11210 of file Heavy.py.

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

Definition at line 11213 of file Heavy.py.

11214  def __ne__(self, other):
11215  return not (self == other)
11216 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 11205 of file Heavy.py.

11206  def __repr__(self):
11207  L = ['%s=%r' % (key, value)
11208  for key, value in self.__dict__.items()]
11209  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 11135 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.

11136  def read(self, iprot):
11137  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
11138  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
11139  return
11140  iprot.readStructBegin()
11141  while True:
11142  (fname, ftype, fid) = iprot.readFieldBegin()
11143  if ftype == TType.STOP:
11144  break
11145  if fid == 1:
11146  if ftype == TType.STRING:
11147  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11148  else:
11149  iprot.skip(ftype)
11150  elif fid == 2:
11151  if ftype == TType.STRING:
11152  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11153  else:
11154  iprot.skip(ftype)
11155  elif fid == 3:
11156  if ftype == TType.STRING:
11157  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11158  else:
11159  iprot.skip(ftype)
11160  elif fid == 4:
11161  if ftype == TType.STRING:
11162  self.label = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
11163  else:
11164  iprot.skip(ftype)
11165  elif fid == 5:
11166  if ftype == TType.BOOL:
11167  self.for_running_query_kernel = iprot.readBool()
11168  else:
11169  iprot.skip(ftype)
11170  else:
11171  iprot.skip(ftype)
11172  iprot.readFieldEnd()
11173  iprot.readStructEnd()
def heavydb.thrift.Heavy.set_cur_session_args.validate (   self)

Definition at line 11202 of file Heavy.py.

11203  def validate(self):
11204  return
def heavydb.thrift.Heavy.set_cur_session_args.write (   self,
  oprot 
)

Definition at line 11174 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.

11175  def write(self, oprot):
11176  if oprot._fast_encode is not None and self.thrift_spec is not None:
11177  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
11178  return
11179  oprot.writeStructBegin('set_cur_session_args')
11180  if self.parent_session is not None:
11181  oprot.writeFieldBegin('parent_session', TType.STRING, 1)
11182  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
11183  oprot.writeFieldEnd()
11184  if self.leaf_session is not None:
11185  oprot.writeFieldBegin('leaf_session', TType.STRING, 2)
11186  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
11187  oprot.writeFieldEnd()
11188  if self.start_time_str is not None:
11189  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
11190  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
11191  oprot.writeFieldEnd()
11192  if self.label is not None:
11193  oprot.writeFieldBegin('label', TType.STRING, 4)
11194  oprot.writeString(self.label.encode('utf-8') if sys.version_info[0] == 2 else self.label)
11195  oprot.writeFieldEnd()
11196  if self.for_running_query_kernel is not None:
11197  oprot.writeFieldBegin('for_running_query_kernel', TType.BOOL, 5)
11198  oprot.writeBool(self.for_running_query_kernel)
11199  oprot.writeFieldEnd()
11200  oprot.writeFieldStop()
11201  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.set_cur_session_args.__dict__
private

Definition at line 11211 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.set_cur_session_args.for_running_query_kernel

Definition at line 11133 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 11132 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 11130 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 11129 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 11131 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: