OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TGeoFileLayerInfo Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TGeoFileLayerInfo:
+ Collaboration diagram for omnisci.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 5959 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 5968 of file ttypes.py.

5969  def __init__(self, name=None, contents=None,):
5970  self.name = name
5971  self.contents = contents

Member Function Documentation

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

Definition at line 6020 of file ttypes.py.

6021  def __eq__(self, other):
6022  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TGeoFileLayerInfo.__ne__ (   self,
  other 
)

Definition at line 6023 of file ttypes.py.

6024  def __ne__(self, other):
6025  return not (self == other)
6026 
def omnisci.thrift.ttypes.TGeoFileLayerInfo.__repr__ (   self)

Definition at line 6015 of file ttypes.py.

6016  def __repr__(self):
6017  L = ['%s=%r' % (key, value)
6018  for key, value in self.__dict__.items()]
6019  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 omnisci.thrift.ttypes.TGeoFileLayerInfo.read (   self,
  iprot 
)

Definition at line 5972 of file ttypes.py.

References import_export::Importer::GeoFileLayerInfo.contents, omnisci.thrift.ttypes.TGeoFileLayerInfo.contents, com.mapd.parser.extension.ddl.omnisql.OmniSqlTypeNameSpec.name, com.mapd.parser.extension.ddl.omnisql.OmniSqlColumn.name, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.name, foreign_storage::ForeignServer.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, omnisci.extension_functions.ttypes.TUserDefinedFunction.name, omnisci.extension_functions.ttypes.TUserDefinedTableFunction.name, Parser::FunctionRef.name, ArrowForeignStorage.name, import_export::Importer::GeoFileLayerInfo.name, Parser::NameValueAssign.name, omnisci.thrift.ttypes.TDashboardGrantees.name, and omnisci.thrift.ttypes.TGeoFileLayerInfo.name.

5973  def read(self, iprot):
5974  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5975  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5976  return
5977  iprot.readStructBegin()
5978  while True:
5979  (fname, ftype, fid) = iprot.readFieldBegin()
5980  if ftype == TType.STOP:
5981  break
5982  if fid == 1:
5983  if ftype == TType.STRING:
5984  self.name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5985  else:
5986  iprot.skip(ftype)
5987  elif fid == 2:
5988  if ftype == TType.I32:
5989  self.contents = iprot.readI32()
5990  else:
5991  iprot.skip(ftype)
5992  else:
5993  iprot.skip(ftype)
5994  iprot.readFieldEnd()
5995  iprot.readStructEnd()
def omnisci.thrift.ttypes.TGeoFileLayerInfo.validate (   self)

Definition at line 6012 of file ttypes.py.

6013  def validate(self):
6014  return
def omnisci.thrift.ttypes.TGeoFileLayerInfo.write (   self,
  oprot 
)

Definition at line 5996 of file ttypes.py.

References import_export::Importer::GeoFileLayerInfo.contents, omnisci.thrift.ttypes.TGeoFileLayerInfo.contents, com.mapd.parser.extension.ddl.omnisql.OmniSqlTypeNameSpec.name, com.mapd.parser.extension.ddl.omnisql.OmniSqlColumn.name, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.name, foreign_storage::ForeignServer.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, omnisci.extension_functions.ttypes.TUserDefinedFunction.name, omnisci.extension_functions.ttypes.TUserDefinedTableFunction.name, Parser::FunctionRef.name, ArrowForeignStorage.name, import_export::Importer::GeoFileLayerInfo.name, Parser::NameValueAssign.name, omnisci.thrift.ttypes.TDashboardGrantees.name, and omnisci.thrift.ttypes.TGeoFileLayerInfo.name.

5997  def write(self, oprot):
5998  if oprot._fast_encode is not None and self.thrift_spec is not None:
5999  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6000  return
6001  oprot.writeStructBegin('TGeoFileLayerInfo')
6002  if self.name is not None:
6003  oprot.writeFieldBegin('name', TType.STRING, 1)
6004  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
6005  oprot.writeFieldEnd()
6006  if self.contents is not None:
6007  oprot.writeFieldBegin('contents', TType.I32, 2)
6008  oprot.writeI32(self.contents)
6009  oprot.writeFieldEnd()
6010  oprot.writeFieldStop()
6011  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TGeoFileLayerInfo.__dict__
private

Definition at line 6021 of file ttypes.py.

omnisci.thrift.ttypes.TGeoFileLayerInfo.contents

Definition at line 5970 of file ttypes.py.

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

omnisci.thrift.ttypes.TGeoFileLayerInfo.name

Definition at line 5969 of file ttypes.py.

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


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