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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 840 of file ttypes.py.

841  def __eq__(self, other):
842  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.serialized_result_set.ttypes.TCountDistinctSet.__ne__ (   self,
  other 
)

Definition at line 843 of file ttypes.py.

844  def __ne__(self, other):
845  return not (self == other)
846 
def omnisci.serialized_result_set.ttypes.TCountDistinctSet.__repr__ (   self)

Definition at line 835 of file ttypes.py.

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

Definition at line 782 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr, omnisci.serialized_result_set.ttypes.TCountDistinctSet.storage, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, and omnisci.serialized_result_set.ttypes.TCountDistinctSet.type.

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

Definition at line 832 of file ttypes.py.

833  def validate(self):
834  return
def omnisci.serialized_result_set.ttypes.TCountDistinctSet.write (   self,
  oprot 
)

Definition at line 812 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr, omnisci.serialized_result_set.ttypes.TCountDistinctSet.storage, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, and omnisci.serialized_result_set.ttypes.TCountDistinctSet.type.

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

Member Data Documentation

omnisci.serialized_result_set.ttypes.TCountDistinctSet.__dict__
private

Definition at line 841 of file ttypes.py.

omnisci.serialized_result_set.ttypes.TCountDistinctSet.remote_ptr

Definition at line 780 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctSet.storage

Definition at line 779 of file ttypes.py.

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

omnisci.serialized_result_set.ttypes.TCountDistinctSet.type

Definition at line 778 of file ttypes.py.

Referenced by omnisci.serialized_result_set.ttypes.TCountDistinctSet.read(), omnisci.thrift.ttypes.TColumnRange.read(), omnisci.thrift.ttypes.TRenderDatum.read(), omnisci.thrift.OmniSci.get_db_object_privs_args.read(), omnisci.serialized_result_set.ttypes.TCountDistinctSet.write(), omnisci.thrift.ttypes.TColumnRange.write(), omnisci.thrift.ttypes.TRenderDatum.write(), and omnisci.thrift.OmniSci.get_db_object_privs_args.write().


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