OmniSciDB  94e8789169
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.start_query_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.start_query_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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
 
 just_explain
 
 outer_fragment_indices
 

Private Attributes

 __dict__
 

Detailed Description

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

Definition at line 16704 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.start_query_args.__init__ (   self,
  leaf_session = None,
  parent_session = None,
  query_ra = None,
  just_explain = None,
  outer_fragment_indices = None 
)

Definition at line 16716 of file OmniSci.py.

16717  def __init__(self, leaf_session=None, parent_session=None, query_ra=None, just_explain=None, outer_fragment_indices=None,):
16718  self.leaf_session = leaf_session
16719  self.parent_session = parent_session
16720  self.query_ra = query_ra
16721  self.just_explain = just_explain
16722  self.outer_fragment_indices = outer_fragment_indices

Member Function Documentation

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

Definition at line 16806 of file OmniSci.py.

16807  def __eq__(self, other):
16808  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.start_query_args.__ne__ (   self,
  other 
)

Definition at line 16809 of file OmniSci.py.

16810  def __ne__(self, other):
16811  return not (self == other)
16812 all_structs.append(start_query_args)
start_query_args.thrift_spec = (
def omnisci.thrift.OmniSci.start_query_args.__repr__ (   self)

Definition at line 16801 of file OmniSci.py.

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

Definition at line 16723 of file OmniSci.py.

References omnisci.thrift.OmniSci.start_query_args.just_explain, omnisci.thrift.OmniSci.start_query_args.leaf_session, omnisci.thrift.OmniSci.start_query_args.outer_fragment_indices, omnisci.thrift.OmniSci.start_query_args.parent_session, and omnisci.thrift.OmniSci.start_query_args.query_ra.

16724  def read(self, iprot):
16725  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16726  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16727  return
16728  iprot.readStructBegin()
16729  while True:
16730  (fname, ftype, fid) = iprot.readFieldBegin()
16731  if ftype == TType.STOP:
16732  break
16733  if fid == 1:
16734  if ftype == TType.STRING:
16735  self.leaf_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16736  else:
16737  iprot.skip(ftype)
16738  elif fid == 2:
16739  if ftype == TType.STRING:
16740  self.parent_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16741  else:
16742  iprot.skip(ftype)
16743  elif fid == 3:
16744  if ftype == TType.STRING:
16745  self.query_ra = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16746  else:
16747  iprot.skip(ftype)
16748  elif fid == 4:
16749  if ftype == TType.BOOL:
16750  self.just_explain = iprot.readBool()
16751  else:
16752  iprot.skip(ftype)
16753  elif fid == 5:
16754  if ftype == TType.LIST:
16755  self.outer_fragment_indices = []
16756  (_etype505, _size502) = iprot.readListBegin()
16757  for _i506 in range(_size502):
16758  _elem507 = iprot.readI64()
16759  self.outer_fragment_indices.append(_elem507)
16760  iprot.readListEnd()
16761  else:
16762  iprot.skip(ftype)
16763  else:
16764  iprot.skip(ftype)
16765  iprot.readFieldEnd()
16766  iprot.readStructEnd()
def omnisci.thrift.OmniSci.start_query_args.validate (   self)

Definition at line 16798 of file OmniSci.py.

16799  def validate(self):
16800  return
def omnisci.thrift.OmniSci.start_query_args.write (   self,
  oprot 
)

Definition at line 16767 of file OmniSci.py.

References omnisci.thrift.OmniSci.start_query_args.just_explain, omnisci.thrift.OmniSci.start_query_args.leaf_session, omnisci.thrift.OmniSci.start_query_args.outer_fragment_indices, omnisci.thrift.OmniSci.start_query_args.parent_session, and omnisci.thrift.OmniSci.start_query_args.query_ra.

16768  def write(self, oprot):
16769  if oprot._fast_encode is not None and self.thrift_spec is not None:
16770  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16771  return
16772  oprot.writeStructBegin('start_query_args')
16773  if self.leaf_session is not None:
16774  oprot.writeFieldBegin('leaf_session', TType.STRING, 1)
16775  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
16776  oprot.writeFieldEnd()
16777  if self.parent_session is not None:
16778  oprot.writeFieldBegin('parent_session', TType.STRING, 2)
16779  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
16780  oprot.writeFieldEnd()
16781  if self.query_ra is not None:
16782  oprot.writeFieldBegin('query_ra', TType.STRING, 3)
16783  oprot.writeString(self.query_ra.encode('utf-8') if sys.version_info[0] == 2 else self.query_ra)
16784  oprot.writeFieldEnd()
16785  if self.just_explain is not None:
16786  oprot.writeFieldBegin('just_explain', TType.BOOL, 4)
16787  oprot.writeBool(self.just_explain)
16788  oprot.writeFieldEnd()
16789  if self.outer_fragment_indices is not None:
16790  oprot.writeFieldBegin('outer_fragment_indices', TType.LIST, 5)
16791  oprot.writeListBegin(TType.I64, len(self.outer_fragment_indices))
16792  for iter508 in self.outer_fragment_indices:
16793  oprot.writeI64(iter508)
16794  oprot.writeListEnd()
16795  oprot.writeFieldEnd()
16796  oprot.writeFieldStop()
16797  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.start_query_args.__dict__
private

Definition at line 16807 of file OmniSci.py.

omnisci.thrift.OmniSci.start_query_args.just_explain

Definition at line 16720 of file OmniSci.py.

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

omnisci.thrift.OmniSci.start_query_args.leaf_session

Definition at line 16717 of file OmniSci.py.

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

omnisci.thrift.OmniSci.start_query_args.outer_fragment_indices

Definition at line 16721 of file OmniSci.py.

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

omnisci.thrift.OmniSci.start_query_args.parent_session

Definition at line 16718 of file OmniSci.py.

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

omnisci.thrift.OmniSci.start_query_args.query_ra

Definition at line 16719 of file OmniSci.py.

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


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