OmniSciDB  a5dc49c757
 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 3780 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 3794 of file ttypes.py.

3795  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,):
3796  self.update_type = update_type
3797  self.timing_type = timing_type
3798  self.start_date_time = start_date_time
3799  self.interval_type = interval_type
3800  self.interval_count = interval_count
3801  self.last_refresh_time = last_refresh_time
3802  self.next_refresh_time = next_refresh_time

Member Function Documentation

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

Definition at line 3896 of file ttypes.py.

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

Definition at line 3899 of file ttypes.py.

3900  def __ne__(self, other):
3901  return not (self == other)
3902 
def heavydb.thrift.ttypes.TTableRefreshInfo.__repr__ (   self)

Definition at line 3891 of file ttypes.py.

3892  def __repr__(self):
3893  L = ['%s=%r' % (key, value)
3894  for key, value in self.__dict__.items()]
3895  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 3803 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.

3804  def read(self, iprot):
3805  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3806  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3807  return
3808  iprot.readStructBegin()
3809  while True:
3810  (fname, ftype, fid) = iprot.readFieldBegin()
3811  if ftype == TType.STOP:
3812  break
3813  if fid == 1:
3814  if ftype == TType.I32:
3815  self.update_type = iprot.readI32()
3816  else:
3817  iprot.skip(ftype)
3818  elif fid == 2:
3819  if ftype == TType.I32:
3820  self.timing_type = iprot.readI32()
3821  else:
3822  iprot.skip(ftype)
3823  elif fid == 3:
3824  if ftype == TType.STRING:
3825  self.start_date_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3826  else:
3827  iprot.skip(ftype)
3828  elif fid == 4:
3829  if ftype == TType.I32:
3830  self.interval_type = iprot.readI32()
3831  else:
3832  iprot.skip(ftype)
3833  elif fid == 5:
3834  if ftype == TType.I64:
3835  self.interval_count = iprot.readI64()
3836  else:
3837  iprot.skip(ftype)
3838  elif fid == 6:
3839  if ftype == TType.STRING:
3840  self.last_refresh_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3841  else:
3842  iprot.skip(ftype)
3843  elif fid == 7:
3844  if ftype == TType.STRING:
3845  self.next_refresh_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3846  else:
3847  iprot.skip(ftype)
3848  else:
3849  iprot.skip(ftype)
3850  iprot.readFieldEnd()
3851  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableRefreshInfo.validate (   self)

Definition at line 3888 of file ttypes.py.

3889  def validate(self):
3890  return
def heavydb.thrift.ttypes.TTableRefreshInfo.write (   self,
  oprot 
)

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

3853  def write(self, oprot):
3854  if oprot._fast_encode is not None and self.thrift_spec is not None:
3855  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3856  return
3857  oprot.writeStructBegin('TTableRefreshInfo')
3858  if self.update_type is not None:
3859  oprot.writeFieldBegin('update_type', TType.I32, 1)
3860  oprot.writeI32(self.update_type)
3861  oprot.writeFieldEnd()
3862  if self.timing_type is not None:
3863  oprot.writeFieldBegin('timing_type', TType.I32, 2)
3864  oprot.writeI32(self.timing_type)
3865  oprot.writeFieldEnd()
3866  if self.start_date_time is not None:
3867  oprot.writeFieldBegin('start_date_time', TType.STRING, 3)
3868  oprot.writeString(self.start_date_time.encode('utf-8') if sys.version_info[0] == 2 else self.start_date_time)
3869  oprot.writeFieldEnd()
3870  if self.interval_type is not None:
3871  oprot.writeFieldBegin('interval_type', TType.I32, 4)
3872  oprot.writeI32(self.interval_type)
3873  oprot.writeFieldEnd()
3874  if self.interval_count is not None:
3875  oprot.writeFieldBegin('interval_count', TType.I64, 5)
3876  oprot.writeI64(self.interval_count)
3877  oprot.writeFieldEnd()
3878  if self.last_refresh_time is not None:
3879  oprot.writeFieldBegin('last_refresh_time', TType.STRING, 6)
3880  oprot.writeString(self.last_refresh_time.encode('utf-8') if sys.version_info[0] == 2 else self.last_refresh_time)
3881  oprot.writeFieldEnd()
3882  if self.next_refresh_time is not None:
3883  oprot.writeFieldBegin('next_refresh_time', TType.STRING, 7)
3884  oprot.writeString(self.next_refresh_time.encode('utf-8') if sys.version_info[0] == 2 else self.next_refresh_time)
3885  oprot.writeFieldEnd()
3886  oprot.writeFieldStop()
3887  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableRefreshInfo.__dict__
private

Definition at line 3897 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TTableRefreshInfo.interval_count

Definition at line 3799 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 3798 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 3800 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 3801 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 3797 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 3796 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 3795 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: