OmniSciDB  94e8789169
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TTablePermissions Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TTablePermissions:
+ Collaboration diagram for omnisci.thrift.ttypes.TTablePermissions:

Public Member Functions

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

Public Attributes

 create_
 
 drop_
 
 select_
 
 insert_
 
 update_
 
 delete_
 
 truncate_
 
 alter_
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - create_
 - drop_
 - select_
 - insert_
 - update_
 - delete_
 - truncate_
 - alter_

Definition at line 4948 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TTablePermissions.__init__ (   self,
  create_ = None,
  drop_ = None,
  select_ = None,
  insert_ = None,
  update_ = None,
  delete_ = None,
  truncate_ = None,
  alter_ = None 
)

Definition at line 4963 of file ttypes.py.

4964  def __init__(self, create_=None, drop_=None, select_=None, insert_=None, update_=None, delete_=None, truncate_=None, alter_=None,):
4965  self.create_ = create_
4966  self.drop_ = drop_
4967  self.select_ = select_
4968  self.insert_ = insert_
4969  self.update_ = update_
4970  self.delete_ = delete_
4971  self.truncate_ = truncate_
4972  self.alter_ = alter_

Member Function Documentation

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

Definition at line 5075 of file ttypes.py.

5076  def __eq__(self, other):
5077  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TTablePermissions.__ne__ (   self,
  other 
)

Definition at line 5078 of file ttypes.py.

5079  def __ne__(self, other):
5080  return not (self == other)
5081 
def omnisci.thrift.ttypes.TTablePermissions.__repr__ (   self)

Definition at line 5070 of file ttypes.py.

5071  def __repr__(self):
5072  L = ['%s=%r' % (key, value)
5073  for key, value in self.__dict__.items()]
5074  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.TTablePermissions.read (   self,
  iprot 
)

Definition at line 4973 of file ttypes.py.

References omnisci.thrift.ttypes.TTablePermissions.alter_, omnisci.thrift.ttypes.TDatabasePermissions.create_, omnisci.thrift.ttypes.TTablePermissions.create_, omnisci.thrift.ttypes.TDatabasePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.drop_, omnisci.thrift.ttypes.TTablePermissions.insert_, omnisci.thrift.ttypes.TTablePermissions.select_, omnisci.thrift.ttypes.TTablePermissions.truncate_, and omnisci.thrift.ttypes.TTablePermissions.update_.

4974  def read(self, iprot):
4975  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4976  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4977  return
4978  iprot.readStructBegin()
4979  while True:
4980  (fname, ftype, fid) = iprot.readFieldBegin()
4981  if ftype == TType.STOP:
4982  break
4983  if fid == 1:
4984  if ftype == TType.BOOL:
4985  self.create_ = iprot.readBool()
4986  else:
4987  iprot.skip(ftype)
4988  elif fid == 2:
4989  if ftype == TType.BOOL:
4990  self.drop_ = iprot.readBool()
4991  else:
4992  iprot.skip(ftype)
4993  elif fid == 3:
4994  if ftype == TType.BOOL:
4995  self.select_ = iprot.readBool()
4996  else:
4997  iprot.skip(ftype)
4998  elif fid == 4:
4999  if ftype == TType.BOOL:
5000  self.insert_ = iprot.readBool()
5001  else:
5002  iprot.skip(ftype)
5003  elif fid == 5:
5004  if ftype == TType.BOOL:
5005  self.update_ = iprot.readBool()
5006  else:
5007  iprot.skip(ftype)
5008  elif fid == 6:
5009  if ftype == TType.BOOL:
5010  self.delete_ = iprot.readBool()
5011  else:
5012  iprot.skip(ftype)
5013  elif fid == 7:
5014  if ftype == TType.BOOL:
5015  self.truncate_ = iprot.readBool()
5016  else:
5017  iprot.skip(ftype)
5018  elif fid == 8:
5019  if ftype == TType.BOOL:
5020  self.alter_ = iprot.readBool()
5021  else:
5022  iprot.skip(ftype)
5023  else:
5024  iprot.skip(ftype)
5025  iprot.readFieldEnd()
5026  iprot.readStructEnd()
def omnisci.thrift.ttypes.TTablePermissions.validate (   self)

Definition at line 5067 of file ttypes.py.

5068  def validate(self):
5069  return
def omnisci.thrift.ttypes.TTablePermissions.write (   self,
  oprot 
)

Definition at line 5027 of file ttypes.py.

References omnisci.thrift.ttypes.TTablePermissions.alter_, omnisci.thrift.ttypes.TDatabasePermissions.create_, omnisci.thrift.ttypes.TTablePermissions.create_, omnisci.thrift.ttypes.TDatabasePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.drop_, omnisci.thrift.ttypes.TTablePermissions.insert_, omnisci.thrift.ttypes.TTablePermissions.select_, omnisci.thrift.ttypes.TTablePermissions.truncate_, and omnisci.thrift.ttypes.TTablePermissions.update_.

5028  def write(self, oprot):
5029  if oprot._fast_encode is not None and self.thrift_spec is not None:
5030  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5031  return
5032  oprot.writeStructBegin('TTablePermissions')
5033  if self.create_ is not None:
5034  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5035  oprot.writeBool(self.create_)
5036  oprot.writeFieldEnd()
5037  if self.drop_ is not None:
5038  oprot.writeFieldBegin('drop_', TType.BOOL, 2)
5039  oprot.writeBool(self.drop_)
5040  oprot.writeFieldEnd()
5041  if self.select_ is not None:
5042  oprot.writeFieldBegin('select_', TType.BOOL, 3)
5043  oprot.writeBool(self.select_)
5044  oprot.writeFieldEnd()
5045  if self.insert_ is not None:
5046  oprot.writeFieldBegin('insert_', TType.BOOL, 4)
5047  oprot.writeBool(self.insert_)
5048  oprot.writeFieldEnd()
5049  if self.update_ is not None:
5050  oprot.writeFieldBegin('update_', TType.BOOL, 5)
5051  oprot.writeBool(self.update_)
5052  oprot.writeFieldEnd()
5053  if self.delete_ is not None:
5054  oprot.writeFieldBegin('delete_', TType.BOOL, 6)
5055  oprot.writeBool(self.delete_)
5056  oprot.writeFieldEnd()
5057  if self.truncate_ is not None:
5058  oprot.writeFieldBegin('truncate_', TType.BOOL, 7)
5059  oprot.writeBool(self.truncate_)
5060  oprot.writeFieldEnd()
5061  if self.alter_ is not None:
5062  oprot.writeFieldBegin('alter_', TType.BOOL, 8)
5063  oprot.writeBool(self.alter_)
5064  oprot.writeFieldEnd()
5065  oprot.writeFieldStop()
5066  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TTablePermissions.__dict__
private

Definition at line 5076 of file ttypes.py.

omnisci.thrift.ttypes.TTablePermissions.alter_

Definition at line 4971 of file ttypes.py.

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

omnisci.thrift.ttypes.TTablePermissions.create_

Definition at line 4964 of file ttypes.py.

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

omnisci.thrift.ttypes.TTablePermissions.delete_

Definition at line 4969 of file ttypes.py.

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

omnisci.thrift.ttypes.TTablePermissions.drop_

Definition at line 4965 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTablePermissions.read(), omnisci.thrift.ttypes.TViewPermissions.read(), omnisci.thrift.ttypes.TServerPermissions.read(), omnisci.thrift.ttypes.TTablePermissions.write(), omnisci.thrift.ttypes.TViewPermissions.write(), and omnisci.thrift.ttypes.TServerPermissions.write().

omnisci.thrift.ttypes.TTablePermissions.insert_

Definition at line 4967 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTablePermissions.read(), omnisci.thrift.ttypes.TViewPermissions.read(), omnisci.thrift.ttypes.TTablePermissions.write(), and omnisci.thrift.ttypes.TViewPermissions.write().

omnisci.thrift.ttypes.TTablePermissions.select_

Definition at line 4966 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTablePermissions.read(), omnisci.thrift.ttypes.TViewPermissions.read(), omnisci.thrift.ttypes.TTablePermissions.write(), and omnisci.thrift.ttypes.TViewPermissions.write().

omnisci.thrift.ttypes.TTablePermissions.truncate_

Definition at line 4970 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTablePermissions.read(), and omnisci.thrift.ttypes.TTablePermissions.write().

omnisci.thrift.ttypes.TTablePermissions.update_

Definition at line 4968 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTablePermissions.read(), omnisci.thrift.ttypes.TViewPermissions.read(), omnisci.thrift.ttypes.TTablePermissions.write(), and omnisci.thrift.ttypes.TViewPermissions.write().


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