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

Constructor & Destructor Documentation

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

10652  def __init__(self, parent_session=None, leaf_session=None, start_time_str=None, label=None, for_running_query_kernel=None,):
10653  self.parent_session = parent_session
10654  self.leaf_session = leaf_session
10655  self.start_time_str = start_time_str
10656  self.label = label
10657  self.for_running_query_kernel = for_running_query_kernel

Member Function Documentation

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

Definition at line 10733 of file OmniSci.py.

10734  def __eq__(self, other):
10735  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.set_cur_session_args.__ne__ (   self,
  other 
)

Definition at line 10736 of file OmniSci.py.

10737  def __ne__(self, other):
10738  return not (self == other)
10739 all_structs.append(set_cur_session_args)
set_cur_session_args.thrift_spec = (
def omnisci.thrift.OmniSci.set_cur_session_args.__repr__ (   self)

Definition at line 10728 of file OmniSci.py.

10729  def __repr__(self):
10730  L = ['%s=%r' % (key, value)
10731  for key, value in self.__dict__.items()]
10732  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.set_cur_session_args.read (   self,
  iprot 
)

Definition at line 10658 of file OmniSci.py.

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

10659  def read(self, iprot):
10660  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
10661  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
10662  return
10663  iprot.readStructBegin()
10664  while True:
10665  (fname, ftype, fid) = iprot.readFieldBegin()
10666  if ftype == TType.STOP:
10667  break
10668  if fid == 1:
10669  if ftype == TType.STRING:
10670  self.parent_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10671  else:
10672  iprot.skip(ftype)
10673  elif fid == 2:
10674  if ftype == TType.STRING:
10675  self.leaf_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10676  else:
10677  iprot.skip(ftype)
10678  elif fid == 3:
10679  if ftype == TType.STRING:
10680  self.start_time_str = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10681  else:
10682  iprot.skip(ftype)
10683  elif fid == 4:
10684  if ftype == TType.STRING:
10685  self.label = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10686  else:
10687  iprot.skip(ftype)
10688  elif fid == 5:
10689  if ftype == TType.BOOL:
10690  self.for_running_query_kernel = iprot.readBool()
10691  else:
10692  iprot.skip(ftype)
10693  else:
10694  iprot.skip(ftype)
10695  iprot.readFieldEnd()
10696  iprot.readStructEnd()
def omnisci.thrift.OmniSci.set_cur_session_args.validate (   self)

Definition at line 10725 of file OmniSci.py.

10726  def validate(self):
10727  return
def omnisci.thrift.OmniSci.set_cur_session_args.write (   self,
  oprot 
)

Definition at line 10697 of file OmniSci.py.

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

10698  def write(self, oprot):
10699  if oprot._fast_encode is not None and self.thrift_spec is not None:
10700  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
10701  return
10702  oprot.writeStructBegin('set_cur_session_args')
10703  if self.parent_session is not None:
10704  oprot.writeFieldBegin('parent_session', TType.STRING, 1)
10705  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
10706  oprot.writeFieldEnd()
10707  if self.leaf_session is not None:
10708  oprot.writeFieldBegin('leaf_session', TType.STRING, 2)
10709  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
10710  oprot.writeFieldEnd()
10711  if self.start_time_str is not None:
10712  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
10713  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
10714  oprot.writeFieldEnd()
10715  if self.label is not None:
10716  oprot.writeFieldBegin('label', TType.STRING, 4)
10717  oprot.writeString(self.label.encode('utf-8') if sys.version_info[0] == 2 else self.label)
10718  oprot.writeFieldEnd()
10719  if self.for_running_query_kernel is not None:
10720  oprot.writeFieldBegin('for_running_query_kernel', TType.BOOL, 5)
10721  oprot.writeBool(self.for_running_query_kernel)
10722  oprot.writeFieldEnd()
10723  oprot.writeFieldStop()
10724  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.set_cur_session_args.__dict__
private

Definition at line 10734 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.set_cur_session_args.for_running_query_kernel

Definition at line 10656 of file OmniSci.py.

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

omnisci.thrift.OmniSci.set_cur_session_args.label

Definition at line 10655 of file OmniSci.py.

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

omnisci.thrift.OmniSci.set_cur_session_args.leaf_session

Definition at line 10653 of file OmniSci.py.

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

omnisci.thrift.OmniSci.set_cur_session_args.parent_session

Definition at line 10652 of file OmniSci.py.

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

omnisci.thrift.OmniSci.set_cur_session_args.start_time_str

Definition at line 10654 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.set_cur_session_args.read(), 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.set_cur_session_args.write(), 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: