OmniSciDB  a7179b2938
 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 1359 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 1373 of file ttypes.py.

1374  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,):
1375  self.sm_handle = sm_handle
1376  self.sm_size = sm_size
1377  self.df_handle = df_handle
1378  self.df_size = df_size
1379  self.execution_time_ms = execution_time_ms
1380  self.arrow_conversion_time_ms = arrow_conversion_time_ms
1381  self.df_buffer = df_buffer

Member Function Documentation

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

Definition at line 1475 of file ttypes.py.

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

Definition at line 1478 of file ttypes.py.

1479  def __ne__(self, other):
1480  return not (self == other)
1481 
def omnisci.thrift.ttypes.TDataFrame.__repr__ (   self)

Definition at line 1470 of file ttypes.py.

1471  def __repr__(self):
1472  L = ['%s=%r' % (key, value)
1473  for key, value in self.__dict__.items()]
1474  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 1382 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.

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

Definition at line 1467 of file ttypes.py.

1468  def validate(self):
1469  return
def omnisci.thrift.ttypes.TDataFrame.write (   self,
  oprot 
)

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

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

Member Data Documentation

omnisci.thrift.ttypes.TDataFrame.__dict__
private

Definition at line 1476 of file ttypes.py.

omnisci.thrift.ttypes.TDataFrame.arrow_conversion_time_ms

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_buffer

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.df_handle

Definition at line 1376 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 1377 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 1378 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 1374 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 1375 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: