OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TImportStatus Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TImportStatus:
+ Collaboration diagram for heavydb.thrift.ttypes.TImportStatus:

Public Member Functions

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

Public Attributes

 elapsed
 
 rows_completed
 
 rows_estimated
 
 rows_rejected
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - elapsed
 - rows_completed
 - rows_estimated
 - rows_rejected

Definition at line 2410 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TImportStatus.__init__ (   self,
  elapsed = None,
  rows_completed = None,
  rows_estimated = None,
  rows_rejected = None 
)

Definition at line 2421 of file ttypes.py.

2422  def __init__(self, elapsed=None, rows_completed=None, rows_estimated=None, rows_rejected=None,):
2423  self.elapsed = elapsed
2424  self.rows_completed = rows_completed
2425  self.rows_estimated = rows_estimated
2426  self.rows_rejected = rows_rejected

Member Function Documentation

def heavydb.thrift.ttypes.TImportStatus.__eq__ (   self,
  other 
)

Definition at line 2493 of file ttypes.py.

2494  def __eq__(self, other):
2495  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TImportStatus.__ne__ (   self,
  other 
)

Definition at line 2496 of file ttypes.py.

2497  def __ne__(self, other):
2498  return not (self == other)
2499 
def heavydb.thrift.ttypes.TImportStatus.__repr__ (   self)

Definition at line 2488 of file ttypes.py.

2489  def __repr__(self):
2490  L = ['%s=%r' % (key, value)
2491  for key, value in self.__dict__.items()]
2492  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.ttypes.TImportStatus.read (   self,
  iprot 
)

Definition at line 2427 of file ttypes.py.

References import_export::ImportStatus.elapsed, heavydb.thrift.ttypes.TImportStatus.elapsed, import_export::ImportStatus.rows_completed, heavydb.thrift.ttypes.TImportStatus.rows_completed, import_export::ImportStatus.rows_estimated, heavydb.thrift.ttypes.TImportStatus.rows_estimated, import_export::ImportStatus.rows_rejected, and heavydb.thrift.ttypes.TImportStatus.rows_rejected.

2428  def read(self, iprot):
2429  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2430  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2431  return
2432  iprot.readStructBegin()
2433  while True:
2434  (fname, ftype, fid) = iprot.readFieldBegin()
2435  if ftype == TType.STOP:
2436  break
2437  if fid == 1:
2438  if ftype == TType.I64:
2439  self.elapsed = iprot.readI64()
2440  else:
2441  iprot.skip(ftype)
2442  elif fid == 2:
2443  if ftype == TType.I64:
2444  self.rows_completed = iprot.readI64()
2445  else:
2446  iprot.skip(ftype)
2447  elif fid == 3:
2448  if ftype == TType.I64:
2449  self.rows_estimated = iprot.readI64()
2450  else:
2451  iprot.skip(ftype)
2452  elif fid == 4:
2453  if ftype == TType.I64:
2454  self.rows_rejected = iprot.readI64()
2455  else:
2456  iprot.skip(ftype)
2457  else:
2458  iprot.skip(ftype)
2459  iprot.readFieldEnd()
2460  iprot.readStructEnd()
def heavydb.thrift.ttypes.TImportStatus.validate (   self)

Definition at line 2485 of file ttypes.py.

2486  def validate(self):
2487  return
def heavydb.thrift.ttypes.TImportStatus.write (   self,
  oprot 
)

Definition at line 2461 of file ttypes.py.

References import_export::ImportStatus.elapsed, heavydb.thrift.ttypes.TImportStatus.elapsed, import_export::ImportStatus.rows_completed, heavydb.thrift.ttypes.TImportStatus.rows_completed, import_export::ImportStatus.rows_estimated, heavydb.thrift.ttypes.TImportStatus.rows_estimated, import_export::ImportStatus.rows_rejected, and heavydb.thrift.ttypes.TImportStatus.rows_rejected.

2462  def write(self, oprot):
2463  if oprot._fast_encode is not None and self.thrift_spec is not None:
2464  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2465  return
2466  oprot.writeStructBegin('TImportStatus')
2467  if self.elapsed is not None:
2468  oprot.writeFieldBegin('elapsed', TType.I64, 1)
2469  oprot.writeI64(self.elapsed)
2470  oprot.writeFieldEnd()
2471  if self.rows_completed is not None:
2472  oprot.writeFieldBegin('rows_completed', TType.I64, 2)
2473  oprot.writeI64(self.rows_completed)
2474  oprot.writeFieldEnd()
2475  if self.rows_estimated is not None:
2476  oprot.writeFieldBegin('rows_estimated', TType.I64, 3)
2477  oprot.writeI64(self.rows_estimated)
2478  oprot.writeFieldEnd()
2479  if self.rows_rejected is not None:
2480  oprot.writeFieldBegin('rows_rejected', TType.I64, 4)
2481  oprot.writeI64(self.rows_rejected)
2482  oprot.writeFieldEnd()
2483  oprot.writeFieldStop()
2484  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TImportStatus.__dict__
private

Definition at line 2494 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TImportStatus.elapsed

Definition at line 2422 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TImportStatus.read(), and heavydb.thrift.ttypes.TImportStatus.write().

heavydb.thrift.ttypes.TImportStatus.rows_completed

Definition at line 2423 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TImportStatus.read(), and heavydb.thrift.ttypes.TImportStatus.write().

heavydb.thrift.ttypes.TImportStatus.rows_estimated

Definition at line 2424 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TImportStatus.read(), and heavydb.thrift.ttypes.TImportStatus.write().

heavydb.thrift.ttypes.TImportStatus.rows_rejected

Definition at line 2425 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TImportStatus.read(), and heavydb.thrift.ttypes.TImportStatus.write().


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