OmniSciDB  a7179b2938
 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 5842 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 5851 of file ttypes.py.

5852  def __init__(self, name=None, contents=None,):
5853  self.name = name
5854  self.contents = contents

Member Function Documentation

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

Definition at line 5903 of file ttypes.py.

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

Definition at line 5906 of file ttypes.py.

5907  def __ne__(self, other):
5908  return not (self == other)
5909 all_structs.append(TDatumVal)
TDatumVal.thrift_spec = (
def omnisci.thrift.ttypes.TGeoFileLayerInfo.__repr__ (   self)

Definition at line 5898 of file ttypes.py.

5899  def __repr__(self):
5900  L = ['%s=%r' % (key, value)
5901  for key, value in self.__dict__.items()]
5902  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 5855 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, com.mapd.parser.extension.ddl.SqlCheckConstraint.name, com.mapd.parser.extension.ddl.SqlCreateView.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlAttributeDefinition.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.name, foreign_storage::ForeignServer.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, omnisci.extension_functions.ttypes.TUserDefinedFunction.name, omnisci.extension_functions.ttypes.TUserDefinedTableFunction.name, Parser::FunctionRef.name, import_export::Importer::GeoFileLayerInfo.name, Parser::NameValueAssign.name, omnisci.thrift.ttypes.TDashboardGrantees.name, and omnisci.thrift.ttypes.TGeoFileLayerInfo.name.

5856  def read(self, iprot):
5857  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5858  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5859  return
5860  iprot.readStructBegin()
5861  while True:
5862  (fname, ftype, fid) = iprot.readFieldBegin()
5863  if ftype == TType.STOP:
5864  break
5865  if fid == 1:
5866  if ftype == TType.STRING:
5867  self.name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5868  else:
5869  iprot.skip(ftype)
5870  elif fid == 2:
5871  if ftype == TType.I32:
5872  self.contents = iprot.readI32()
5873  else:
5874  iprot.skip(ftype)
5875  else:
5876  iprot.skip(ftype)
5877  iprot.readFieldEnd()
5878  iprot.readStructEnd()
def omnisci.thrift.ttypes.TGeoFileLayerInfo.validate (   self)

Definition at line 5895 of file ttypes.py.

5896  def validate(self):
5897  return
def omnisci.thrift.ttypes.TGeoFileLayerInfo.write (   self,
  oprot 
)

Definition at line 5879 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, com.mapd.parser.extension.ddl.SqlCheckConstraint.name, com.mapd.parser.extension.ddl.SqlCreateView.name, com.mapd.parser.extension.ddl.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlAttributeDefinition.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.name, foreign_storage::ForeignServer.name, com.mapd.parser.extension.ddl.SqlColumnDeclaration.name, omnisci.extension_functions.ttypes.TUserDefinedFunction.name, omnisci.extension_functions.ttypes.TUserDefinedTableFunction.name, Parser::FunctionRef.name, import_export::Importer::GeoFileLayerInfo.name, Parser::NameValueAssign.name, omnisci.thrift.ttypes.TDashboardGrantees.name, and omnisci.thrift.ttypes.TGeoFileLayerInfo.name.

5880  def write(self, oprot):
5881  if oprot._fast_encode is not None and self.thrift_spec is not None:
5882  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5883  return
5884  oprot.writeStructBegin('TGeoFileLayerInfo')
5885  if self.name is not None:
5886  oprot.writeFieldBegin('name', TType.STRING, 1)
5887  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
5888  oprot.writeFieldEnd()
5889  if self.contents is not None:
5890  oprot.writeFieldBegin('contents', TType.I32, 2)
5891  oprot.writeI32(self.contents)
5892  oprot.writeFieldEnd()
5893  oprot.writeFieldStop()
5894  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TGeoFileLayerInfo.__dict__
private

Definition at line 5904 of file ttypes.py.

omnisci.thrift.ttypes.TGeoFileLayerInfo.contents

Definition at line 5853 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 5852 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: