OmniSciDB  a5dc49c757
 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 6846 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 6855 of file ttypes.py.

6856  def __init__(self, name=None, contents=None,):
6857  self.name = name
6858  self.contents = contents

Member Function Documentation

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

Definition at line 6907 of file ttypes.py.

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

Definition at line 6910 of file ttypes.py.

6911  def __ne__(self, other):
6912  return not (self == other)
6913 
def heavydb.thrift.ttypes.TGeoFileLayerInfo.__repr__ (   self)

Definition at line 6902 of file ttypes.py.

6903  def __repr__(self):
6904  L = ['%s=%r' % (key, value)
6905  for key, value in self.__dict__.items()]
6906  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 6859 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.SqlCreateModel.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.

6860  def read(self, iprot):
6861  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6862  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6863  return
6864  iprot.readStructBegin()
6865  while True:
6866  (fname, ftype, fid) = iprot.readFieldBegin()
6867  if ftype == TType.STOP:
6868  break
6869  if fid == 1:
6870  if ftype == TType.STRING:
6871  self.name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6872  else:
6873  iprot.skip(ftype)
6874  elif fid == 2:
6875  if ftype == TType.I32:
6876  self.contents = iprot.readI32()
6877  else:
6878  iprot.skip(ftype)
6879  else:
6880  iprot.skip(ftype)
6881  iprot.readFieldEnd()
6882  iprot.readStructEnd()
def heavydb.thrift.ttypes.TGeoFileLayerInfo.validate (   self)

Definition at line 6899 of file ttypes.py.

6900  def validate(self):
6901  return
def heavydb.thrift.ttypes.TGeoFileLayerInfo.write (   self,
  oprot 
)

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

6884  def write(self, oprot):
6885  if oprot._fast_encode is not None and self.thrift_spec is not None:
6886  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6887  return
6888  oprot.writeStructBegin('TGeoFileLayerInfo')
6889  if self.name is not None:
6890  oprot.writeFieldBegin('name', TType.STRING, 1)
6891  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
6892  oprot.writeFieldEnd()
6893  if self.contents is not None:
6894  oprot.writeFieldBegin('contents', TType.I32, 2)
6895  oprot.writeI32(self.contents)
6896  oprot.writeFieldEnd()
6897  oprot.writeFieldStop()
6898  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TGeoFileLayerInfo.__dict__
private

Definition at line 6908 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TGeoFileLayerInfo.contents

Definition at line 6857 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 6856 of file ttypes.py.

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


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