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

Public Member Functions

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

Public Attributes

 leaf_session
 
 parent_session
 
 query_ra
 
 start_time_str
 
 just_explain
 
 outer_fragment_indices
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - leaf_session
 - parent_session
 - query_ra
 - start_time_str
 - just_explain
 - outer_fragment_indices

Definition at line 19984 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.start_query_args.__init__ (   self,
  leaf_session = None,
  parent_session = None,
  query_ra = None,
  start_time_str = None,
  just_explain = None,
  outer_fragment_indices = None 
)

Definition at line 19997 of file Heavy.py.

19998  def __init__(self, leaf_session=None, parent_session=None, query_ra=None, start_time_str=None, just_explain=None, outer_fragment_indices=None,):
19999  self.leaf_session = leaf_session
20000  self.parent_session = parent_session
20001  self.query_ra = query_ra
20002  self.start_time_str = start_time_str
20003  self.just_explain = just_explain
20004  self.outer_fragment_indices = outer_fragment_indices

Member Function Documentation

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

Definition at line 20097 of file Heavy.py.

20098  def __eq__(self, other):
20099  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.start_query_args.__ne__ (   self,
  other 
)

Definition at line 20100 of file Heavy.py.

20101  def __ne__(self, other):
20102  return not (self == other)
20103 all_structs.append(start_query_args)
start_query_args.thrift_spec = (
def heavydb.thrift.Heavy.start_query_args.__repr__ (   self)

Definition at line 20092 of file Heavy.py.

20093  def __repr__(self):
20094  L = ['%s=%r' % (key, value)
20095  for key, value in self.__dict__.items()]
20096  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.start_query_args.read (   self,
  iprot 
)

Definition at line 20005 of file Heavy.py.

References heavydb.thrift.Heavy.start_query_args.just_explain, heavydb.thrift.Heavy.set_cur_session_args.leaf_session, heavydb.thrift.Heavy.invalidate_cur_session_args.leaf_session, heavydb.thrift.Heavy.start_query_args.leaf_session, heavydb.thrift.Heavy.start_query_args.outer_fragment_indices, heavydb.thrift.Heavy.set_cur_session_args.parent_session, heavydb.thrift.Heavy.invalidate_cur_session_args.parent_session, heavydb.thrift.Heavy.start_query_args.parent_session, heavydb.thrift.Heavy.start_query_args.query_ra, heavydb.thrift.Heavy.set_cur_session_args.start_time_str, heavydb.thrift.Heavy.invalidate_cur_session_args.start_time_str, and heavydb.thrift.Heavy.start_query_args.start_time_str.

20006  def read(self, iprot):
20007  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
20008  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
20009  return
20010  iprot.readStructBegin()
20011  while True:
20012  (fname, ftype, fid) = iprot.readFieldBegin()
20013  if ftype == TType.STOP:
20014  break
20015  if fid == 1:
20016  if ftype == TType.STRING:
20017  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20018  else:
20019  iprot.skip(ftype)
20020  elif fid == 2:
20021  if ftype == TType.STRING:
20022  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20023  else:
20024  iprot.skip(ftype)
20025  elif fid == 3:
20026  if ftype == TType.STRING:
20027  self.query_ra = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20028  else:
20029  iprot.skip(ftype)
20030  elif fid == 4:
20031  if ftype == TType.STRING:
20032  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20033  else:
20034  iprot.skip(ftype)
20035  elif fid == 5:
20036  if ftype == TType.BOOL:
20037  self.just_explain = iprot.readBool()
20038  else:
20039  iprot.skip(ftype)
20040  elif fid == 6:
20041  if ftype == TType.LIST:
20042  self.outer_fragment_indices = []
20043  (_etype568, _size565) = iprot.readListBegin()
20044  for _i569 in range(_size565):
20045  _elem570 = iprot.readI64()
20046  self.outer_fragment_indices.append(_elem570)
20047  iprot.readListEnd()
20048  else:
20049  iprot.skip(ftype)
20050  else:
20051  iprot.skip(ftype)
20052  iprot.readFieldEnd()
20053  iprot.readStructEnd()
def heavydb.thrift.Heavy.start_query_args.validate (   self)

Definition at line 20089 of file Heavy.py.

20090  def validate(self):
20091  return
def heavydb.thrift.Heavy.start_query_args.write (   self,
  oprot 
)

Definition at line 20054 of file Heavy.py.

References heavydb.thrift.Heavy.start_query_args.just_explain, heavydb.thrift.Heavy.set_cur_session_args.leaf_session, heavydb.thrift.Heavy.invalidate_cur_session_args.leaf_session, heavydb.thrift.Heavy.start_query_args.leaf_session, heavydb.thrift.Heavy.start_query_args.outer_fragment_indices, heavydb.thrift.Heavy.set_cur_session_args.parent_session, heavydb.thrift.Heavy.invalidate_cur_session_args.parent_session, heavydb.thrift.Heavy.start_query_args.parent_session, heavydb.thrift.Heavy.start_query_args.query_ra, heavydb.thrift.Heavy.set_cur_session_args.start_time_str, heavydb.thrift.Heavy.invalidate_cur_session_args.start_time_str, and heavydb.thrift.Heavy.start_query_args.start_time_str.

20055  def write(self, oprot):
20056  if oprot._fast_encode is not None and self.thrift_spec is not None:
20057  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
20058  return
20059  oprot.writeStructBegin('start_query_args')
20060  if self.leaf_session is not None:
20061  oprot.writeFieldBegin('leaf_session', TType.STRING, 1)
20062  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
20063  oprot.writeFieldEnd()
20064  if self.parent_session is not None:
20065  oprot.writeFieldBegin('parent_session', TType.STRING, 2)
20066  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
20067  oprot.writeFieldEnd()
20068  if self.query_ra is not None:
20069  oprot.writeFieldBegin('query_ra', TType.STRING, 3)
20070  oprot.writeString(self.query_ra.encode('utf-8') if sys.version_info[0] == 2 else self.query_ra)
20071  oprot.writeFieldEnd()
20072  if self.start_time_str is not None:
20073  oprot.writeFieldBegin('start_time_str', TType.STRING, 4)
20074  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
20075  oprot.writeFieldEnd()
20076  if self.just_explain is not None:
20077  oprot.writeFieldBegin('just_explain', TType.BOOL, 5)
20078  oprot.writeBool(self.just_explain)
20079  oprot.writeFieldEnd()
20080  if self.outer_fragment_indices is not None:
20081  oprot.writeFieldBegin('outer_fragment_indices', TType.LIST, 6)
20082  oprot.writeListBegin(TType.I64, len(self.outer_fragment_indices))
20083  for iter571 in self.outer_fragment_indices:
20084  oprot.writeI64(iter571)
20085  oprot.writeListEnd()
20086  oprot.writeFieldEnd()
20087  oprot.writeFieldStop()
20088  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.start_query_args.__dict__
private

Definition at line 20098 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.start_query_args.just_explain

Definition at line 20002 of file Heavy.py.

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

heavydb.thrift.Heavy.start_query_args.leaf_session

Definition at line 19998 of file Heavy.py.

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

heavydb.thrift.Heavy.start_query_args.outer_fragment_indices

Definition at line 20003 of file Heavy.py.

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

heavydb.thrift.Heavy.start_query_args.parent_session

Definition at line 19999 of file Heavy.py.

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

heavydb.thrift.Heavy.start_query_args.query_ra

Definition at line 20000 of file Heavy.py.

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

heavydb.thrift.Heavy.start_query_args.start_time_str

Definition at line 20001 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.start_query_args.read(), heavydb.thrift.Heavy.execute_query_step_args.read(), 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: