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

Public Member Functions

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

Public Attributes

 create_
 
 delete_
 
 view_
 
 edit_
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - create_
 - delete_
 - view_
 - edit_

Definition at line 5947 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TDashboardPermissions.__init__ (   self,
  create_ = None,
  delete_ = None,
  view_ = None,
  edit_ = None 
)

Definition at line 5958 of file ttypes.py.

5959  def __init__(self, create_=None, delete_=None, view_=None, edit_=None,):
5960  self.create_ = create_
5961  self.delete_ = delete_
5962  self.view_ = view_
5963  self.edit_ = edit_

Member Function Documentation

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

Definition at line 6030 of file ttypes.py.

6031  def __eq__(self, other):
6032  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDashboardPermissions.__ne__ (   self,
  other 
)

Definition at line 6033 of file ttypes.py.

6034  def __ne__(self, other):
6035  return not (self == other)
6036 
def heavydb.thrift.ttypes.TDashboardPermissions.__repr__ (   self)

Definition at line 6025 of file ttypes.py.

6026  def __repr__(self):
6027  L = ['%s=%r' % (key, value)
6028  for key, value in self.__dict__.items()]
6029  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.TDashboardPermissions.read (   self,
  iprot 
)

Definition at line 5964 of file ttypes.py.

References heavydb.thrift.ttypes.TDatabasePermissions.create_, heavydb.thrift.ttypes.TTablePermissions.create_, heavydb.thrift.ttypes.TDashboardPermissions.create_, heavydb.thrift.ttypes.TDatabasePermissions.delete_, heavydb.thrift.ttypes.TTablePermissions.delete_, heavydb.thrift.ttypes.TDashboardPermissions.delete_, heavydb.thrift.ttypes.TDashboardPermissions.edit_, and heavydb.thrift.ttypes.TDashboardPermissions.view_.

5965  def read(self, iprot):
5966  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5967  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5968  return
5969  iprot.readStructBegin()
5970  while True:
5971  (fname, ftype, fid) = iprot.readFieldBegin()
5972  if ftype == TType.STOP:
5973  break
5974  if fid == 1:
5975  if ftype == TType.BOOL:
5976  self.create_ = iprot.readBool()
5977  else:
5978  iprot.skip(ftype)
5979  elif fid == 2:
5980  if ftype == TType.BOOL:
5981  self.delete_ = iprot.readBool()
5982  else:
5983  iprot.skip(ftype)
5984  elif fid == 3:
5985  if ftype == TType.BOOL:
5986  self.view_ = iprot.readBool()
5987  else:
5988  iprot.skip(ftype)
5989  elif fid == 4:
5990  if ftype == TType.BOOL:
5991  self.edit_ = iprot.readBool()
5992  else:
5993  iprot.skip(ftype)
5994  else:
5995  iprot.skip(ftype)
5996  iprot.readFieldEnd()
5997  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDashboardPermissions.validate (   self)

Definition at line 6022 of file ttypes.py.

6023  def validate(self):
6024  return
def heavydb.thrift.ttypes.TDashboardPermissions.write (   self,
  oprot 
)

Definition at line 5998 of file ttypes.py.

References heavydb.thrift.ttypes.TDatabasePermissions.create_, heavydb.thrift.ttypes.TTablePermissions.create_, heavydb.thrift.ttypes.TDashboardPermissions.create_, heavydb.thrift.ttypes.TDatabasePermissions.delete_, heavydb.thrift.ttypes.TTablePermissions.delete_, heavydb.thrift.ttypes.TDashboardPermissions.delete_, heavydb.thrift.ttypes.TDashboardPermissions.edit_, and heavydb.thrift.ttypes.TDashboardPermissions.view_.

5999  def write(self, oprot):
6000  if oprot._fast_encode is not None and self.thrift_spec is not None:
6001  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6002  return
6003  oprot.writeStructBegin('TDashboardPermissions')
6004  if self.create_ is not None:
6005  oprot.writeFieldBegin('create_', TType.BOOL, 1)
6006  oprot.writeBool(self.create_)
6007  oprot.writeFieldEnd()
6008  if self.delete_ is not None:
6009  oprot.writeFieldBegin('delete_', TType.BOOL, 2)
6010  oprot.writeBool(self.delete_)
6011  oprot.writeFieldEnd()
6012  if self.view_ is not None:
6013  oprot.writeFieldBegin('view_', TType.BOOL, 3)
6014  oprot.writeBool(self.view_)
6015  oprot.writeFieldEnd()
6016  if self.edit_ is not None:
6017  oprot.writeFieldBegin('edit_', TType.BOOL, 4)
6018  oprot.writeBool(self.edit_)
6019  oprot.writeFieldEnd()
6020  oprot.writeFieldStop()
6021  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDashboardPermissions.__dict__
private

Definition at line 6031 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TDashboardPermissions.create_

Definition at line 5959 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TDashboardPermissions.read(), heavydb.thrift.ttypes.TViewPermissions.read(), heavydb.thrift.ttypes.TServerPermissions.read(), heavydb.thrift.ttypes.TDashboardPermissions.write(), heavydb.thrift.ttypes.TViewPermissions.write(), and heavydb.thrift.ttypes.TServerPermissions.write().

heavydb.thrift.ttypes.TDashboardPermissions.delete_

Definition at line 5960 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboardPermissions.edit_

Definition at line 5962 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboardPermissions.view_

Definition at line 5961 of file ttypes.py.

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


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