OmniSciDB  72c90bc290
 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 6691 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 6699 of file ttypes.py.

6700  def __init__(self, claims=None,):
6701  self.claims = claims

Member Function Documentation

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

Definition at line 6749 of file ttypes.py.

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

Definition at line 6752 of file ttypes.py.

6753  def __ne__(self, other):
6754  return not (self == other)
6755 
def heavydb.thrift.ttypes.TLicenseInfo.__repr__ (   self)

Definition at line 6744 of file ttypes.py.

6745  def __repr__(self):
6746  L = ['%s=%r' % (key, value)
6747  for key, value in self.__dict__.items()]
6748  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 6702 of file ttypes.py.

References heavydb.thrift.ttypes.TLicenseInfo.claims.

6703  def read(self, iprot):
6704  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6705  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6706  return
6707  iprot.readStructBegin()
6708  while True:
6709  (fname, ftype, fid) = iprot.readFieldBegin()
6710  if ftype == TType.STOP:
6711  break
6712  if fid == 1:
6713  if ftype == TType.LIST:
6714  self.claims = []
6715  (_etype279, _size276) = iprot.readListBegin()
6716  for _i280 in range(_size276):
6717  _elem281 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6718  self.claims.append(_elem281)
6719  iprot.readListEnd()
6720  else:
6721  iprot.skip(ftype)
6722  else:
6723  iprot.skip(ftype)
6724  iprot.readFieldEnd()
6725  iprot.readStructEnd()
def heavydb.thrift.ttypes.TLicenseInfo.validate (   self)

Definition at line 6741 of file ttypes.py.

6742  def validate(self):
6743  return
def heavydb.thrift.ttypes.TLicenseInfo.write (   self,
  oprot 
)

Definition at line 6726 of file ttypes.py.

References heavydb.thrift.ttypes.TLicenseInfo.claims.

6727  def write(self, oprot):
6728  if oprot._fast_encode is not None and self.thrift_spec is not None:
6729  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6730  return
6731  oprot.writeStructBegin('TLicenseInfo')
6732  if self.claims is not None:
6733  oprot.writeFieldBegin('claims', TType.LIST, 1)
6734  oprot.writeListBegin(TType.STRING, len(self.claims))
6735  for iter282 in self.claims:
6736  oprot.writeString(iter282.encode('utf-8') if sys.version_info[0] == 2 else iter282)
6737  oprot.writeListEnd()
6738  oprot.writeFieldEnd()
6739  oprot.writeFieldStop()
6740  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TLicenseInfo.__dict__
private

Definition at line 6750 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TLicenseInfo.claims

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