OmniSciDB  340b00dbf6
 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 16167 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 16179 of file OmniSci.py.

16180  def __init__(self, leaf_session=None, parent_session=None, query_ra=None, just_explain=None, outer_fragment_indices=None,):
16181  self.leaf_session = leaf_session
16182  self.parent_session = parent_session
16183  self.query_ra = query_ra
16184  self.just_explain = just_explain
16185  self.outer_fragment_indices = outer_fragment_indices

Member Function Documentation

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

Definition at line 16269 of file OmniSci.py.

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

Definition at line 16272 of file OmniSci.py.

16273  def __ne__(self, other):
16274  return not (self == other)
16275 all_structs.append(start_query_args)
start_query_args.thrift_spec = (
def omnisci.thrift.OmniSci.start_query_args.__repr__ (   self)

Definition at line 16264 of file OmniSci.py.

16265  def __repr__(self):
16266  L = ['%s=%r' % (key, value)
16267  for key, value in self.__dict__.items()]
16268  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 16186 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.

16187  def read(self, iprot):
16188  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16189  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16190  return
16191  iprot.readStructBegin()
16192  while True:
16193  (fname, ftype, fid) = iprot.readFieldBegin()
16194  if ftype == TType.STOP:
16195  break
16196  if fid == 1:
16197  if ftype == TType.STRING:
16198  self.leaf_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16199  else:
16200  iprot.skip(ftype)
16201  elif fid == 2:
16202  if ftype == TType.STRING:
16203  self.parent_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16204  else:
16205  iprot.skip(ftype)
16206  elif fid == 3:
16207  if ftype == TType.STRING:
16208  self.query_ra = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16209  else:
16210  iprot.skip(ftype)
16211  elif fid == 4:
16212  if ftype == TType.BOOL:
16213  self.just_explain = iprot.readBool()
16214  else:
16215  iprot.skip(ftype)
16216  elif fid == 5:
16217  if ftype == TType.LIST:
16218  self.outer_fragment_indices = []
16219  (_etype470, _size467) = iprot.readListBegin()
16220  for _i471 in range(_size467):
16221  _elem472 = iprot.readI64()
16222  self.outer_fragment_indices.append(_elem472)
16223  iprot.readListEnd()
16224  else:
16225  iprot.skip(ftype)
16226  else:
16227  iprot.skip(ftype)
16228  iprot.readFieldEnd()
16229  iprot.readStructEnd()
def omnisci.thrift.OmniSci.start_query_args.validate (   self)

Definition at line 16261 of file OmniSci.py.

16262  def validate(self):
16263  return
def omnisci.thrift.OmniSci.start_query_args.write (   self,
  oprot 
)

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

16231  def write(self, oprot):
16232  if oprot._fast_encode is not None and self.thrift_spec is not None:
16233  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16234  return
16235  oprot.writeStructBegin('start_query_args')
16236  if self.leaf_session is not None:
16237  oprot.writeFieldBegin('leaf_session', TType.STRING, 1)
16238  oprot.writeString(self.leaf_session.encode('utf-8') if sys.version_info[0] == 2 else self.leaf_session)
16239  oprot.writeFieldEnd()
16240  if self.parent_session is not None:
16241  oprot.writeFieldBegin('parent_session', TType.STRING, 2)
16242  oprot.writeString(self.parent_session.encode('utf-8') if sys.version_info[0] == 2 else self.parent_session)
16243  oprot.writeFieldEnd()
16244  if self.query_ra is not None:
16245  oprot.writeFieldBegin('query_ra', TType.STRING, 3)
16246  oprot.writeString(self.query_ra.encode('utf-8') if sys.version_info[0] == 2 else self.query_ra)
16247  oprot.writeFieldEnd()
16248  if self.just_explain is not None:
16249  oprot.writeFieldBegin('just_explain', TType.BOOL, 4)
16250  oprot.writeBool(self.just_explain)
16251  oprot.writeFieldEnd()
16252  if self.outer_fragment_indices is not None:
16253  oprot.writeFieldBegin('outer_fragment_indices', TType.LIST, 5)
16254  oprot.writeListBegin(TType.I64, len(self.outer_fragment_indices))
16255  for iter473 in self.outer_fragment_indices:
16256  oprot.writeI64(iter473)
16257  oprot.writeListEnd()
16258  oprot.writeFieldEnd()
16259  oprot.writeFieldStop()
16260  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.start_query_args.__dict__
private

Definition at line 16270 of file OmniSci.py.

omnisci.thrift.OmniSci.start_query_args.just_explain

Definition at line 16183 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 16180 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 16184 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 16181 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 16182 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: