OmniSciDB  cde582ebc3
 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 19774 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 19787 of file Heavy.py.

19788  def __init__(self, leaf_session=None, parent_session=None, query_ra=None, start_time_str=None, just_explain=None, outer_fragment_indices=None,):
19789  self.leaf_session = leaf_session
19790  self.parent_session = parent_session
19791  self.query_ra = query_ra
19792  self.start_time_str = start_time_str
19793  self.just_explain = just_explain
19794  self.outer_fragment_indices = outer_fragment_indices

Member Function Documentation

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

Definition at line 19887 of file Heavy.py.

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

Definition at line 19890 of file Heavy.py.

19891  def __ne__(self, other):
19892  return not (self == other)
19893 all_structs.append(start_query_args)
start_query_args.thrift_spec = (
def heavydb.thrift.Heavy.start_query_args.__repr__ (   self)

Definition at line 19882 of file Heavy.py.

19883  def __repr__(self):
19884  L = ['%s=%r' % (key, value)
19885  for key, value in self.__dict__.items()]
19886  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 19795 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.

19796  def read(self, iprot):
19797  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
19798  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
19799  return
19800  iprot.readStructBegin()
19801  while True:
19802  (fname, ftype, fid) = iprot.readFieldBegin()
19803  if ftype == TType.STOP:
19804  break
19805  if fid == 1:
19806  if ftype == TType.STRING:
19807  self.leaf_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19808  else:
19809  iprot.skip(ftype)
19810  elif fid == 2:
19811  if ftype == TType.STRING:
19812  self.parent_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19813  else:
19814  iprot.skip(ftype)
19815  elif fid == 3:
19816  if ftype == TType.STRING:
19817  self.query_ra = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19818  else:
19819  iprot.skip(ftype)
19820  elif fid == 4:
19821  if ftype == TType.STRING:
19822  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19823  else:
19824  iprot.skip(ftype)
19825  elif fid == 5:
19826  if ftype == TType.BOOL:
19827  self.just_explain = iprot.readBool()
19828  else:
19829  iprot.skip(ftype)
19830  elif fid == 6:
19831  if ftype == TType.LIST:
19832  self.outer_fragment_indices = []
19833  (_etype568, _size565) = iprot.readListBegin()
19834  for _i569 in range(_size565):
19835  _elem570 = iprot.readI64()
19836  self.outer_fragment_indices.append(_elem570)
19837  iprot.readListEnd()
19838  else:
19839  iprot.skip(ftype)
19840  else:
19841  iprot.skip(ftype)
19842  iprot.readFieldEnd()
19843  iprot.readStructEnd()
def heavydb.thrift.Heavy.start_query_args.validate (   self)

Definition at line 19879 of file Heavy.py.

19880  def validate(self):
19881  return
def heavydb.thrift.Heavy.start_query_args.write (   self,
  oprot 
)

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

19845  def write(self, oprot):
19846  if oprot._fast_encode is not None and self.thrift_spec is not None:
19847  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
19848  return
19849  oprot.writeStructBegin('start_query_args')
19850  if self.leaf_session is not None:
19851  oprot.writeFieldBegin('leaf_session', TType.STRING, 1)
19852  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
19853  oprot.writeFieldEnd()
19854  if self.parent_session is not None:
19855  oprot.writeFieldBegin('parent_session', TType.STRING, 2)
19856  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
19857  oprot.writeFieldEnd()
19858  if self.query_ra is not None:
19859  oprot.writeFieldBegin('query_ra', TType.STRING, 3)
19860  oprot.writeString(self.query_ra.encode('utf-8') if sys.version_info[0] == 2 else self.query_ra)
19861  oprot.writeFieldEnd()
19862  if self.start_time_str is not None:
19863  oprot.writeFieldBegin('start_time_str', TType.STRING, 4)
19864  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
19865  oprot.writeFieldEnd()
19866  if self.just_explain is not None:
19867  oprot.writeFieldBegin('just_explain', TType.BOOL, 5)
19868  oprot.writeBool(self.just_explain)
19869  oprot.writeFieldEnd()
19870  if self.outer_fragment_indices is not None:
19871  oprot.writeFieldBegin('outer_fragment_indices', TType.LIST, 6)
19872  oprot.writeListBegin(TType.I64, len(self.outer_fragment_indices))
19873  for iter571 in self.outer_fragment_indices:
19874  oprot.writeI64(iter571)
19875  oprot.writeListEnd()
19876  oprot.writeFieldEnd()
19877  oprot.writeFieldStop()
19878  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.start_query_args.__dict__
private

Definition at line 19888 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.start_query_args.just_explain

Definition at line 19792 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 19788 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 19793 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 19789 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 19790 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 19791 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: