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

Public Member Functions

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

Public Attributes

 name
 
 is_user
 
 permissions
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - name
 - is_user
 - permissions

Definition at line 6278 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TDashboardGrantees.__init__ (   self,
  name = None,
  is_user = None,
  permissions = None 
)

Definition at line 6288 of file ttypes.py.

6289  def __init__(self, name=None, is_user=None, permissions=None,):
6290  self.name = name
6291  self.is_user = is_user
6292  self.permissions = permissions

Member Function Documentation

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

Definition at line 6351 of file ttypes.py.

6352  def __eq__(self, other):
6353  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDashboardGrantees.__ne__ (   self,
  other 
)

Definition at line 6354 of file ttypes.py.

6355  def __ne__(self, other):
6356  return not (self == other)
6357 
def heavydb.thrift.ttypes.TDashboardGrantees.__repr__ (   self)

Definition at line 6346 of file ttypes.py.

6347  def __repr__(self):
6348  L = ['%s=%r' % (key, value)
6349  for key, value in self.__dict__.items()]
6350  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.TDashboardGrantees.read (   self,
  iprot 
)

Definition at line 6293 of file ttypes.py.

References heavydb.thrift.ttypes.TDashboardGrantees.is_user, 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.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.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, heavydb.thrift.ttypes.TDashboardGrantees.permissions, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboards_args.permissions, and heavydb.thrift.Heavy.has_object_privilege_args.permissions.

6294  def read(self, iprot):
6295  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6296  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6297  return
6298  iprot.readStructBegin()
6299  while True:
6300  (fname, ftype, fid) = iprot.readFieldBegin()
6301  if ftype == TType.STOP:
6302  break
6303  if fid == 1:
6304  if ftype == TType.STRING:
6305  self.name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6306  else:
6307  iprot.skip(ftype)
6308  elif fid == 2:
6309  if ftype == TType.BOOL:
6310  self.is_user = iprot.readBool()
6311  else:
6312  iprot.skip(ftype)
6313  elif fid == 3:
6314  if ftype == TType.STRUCT:
6316  self.permissions.read(iprot)
6317  else:
6318  iprot.skip(ftype)
6319  else:
6320  iprot.skip(ftype)
6321  iprot.readFieldEnd()
6322  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDashboardGrantees.validate (   self)

Definition at line 6343 of file ttypes.py.

6344  def validate(self):
6345  return
def heavydb.thrift.ttypes.TDashboardGrantees.write (   self,
  oprot 
)

Definition at line 6323 of file ttypes.py.

References heavydb.thrift.ttypes.TDashboardGrantees.is_user, 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.SqlCreateTable.name, com.mapd.parser.extension.ddl.SqlKeyConstraint.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, heavydb.thrift.ttypes.TDashboardGrantees.permissions, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboards_args.permissions, and heavydb.thrift.Heavy.has_object_privilege_args.permissions.

6324  def write(self, oprot):
6325  if oprot._fast_encode is not None and self.thrift_spec is not None:
6326  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6327  return
6328  oprot.writeStructBegin('TDashboardGrantees')
6329  if self.name is not None:
6330  oprot.writeFieldBegin('name', TType.STRING, 1)
6331  oprot.writeString(self.name.encode('utf-8') if sys.version_info[0] == 2 else self.name)
6332  oprot.writeFieldEnd()
6333  if self.is_user is not None:
6334  oprot.writeFieldBegin('is_user', TType.BOOL, 2)
6335  oprot.writeBool(self.is_user)
6336  oprot.writeFieldEnd()
6337  if self.permissions is not None:
6338  oprot.writeFieldBegin('permissions', TType.STRUCT, 3)
6339  self.permissions.write(oprot)
6340  oprot.writeFieldEnd()
6341  oprot.writeFieldStop()
6342  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDashboardGrantees.__dict__
private

Definition at line 6352 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TDashboardGrantees.is_user

Definition at line 6290 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboardGrantees.name

Definition at line 6289 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.TDashboardGrantees.read(), heavydb.thrift.ttypes.TGeoFileLayerInfo.read(), heavydb.thrift.ttypes.TCustomExpression.read(), generate_TableFunctionsFactory_init.Bracket.tostring(), heavydb.thrift.ttypes.TDashboardGrantees.write(), heavydb.thrift.ttypes.TGeoFileLayerInfo.write(), and heavydb.thrift.ttypes.TCustomExpression.write().

heavydb.thrift.ttypes.TDashboardGrantees.permissions

Definition at line 6291 of file ttypes.py.

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


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