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

Public Member Functions

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

Public Attributes

 type
 
 storage
 
 remote_ptr
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - type
 - storage
 - remote_ptr

Definition at line 770 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.serialized_result_set.ttypes.TCountDistinctSet.__init__ (   self,
  type = None,
  storage = None,
  remote_ptr = None 
)

Member Function Documentation

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

Definition at line 843 of file ttypes.py.

844  def __eq__(self, other):
845  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.__ne__ (   self,
  other 
)

Definition at line 846 of file ttypes.py.

847  def __ne__(self, other):
848  return not (self == other)
849 
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.__repr__ (   self)

Definition at line 838 of file ttypes.py.

839  def __repr__(self):
840  L = ['%s=%r' % (key, value)
841  for key, value in self.__dict__.items()]
842  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.TCountDistinctSet.read (   self,
  iprot 
)

Definition at line 785 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr, heavydb.serialized_result_set.ttypes.TCountDistinctSet.storage, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, and heavydb.serialized_result_set.ttypes.TCountDistinctSet.type.

786  def read(self, iprot):
787  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
788  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
789  return
790  iprot.readStructBegin()
791  while True:
792  (fname, ftype, fid) = iprot.readFieldBegin()
793  if ftype == TType.STOP:
794  break
795  if fid == 1:
796  if ftype == TType.I32:
797  self.type = iprot.readI32()
798  else:
799  iprot.skip(ftype)
800  elif fid == 2:
801  if ftype == TType.STRUCT:
803  self.storage.read(iprot)
804  else:
805  iprot.skip(ftype)
806  elif fid == 3:
807  if ftype == TType.I64:
808  self.remote_ptr = iprot.readI64()
809  else:
810  iprot.skip(ftype)
811  else:
812  iprot.skip(ftype)
813  iprot.readFieldEnd()
814  iprot.readStructEnd()
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.validate (   self)

Definition at line 835 of file ttypes.py.

836  def validate(self):
837  return
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.write (   self,
  oprot 
)

Definition at line 815 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr, heavydb.serialized_result_set.ttypes.TCountDistinctSet.storage, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, and heavydb.serialized_result_set.ttypes.TCountDistinctSet.type.

816  def write(self, oprot):
817  if oprot._fast_encode is not None and self.thrift_spec is not None:
818  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
819  return
820  oprot.writeStructBegin('TCountDistinctSet')
821  if self.type is not None:
822  oprot.writeFieldBegin('type', TType.I32, 1)
823  oprot.writeI32(self.type)
824  oprot.writeFieldEnd()
825  if self.storage is not None:
826  oprot.writeFieldBegin('storage', TType.STRUCT, 2)
827  self.storage.write(oprot)
828  oprot.writeFieldEnd()
829  if self.remote_ptr is not None:
830  oprot.writeFieldBegin('remote_ptr', TType.I64, 3)
831  oprot.writeI64(self.remote_ptr)
832  oprot.writeFieldEnd()
833  oprot.writeFieldStop()
834  oprot.writeStructEnd()

Member Data Documentation

heavydb.serialized_result_set.ttypes.TCountDistinctSet.__dict__
private

Definition at line 844 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr

Definition at line 783 of file ttypes.py.

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

heavydb.serialized_result_set.ttypes.TCountDistinctSet.storage

Definition at line 782 of file ttypes.py.

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

heavydb.serialized_result_set.ttypes.TCountDistinctSet.type

Definition at line 781 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Declaration.__getattr__(), generate_TableFunctionsFactory_init.ArgNode.__iter__(), generate_TableFunctionsFactory_init.Declaration.__repr__(), generate_TableFunctionsFactory_init.Declaration.__str__(), generate_TableFunctionsFactory_init.Token.__str__(), generate_TableFunctionsFactory_init.ArgNode.__str__(), generate_TableFunctionsFactory_init.ComposedNode.__str__(), generate_TableFunctionsFactory_init.PrimitiveNode.is_array_text_encoding_dict(), generate_TableFunctionsFactory_init.TypeNode.is_column(), generate_TableFunctionsFactory_init.TypeNode.is_column_list(), generate_TableFunctionsFactory_init.TypeNode.is_cursor(), generate_TableFunctionsFactory_init.TypeNode.is_output_buffer_sizer(), generate_TableFunctionsFactory_init.PrimitiveNode.is_text_encoding_dict(), heavydb.serialized_result_set.ttypes.TCountDistinctSet.read(), heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TRenderDatum.read(), heavydb.thrift.Heavy.get_db_object_privs_args.read(), heavydb.serialized_result_set.ttypes.TCountDistinctSet.write(), heavydb.thrift.ttypes.TColumnRange.write(), heavydb.thrift.ttypes.TRenderDatum.write(), and heavydb.thrift.Heavy.get_db_object_privs_args.write().


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