OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TDictionaryGeneration Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TDictionaryGeneration:
+ Collaboration diagram for omnisci.thrift.ttypes.TDictionaryGeneration:

Public Member Functions

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

Public Attributes

 dict_id
 
 entry_count
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - dict_id
 - entry_count

Definition at line 3708 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDictionaryGeneration.__init__ (   self,
  dict_id = None,
  entry_count = None 
)

Definition at line 3717 of file ttypes.py.

3718  def __init__(self, dict_id=None, entry_count=None,):
3719  self.dict_id = dict_id
3720  self.entry_count = entry_count

Member Function Documentation

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

Definition at line 3769 of file ttypes.py.

3770  def __eq__(self, other):
3771  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDictionaryGeneration.__ne__ (   self,
  other 
)

Definition at line 3772 of file ttypes.py.

3773  def __ne__(self, other):
3774  return not (self == other)
3775 
def omnisci.thrift.ttypes.TDictionaryGeneration.__repr__ (   self)

Definition at line 3764 of file ttypes.py.

3765  def __repr__(self):
3766  L = ['%s=%r' % (key, value)
3767  for key, value in self.__dict__.items()]
3768  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.TDictionaryGeneration.read (   self,
  iprot 
)

Definition at line 3721 of file ttypes.py.

References omnisci.thrift.ttypes.TDictionaryGeneration.dict_id, omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.entry_count, and omnisci.thrift.ttypes.TDictionaryGeneration.entry_count.

3722  def read(self, iprot):
3723  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3724  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3725  return
3726  iprot.readStructBegin()
3727  while True:
3728  (fname, ftype, fid) = iprot.readFieldBegin()
3729  if ftype == TType.STOP:
3730  break
3731  if fid == 1:
3732  if ftype == TType.I32:
3733  self.dict_id = iprot.readI32()
3734  else:
3735  iprot.skip(ftype)
3736  elif fid == 2:
3737  if ftype == TType.I64:
3738  self.entry_count = iprot.readI64()
3739  else:
3740  iprot.skip(ftype)
3741  else:
3742  iprot.skip(ftype)
3743  iprot.readFieldEnd()
3744  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDictionaryGeneration.validate (   self)

Definition at line 3761 of file ttypes.py.

3762  def validate(self):
3763  return
def omnisci.thrift.ttypes.TDictionaryGeneration.write (   self,
  oprot 
)

Definition at line 3745 of file ttypes.py.

References omnisci.thrift.ttypes.TDictionaryGeneration.dict_id, omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.entry_count, and omnisci.thrift.ttypes.TDictionaryGeneration.entry_count.

3746  def write(self, oprot):
3747  if oprot._fast_encode is not None and self.thrift_spec is not None:
3748  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3749  return
3750  oprot.writeStructBegin('TDictionaryGeneration')
3751  if self.dict_id is not None:
3752  oprot.writeFieldBegin('dict_id', TType.I32, 1)
3753  oprot.writeI32(self.dict_id)
3754  oprot.writeFieldEnd()
3755  if self.entry_count is not None:
3756  oprot.writeFieldBegin('entry_count', TType.I64, 2)
3757  oprot.writeI64(self.entry_count)
3758  oprot.writeFieldEnd()
3759  oprot.writeFieldStop()
3760  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDictionaryGeneration.__dict__
private

Definition at line 3770 of file ttypes.py.

omnisci.thrift.ttypes.TDictionaryGeneration.dict_id

Definition at line 3718 of file ttypes.py.

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

omnisci.thrift.ttypes.TDictionaryGeneration.entry_count

Definition at line 3719 of file ttypes.py.

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


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