OmniSciDB  a7179b2938
 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 250 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 355 of file ttypes.py.

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

Definition at line 358 of file ttypes.py.

359  def __ne__(self, other):
360  return not (self == other)
361 
def omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__repr__ (   self)

Definition at line 350 of file ttypes.py.

351  def __repr__(self):
352  L = ['%s=%r' % (key, value)
353  for key, value in self.__dict__.items()]
354  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 271 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.

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

Definition at line 347 of file ttypes.py.

348  def validate(self):
349  return
def omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.write (   self,
  oprot 
)

Definition at line 315 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.

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

Member Data Documentation

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.__dict__
private

Definition at line 356 of file ttypes.py.

omnisci.serialized_result_set.ttypes.TCountDistinctDescriptor.approximate

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.bitmap_sz_bits

Definition at line 266 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 268 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 264 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 265 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 269 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: