OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
omnisci.thrift.OmniSci.invalidate_cur_session_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.invalidate_cur_session_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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 10812 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.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 10824 of file OmniSci.py.

10825  def __init__(self, parent_session=None, leaf_session=None, start_time_str=None, label=None, for_running_query_kernel=None,):
10826  self.parent_session = parent_session
10827  self.leaf_session = leaf_session
10828  self.start_time_str = start_time_str
10829  self.label = label
10830  self.for_running_query_kernel = for_running_query_kernel

Member Function Documentation

def omnisci.thrift.OmniSci.invalidate_cur_session_args.__eq__ (   self,
  other 
)

Definition at line 10906 of file OmniSci.py.

10907  def __eq__(self, other):
10908  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.invalidate_cur_session_args.__ne__ (   self,
  other 
)

Definition at line 10909 of file OmniSci.py.

10910  def __ne__(self, other):
10911  return not (self == other)
10912 all_structs.append(invalidate_cur_session_args)
invalidate_cur_session_args.thrift_spec = (
def omnisci.thrift.OmniSci.invalidate_cur_session_args.__repr__ (   self)

Definition at line 10901 of file OmniSci.py.

10902  def __repr__(self):
10903  L = ['%s=%r' % (key, value)
10904  for key, value in self.__dict__.items()]
10905  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 omnisci.thrift.OmniSci.invalidate_cur_session_args.read (   self,
  iprot 
)

Definition at line 10831 of file OmniSci.py.

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

10832  def read(self, iprot):
10833  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
10834  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
10835  return
10836  iprot.readStructBegin()
10837  while True:
10838  (fname, ftype, fid) = iprot.readFieldBegin()
10839  if ftype == TType.STOP:
10840  break
10841  if fid == 1:
10842  if ftype == TType.STRING:
10843  self.parent_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10844  else:
10845  iprot.skip(ftype)
10846  elif fid == 2:
10847  if ftype == TType.STRING:
10848  self.leaf_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10849  else:
10850  iprot.skip(ftype)
10851  elif fid == 3:
10852  if ftype == TType.STRING:
10853  self.start_time_str = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10854  else:
10855  iprot.skip(ftype)
10856  elif fid == 4:
10857  if ftype == TType.STRING:
10858  self.label = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10859  else:
10860  iprot.skip(ftype)
10861  elif fid == 5:
10862  if ftype == TType.BOOL:
10863  self.for_running_query_kernel = iprot.readBool()
10864  else:
10865  iprot.skip(ftype)
10866  else:
10867  iprot.skip(ftype)
10868  iprot.readFieldEnd()
10869  iprot.readStructEnd()
def omnisci.thrift.OmniSci.invalidate_cur_session_args.validate (   self)

Definition at line 10898 of file OmniSci.py.

10899  def validate(self):
10900  return
def omnisci.thrift.OmniSci.invalidate_cur_session_args.write (   self,
  oprot 
)

Definition at line 10870 of file OmniSci.py.

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

10871  def write(self, oprot):
10872  if oprot._fast_encode is not None and self.thrift_spec is not None:
10873  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
10874  return
10875  oprot.writeStructBegin('invalidate_cur_session_args')
10876  if self.parent_session is not None:
10877  oprot.writeFieldBegin('parent_session', TType.STRING, 1)
10878  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
10879  oprot.writeFieldEnd()
10880  if self.leaf_session is not None:
10881  oprot.writeFieldBegin('leaf_session', TType.STRING, 2)
10882  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
10883  oprot.writeFieldEnd()
10884  if self.start_time_str is not None:
10885  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
10886  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
10887  oprot.writeFieldEnd()
10888  if self.label is not None:
10889  oprot.writeFieldBegin('label', TType.STRING, 4)
10890  oprot.writeString(self.label.encode('utf-8') if sys.version_info[0] == 2 else self.label)
10891  oprot.writeFieldEnd()
10892  if self.for_running_query_kernel is not None:
10893  oprot.writeFieldBegin('for_running_query_kernel', TType.BOOL, 5)
10894  oprot.writeBool(self.for_running_query_kernel)
10895  oprot.writeFieldEnd()
10896  oprot.writeFieldStop()
10897  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.invalidate_cur_session_args.__dict__
private

Definition at line 10907 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.invalidate_cur_session_args.for_running_query_kernel

Definition at line 10829 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.invalidate_cur_session_args.read(), and omnisci.thrift.OmniSci.invalidate_cur_session_args.write().

omnisci.thrift.OmniSci.invalidate_cur_session_args.label

Definition at line 10828 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.invalidate_cur_session_args.read(), and omnisci.thrift.OmniSci.invalidate_cur_session_args.write().

omnisci.thrift.OmniSci.invalidate_cur_session_args.leaf_session

Definition at line 10826 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.invalidate_cur_session_args.read(), omnisci.thrift.OmniSci.start_query_args.read(), omnisci.thrift.OmniSci.invalidate_cur_session_args.write(), and omnisci.thrift.OmniSci.start_query_args.write().

omnisci.thrift.OmniSci.invalidate_cur_session_args.parent_session

Definition at line 10825 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.invalidate_cur_session_args.read(), omnisci.thrift.OmniSci.start_query_args.read(), omnisci.thrift.OmniSci.invalidate_cur_session_args.write(), and omnisci.thrift.OmniSci.start_query_args.write().

omnisci.thrift.OmniSci.invalidate_cur_session_args.start_time_str

Definition at line 10827 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.invalidate_cur_session_args.read(), omnisci.thrift.OmniSci.start_query_args.read(), omnisci.thrift.OmniSci.execute_query_step_args.read(), omnisci.thrift.OmniSci.invalidate_cur_session_args.write(), omnisci.thrift.OmniSci.start_query_args.write(), and omnisci.thrift.OmniSci.execute_query_step_args.write().


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