OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TDataFrame Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TDataFrame:
+ Collaboration diagram for omnisci.thrift.ttypes.TDataFrame:

Public Member Functions

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

Public Attributes

 sm_handle
 
 sm_size
 
 df_handle
 
 df_size
 
 execution_time_ms
 
 arrow_conversion_time_ms
 
 df_buffer
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - sm_handle
 - sm_size
 - df_handle
 - df_size
 - execution_time_ms
 - arrow_conversion_time_ms
 - df_buffer

Definition at line 1362 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDataFrame.__init__ (   self,
  sm_handle = None,
  sm_size = None,
  df_handle = None,
  df_size = None,
  execution_time_ms = None,
  arrow_conversion_time_ms = None,
  df_buffer = None 
)

Definition at line 1376 of file ttypes.py.

1377  def __init__(self, sm_handle=None, sm_size=None, df_handle=None, df_size=None, execution_time_ms=None, arrow_conversion_time_ms=None, df_buffer=None,):
1378  self.sm_handle = sm_handle
1379  self.sm_size = sm_size
1380  self.df_handle = df_handle
1381  self.df_size = df_size
1382  self.execution_time_ms = execution_time_ms
1383  self.arrow_conversion_time_ms = arrow_conversion_time_ms
1384  self.df_buffer = df_buffer

Member Function Documentation

def omnisci.thrift.ttypes.TDataFrame.__eq__ (   self,
  other 
)

Definition at line 1478 of file ttypes.py.

1479  def __eq__(self, other):
1480  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDataFrame.__ne__ (   self,
  other 
)

Definition at line 1481 of file ttypes.py.

1482  def __ne__(self, other):
1483  return not (self == other)
1484 
def omnisci.thrift.ttypes.TDataFrame.__repr__ (   self)

Definition at line 1473 of file ttypes.py.

1474  def __repr__(self):
1475  L = ['%s=%r' % (key, value)
1476  for key, value in self.__dict__.items()]
1477  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.ttypes.TDataFrame.read (   self,
  iprot 
)

Definition at line 1385 of file ttypes.py.

References omnisci.thrift.ttypes.TDataFrame.arrow_conversion_time_ms, omnisci.thrift.ttypes.TDataFrame.df_buffer, omnisci.thrift.ttypes.TDataFrame.df_handle, omnisci.thrift.ttypes.TDataFrame.df_size, omnisci.thrift.ttypes.TQueryResult.execution_time_ms, omnisci.thrift.ttypes.TDataFrame.execution_time_ms, omnisci.thrift.ttypes.TDataFrame.sm_handle, and omnisci.thrift.ttypes.TDataFrame.sm_size.

1386  def read(self, iprot):
1387  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1388  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1389  return
1390  iprot.readStructBegin()
1391  while True:
1392  (fname, ftype, fid) = iprot.readFieldBegin()
1393  if ftype == TType.STOP:
1394  break
1395  if fid == 1:
1396  if ftype == TType.STRING:
1397  self.sm_handle = iprot.readBinary()
1398  else:
1399  iprot.skip(ftype)
1400  elif fid == 2:
1401  if ftype == TType.I64:
1402  self.sm_size = iprot.readI64()
1403  else:
1404  iprot.skip(ftype)
1405  elif fid == 3:
1406  if ftype == TType.STRING:
1407  self.df_handle = iprot.readBinary()
1408  else:
1409  iprot.skip(ftype)
1410  elif fid == 4:
1411  if ftype == TType.I64:
1412  self.df_size = iprot.readI64()
1413  else:
1414  iprot.skip(ftype)
1415  elif fid == 5:
1416  if ftype == TType.I64:
1417  self.execution_time_ms = iprot.readI64()
1418  else:
1419  iprot.skip(ftype)
1420  elif fid == 6:
1421  if ftype == TType.I64:
1422  self.arrow_conversion_time_ms = iprot.readI64()
1423  else:
1424  iprot.skip(ftype)
1425  elif fid == 7:
1426  if ftype == TType.STRING:
1427  self.df_buffer = iprot.readBinary()
1428  else:
1429  iprot.skip(ftype)
1430  else:
1431  iprot.skip(ftype)
1432  iprot.readFieldEnd()
1433  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDataFrame.validate (   self)

Definition at line 1470 of file ttypes.py.

1471  def validate(self):
1472  return
def omnisci.thrift.ttypes.TDataFrame.write (   self,
  oprot 
)

Definition at line 1434 of file ttypes.py.

References omnisci.thrift.ttypes.TDataFrame.arrow_conversion_time_ms, omnisci.thrift.ttypes.TDataFrame.df_buffer, omnisci.thrift.ttypes.TDataFrame.df_handle, omnisci.thrift.ttypes.TDataFrame.df_size, omnisci.thrift.ttypes.TQueryResult.execution_time_ms, omnisci.thrift.ttypes.TDataFrame.execution_time_ms, omnisci.thrift.ttypes.TDataFrame.sm_handle, and omnisci.thrift.ttypes.TDataFrame.sm_size.

1435  def write(self, oprot):
1436  if oprot._fast_encode is not None and self.thrift_spec is not None:
1437  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
1438  return
1439  oprot.writeStructBegin('TDataFrame')
1440  if self.sm_handle is not None:
1441  oprot.writeFieldBegin('sm_handle', TType.STRING, 1)
1442  oprot.writeBinary(self.sm_handle)
1443  oprot.writeFieldEnd()
1444  if self.sm_size is not None:
1445  oprot.writeFieldBegin('sm_size', TType.I64, 2)
1446  oprot.writeI64(self.sm_size)
1447  oprot.writeFieldEnd()
1448  if self.df_handle is not None:
1449  oprot.writeFieldBegin('df_handle', TType.STRING, 3)
1450  oprot.writeBinary(self.df_handle)
1451  oprot.writeFieldEnd()
1452  if self.df_size is not None:
1453  oprot.writeFieldBegin('df_size', TType.I64, 4)
1454  oprot.writeI64(self.df_size)
1455  oprot.writeFieldEnd()
1456  if self.execution_time_ms is not None:
1457  oprot.writeFieldBegin('execution_time_ms', TType.I64, 5)
1458  oprot.writeI64(self.execution_time_ms)
1459  oprot.writeFieldEnd()
1460  if self.arrow_conversion_time_ms is not None:
1461  oprot.writeFieldBegin('arrow_conversion_time_ms', TType.I64, 6)
1462  oprot.writeI64(self.arrow_conversion_time_ms)
1463  oprot.writeFieldEnd()
1464  if self.df_buffer is not None:
1465  oprot.writeFieldBegin('df_buffer', TType.STRING, 7)
1466  oprot.writeBinary(self.df_buffer)
1467  oprot.writeFieldEnd()
1468  oprot.writeFieldStop()
1469  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDataFrame.__dict__
private

Definition at line 1479 of file ttypes.py.

omnisci.thrift.ttypes.TDataFrame.arrow_conversion_time_ms

Definition at line 1382 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().

omnisci.thrift.ttypes.TDataFrame.df_buffer

Definition at line 1383 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().

omnisci.thrift.ttypes.TDataFrame.df_handle

Definition at line 1379 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().

omnisci.thrift.ttypes.TDataFrame.df_size

Definition at line 1380 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().

omnisci.thrift.ttypes.TDataFrame.execution_time_ms

Definition at line 1381 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), omnisci.thrift.ttypes.TRenderResult.read(), omnisci.thrift.ttypes.TRenderParseResult.read(), omnisci.thrift.ttypes.TRenderStepResult.read(), omnisci.thrift.ttypes.TDataFrame.write(), omnisci.thrift.ttypes.TRenderResult.write(), omnisci.thrift.ttypes.TRenderParseResult.write(), and omnisci.thrift.ttypes.TRenderStepResult.write().

omnisci.thrift.ttypes.TDataFrame.sm_handle

Definition at line 1377 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().

omnisci.thrift.ttypes.TDataFrame.sm_size

Definition at line 1378 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDataFrame.read(), and omnisci.thrift.ttypes.TDataFrame.write().


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