OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TRenderDatum Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TRenderDatum:
+ Collaboration diagram for omnisci.thrift.ttypes.TRenderDatum:

Public Member Functions

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

Public Attributes

 type
 
 cnt
 
 value
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - type
 - cnt
 - value

Definition at line 4748 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TRenderDatum.__init__ (   self,
  type = None,
  cnt = None,
  value = None 
)

Definition at line 4758 of file ttypes.py.

4759  def __init__(self, type=None, cnt=None, value=None,):
4760  self.type = type
4761  self.cnt = cnt
4762  self.value = value

Member Function Documentation

def omnisci.thrift.ttypes.TRenderDatum.__eq__ (   self,
  other 
)

Definition at line 4820 of file ttypes.py.

4821  def __eq__(self, other):
4822  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TRenderDatum.__ne__ (   self,
  other 
)

Definition at line 4823 of file ttypes.py.

4824  def __ne__(self, other):
4825  return not (self == other)
4826 
def omnisci.thrift.ttypes.TRenderDatum.__repr__ (   self)

Definition at line 4815 of file ttypes.py.

4816  def __repr__(self):
4817  L = ['%s=%r' % (key, value)
4818  for key, value in self.__dict__.items()]
4819  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.thrift.ttypes.TRenderDatum.read (   self,
  iprot 
)

Definition at line 4763 of file ttypes.py.

References omnisci.thrift.ttypes.TRenderDatum.cnt, 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, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, omnisci.thrift.ttypes.TRenderDatum.type, omnisci.thrift.OmniSci.get_db_object_privs_args.type, com.mapd.parser.extension.ddl.SqlFilter.value, Parser::NameValueAssign.value, and omnisci.thrift.ttypes.TRenderDatum.value.

4764  def read(self, iprot):
4765  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4766  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4767  return
4768  iprot.readStructBegin()
4769  while True:
4770  (fname, ftype, fid) = iprot.readFieldBegin()
4771  if ftype == TType.STOP:
4772  break
4773  if fid == 1:
4774  if ftype == TType.I32:
4775  self.type = iprot.readI32()
4776  else:
4777  iprot.skip(ftype)
4778  elif fid == 2:
4779  if ftype == TType.I32:
4780  self.cnt = iprot.readI32()
4781  else:
4782  iprot.skip(ftype)
4783  elif fid == 3:
4784  if ftype == TType.STRING:
4785  self.value = iprot.readBinary()
4786  else:
4787  iprot.skip(ftype)
4788  else:
4789  iprot.skip(ftype)
4790  iprot.readFieldEnd()
4791  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderDatum.validate (   self)

Definition at line 4812 of file ttypes.py.

4813  def validate(self):
4814  return
def omnisci.thrift.ttypes.TRenderDatum.write (   self,
  oprot 
)

Definition at line 4792 of file ttypes.py.

References omnisci.thrift.ttypes.TRenderDatum.cnt, 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, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, omnisci.thrift.ttypes.TRenderDatum.type, omnisci.thrift.OmniSci.get_db_object_privs_args.type, com.mapd.parser.extension.ddl.SqlFilter.value, Parser::NameValueAssign.value, and omnisci.thrift.ttypes.TRenderDatum.value.

4793  def write(self, oprot):
4794  if oprot._fast_encode is not None and self.thrift_spec is not None:
4795  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4796  return
4797  oprot.writeStructBegin('TRenderDatum')
4798  if self.type is not None:
4799  oprot.writeFieldBegin('type', TType.I32, 1)
4800  oprot.writeI32(self.type)
4801  oprot.writeFieldEnd()
4802  if self.cnt is not None:
4803  oprot.writeFieldBegin('cnt', TType.I32, 2)
4804  oprot.writeI32(self.cnt)
4805  oprot.writeFieldEnd()
4806  if self.value is not None:
4807  oprot.writeFieldBegin('value', TType.STRING, 3)
4808  oprot.writeBinary(self.value)
4809  oprot.writeFieldEnd()
4810  oprot.writeFieldStop()
4811  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderDatum.__dict__
private

Definition at line 4821 of file ttypes.py.

omnisci.thrift.ttypes.TRenderDatum.cnt

Definition at line 4760 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TRenderDatum.read(), and omnisci.thrift.ttypes.TRenderDatum.write().

omnisci.thrift.ttypes.TRenderDatum.type

Definition at line 4759 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TRenderDatum.read(), and omnisci.thrift.ttypes.TRenderDatum.write().

omnisci.thrift.ttypes.TRenderDatum.value

Definition at line 4761 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TRenderDatum.read(), and omnisci.thrift.ttypes.TRenderDatum.write().


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