OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.broadcast_serialized_rows_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.broadcast_serialized_rows_args:
+ Collaboration diagram for heavydb.thrift.Heavy.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
 
 subquery_id
 
 is_final_subquery_result
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - serialized_rows
 - row_desc
 - query_id
 - subquery_id
 - is_final_subquery_result

Definition at line 20139 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.broadcast_serialized_rows_args.__init__ (   self,
  serialized_rows = None,
  row_desc = None,
  query_id = None,
  subquery_id = None,
  is_final_subquery_result = None 
)

Definition at line 20151 of file Heavy.py.

20152  def __init__(self, serialized_rows=None, row_desc=None, query_id=None, subquery_id=None, is_final_subquery_result=None,):
20153  self.serialized_rows = serialized_rows
20154  self.row_desc = row_desc
20155  self.query_id = query_id
20156  self.subquery_id = subquery_id
20157  self.is_final_subquery_result = is_final_subquery_result

Member Function Documentation

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

Definition at line 20243 of file Heavy.py.

20244  def __eq__(self, other):
20245  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.broadcast_serialized_rows_args.__ne__ (   self,
  other 
)

Definition at line 20246 of file Heavy.py.

20247  def __ne__(self, other):
20248  return not (self == other)
20249 all_structs.append(broadcast_serialized_rows_args)
broadcast_serialized_rows_args.thrift_spec = (
def heavydb.thrift.Heavy.broadcast_serialized_rows_args.__repr__ (   self)

Definition at line 20238 of file Heavy.py.

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

Definition at line 20158 of file Heavy.py.

References heavydb.thrift.Heavy.broadcast_serialized_rows_args.is_final_subquery_result, heavydb.thrift.Heavy.broadcast_serialized_rows_args.query_id, heavydb.thrift.Heavy.create_table_args.row_desc, heavydb.thrift.Heavy.import_geo_table_args.row_desc, heavydb.thrift.Heavy.broadcast_serialized_rows_args.row_desc, heavydb.thrift.Heavy.broadcast_serialized_rows_args.serialized_rows, heavydb.thrift.Heavy.execute_query_step_args.subquery_id, and heavydb.thrift.Heavy.broadcast_serialized_rows_args.subquery_id.

20159  def read(self, iprot):
20160  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
20161  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
20162  return
20163  iprot.readStructBegin()
20164  while True:
20165  (fname, ftype, fid) = iprot.readFieldBegin()
20166  if ftype == TType.STOP:
20167  break
20168  if fid == 1:
20169  if ftype == TType.STRUCT:
20171  self.serialized_rows.read(iprot)
20172  else:
20173  iprot.skip(ftype)
20174  elif fid == 2:
20175  if ftype == TType.LIST:
20176  self.row_desc = []
20177  (_etype575, _size572) = iprot.readListBegin()
20178  for _i576 in range(_size572):
20179  _elem577 = TColumnType()
20180  _elem577.read(iprot)
20181  self.row_desc.append(_elem577)
20182  iprot.readListEnd()
20183  else:
20184  iprot.skip(ftype)
20185  elif fid == 3:
20186  if ftype == TType.I64:
20187  self.query_id = iprot.readI64()
20188  else:
20189  iprot.skip(ftype)
20190  elif fid == 4:
20191  if ftype == TType.I64:
20192  self.subquery_id = iprot.readI64()
20193  else:
20194  iprot.skip(ftype)
20195  elif fid == 5:
20196  if ftype == TType.BOOL:
20197  self.is_final_subquery_result = iprot.readBool()
20198  else:
20199  iprot.skip(ftype)
20200  else:
20201  iprot.skip(ftype)
20202  iprot.readFieldEnd()
20203  iprot.readStructEnd()
def heavydb.thrift.Heavy.broadcast_serialized_rows_args.validate (   self)

Definition at line 20235 of file Heavy.py.

20236  def validate(self):
20237  return
def heavydb.thrift.Heavy.broadcast_serialized_rows_args.write (   self,
  oprot 
)

Definition at line 20204 of file Heavy.py.

References heavydb.thrift.Heavy.broadcast_serialized_rows_args.is_final_subquery_result, heavydb.thrift.Heavy.broadcast_serialized_rows_args.query_id, heavydb.thrift.Heavy.create_table_args.row_desc, heavydb.thrift.Heavy.import_geo_table_args.row_desc, heavydb.thrift.Heavy.broadcast_serialized_rows_args.row_desc, heavydb.thrift.Heavy.broadcast_serialized_rows_args.serialized_rows, heavydb.thrift.Heavy.execute_query_step_args.subquery_id, and heavydb.thrift.Heavy.broadcast_serialized_rows_args.subquery_id.

20205  def write(self, oprot):
20206  if oprot._fast_encode is not None and self.thrift_spec is not None:
20207  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
20208  return
20209  oprot.writeStructBegin('broadcast_serialized_rows_args')
20210  if self.serialized_rows is not None:
20211  oprot.writeFieldBegin('serialized_rows', TType.STRUCT, 1)
20212  self.serialized_rows.write(oprot)
20213  oprot.writeFieldEnd()
20214  if self.row_desc is not None:
20215  oprot.writeFieldBegin('row_desc', TType.LIST, 2)
20216  oprot.writeListBegin(TType.STRUCT, len(self.row_desc))
20217  for iter578 in self.row_desc:
20218  iter578.write(oprot)
20219  oprot.writeListEnd()
20220  oprot.writeFieldEnd()
20221  if self.query_id is not None:
20222  oprot.writeFieldBegin('query_id', TType.I64, 3)
20223  oprot.writeI64(self.query_id)
20224  oprot.writeFieldEnd()
20225  if self.subquery_id is not None:
20226  oprot.writeFieldBegin('subquery_id', TType.I64, 4)
20227  oprot.writeI64(self.subquery_id)
20228  oprot.writeFieldEnd()
20229  if self.is_final_subquery_result is not None:
20230  oprot.writeFieldBegin('is_final_subquery_result', TType.BOOL, 5)
20231  oprot.writeBool(self.is_final_subquery_result)
20232  oprot.writeFieldEnd()
20233  oprot.writeFieldStop()
20234  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.broadcast_serialized_rows_args.__dict__
private

Definition at line 20244 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.broadcast_serialized_rows_args.is_final_subquery_result

Definition at line 20156 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.broadcast_serialized_rows_args.read(), and heavydb.thrift.Heavy.broadcast_serialized_rows_args.write().

heavydb.thrift.Heavy.broadcast_serialized_rows_args.query_id

Definition at line 20154 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.broadcast_serialized_rows_args.read(), and heavydb.thrift.Heavy.broadcast_serialized_rows_args.write().

heavydb.thrift.Heavy.broadcast_serialized_rows_args.row_desc

Definition at line 20153 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TStepResult.read(), heavydb.thrift.ttypes.TRowSet.read(), heavydb.thrift.ttypes.TTableDetails.read(), heavydb.thrift.Heavy.broadcast_serialized_rows_args.read(), heavydb.thrift.ttypes.TStepResult.write(), heavydb.thrift.ttypes.TRowSet.write(), heavydb.thrift.ttypes.TTableDetails.write(), and heavydb.thrift.Heavy.broadcast_serialized_rows_args.write().

heavydb.thrift.Heavy.broadcast_serialized_rows_args.serialized_rows

Definition at line 20152 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TStepResult.read(), heavydb.thrift.Heavy.broadcast_serialized_rows_args.read(), heavydb.thrift.ttypes.TStepResult.write(), and heavydb.thrift.Heavy.broadcast_serialized_rows_args.write().

heavydb.thrift.Heavy.broadcast_serialized_rows_args.subquery_id

Definition at line 20155 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.broadcast_serialized_rows_args.read(), and heavydb.thrift.Heavy.broadcast_serialized_rows_args.write().


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