OmniSciDB  340b00dbf6
 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 3038 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 3046 of file ttypes.py.

3047  def __init__(self, hardware_info=None,):
3048  self.hardware_info = hardware_info

Member Function Documentation

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

Definition at line 3097 of file ttypes.py.

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

Definition at line 3100 of file ttypes.py.

3101  def __ne__(self, other):
3102  return not (self == other)
3103 
def omnisci.thrift.ttypes.TClusterHardwareInfo.__repr__ (   self)

Definition at line 3092 of file ttypes.py.

3093  def __repr__(self):
3094  L = ['%s=%r' % (key, value)
3095  for key, value in self.__dict__.items()]
3096  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 3049 of file ttypes.py.

References omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3050  def read(self, iprot):
3051  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3052  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3053  return
3054  iprot.readStructBegin()
3055  while True:
3056  (fname, ftype, fid) = iprot.readFieldBegin()
3057  if ftype == TType.STOP:
3058  break
3059  if fid == 1:
3060  if ftype == TType.LIST:
3061  self.hardware_info = []
3062  (_etype108, _size105) = iprot.readListBegin()
3063  for _i109 in range(_size105):
3064  _elem110 = THardwareInfo()
3065  _elem110.read(iprot)
3066  self.hardware_info.append(_elem110)
3067  iprot.readListEnd()
3068  else:
3069  iprot.skip(ftype)
3070  else:
3071  iprot.skip(ftype)
3072  iprot.readFieldEnd()
3073  iprot.readStructEnd()
def omnisci.thrift.ttypes.TClusterHardwareInfo.validate (   self)

Definition at line 3089 of file ttypes.py.

3090  def validate(self):
3091  return
def omnisci.thrift.ttypes.TClusterHardwareInfo.write (   self,
  oprot 
)

Definition at line 3074 of file ttypes.py.

References omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info.

3075  def write(self, oprot):
3076  if oprot._fast_encode is not None and self.thrift_spec is not None:
3077  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3078  return
3079  oprot.writeStructBegin('TClusterHardwareInfo')
3080  if self.hardware_info is not None:
3081  oprot.writeFieldBegin('hardware_info', TType.LIST, 1)
3082  oprot.writeListBegin(TType.STRUCT, len(self.hardware_info))
3083  for iter111 in self.hardware_info:
3084  iter111.write(oprot)
3085  oprot.writeListEnd()
3086  oprot.writeFieldEnd()
3087  oprot.writeFieldStop()
3088  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TClusterHardwareInfo.__dict__
private

Definition at line 3098 of file ttypes.py.

omnisci.thrift.ttypes.TClusterHardwareInfo.hardware_info

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