OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TRenderDatum Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TRenderDatum:
+ Collaboration diagram for heavydb.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 5306 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 5316 of file ttypes.py.

5317  def __init__(self, type=None, cnt=None, value=None,):
5318  self.type = type
5319  self.cnt = cnt
5320  self.value = value

Member Function Documentation

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

Definition at line 5378 of file ttypes.py.

5379  def __eq__(self, other):
5380  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TRenderDatum.__ne__ (   self,
  other 
)

Definition at line 5381 of file ttypes.py.

5382  def __ne__(self, other):
5383  return not (self == other)
5384 
def heavydb.thrift.ttypes.TRenderDatum.__repr__ (   self)

Definition at line 5373 of file ttypes.py.

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

Definition at line 5321 of file ttypes.py.

References heavydb.thrift.ttypes.TRenderDatum.cnt, 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, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, heavydb.thrift.Heavy.get_db_object_privs_args.type, com.mapd.parser.extension.ddl.SqlFilter.value, import_export::MetadataColumnInfo.value, and heavydb.thrift.ttypes.TRenderDatum.value.

5322  def read(self, iprot):
5323  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5324  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5325  return
5326  iprot.readStructBegin()
5327  while True:
5328  (fname, ftype, fid) = iprot.readFieldBegin()
5329  if ftype == TType.STOP:
5330  break
5331  if fid == 1:
5332  if ftype == TType.I32:
5333  self.type = iprot.readI32()
5334  else:
5335  iprot.skip(ftype)
5336  elif fid == 2:
5337  if ftype == TType.I32:
5338  self.cnt = iprot.readI32()
5339  else:
5340  iprot.skip(ftype)
5341  elif fid == 3:
5342  if ftype == TType.STRING:
5343  self.value = iprot.readBinary()
5344  else:
5345  iprot.skip(ftype)
5346  else:
5347  iprot.skip(ftype)
5348  iprot.readFieldEnd()
5349  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRenderDatum.validate (   self)

Definition at line 5370 of file ttypes.py.

5371  def validate(self):
5372  return
def heavydb.thrift.ttypes.TRenderDatum.write (   self,
  oprot 
)

Definition at line 5350 of file ttypes.py.

References heavydb.thrift.ttypes.TRenderDatum.cnt, 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, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, heavydb.thrift.Heavy.get_db_object_privs_args.type, com.mapd.parser.extension.ddl.SqlFilter.value, import_export::MetadataColumnInfo.value, and heavydb.thrift.ttypes.TRenderDatum.value.

5351  def write(self, oprot):
5352  if oprot._fast_encode is not None and self.thrift_spec is not None:
5353  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5354  return
5355  oprot.writeStructBegin('TRenderDatum')
5356  if self.type is not None:
5357  oprot.writeFieldBegin('type', TType.I32, 1)
5358  oprot.writeI32(self.type)
5359  oprot.writeFieldEnd()
5360  if self.cnt is not None:
5361  oprot.writeFieldBegin('cnt', TType.I32, 2)
5362  oprot.writeI32(self.cnt)
5363  oprot.writeFieldEnd()
5364  if self.value is not None:
5365  oprot.writeFieldBegin('value', TType.STRING, 3)
5366  oprot.writeBinary(self.value)
5367  oprot.writeFieldEnd()
5368  oprot.writeFieldStop()
5369  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRenderDatum.__dict__
private

Definition at line 5379 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TRenderDatum.cnt

Definition at line 5318 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderDatum.type

Definition at line 5317 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.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.thrift.ttypes.TRenderDatum.read(), and heavydb.thrift.ttypes.TRenderDatum.write().

heavydb.thrift.ttypes.TRenderDatum.value

Definition at line 5319 of file ttypes.py.

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


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