OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.serialized_result_set.ttypes.TTargetInfo Class Reference
+ Inheritance diagram for heavydb.serialized_result_set.ttypes.TTargetInfo:
+ Collaboration diagram for heavydb.serialized_result_set.ttypes.TTargetInfo:

Public Member Functions

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

Public Attributes

 is_agg
 
 kind
 
 type
 
 arg_type
 
 skip_nulls
 
 is_distinct
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - is_agg
 - kind
 - type
 - arg_type
 - skip_nulls
 - is_distinct

Definition at line 586 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.serialized_result_set.ttypes.TTargetInfo.__init__ (   self,
  is_agg = None,
  kind = None,
  type = None,
  arg_type = None,
  skip_nulls = None,
  is_distinct = None 
)

Definition at line 599 of file ttypes.py.

600  def __init__(self, is_agg=None, kind=None, type=None, arg_type=None, skip_nulls=None, is_distinct=None,):
601  self.is_agg = is_agg
602  self.kind = kind
603  self.type = type
604  self.arg_type = arg_type
605  self.skip_nulls = skip_nulls
606  self.is_distinct = is_distinct

Member Function Documentation

def heavydb.serialized_result_set.ttypes.TTargetInfo.__eq__ (   self,
  other 
)

Definition at line 693 of file ttypes.py.

694  def __eq__(self, other):
695  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.serialized_result_set.ttypes.TTargetInfo.__ne__ (   self,
  other 
)

Definition at line 696 of file ttypes.py.

697  def __ne__(self, other):
698  return not (self == other)
699 
def heavydb.serialized_result_set.ttypes.TTargetInfo.__repr__ (   self)

Definition at line 688 of file ttypes.py.

689  def __repr__(self):
690  L = ['%s=%r' % (key, value)
691  for key, value in self.__dict__.items()]
692  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.TTargetInfo.read (   self,
  iprot 
)

Definition at line 607 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TTargetInfo.arg_type, heavydb.serialized_result_set.ttypes.TTargetInfo.is_agg, heavydb.serialized_result_set.ttypes.TTargetInfo.is_distinct, Analyzer::AggExpr.is_distinct, Analyzer::Query.is_distinct, lockmgr::TableSchemaLockMgr.kind, lockmgr::InsertDataLockMgr.kind, lockmgr::TableDataLockMgr.kind, org.apache.calcite.sql.SqlOperator.kind, heavydb.serialized_result_set.ttypes.TTargetInfo.kind, org.apache.calcite.sql2rel.StandardConvertletTable.RegrCovarianceConvertlet.kind, org.apache.calcite.sql2rel.StandardConvertletTable.AvgVarianceConvertlet.kind, heavydb.serialized_result_set.ttypes.TTargetInfo.skip_nulls, 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, and heavydb.serialized_result_set.ttypes.TTargetInfo.type.

608  def read(self, iprot):
609  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
610  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
611  return
612  iprot.readStructBegin()
613  while True:
614  (fname, ftype, fid) = iprot.readFieldBegin()
615  if ftype == TType.STOP:
616  break
617  if fid == 1:
618  if ftype == TType.BOOL:
619  self.is_agg = iprot.readBool()
620  else:
621  iprot.skip(ftype)
622  elif fid == 2:
623  if ftype == TType.I32:
624  self.kind = iprot.readI32()
625  else:
626  iprot.skip(ftype)
627  elif fid == 3:
628  if ftype == TType.STRUCT:
630  self.type.read(iprot)
631  else:
632  iprot.skip(ftype)
633  elif fid == 4:
634  if ftype == TType.STRUCT:
636  self.arg_type.read(iprot)
637  else:
638  iprot.skip(ftype)
639  elif fid == 5:
640  if ftype == TType.BOOL:
641  self.skip_nulls = iprot.readBool()
642  else:
643  iprot.skip(ftype)
644  elif fid == 6:
645  if ftype == TType.BOOL:
646  self.is_distinct = iprot.readBool()
647  else:
648  iprot.skip(ftype)
649  else:
650  iprot.skip(ftype)
651  iprot.readFieldEnd()
652  iprot.readStructEnd()
def heavydb.serialized_result_set.ttypes.TTargetInfo.validate (   self)

Definition at line 685 of file ttypes.py.

686  def validate(self):
687  return
def heavydb.serialized_result_set.ttypes.TTargetInfo.write (   self,
  oprot 
)

Definition at line 653 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TTargetInfo.arg_type, heavydb.serialized_result_set.ttypes.TTargetInfo.is_agg, heavydb.serialized_result_set.ttypes.TTargetInfo.is_distinct, Analyzer::AggExpr.is_distinct, Analyzer::Query.is_distinct, lockmgr::TableSchemaLockMgr.kind, lockmgr::InsertDataLockMgr.kind, lockmgr::TableDataLockMgr.kind, org.apache.calcite.sql.SqlOperator.kind, heavydb.serialized_result_set.ttypes.TTargetInfo.kind, org.apache.calcite.sql2rel.StandardConvertletTable.RegrCovarianceConvertlet.kind, org.apache.calcite.sql2rel.StandardConvertletTable.AvgVarianceConvertlet.kind, heavydb.serialized_result_set.ttypes.TTargetInfo.skip_nulls, 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, and heavydb.serialized_result_set.ttypes.TTargetInfo.type.

654  def write(self, oprot):
655  if oprot._fast_encode is not None and self.thrift_spec is not None:
656  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
657  return
658  oprot.writeStructBegin('TTargetInfo')
659  if self.is_agg is not None:
660  oprot.writeFieldBegin('is_agg', TType.BOOL, 1)
661  oprot.writeBool(self.is_agg)
662  oprot.writeFieldEnd()
663  if self.kind is not None:
664  oprot.writeFieldBegin('kind', TType.I32, 2)
665  oprot.writeI32(self.kind)
666  oprot.writeFieldEnd()
667  if self.type is not None:
668  oprot.writeFieldBegin('type', TType.STRUCT, 3)
669  self.type.write(oprot)
670  oprot.writeFieldEnd()
671  if self.arg_type is not None:
672  oprot.writeFieldBegin('arg_type', TType.STRUCT, 4)
673  self.arg_type.write(oprot)
674  oprot.writeFieldEnd()
675  if self.skip_nulls is not None:
676  oprot.writeFieldBegin('skip_nulls', TType.BOOL, 5)
677  oprot.writeBool(self.skip_nulls)
678  oprot.writeFieldEnd()
679  if self.is_distinct is not None:
680  oprot.writeFieldBegin('is_distinct', TType.BOOL, 6)
681  oprot.writeBool(self.is_distinct)
682  oprot.writeFieldEnd()
683  oprot.writeFieldStop()
684  oprot.writeStructEnd()

Member Data Documentation

heavydb.serialized_result_set.ttypes.TTargetInfo.__dict__
private

Definition at line 694 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.serialized_result_set.ttypes.TTargetInfo.arg_type

Definition at line 603 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TTargetInfo.read(), and heavydb.serialized_result_set.ttypes.TTargetInfo.write().

heavydb.serialized_result_set.ttypes.TTargetInfo.is_agg

Definition at line 600 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TTargetInfo.read(), and heavydb.serialized_result_set.ttypes.TTargetInfo.write().

heavydb.serialized_result_set.ttypes.TTargetInfo.is_distinct

Definition at line 605 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TTargetInfo.read(), and heavydb.serialized_result_set.ttypes.TTargetInfo.write().

heavydb.serialized_result_set.ttypes.TTargetInfo.kind

Definition at line 601 of file ttypes.py.

Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._get_filename(), heavydb.serialized_result_set.ttypes.TTargetInfo.read(), and heavydb.serialized_result_set.ttypes.TTargetInfo.write().

heavydb.serialized_result_set.ttypes.TTargetInfo.skip_nulls

Definition at line 604 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TTargetInfo.read(), and heavydb.serialized_result_set.ttypes.TTargetInfo.write().

heavydb.serialized_result_set.ttypes.TTargetInfo.type

Definition at line 602 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.TTargetInfo.read(), 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.TTargetInfo.write(), 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: