OmniSciDB  a5dc49c757
 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 19711 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 19724 of file Heavy.py.

19725  def __init__(self, leaf_session=None, parent_session=None, query_ra=None, start_time_str=None, just_explain=None, outer_fragment_indices=None,):
19726  self.leaf_session = leaf_session
19727  self.parent_session = parent_session
19728  self.query_ra = query_ra
19729  self.start_time_str = start_time_str
19730  self.just_explain = just_explain
19731  self.outer_fragment_indices = outer_fragment_indices

Member Function Documentation

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

Definition at line 19824 of file Heavy.py.

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

Definition at line 19827 of file Heavy.py.

19828  def __ne__(self, other):
19829  return not (self == other)
19830 all_structs.append(start_query_args)
start_query_args.thrift_spec = (
def heavydb.thrift.Heavy.start_query_args.__repr__ (   self)

Definition at line 19819 of file Heavy.py.

19820  def __repr__(self):
19821  L = ['%s=%r' % (key, value)
19822  for key, value in self.__dict__.items()]
19823  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 19732 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.

19733  def read(self, iprot):
19734  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
19735  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
19736  return
19737  iprot.readStructBegin()
19738  while True:
19739  (fname, ftype, fid) = iprot.readFieldBegin()
19740  if ftype == TType.STOP:
19741  break
19742  if fid == 1:
19743  if ftype == TType.STRING:
19744  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19745  else:
19746  iprot.skip(ftype)
19747  elif fid == 2:
19748  if ftype == TType.STRING:
19749  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19750  else:
19751  iprot.skip(ftype)
19752  elif fid == 3:
19753  if ftype == TType.STRING:
19754  self.query_ra = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19755  else:
19756  iprot.skip(ftype)
19757  elif fid == 4:
19758  if ftype == TType.STRING:
19759  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19760  else:
19761  iprot.skip(ftype)
19762  elif fid == 5:
19763  if ftype == TType.BOOL:
19764  self.just_explain = iprot.readBool()
19765  else:
19766  iprot.skip(ftype)
19767  elif fid == 6:
19768  if ftype == TType.LIST:
19769  self.outer_fragment_indices = []
19770  (_etype561, _size558) = iprot.readListBegin()
19771  for _i562 in range(_size558):
19772  _elem563 = iprot.readI64()
19773  self.outer_fragment_indices.append(_elem563)
19774  iprot.readListEnd()
19775  else:
19776  iprot.skip(ftype)
19777  else:
19778  iprot.skip(ftype)
19779  iprot.readFieldEnd()
19780  iprot.readStructEnd()
def heavydb.thrift.Heavy.start_query_args.validate (   self)

Definition at line 19816 of file Heavy.py.

19817  def validate(self):
19818  return
def heavydb.thrift.Heavy.start_query_args.write (   self,
  oprot 
)

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

19782  def write(self, oprot):
19783  if oprot._fast_encode is not None and self.thrift_spec is not None:
19784  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
19785  return
19786  oprot.writeStructBegin('start_query_args')
19787  if self.leaf_session is not None:
19788  oprot.writeFieldBegin('leaf_session', TType.STRING, 1)
19789  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
19790  oprot.writeFieldEnd()
19791  if self.parent_session is not None:
19792  oprot.writeFieldBegin('parent_session', TType.STRING, 2)
19793  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
19794  oprot.writeFieldEnd()
19795  if self.query_ra is not None:
19796  oprot.writeFieldBegin('query_ra', TType.STRING, 3)
19797  oprot.writeString(self.query_ra.encode('utf-8') if sys.version_info[0] == 2 else self.query_ra)
19798  oprot.writeFieldEnd()
19799  if self.start_time_str is not None:
19800  oprot.writeFieldBegin('start_time_str', TType.STRING, 4)
19801  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
19802  oprot.writeFieldEnd()
19803  if self.just_explain is not None:
19804  oprot.writeFieldBegin('just_explain', TType.BOOL, 5)
19805  oprot.writeBool(self.just_explain)
19806  oprot.writeFieldEnd()
19807  if self.outer_fragment_indices is not None:
19808  oprot.writeFieldBegin('outer_fragment_indices', TType.LIST, 6)
19809  oprot.writeListBegin(TType.I64, len(self.outer_fragment_indices))
19810  for iter564 in self.outer_fragment_indices:
19811  oprot.writeI64(iter564)
19812  oprot.writeListEnd()
19813  oprot.writeFieldEnd()
19814  oprot.writeFieldStop()
19815  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.start_query_args.__dict__
private

Definition at line 19825 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.start_query_args.just_explain

Definition at line 19729 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 19725 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 19730 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 19726 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 19727 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 19728 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: