OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor Class Reference
+ Inheritance diagram for omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor:
+ Collaboration diagram for omnisci.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 253 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.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 omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__eq__ (   self,
  other 
)

Definition at line 358 of file ttypes.py.

359  def __eq__(self, other):
360  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__ne__ (   self,
  other 
)

Definition at line 361 of file ttypes.py.

362  def __ne__(self, other):
363  return not (self == other)
364 
def omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__repr__ (   self)

Definition at line 353 of file ttypes.py.

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

Definition at line 274 of file ttypes.py.

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

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

Definition at line 350 of file ttypes.py.

351  def validate(self):
352  return
def omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.write (   self,
  oprot 
)

Definition at line 318 of file ttypes.py.

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

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

Member Data Documentation

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__dict__
private

Definition at line 359 of file ttypes.py.

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.approximate

Definition at line 270 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.bitmap_sz_bits

Definition at line 269 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.device_type

Definition at line 271 of file ttypes.py.

Referenced by omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.read(), omnisci.thrift.OmniSci.sql_execute_df_args.read(), omnisci.thrift.OmniSci.deallocate_df_args.read(), omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.write(), omnisci.thrift.OmniSci.sql_execute_df_args.write(), and omnisci.thrift.OmniSci.deallocate_df_args.write().

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.impl_type

Definition at line 267 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.min_val

Definition at line 268 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.sub_bitmap_count

Definition at line 272 of file ttypes.py.

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


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