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

Public Member Functions

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

Public Attributes

 claims
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - claims

Definition at line 6504 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TLicenseInfo.__init__ (   self,
  claims = None 
)

Definition at line 6512 of file ttypes.py.

6513  def __init__(self, claims=None,):
6514  self.claims = claims

Member Function Documentation

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

Definition at line 6562 of file ttypes.py.

6563  def __eq__(self, other):
6564  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TLicenseInfo.__ne__ (   self,
  other 
)

Definition at line 6565 of file ttypes.py.

6566  def __ne__(self, other):
6567  return not (self == other)
6568 
def heavydb.thrift.ttypes.TLicenseInfo.__repr__ (   self)

Definition at line 6557 of file ttypes.py.

6558  def __repr__(self):
6559  L = ['%s=%r' % (key, value)
6560  for key, value in self.__dict__.items()]
6561  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.TLicenseInfo.read (   self,
  iprot 
)

Definition at line 6515 of file ttypes.py.

References heavydb.thrift.ttypes.TLicenseInfo.claims.

6516  def read(self, iprot):
6517  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6518  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6519  return
6520  iprot.readStructBegin()
6521  while True:
6522  (fname, ftype, fid) = iprot.readFieldBegin()
6523  if ftype == TType.STOP:
6524  break
6525  if fid == 1:
6526  if ftype == TType.LIST:
6527  self.claims = []
6528  (_etype272, _size269) = iprot.readListBegin()
6529  for _i273 in range(_size269):
6530  _elem274 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6531  self.claims.append(_elem274)
6532  iprot.readListEnd()
6533  else:
6534  iprot.skip(ftype)
6535  else:
6536  iprot.skip(ftype)
6537  iprot.readFieldEnd()
6538  iprot.readStructEnd()
def heavydb.thrift.ttypes.TLicenseInfo.validate (   self)

Definition at line 6554 of file ttypes.py.

6555  def validate(self):
6556  return
def heavydb.thrift.ttypes.TLicenseInfo.write (   self,
  oprot 
)

Definition at line 6539 of file ttypes.py.

References heavydb.thrift.ttypes.TLicenseInfo.claims.

6540  def write(self, oprot):
6541  if oprot._fast_encode is not None and self.thrift_spec is not None:
6542  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6543  return
6544  oprot.writeStructBegin('TLicenseInfo')
6545  if self.claims is not None:
6546  oprot.writeFieldBegin('claims', TType.LIST, 1)
6547  oprot.writeListBegin(TType.STRING, len(self.claims))
6548  for iter275 in self.claims:
6549  oprot.writeString(iter275.encode('utf-8') if sys.version_info[0] == 2 else iter275)
6550  oprot.writeListEnd()
6551  oprot.writeFieldEnd()
6552  oprot.writeFieldStop()
6553  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TLicenseInfo.__dict__
private

Definition at line 6563 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TLicenseInfo.claims

Definition at line 6513 of file ttypes.py.

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


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