OmniSciDB  cde582ebc3
 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 5760 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 5771 of file ttypes.py.

5772  def __init__(self, create_=None, delete_=None, view_=None, edit_=None,):
5773  self.create_ = create_
5774  self.delete_ = delete_
5775  self.view_ = view_
5776  self.edit_ = edit_

Member Function Documentation

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

Definition at line 5843 of file ttypes.py.

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

Definition at line 5846 of file ttypes.py.

5847  def __ne__(self, other):
5848  return not (self == other)
5849 
def heavydb.thrift.ttypes.TDashboardPermissions.__repr__ (   self)

Definition at line 5838 of file ttypes.py.

5839  def __repr__(self):
5840  L = ['%s=%r' % (key, value)
5841  for key, value in self.__dict__.items()]
5842  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 5777 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_.

5778  def read(self, iprot):
5779  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5780  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5781  return
5782  iprot.readStructBegin()
5783  while True:
5784  (fname, ftype, fid) = iprot.readFieldBegin()
5785  if ftype == TType.STOP:
5786  break
5787  if fid == 1:
5788  if ftype == TType.BOOL:
5789  self.create_ = iprot.readBool()
5790  else:
5791  iprot.skip(ftype)
5792  elif fid == 2:
5793  if ftype == TType.BOOL:
5794  self.delete_ = iprot.readBool()
5795  else:
5796  iprot.skip(ftype)
5797  elif fid == 3:
5798  if ftype == TType.BOOL:
5799  self.view_ = iprot.readBool()
5800  else:
5801  iprot.skip(ftype)
5802  elif fid == 4:
5803  if ftype == TType.BOOL:
5804  self.edit_ = iprot.readBool()
5805  else:
5806  iprot.skip(ftype)
5807  else:
5808  iprot.skip(ftype)
5809  iprot.readFieldEnd()
5810  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDashboardPermissions.validate (   self)

Definition at line 5835 of file ttypes.py.

5836  def validate(self):
5837  return
def heavydb.thrift.ttypes.TDashboardPermissions.write (   self,
  oprot 
)

Definition at line 5811 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_.

5812  def write(self, oprot):
5813  if oprot._fast_encode is not None and self.thrift_spec is not None:
5814  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5815  return
5816  oprot.writeStructBegin('TDashboardPermissions')
5817  if self.create_ is not None:
5818  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5819  oprot.writeBool(self.create_)
5820  oprot.writeFieldEnd()
5821  if self.delete_ is not None:
5822  oprot.writeFieldBegin('delete_', TType.BOOL, 2)
5823  oprot.writeBool(self.delete_)
5824  oprot.writeFieldEnd()
5825  if self.view_ is not None:
5826  oprot.writeFieldBegin('view_', TType.BOOL, 3)
5827  oprot.writeBool(self.view_)
5828  oprot.writeFieldEnd()
5829  if self.edit_ is not None:
5830  oprot.writeFieldBegin('edit_', TType.BOOL, 4)
5831  oprot.writeBool(self.edit_)
5832  oprot.writeFieldEnd()
5833  oprot.writeFieldStop()
5834  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDashboardPermissions.__dict__
private

Definition at line 5844 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TDashboardPermissions.create_

Definition at line 5772 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 5773 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 5775 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 5774 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: