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

Public Member Functions

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

Public Attributes

 name
 
 contents
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - name
 - contents

Definition at line 6681 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TGeoFileLayerInfo.__init__ (   self,
  name = None,
  contents = None 
)

Definition at line 6690 of file ttypes.py.

6691  def __init__(self, name=None, contents=None,):
6692  self.name = name
6693  self.contents = contents

Member Function Documentation

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

Definition at line 6742 of file ttypes.py.

6743  def __eq__(self, other):
6744  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TGeoFileLayerInfo.__ne__ (   self,
  other 
)

Definition at line 6745 of file ttypes.py.

6746  def __ne__(self, other):
6747  return not (self == other)
6748 
def heavydb.thrift.ttypes.TGeoFileLayerInfo.__repr__ (   self)

Definition at line 6737 of file ttypes.py.

6738  def __repr__(self):
6739  L = ['%s=%r' % (key, value)
6740  for key, value in self.__dict__.items()]
6741  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.TGeoFileLayerInfo.read (   self,
  iprot 
)

Definition at line 6694 of file ttypes.py.

References import_export::Importer::GeoFileLayerInfo.contents, heavydb.thrift.ttypes.TGeoFileLayerInfo.contents, com.mapd.parser.extension.ddl.heavysql.HeavySqlTypeNameSpec.name, com.mapd.parser.extension.ddl.heavysql.HeavySqlColumn.name, com.mapd.parser.extension.ddl.SqlRenameUser.name, com.mapd.parser.extension.ddl.SqlInsertValues.name, com.mapd.parser.extension.ddl.SqlAlterUser.name, com.mapd.parser.extension.ddl.SqlDropUser.name, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.name, com.mapd.parser.extension.ddl.SqlDropDB.name, com.mapd.parser.extension.ddl.SqlCreateUser.name, com.mapd.parser.extension.ddl.SqlCreateDB.name, com.mapd.parser.extension.ddl.SqlInsertIntoTable.name, foreign_storage::ForeignServer.name, com.mapd.parser.extension.ddl.SqlCreateDataframe.name, com.mapd.parser.extension.ddl.SqlCheckConstraint.name, com.mapd.parser.extension.ddl.SqlCreateView.name, com.mapd.parser.extension.ddl.SqlAttributeDefinition.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, Catalog_Namespace::CustomExpression.name, org.apache.calcite.sql.SqlOperator.name, import_export::RasterImporter::ImportBandInfo.name, benchmarks.StringDictionaryBenchmark.name, benchmarks.TPC_DS_10GB.name, heavydb.extension_functions.ttypes.TUserDefinedFunction.name, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.name, ArrowForeignStorage.name, import_export::Importer::GeoFileLayerInfo.name, heavydb.thrift.ttypes.TDashboardGrantees.name, and heavydb.thrift.ttypes.TGeoFileLayerInfo.name.

6695  def read(self, iprot):
6696  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6697  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6698  return
6699  iprot.readStructBegin()
6700  while True:
6701  (fname, ftype, fid) = iprot.readFieldBegin()
6702  if ftype == TType.STOP:
6703  break
6704  if fid == 1:
6705  if ftype == TType.STRING:
6706  self.name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6707  else:
6708  iprot.skip(ftype)
6709  elif fid == 2:
6710  if ftype == TType.I32:
6711  self.contents = iprot.readI32()
6712  else:
6713  iprot.skip(ftype)
6714  else:
6715  iprot.skip(ftype)
6716  iprot.readFieldEnd()
6717  iprot.readStructEnd()
def heavydb.thrift.ttypes.TGeoFileLayerInfo.validate (   self)

Definition at line 6734 of file ttypes.py.

6735  def validate(self):
6736  return
def heavydb.thrift.ttypes.TGeoFileLayerInfo.write (   self,
  oprot 
)

Definition at line 6718 of file ttypes.py.

References import_export::Importer::GeoFileLayerInfo.contents, heavydb.thrift.ttypes.TGeoFileLayerInfo.contents, com.mapd.parser.extension.ddl.heavysql.HeavySqlTypeNameSpec.name, com.mapd.parser.extension.ddl.heavysql.HeavySqlColumn.name, com.mapd.parser.extension.ddl.SqlRenameUser.name, com.mapd.parser.extension.ddl.SqlInsertValues.name, com.mapd.parser.extension.ddl.SqlAlterUser.name, com.mapd.parser.extension.ddl.SqlDropUser.name, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.name, com.mapd.parser.extension.ddl.SqlDropDB.name, com.mapd.parser.extension.ddl.SqlCreateUser.name, com.mapd.parser.extension.ddl.SqlCreateDB.name, com.mapd.parser.extension.ddl.SqlInsertIntoTable.name, foreign_storage::ForeignServer.name, com.mapd.parser.extension.ddl.SqlCreateDataframe.name, com.mapd.parser.extension.ddl.SqlCheckConstraint.name, com.mapd.parser.extension.ddl.SqlCreateView.name, com.mapd.parser.extension.ddl.SqlAttributeDefinition.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, Catalog_Namespace::CustomExpression.name, org.apache.calcite.sql.SqlOperator.name, import_export::RasterImporter::ImportBandInfo.name, benchmarks.StringDictionaryBenchmark.name, benchmarks.TPC_DS_10GB.name, heavydb.extension_functions.ttypes.TUserDefinedFunction.name, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.name, ArrowForeignStorage.name, import_export::Importer::GeoFileLayerInfo.name, heavydb.thrift.ttypes.TDashboardGrantees.name, and heavydb.thrift.ttypes.TGeoFileLayerInfo.name.

6719  def write(self, oprot):
6720  if oprot._fast_encode is not None and self.thrift_spec is not None:
6721  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6722  return
6723  oprot.writeStructBegin('TGeoFileLayerInfo')
6724  if self.name is not None:
6725  oprot.writeFieldBegin('name', TType.STRING, 1)
6726  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
6727  oprot.writeFieldEnd()
6728  if self.contents is not None:
6729  oprot.writeFieldBegin('contents', TType.I32, 2)
6730  oprot.writeI32(self.contents)
6731  oprot.writeFieldEnd()
6732  oprot.writeFieldStop()
6733  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TGeoFileLayerInfo.__dict__
private

Definition at line 6743 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TGeoFileLayerInfo.contents

Definition at line 6692 of file ttypes.py.

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

heavydb.thrift.ttypes.TGeoFileLayerInfo.name

Definition at line 6691 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Bracket.__repr__(), generate_TableFunctionsFactory_init.Bracket.__str__(), generate_TableFunctionsFactory_init.UdtfNode.__str__(), generate_TableFunctionsFactory_init.Bracket.apply_column(), generate_TableFunctionsFactory_init.Bracket.apply_namespace(), generate_TableFunctionsFactory_init.Bracket.format_sizer(), generate_TableFunctionsFactory_init.Bracket.normalize(), heavydb.thrift.ttypes.TGeoFileLayerInfo.read(), heavydb.thrift.ttypes.TCustomExpression.read(), generate_TableFunctionsFactory_init.Bracket.tostring(), heavydb.thrift.ttypes.TGeoFileLayerInfo.write(), and heavydb.thrift.ttypes.TCustomExpression.write().


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