OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.broadcast_serialized_rows_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.broadcast_serialized_rows_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.broadcast_serialized_rows_args:

Public Member Functions

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

Public Attributes

 serialized_rows
 
 row_desc
 
 query_id
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - serialized_rows
 - row_desc
 - query_id

Definition at line 16498 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.broadcast_serialized_rows_args.__init__ (   self,
  serialized_rows = None,
  row_desc = None,
  query_id = None 
)

Definition at line 16508 of file OmniSci.py.

16509  def __init__(self, serialized_rows=None, row_desc=None, query_id=None,):
16510  self.serialized_rows = serialized_rows
16511  self.row_desc = row_desc
16512  self.query_id = query_id

Member Function Documentation

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

Definition at line 16580 of file OmniSci.py.

16581  def __eq__(self, other):
16582  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.broadcast_serialized_rows_args.__ne__ (   self,
  other 
)

Definition at line 16583 of file OmniSci.py.

16584  def __ne__(self, other):
16585  return not (self == other)
16586 all_structs.append(broadcast_serialized_rows_args)
broadcast_serialized_rows_args.thrift_spec = (
def omnisci.thrift.OmniSci.broadcast_serialized_rows_args.__repr__ (   self)

Definition at line 16575 of file OmniSci.py.

16576  def __repr__(self):
16577  L = ['%s=%r' % (key, value)
16578  for key, value in self.__dict__.items()]
16579  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.broadcast_serialized_rows_args.read (   self,
  iprot 
)

Definition at line 16513 of file OmniSci.py.

References omnisci.thrift.OmniSci.broadcast_serialized_rows_args.query_id, omnisci.thrift.OmniSci.create_table_args.row_desc, omnisci.thrift.OmniSci.import_geo_table_args.row_desc, omnisci.thrift.OmniSci.broadcast_serialized_rows_args.row_desc, and omnisci.thrift.OmniSci.broadcast_serialized_rows_args.serialized_rows.

16514  def read(self, iprot):
16515  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16516  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16517  return
16518  iprot.readStructBegin()
16519  while True:
16520  (fname, ftype, fid) = iprot.readFieldBegin()
16521  if ftype == TType.STOP:
16522  break
16523  if fid == 1:
16524  if ftype == TType.STRUCT:
16526  self.serialized_rows.read(iprot)
16527  else:
16528  iprot.skip(ftype)
16529  elif fid == 2:
16530  if ftype == TType.LIST:
16531  self.row_desc = []
16532  (_etype477, _size474) = iprot.readListBegin()
16533  for _i478 in range(_size474):
16534  _elem479 = TColumnType()
16535  _elem479.read(iprot)
16536  self.row_desc.append(_elem479)
16537  iprot.readListEnd()
16538  else:
16539  iprot.skip(ftype)
16540  elif fid == 3:
16541  if ftype == TType.I64:
16542  self.query_id = iprot.readI64()
16543  else:
16544  iprot.skip(ftype)
16545  else:
16546  iprot.skip(ftype)
16547  iprot.readFieldEnd()
16548  iprot.readStructEnd()
def omnisci.thrift.OmniSci.broadcast_serialized_rows_args.validate (   self)

Definition at line 16572 of file OmniSci.py.

16573  def validate(self):
16574  return
def omnisci.thrift.OmniSci.broadcast_serialized_rows_args.write (   self,
  oprot 
)

Definition at line 16549 of file OmniSci.py.

References omnisci.thrift.OmniSci.broadcast_serialized_rows_args.query_id, omnisci.thrift.OmniSci.create_table_args.row_desc, omnisci.thrift.OmniSci.import_geo_table_args.row_desc, omnisci.thrift.OmniSci.broadcast_serialized_rows_args.row_desc, and omnisci.thrift.OmniSci.broadcast_serialized_rows_args.serialized_rows.

16550  def write(self, oprot):
16551  if oprot._fast_encode is not None and self.thrift_spec is not None:
16552  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16553  return
16554  oprot.writeStructBegin('broadcast_serialized_rows_args')
16555  if self.serialized_rows is not None:
16556  oprot.writeFieldBegin('serialized_rows', TType.STRUCT, 1)
16557  self.serialized_rows.write(oprot)
16558  oprot.writeFieldEnd()
16559  if self.row_desc is not None:
16560  oprot.writeFieldBegin('row_desc', TType.LIST, 2)
16561  oprot.writeListBegin(TType.STRUCT, len(self.row_desc))
16562  for iter480 in self.row_desc:
16563  iter480.write(oprot)
16564  oprot.writeListEnd()
16565  oprot.writeFieldEnd()
16566  if self.query_id is not None:
16567  oprot.writeFieldBegin('query_id', TType.I64, 3)
16568  oprot.writeI64(self.query_id)
16569  oprot.writeFieldEnd()
16570  oprot.writeFieldStop()
16571  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.broadcast_serialized_rows_args.__dict__
private

Definition at line 16581 of file OmniSci.py.

omnisci.thrift.OmniSci.broadcast_serialized_rows_args.query_id

Definition at line 16511 of file OmniSci.py.

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

omnisci.thrift.OmniSci.broadcast_serialized_rows_args.row_desc

Definition at line 16510 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TStepResult.read(), omnisci.thrift.ttypes.TRowSet.read(), omnisci.thrift.ttypes.TTableDetails.read(), omnisci.thrift.OmniSci.broadcast_serialized_rows_args.read(), omnisci.thrift.ttypes.TStepResult.write(), omnisci.thrift.ttypes.TRowSet.write(), omnisci.thrift.ttypes.TTableDetails.write(), and omnisci.thrift.OmniSci.broadcast_serialized_rows_args.write().

omnisci.thrift.OmniSci.broadcast_serialized_rows_args.serialized_rows

Definition at line 16509 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TStepResult.read(), omnisci.thrift.OmniSci.broadcast_serialized_rows_args.read(), omnisci.thrift.ttypes.TStepResult.write(), and omnisci.thrift.OmniSci.broadcast_serialized_rows_args.write().


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