OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TImportStatus Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TImportStatus:
+ Collaboration diagram for omnisci.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 2047 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 2058 of file ttypes.py.

2059  def __init__(self, elapsed=None, rows_completed=None, rows_estimated=None, rows_rejected=None,):
2060  self.elapsed = elapsed
2061  self.rows_completed = rows_completed
2062  self.rows_estimated = rows_estimated
2063  self.rows_rejected = rows_rejected

Member Function Documentation

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

Definition at line 2130 of file ttypes.py.

2131  def __eq__(self, other):
2132  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TImportStatus.__ne__ (   self,
  other 
)

Definition at line 2133 of file ttypes.py.

2134  def __ne__(self, other):
2135  return not (self == other)
2136 
def omnisci.thrift.ttypes.TImportStatus.__repr__ (   self)

Definition at line 2125 of file ttypes.py.

2126  def __repr__(self):
2127  L = ['%s=%r' % (key, value)
2128  for key, value in self.__dict__.items()]
2129  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.TImportStatus.read (   self,
  iprot 
)

Definition at line 2064 of file ttypes.py.

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

2065  def read(self, iprot):
2066  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2067  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2068  return
2069  iprot.readStructBegin()
2070  while True:
2071  (fname, ftype, fid) = iprot.readFieldBegin()
2072  if ftype == TType.STOP:
2073  break
2074  if fid == 1:
2075  if ftype == TType.I64:
2076  self.elapsed = iprot.readI64()
2077  else:
2078  iprot.skip(ftype)
2079  elif fid == 2:
2080  if ftype == TType.I64:
2081  self.rows_completed = iprot.readI64()
2082  else:
2083  iprot.skip(ftype)
2084  elif fid == 3:
2085  if ftype == TType.I64:
2086  self.rows_estimated = iprot.readI64()
2087  else:
2088  iprot.skip(ftype)
2089  elif fid == 4:
2090  if ftype == TType.I64:
2091  self.rows_rejected = iprot.readI64()
2092  else:
2093  iprot.skip(ftype)
2094  else:
2095  iprot.skip(ftype)
2096  iprot.readFieldEnd()
2097  iprot.readStructEnd()
def omnisci.thrift.ttypes.TImportStatus.validate (   self)

Definition at line 2122 of file ttypes.py.

2123  def validate(self):
2124  return
def omnisci.thrift.ttypes.TImportStatus.write (   self,
  oprot 
)

Definition at line 2098 of file ttypes.py.

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

2099  def write(self, oprot):
2100  if oprot._fast_encode is not None and self.thrift_spec is not None:
2101  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2102  return
2103  oprot.writeStructBegin('TImportStatus')
2104  if self.elapsed is not None:
2105  oprot.writeFieldBegin('elapsed', TType.I64, 1)
2106  oprot.writeI64(self.elapsed)
2107  oprot.writeFieldEnd()
2108  if self.rows_completed is not None:
2109  oprot.writeFieldBegin('rows_completed', TType.I64, 2)
2110  oprot.writeI64(self.rows_completed)
2111  oprot.writeFieldEnd()
2112  if self.rows_estimated is not None:
2113  oprot.writeFieldBegin('rows_estimated', TType.I64, 3)
2114  oprot.writeI64(self.rows_estimated)
2115  oprot.writeFieldEnd()
2116  if self.rows_rejected is not None:
2117  oprot.writeFieldBegin('rows_rejected', TType.I64, 4)
2118  oprot.writeI64(self.rows_rejected)
2119  oprot.writeFieldEnd()
2120  oprot.writeFieldStop()
2121  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TImportStatus.__dict__
private

Definition at line 2131 of file ttypes.py.

omnisci.thrift.ttypes.TImportStatus.elapsed

Definition at line 2059 of file ttypes.py.

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

omnisci.thrift.ttypes.TImportStatus.rows_completed

Definition at line 2060 of file ttypes.py.

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

omnisci.thrift.ttypes.TImportStatus.rows_estimated

Definition at line 2061 of file ttypes.py.

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

omnisci.thrift.ttypes.TImportStatus.rows_rejected

Definition at line 2062 of file ttypes.py.

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


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