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

Public Member Functions

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

Public Attributes

 create_
 
 drop_
 
 alter_
 
 usage_
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - create_
 - drop_
 - alter_
 - usage_

Definition at line 5962 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TServerPermissions.__init__ (   self,
  create_ = None,
  drop_ = None,
  alter_ = None,
  usage_ = None 
)

Definition at line 5973 of file ttypes.py.

5974  def __init__(self, create_=None, drop_=None, alter_=None, usage_=None,):
5975  self.create_ = create_
5976  self.drop_ = drop_
5977  self.alter_ = alter_
5978  self.usage_ = usage_

Member Function Documentation

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

Definition at line 6045 of file ttypes.py.

6046  def __eq__(self, other):
6047  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TServerPermissions.__ne__ (   self,
  other 
)

Definition at line 6048 of file ttypes.py.

6049  def __ne__(self, other):
6050  return not (self == other)
6051 
def heavydb.thrift.ttypes.TServerPermissions.__repr__ (   self)

Definition at line 6040 of file ttypes.py.

6041  def __repr__(self):
6042  L = ['%s=%r' % (key, value)
6043  for key, value in self.__dict__.items()]
6044  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.TServerPermissions.read (   self,
  iprot 
)

Definition at line 5979 of file ttypes.py.

References heavydb.thrift.ttypes.TTablePermissions.alter_, heavydb.thrift.ttypes.TServerPermissions.alter_, heavydb.thrift.ttypes.TDatabasePermissions.create_, heavydb.thrift.ttypes.TTablePermissions.create_, heavydb.thrift.ttypes.TDashboardPermissions.create_, heavydb.thrift.ttypes.TViewPermissions.create_, heavydb.thrift.ttypes.TServerPermissions.create_, heavydb.thrift.ttypes.TTablePermissions.drop_, heavydb.thrift.ttypes.TViewPermissions.drop_, heavydb.thrift.ttypes.TServerPermissions.drop_, and heavydb.thrift.ttypes.TServerPermissions.usage_.

5980  def read(self, iprot):
5981  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5982  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5983  return
5984  iprot.readStructBegin()
5985  while True:
5986  (fname, ftype, fid) = iprot.readFieldBegin()
5987  if ftype == TType.STOP:
5988  break
5989  if fid == 1:
5990  if ftype == TType.BOOL:
5991  self.create_ = iprot.readBool()
5992  else:
5993  iprot.skip(ftype)
5994  elif fid == 2:
5995  if ftype == TType.BOOL:
5996  self.drop_ = iprot.readBool()
5997  else:
5998  iprot.skip(ftype)
5999  elif fid == 3:
6000  if ftype == TType.BOOL:
6001  self.alter_ = iprot.readBool()
6002  else:
6003  iprot.skip(ftype)
6004  elif fid == 4:
6005  if ftype == TType.BOOL:
6006  self.usage_ = iprot.readBool()
6007  else:
6008  iprot.skip(ftype)
6009  else:
6010  iprot.skip(ftype)
6011  iprot.readFieldEnd()
6012  iprot.readStructEnd()
def heavydb.thrift.ttypes.TServerPermissions.validate (   self)

Definition at line 6037 of file ttypes.py.

6038  def validate(self):
6039  return
def heavydb.thrift.ttypes.TServerPermissions.write (   self,
  oprot 
)

Definition at line 6013 of file ttypes.py.

References heavydb.thrift.ttypes.TTablePermissions.alter_, heavydb.thrift.ttypes.TServerPermissions.alter_, heavydb.thrift.ttypes.TDatabasePermissions.create_, heavydb.thrift.ttypes.TTablePermissions.create_, heavydb.thrift.ttypes.TDashboardPermissions.create_, heavydb.thrift.ttypes.TViewPermissions.create_, heavydb.thrift.ttypes.TServerPermissions.create_, heavydb.thrift.ttypes.TTablePermissions.drop_, heavydb.thrift.ttypes.TViewPermissions.drop_, heavydb.thrift.ttypes.TServerPermissions.drop_, and heavydb.thrift.ttypes.TServerPermissions.usage_.

6014  def write(self, oprot):
6015  if oprot._fast_encode is not None and self.thrift_spec is not None:
6016  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6017  return
6018  oprot.writeStructBegin('TServerPermissions')
6019  if self.create_ is not None:
6020  oprot.writeFieldBegin('create_', TType.BOOL, 1)
6021  oprot.writeBool(self.create_)
6022  oprot.writeFieldEnd()
6023  if self.drop_ is not None:
6024  oprot.writeFieldBegin('drop_', TType.BOOL, 2)
6025  oprot.writeBool(self.drop_)
6026  oprot.writeFieldEnd()
6027  if self.alter_ is not None:
6028  oprot.writeFieldBegin('alter_', TType.BOOL, 3)
6029  oprot.writeBool(self.alter_)
6030  oprot.writeFieldEnd()
6031  if self.usage_ is not None:
6032  oprot.writeFieldBegin('usage_', TType.BOOL, 4)
6033  oprot.writeBool(self.usage_)
6034  oprot.writeFieldEnd()
6035  oprot.writeFieldStop()
6036  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TServerPermissions.__dict__
private

Definition at line 6046 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TServerPermissions.alter_

Definition at line 5976 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerPermissions.create_

Definition at line 5974 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerPermissions.drop_

Definition at line 5975 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerPermissions.usage_

Definition at line 5977 of file ttypes.py.

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


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