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

Constructor & Destructor Documentation

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

Definition at line 2926 of file ttypes.py.

2927  def __init__(self, hardware_info=None,):
2928  self.hardware_info = hardware_info

Member Function Documentation

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

Definition at line 2977 of file ttypes.py.

2978  def __eq__(self, other):
2979  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TClusterHardwareInfo.__ne__ (   self,
  other 
)

Definition at line 2980 of file ttypes.py.

2981  def __ne__(self, other):
2982  return not (self == other)
2983 
def omnisci.thrift.ttypes.TClusterHardwareInfo.__repr__ (   self)

Definition at line 2972 of file ttypes.py.

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

Definition at line 2929 of file ttypes.py.

References omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info.

2930  def read(self, iprot):
2931  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2932  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2933  return
2934  iprot.readStructBegin()
2935  while True:
2936  (fname, ftype, fid) = iprot.readFieldBegin()
2937  if ftype == TType.STOP:
2938  break
2939  if fid == 1:
2940  if ftype == TType.LIST:
2941  self.hardware_info = []
2942  (_etype108, _size105) = iprot.readListBegin()
2943  for _i109 in range(_size105):
2944  _elem110 = THardwareInfo()
2945  _elem110.read(iprot)
2946  self.hardware_info.append(_elem110)
2947  iprot.readListEnd()
2948  else:
2949  iprot.skip(ftype)
2950  else:
2951  iprot.skip(ftype)
2952  iprot.readFieldEnd()
2953  iprot.readStructEnd()
def omnisci.thrift.ttypes.TClusterHardwareInfo.validate (   self)

Definition at line 2969 of file ttypes.py.

2970  def validate(self):
2971  return
def omnisci.thrift.ttypes.TClusterHardwareInfo.write (   self,
  oprot 
)

Definition at line 2954 of file ttypes.py.

References omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info.

2955  def write(self, oprot):
2956  if oprot._fast_encode is not None and self.thrift_spec is not None:
2957  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2958  return
2959  oprot.writeStructBegin('TClusterHardwareInfo')
2960  if self.hardware_info is not None:
2961  oprot.writeFieldBegin('hardware_info', TType.LIST, 1)
2962  oprot.writeListBegin(TType.STRUCT, len(self.hardware_info))
2963  for iter111 in self.hardware_info:
2964  iter111.write(oprot)
2965  oprot.writeListEnd()
2966  oprot.writeFieldEnd()
2967  oprot.writeFieldStop()
2968  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TClusterHardwareInfo.__dict__
private

Definition at line 2978 of file ttypes.py.

omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info

Definition at line 2927 of file ttypes.py.

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


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