OmniSciDB  72c90bc290
 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 776 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 849 of file ttypes.py.

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

Definition at line 852 of file ttypes.py.

853  def __ne__(self, other):
854  return not (self == other)
855 
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.__repr__ (   self)

Definition at line 844 of file ttypes.py.

845  def __repr__(self):
846  L = ['%s=%r' % (key, value)
847  for key, value in self.__dict__.items()]
848  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 791 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.

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

Definition at line 841 of file ttypes.py.

842  def validate(self):
843  return
def heavydb.serialized_result_set.ttypes.TCountDistinctSet.write (   self,
  oprot 
)

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

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

Member Data Documentation

heavydb.serialized_result_set.ttypes.TCountDistinctSet.__dict__
private

Definition at line 850 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr

Definition at line 789 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 788 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 787 of file ttypes.py.

Referenced by TableFunctionsFactory_node.PrimitiveNode.__eq__(), TableFunctionsFactory_declbracket.Declaration.__getattr__(), TableFunctionsFactory_node.ArgNode.__iter__(), TableFunctionsFactory_declbracket.Declaration.__repr__(), TableFunctionsFactory_declbracket.Declaration.__str__(), TableFunctionsFactory_parser.Token.__str__(), TableFunctionsFactory_node.TypeNode.is_array_text_encoding_dict(), TableFunctionsFactory_node.TypeNode.is_column(), TableFunctionsFactory_node.TypeNode.is_column_list(), TableFunctionsFactory_node.TypeNode.is_cursor(), TableFunctionsFactory_node.TypeNode.is_output_buffer_sizer(), TableFunctionsFactory_node.TypeNode.is_string_scalar(), TableFunctionsFactory_node.TypeNode.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: