OmniSciDB  72c90bc290
 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
 
 db_id
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - dict_id
 - entry_count
 - db_id

Definition at line 4247 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4257 of file ttypes.py.

4258  def __init__(self, dict_id=None, entry_count=None, db_id=None,):
4259  self.dict_id = dict_id
4260  self.entry_count = entry_count
4261  self.db_id = db_id

Member Function Documentation

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

Definition at line 4319 of file ttypes.py.

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

Definition at line 4322 of file ttypes.py.

4323  def __ne__(self, other):
4324  return not (self == other)
4325 
def heavydb.thrift.ttypes.TDictionaryGeneration.__repr__ (   self)

Definition at line 4314 of file ttypes.py.

4315  def __repr__(self):
4316  L = ['%s=%r' % (key, value)
4317  for key, value in self.__dict__.items()]
4318  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 4262 of file ttypes.py.

References data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.ttypes.TDictionaryGeneration.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.common.ttypes.TStringDictKey.dict_id, heavydb.thrift.ttypes.TDictionaryGeneration.dict_id, heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.entry_count, and heavydb.thrift.ttypes.TDictionaryGeneration.entry_count.

4263  def read(self, iprot):
4264  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4265  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4266  return
4267  iprot.readStructBegin()
4268  while True:
4269  (fname, ftype, fid) = iprot.readFieldBegin()
4270  if ftype == TType.STOP:
4271  break
4272  if fid == 1:
4273  if ftype == TType.I32:
4274  self.dict_id = iprot.readI32()
4275  else:
4276  iprot.skip(ftype)
4277  elif fid == 2:
4278  if ftype == TType.I64:
4279  self.entry_count = iprot.readI64()
4280  else:
4281  iprot.skip(ftype)
4282  elif fid == 3:
4283  if ftype == TType.I32:
4284  self.db_id = iprot.readI32()
4285  else:
4286  iprot.skip(ftype)
4287  else:
4288  iprot.skip(ftype)
4289  iprot.readFieldEnd()
4290  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDictionaryGeneration.validate (   self)

Definition at line 4311 of file ttypes.py.

4312  def validate(self):
4313  return
def heavydb.thrift.ttypes.TDictionaryGeneration.write (   self,
  oprot 
)

Definition at line 4291 of file ttypes.py.

References data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.ttypes.TDictionaryGeneration.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.common.ttypes.TStringDictKey.dict_id, heavydb.thrift.ttypes.TDictionaryGeneration.dict_id, heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.entry_count, and heavydb.thrift.ttypes.TDictionaryGeneration.entry_count.

4292  def write(self, oprot):
4293  if oprot._fast_encode is not None and self.thrift_spec is not None:
4294  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4295  return
4296  oprot.writeStructBegin('TDictionaryGeneration')
4297  if self.dict_id is not None:
4298  oprot.writeFieldBegin('dict_id', TType.I32, 1)
4299  oprot.writeI32(self.dict_id)
4300  oprot.writeFieldEnd()
4301  if self.entry_count is not None:
4302  oprot.writeFieldBegin('entry_count', TType.I64, 2)
4303  oprot.writeI64(self.entry_count)
4304  oprot.writeFieldEnd()
4305  if self.db_id is not None:
4306  oprot.writeFieldBegin('db_id', TType.I32, 3)
4307  oprot.writeI32(self.db_id)
4308  oprot.writeFieldEnd()
4309  oprot.writeFieldStop()
4310  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDictionaryGeneration.__dict__
private

Definition at line 4320 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TDictionaryGeneration.db_id

Definition at line 4260 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TDictionaryGeneration.read(), heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TTableCacheStatus.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TDictionaryGeneration.write(), heavydb.thrift.ttypes.TTableGeneration.write(), heavydb.thrift.ttypes.TTableCacheStatus.write(), heavydb.thrift.ttypes.TInsertData.write(), and heavydb.thrift.ttypes.TInsertChunks.write().

heavydb.thrift.ttypes.TDictionaryGeneration.dict_id

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