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

Constructor & Destructor Documentation

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

Definition at line 3253 of file ttypes.py.

3254  def __init__(self, hardware_info=None,):
3255  self.hardware_info = hardware_info

Member Function Documentation

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

Definition at line 3304 of file ttypes.py.

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

Definition at line 3307 of file ttypes.py.

3308  def __ne__(self, other):
3309  return not (self == other)
3310 
def heavydb.thrift.ttypes.TClusterHardwareInfo.__repr__ (   self)

Definition at line 3299 of file ttypes.py.

3300  def __repr__(self):
3301  L = ['%s=%r' % (key, value)
3302  for key, value in self.__dict__.items()]
3303  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 3256 of file ttypes.py.

References heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3257  def read(self, iprot):
3258  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3259  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3260  return
3261  iprot.readStructBegin()
3262  while True:
3263  (fname, ftype, fid) = iprot.readFieldBegin()
3264  if ftype == TType.STOP:
3265  break
3266  if fid == 1:
3267  if ftype == TType.LIST:
3268  self.hardware_info = []
3269  (_etype108, _size105) = iprot.readListBegin()
3270  for _i109 in range(_size105):
3271  _elem110 = THardwareInfo()
3272  _elem110.read(iprot)
3273  self.hardware_info.append(_elem110)
3274  iprot.readListEnd()
3275  else:
3276  iprot.skip(ftype)
3277  else:
3278  iprot.skip(ftype)
3279  iprot.readFieldEnd()
3280  iprot.readStructEnd()
def heavydb.thrift.ttypes.TClusterHardwareInfo.validate (   self)

Definition at line 3296 of file ttypes.py.

3297  def validate(self):
3298  return
def heavydb.thrift.ttypes.TClusterHardwareInfo.write (   self,
  oprot 
)

Definition at line 3281 of file ttypes.py.

References heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3282  def write(self, oprot):
3283  if oprot._fast_encode is not None and self.thrift_spec is not None:
3284  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3285  return
3286  oprot.writeStructBegin('TClusterHardwareInfo')
3287  if self.hardware_info is not None:
3288  oprot.writeFieldBegin('hardware_info', TType.LIST, 1)
3289  oprot.writeListBegin(TType.STRUCT, len(self.hardware_info))
3290  for iter111 in self.hardware_info:
3291  iter111.write(oprot)
3292  oprot.writeListEnd()
3293  oprot.writeFieldEnd()
3294  oprot.writeFieldStop()
3295  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TClusterHardwareInfo.__dict__
private

Definition at line 3305 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TClusterHardwareInfo.hardware_info

Definition at line 3254 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: