OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TDictionaryGeneration Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TDictionaryGeneration:
+ Collaboration diagram for heavydb.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 4181 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4190 of file ttypes.py.

4191  def __init__(self, dict_id=None, entry_count=None,):
4192  self.dict_id = dict_id
4193  self.entry_count = entry_count

Member Function Documentation

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

Definition at line 4242 of file ttypes.py.

4243  def __eq__(self, other):
4244  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDictionaryGeneration.__ne__ (   self,
  other 
)

Definition at line 4245 of file ttypes.py.

4246  def __ne__(self, other):
4247  return not (self == other)
4248 
def heavydb.thrift.ttypes.TDictionaryGeneration.__repr__ (   self)

Definition at line 4237 of file ttypes.py.

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

Definition at line 4194 of file ttypes.py.

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

4195  def read(self, iprot):
4196  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4197  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4198  return
4199  iprot.readStructBegin()
4200  while True:
4201  (fname, ftype, fid) = iprot.readFieldBegin()
4202  if ftype == TType.STOP:
4203  break
4204  if fid == 1:
4205  if ftype == TType.I32:
4206  self.dict_id = iprot.readI32()
4207  else:
4208  iprot.skip(ftype)
4209  elif fid == 2:
4210  if ftype == TType.I64:
4211  self.entry_count = iprot.readI64()
4212  else:
4213  iprot.skip(ftype)
4214  else:
4215  iprot.skip(ftype)
4216  iprot.readFieldEnd()
4217  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDictionaryGeneration.validate (   self)

Definition at line 4234 of file ttypes.py.

4235  def validate(self):
4236  return
def heavydb.thrift.ttypes.TDictionaryGeneration.write (   self,
  oprot 
)

Definition at line 4218 of file ttypes.py.

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

4219  def write(self, oprot):
4220  if oprot._fast_encode is not None and self.thrift_spec is not None:
4221  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4222  return
4223  oprot.writeStructBegin('TDictionaryGeneration')
4224  if self.dict_id is not None:
4225  oprot.writeFieldBegin('dict_id', TType.I32, 1)
4226  oprot.writeI32(self.dict_id)
4227  oprot.writeFieldEnd()
4228  if self.entry_count is not None:
4229  oprot.writeFieldBegin('entry_count', TType.I64, 2)
4230  oprot.writeI64(self.entry_count)
4231  oprot.writeFieldEnd()
4232  oprot.writeFieldStop()
4233  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDictionaryGeneration.__dict__
private

Definition at line 4243 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TDictionaryGeneration.dict_id

Definition at line 4191 of file ttypes.py.

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

heavydb.thrift.ttypes.TDictionaryGeneration.entry_count

Definition at line 4192 of file ttypes.py.

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


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