OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor Class Reference
+ Inheritance diagram for heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor:
+ Collaboration diagram for heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor:

Public Member Functions

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

Public Attributes

 impl_type
 
 min_val
 
 bitmap_sz_bits
 
 approximate
 
 device_type
 
 sub_bitmap_count
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - impl_type
 - min_val
 - bitmap_sz_bits
 - approximate
 - device_type
 - sub_bitmap_count

Definition at line 259 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.__init__ (   self,
  impl_type = None,
  min_val = None,
  bitmap_sz_bits = None,
  approximate = None,
  device_type = None,
  sub_bitmap_count = None 
)

Member Function Documentation

def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.__eq__ (   self,
  other 
)

Definition at line 364 of file ttypes.py.

365  def __eq__(self, other):
366  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.__ne__ (   self,
  other 
)

Definition at line 367 of file ttypes.py.

368  def __ne__(self, other):
369  return not (self == other)
370 
def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.__repr__ (   self)

Definition at line 359 of file ttypes.py.

360  def __repr__(self):
361  L = ['%s=%r' % (key, value)
362  for key, value in self.__dict__.items()]
363  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.serialized_result_set.ttypes.TCountDistinctDescriptor.read (   self,
  iprot 
)

Definition at line 280 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.approximate, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.bitmap_sz_bits, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.device_type, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.impl_type, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.min_val, and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.sub_bitmap_count.

281  def read(self, iprot):
282  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
283  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
284  return
285  iprot.readStructBegin()
286  while True:
287  (fname, ftype, fid) = iprot.readFieldBegin()
288  if ftype == TType.STOP:
289  break
290  if fid == 1:
291  if ftype == TType.I32:
292  self.impl_type = iprot.readI32()
293  else:
294  iprot.skip(ftype)
295  elif fid == 2:
296  if ftype == TType.I64:
297  self.min_val = iprot.readI64()
298  else:
299  iprot.skip(ftype)
300  elif fid == 3:
301  if ftype == TType.I64:
302  self.bitmap_sz_bits = iprot.readI64()
303  else:
304  iprot.skip(ftype)
305  elif fid == 4:
306  if ftype == TType.BOOL:
307  self.approximate = iprot.readBool()
308  else:
309  iprot.skip(ftype)
310  elif fid == 5:
311  if ftype == TType.I32:
312  self.device_type = iprot.readI32()
313  else:
314  iprot.skip(ftype)
315  elif fid == 6:
316  if ftype == TType.I64:
317  self.sub_bitmap_count = iprot.readI64()
318  else:
319  iprot.skip(ftype)
320  else:
321  iprot.skip(ftype)
322  iprot.readFieldEnd()
323  iprot.readStructEnd()
def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.validate (   self)

Definition at line 356 of file ttypes.py.

357  def validate(self):
358  return
def heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write (   self,
  oprot 
)

Definition at line 324 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.approximate, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.bitmap_sz_bits, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.device_type, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.impl_type, heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.min_val, and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.sub_bitmap_count.

325  def write(self, oprot):
326  if oprot._fast_encode is not None and self.thrift_spec is not None:
327  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
328  return
329  oprot.writeStructBegin('TCountDistinctDescriptor')
330  if self.impl_type is not None:
331  oprot.writeFieldBegin('impl_type', TType.I32, 1)
332  oprot.writeI32(self.impl_type)
333  oprot.writeFieldEnd()
334  if self.min_val is not None:
335  oprot.writeFieldBegin('min_val', TType.I64, 2)
336  oprot.writeI64(self.min_val)
337  oprot.writeFieldEnd()
338  if self.bitmap_sz_bits is not None:
339  oprot.writeFieldBegin('bitmap_sz_bits', TType.I64, 3)
340  oprot.writeI64(self.bitmap_sz_bits)
341  oprot.writeFieldEnd()
342  if self.approximate is not None:
343  oprot.writeFieldBegin('approximate', TType.BOOL, 4)
344  oprot.writeBool(self.approximate)
345  oprot.writeFieldEnd()
346  if self.device_type is not None:
347  oprot.writeFieldBegin('device_type', TType.I32, 5)
348  oprot.writeI32(self.device_type)
349  oprot.writeFieldEnd()
350  if self.sub_bitmap_count is not None:
351  oprot.writeFieldBegin('sub_bitmap_count', TType.I64, 6)
352  oprot.writeI64(self.sub_bitmap_count)
353  oprot.writeFieldEnd()
354  oprot.writeFieldStop()
355  oprot.writeStructEnd()

Member Data Documentation

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.__dict__
private

Definition at line 365 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.approximate

Definition at line 276 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.bitmap_sz_bits

Definition at line 275 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.device_type

Definition at line 277 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), heavydb.thrift.Heavy.sql_execute_df_args.read(), heavydb.thrift.Heavy.deallocate_df_args.read(), heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write(), heavydb.thrift.Heavy.sql_execute_df_args.write(), and heavydb.thrift.Heavy.deallocate_df_args.write().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.impl_type

Definition at line 273 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.min_val

Definition at line 274 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.read(), heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write(), and heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.write().

heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.sub_bitmap_count

Definition at line 278 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), and heavydb.serialized_result_set.ttypes.TCountDistinctDescriptor.write().


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