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

Public Member Functions

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

Public Attributes

 update_type
 
 timing_type
 
 start_date_time
 
 interval_type
 
 interval_count
 
 last_refresh_time
 
 next_refresh_time
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - update_type
 - timing_type
 - start_date_time
 - interval_type
 - interval_count
 - last_refresh_time
 - next_refresh_time

Definition at line 3736 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TTableRefreshInfo.__init__ (   self,
  update_type = None,
  timing_type = None,
  start_date_time = None,
  interval_type = None,
  interval_count = None,
  last_refresh_time = None,
  next_refresh_time = None 
)

Definition at line 3750 of file ttypes.py.

3751  def __init__(self, update_type=None, timing_type=None, start_date_time=None, interval_type=None, interval_count=None, last_refresh_time=None, next_refresh_time=None,):
3752  self.update_type = update_type
3753  self.timing_type = timing_type
3754  self.start_date_time = start_date_time
3755  self.interval_type = interval_type
3756  self.interval_count = interval_count
3757  self.last_refresh_time = last_refresh_time
3758  self.next_refresh_time = next_refresh_time

Member Function Documentation

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

Definition at line 3852 of file ttypes.py.

3853  def __eq__(self, other):
3854  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TTableRefreshInfo.__ne__ (   self,
  other 
)

Definition at line 3855 of file ttypes.py.

3856  def __ne__(self, other):
3857  return not (self == other)
3858 
def heavydb.thrift.ttypes.TTableRefreshInfo.__repr__ (   self)

Definition at line 3847 of file ttypes.py.

3848  def __repr__(self):
3849  L = ['%s=%r' % (key, value)
3850  for key, value in self.__dict__.items()]
3851  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.TTableRefreshInfo.read (   self,
  iprot 
)

Definition at line 3759 of file ttypes.py.

References heavydb.thrift.ttypes.TTableRefreshInfo.interval_count, heavydb.thrift.ttypes.TTableRefreshInfo.interval_type, foreign_storage::ForeignTable.last_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.last_refresh_time, foreign_storage::ForeignTable.next_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.next_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.start_date_time, heavydb.thrift.ttypes.TTableRefreshInfo.timing_type, and heavydb.thrift.ttypes.TTableRefreshInfo.update_type.

3760  def read(self, iprot):
3761  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3762  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3763  return
3764  iprot.readStructBegin()
3765  while True:
3766  (fname, ftype, fid) = iprot.readFieldBegin()
3767  if ftype == TType.STOP:
3768  break
3769  if fid == 1:
3770  if ftype == TType.I32:
3771  self.update_type = iprot.readI32()
3772  else:
3773  iprot.skip(ftype)
3774  elif fid == 2:
3775  if ftype == TType.I32:
3776  self.timing_type = iprot.readI32()
3777  else:
3778  iprot.skip(ftype)
3779  elif fid == 3:
3780  if ftype == TType.STRING:
3781  self.start_date_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3782  else:
3783  iprot.skip(ftype)
3784  elif fid == 4:
3785  if ftype == TType.I32:
3786  self.interval_type = iprot.readI32()
3787  else:
3788  iprot.skip(ftype)
3789  elif fid == 5:
3790  if ftype == TType.I64:
3791  self.interval_count = iprot.readI64()
3792  else:
3793  iprot.skip(ftype)
3794  elif fid == 6:
3795  if ftype == TType.STRING:
3796  self.last_refresh_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3797  else:
3798  iprot.skip(ftype)
3799  elif fid == 7:
3800  if ftype == TType.STRING:
3801  self.next_refresh_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3802  else:
3803  iprot.skip(ftype)
3804  else:
3805  iprot.skip(ftype)
3806  iprot.readFieldEnd()
3807  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableRefreshInfo.validate (   self)

Definition at line 3844 of file ttypes.py.

3845  def validate(self):
3846  return
def heavydb.thrift.ttypes.TTableRefreshInfo.write (   self,
  oprot 
)

Definition at line 3808 of file ttypes.py.

References heavydb.thrift.ttypes.TTableRefreshInfo.interval_count, heavydb.thrift.ttypes.TTableRefreshInfo.interval_type, foreign_storage::ForeignTable.last_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.last_refresh_time, foreign_storage::ForeignTable.next_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.next_refresh_time, heavydb.thrift.ttypes.TTableRefreshInfo.start_date_time, heavydb.thrift.ttypes.TTableRefreshInfo.timing_type, and heavydb.thrift.ttypes.TTableRefreshInfo.update_type.

3809  def write(self, oprot):
3810  if oprot._fast_encode is not None and self.thrift_spec is not None:
3811  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3812  return
3813  oprot.writeStructBegin('TTableRefreshInfo')
3814  if self.update_type is not None:
3815  oprot.writeFieldBegin('update_type', TType.I32, 1)
3816  oprot.writeI32(self.update_type)
3817  oprot.writeFieldEnd()
3818  if self.timing_type is not None:
3819  oprot.writeFieldBegin('timing_type', TType.I32, 2)
3820  oprot.writeI32(self.timing_type)
3821  oprot.writeFieldEnd()
3822  if self.start_date_time is not None:
3823  oprot.writeFieldBegin('start_date_time', TType.STRING, 3)
3824  oprot.writeString(self.start_date_time.encode('utf-8') if sys.version_info[0] == 2 else self.start_date_time)
3825  oprot.writeFieldEnd()
3826  if self.interval_type is not None:
3827  oprot.writeFieldBegin('interval_type', TType.I32, 4)
3828  oprot.writeI32(self.interval_type)
3829  oprot.writeFieldEnd()
3830  if self.interval_count is not None:
3831  oprot.writeFieldBegin('interval_count', TType.I64, 5)
3832  oprot.writeI64(self.interval_count)
3833  oprot.writeFieldEnd()
3834  if self.last_refresh_time is not None:
3835  oprot.writeFieldBegin('last_refresh_time', TType.STRING, 6)
3836  oprot.writeString(self.last_refresh_time.encode('utf-8') if sys.version_info[0] == 2 else self.last_refresh_time)
3837  oprot.writeFieldEnd()
3838  if self.next_refresh_time is not None:
3839  oprot.writeFieldBegin('next_refresh_time', TType.STRING, 7)
3840  oprot.writeString(self.next_refresh_time.encode('utf-8') if sys.version_info[0] == 2 else self.next_refresh_time)
3841  oprot.writeFieldEnd()
3842  oprot.writeFieldStop()
3843  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableRefreshInfo.__dict__
private

Definition at line 3853 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TTableRefreshInfo.interval_count

Definition at line 3755 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.interval_type

Definition at line 3754 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.last_refresh_time

Definition at line 3756 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.next_refresh_time

Definition at line 3757 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.start_date_time

Definition at line 3753 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.timing_type

Definition at line 3752 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableRefreshInfo.update_type

Definition at line 3751 of file ttypes.py.

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


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