OmniSciDB  cde582ebc3
 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 2377 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 2388 of file ttypes.py.

2389  def __init__(self, elapsed=None, rows_completed=None, rows_estimated=None, rows_rejected=None,):
2390  self.elapsed = elapsed
2391  self.rows_completed = rows_completed
2392  self.rows_estimated = rows_estimated
2393  self.rows_rejected = rows_rejected

Member Function Documentation

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

Definition at line 2460 of file ttypes.py.

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

Definition at line 2463 of file ttypes.py.

2464  def __ne__(self, other):
2465  return not (self == other)
2466 
def heavydb.thrift.ttypes.TImportStatus.__repr__ (   self)

Definition at line 2455 of file ttypes.py.

2456  def __repr__(self):
2457  L = ['%s=%r' % (key, value)
2458  for key, value in self.__dict__.items()]
2459  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 2394 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.

2395  def read(self, iprot):
2396  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2397  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2398  return
2399  iprot.readStructBegin()
2400  while True:
2401  (fname, ftype, fid) = iprot.readFieldBegin()
2402  if ftype == TType.STOP:
2403  break
2404  if fid == 1:
2405  if ftype == TType.I64:
2406  self.elapsed = iprot.readI64()
2407  else:
2408  iprot.skip(ftype)
2409  elif fid == 2:
2410  if ftype == TType.I64:
2411  self.rows_completed = iprot.readI64()
2412  else:
2413  iprot.skip(ftype)
2414  elif fid == 3:
2415  if ftype == TType.I64:
2416  self.rows_estimated = iprot.readI64()
2417  else:
2418  iprot.skip(ftype)
2419  elif fid == 4:
2420  if ftype == TType.I64:
2421  self.rows_rejected = iprot.readI64()
2422  else:
2423  iprot.skip(ftype)
2424  else:
2425  iprot.skip(ftype)
2426  iprot.readFieldEnd()
2427  iprot.readStructEnd()
def heavydb.thrift.ttypes.TImportStatus.validate (   self)

Definition at line 2452 of file ttypes.py.

2453  def validate(self):
2454  return
def heavydb.thrift.ttypes.TImportStatus.write (   self,
  oprot 
)

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

2429  def write(self, oprot):
2430  if oprot._fast_encode is not None and self.thrift_spec is not None:
2431  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2432  return
2433  oprot.writeStructBegin('TImportStatus')
2434  if self.elapsed is not None:
2435  oprot.writeFieldBegin('elapsed', TType.I64, 1)
2436  oprot.writeI64(self.elapsed)
2437  oprot.writeFieldEnd()
2438  if self.rows_completed is not None:
2439  oprot.writeFieldBegin('rows_completed', TType.I64, 2)
2440  oprot.writeI64(self.rows_completed)
2441  oprot.writeFieldEnd()
2442  if self.rows_estimated is not None:
2443  oprot.writeFieldBegin('rows_estimated', TType.I64, 3)
2444  oprot.writeI64(self.rows_estimated)
2445  oprot.writeFieldEnd()
2446  if self.rows_rejected is not None:
2447  oprot.writeFieldBegin('rows_rejected', TType.I64, 4)
2448  oprot.writeI64(self.rows_rejected)
2449  oprot.writeFieldEnd()
2450  oprot.writeFieldStop()
2451  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TImportStatus.__dict__
private

Definition at line 2461 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TImportStatus.elapsed

Definition at line 2389 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 2390 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 2391 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 2392 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: