OmniSciDB  fe05a0c208
 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 4628 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4638 of file ttypes.py.

4639  def __init__(self, type=None, cnt=None, value=None,):
4640  self.type = type
4641  self.cnt = cnt
4642  self.value = value

Member Function Documentation

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

Definition at line 4700 of file ttypes.py.

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

Definition at line 4703 of file ttypes.py.

4704  def __ne__(self, other):
4705  return not (self == other)
4706 
def omnisci.thrift.ttypes.TRenderDatum.__repr__ (   self)

Definition at line 4695 of file ttypes.py.

4696  def __repr__(self):
4697  L = ['%s=%r' % (key, value)
4698  for key, value in self.__dict__.items()]
4699  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 4643 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.

4644  def read(self, iprot):
4645  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4646  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4647  return
4648  iprot.readStructBegin()
4649  while True:
4650  (fname, ftype, fid) = iprot.readFieldBegin()
4651  if ftype == TType.STOP:
4652  break
4653  if fid == 1:
4654  if ftype == TType.I32:
4655  self.type = iprot.readI32()
4656  else:
4657  iprot.skip(ftype)
4658  elif fid == 2:
4659  if ftype == TType.I32:
4660  self.cnt = iprot.readI32()
4661  else:
4662  iprot.skip(ftype)
4663  elif fid == 3:
4664  if ftype == TType.STRING:
4665  self.value = iprot.readBinary()
4666  else:
4667  iprot.skip(ftype)
4668  else:
4669  iprot.skip(ftype)
4670  iprot.readFieldEnd()
4671  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderDatum.validate (   self)

Definition at line 4692 of file ttypes.py.

4693  def validate(self):
4694  return
def omnisci.thrift.ttypes.TRenderDatum.write (   self,
  oprot 
)

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

4673  def write(self, oprot):
4674  if oprot._fast_encode is not None and self.thrift_spec is not None:
4675  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4676  return
4677  oprot.writeStructBegin('TRenderDatum')
4678  if self.type is not None:
4679  oprot.writeFieldBegin('type', TType.I32, 1)
4680  oprot.writeI32(self.type)
4681  oprot.writeFieldEnd()
4682  if self.cnt is not None:
4683  oprot.writeFieldBegin('cnt', TType.I32, 2)
4684  oprot.writeI32(self.cnt)
4685  oprot.writeFieldEnd()
4686  if self.value is not None:
4687  oprot.writeFieldBegin('value', TType.STRING, 3)
4688  oprot.writeBinary(self.value)
4689  oprot.writeFieldEnd()
4690  oprot.writeFieldStop()
4691  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderDatum.__dict__
private

Definition at line 4701 of file ttypes.py.

omnisci.thrift.ttypes.TRenderDatum.cnt

Definition at line 4640 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 4639 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 4641 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: