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

Public Member Functions

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

Public Attributes

 hardware_info
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - hardware_info

Definition at line 3289 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TClusterHardwareInfo.__init__ (   self,
  hardware_info = None 
)

Definition at line 3297 of file ttypes.py.

3298  def __init__(self, hardware_info=None,):
3299  self.hardware_info = hardware_info

Member Function Documentation

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

Definition at line 3348 of file ttypes.py.

3349  def __eq__(self, other):
3350  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TClusterHardwareInfo.__ne__ (   self,
  other 
)

Definition at line 3351 of file ttypes.py.

3352  def __ne__(self, other):
3353  return not (self == other)
3354 
def heavydb.thrift.ttypes.TClusterHardwareInfo.__repr__ (   self)

Definition at line 3343 of file ttypes.py.

3344  def __repr__(self):
3345  L = ['%s=%r' % (key, value)
3346  for key, value in self.__dict__.items()]
3347  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.TClusterHardwareInfo.read (   self,
  iprot 
)

Definition at line 3300 of file ttypes.py.

References heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3301  def read(self, iprot):
3302  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3303  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3304  return
3305  iprot.readStructBegin()
3306  while True:
3307  (fname, ftype, fid) = iprot.readFieldBegin()
3308  if ftype == TType.STOP:
3309  break
3310  if fid == 1:
3311  if ftype == TType.LIST:
3312  self.hardware_info = []
3313  (_etype108, _size105) = iprot.readListBegin()
3314  for _i109 in range(_size105):
3315  _elem110 = THardwareInfo()
3316  _elem110.read(iprot)
3317  self.hardware_info.append(_elem110)
3318  iprot.readListEnd()
3319  else:
3320  iprot.skip(ftype)
3321  else:
3322  iprot.skip(ftype)
3323  iprot.readFieldEnd()
3324  iprot.readStructEnd()
def heavydb.thrift.ttypes.TClusterHardwareInfo.validate (   self)

Definition at line 3340 of file ttypes.py.

3341  def validate(self):
3342  return
def heavydb.thrift.ttypes.TClusterHardwareInfo.write (   self,
  oprot 
)

Definition at line 3325 of file ttypes.py.

References heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3326  def write(self, oprot):
3327  if oprot._fast_encode is not None and self.thrift_spec is not None:
3328  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3329  return
3330  oprot.writeStructBegin('TClusterHardwareInfo')
3331  if self.hardware_info is not None:
3332  oprot.writeFieldBegin('hardware_info', TType.LIST, 1)
3333  oprot.writeListBegin(TType.STRUCT, len(self.hardware_info))
3334  for iter111 in self.hardware_info:
3335  iter111.write(oprot)
3336  oprot.writeListEnd()
3337  oprot.writeFieldEnd()
3338  oprot.writeFieldStop()
3339  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TClusterHardwareInfo.__dict__
private

Definition at line 3349 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info

Definition at line 3298 of file ttypes.py.

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


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