OmniSciDB  cde582ebc3
 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 6659 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 6668 of file ttypes.py.

6669  def __init__(self, name=None, contents=None,):
6670  self.name = name
6671  self.contents = contents

Member Function Documentation

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

Definition at line 6720 of file ttypes.py.

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

Definition at line 6723 of file ttypes.py.

6724  def __ne__(self, other):
6725  return not (self == other)
6726 
def heavydb.thrift.ttypes.TGeoFileLayerInfo.__repr__ (   self)

Definition at line 6715 of file ttypes.py.

6716  def __repr__(self):
6717  L = ['%s=%r' % (key, value)
6718  for key, value in self.__dict__.items()]
6719  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 6672 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.SqlRenameDB.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.SqlKeyConstraint.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, Catalog_Namespace::CustomExpression.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.

6673  def read(self, iprot):
6674  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6675  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6676  return
6677  iprot.readStructBegin()
6678  while True:
6679  (fname, ftype, fid) = iprot.readFieldBegin()
6680  if ftype == TType.STOP:
6681  break
6682  if fid == 1:
6683  if ftype == TType.STRING:
6684  self.name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6685  else:
6686  iprot.skip(ftype)
6687  elif fid == 2:
6688  if ftype == TType.I32:
6689  self.contents = iprot.readI32()
6690  else:
6691  iprot.skip(ftype)
6692  else:
6693  iprot.skip(ftype)
6694  iprot.readFieldEnd()
6695  iprot.readStructEnd()
def heavydb.thrift.ttypes.TGeoFileLayerInfo.validate (   self)

Definition at line 6712 of file ttypes.py.

6713  def validate(self):
6714  return
def heavydb.thrift.ttypes.TGeoFileLayerInfo.write (   self,
  oprot 
)

Definition at line 6696 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.SqlRenameDB.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.SqlKeyConstraint.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, Catalog_Namespace::CustomExpression.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.

6697  def write(self, oprot):
6698  if oprot._fast_encode is not None and self.thrift_spec is not None:
6699  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6700  return
6701  oprot.writeStructBegin('TGeoFileLayerInfo')
6702  if self.name is not None:
6703  oprot.writeFieldBegin('name', TType.STRING, 1)
6704  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
6705  oprot.writeFieldEnd()
6706  if self.contents is not None:
6707  oprot.writeFieldBegin('contents', TType.I32, 2)
6708  oprot.writeI32(self.contents)
6709  oprot.writeFieldEnd()
6710  oprot.writeFieldStop()
6711  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TGeoFileLayerInfo.__dict__
private

Definition at line 6721 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TGeoFileLayerInfo.contents

Definition at line 6670 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 6669 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: