OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TTablePermissions Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TTablePermissions:
+ Collaboration diagram for heavydb.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 5813 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 5828 of file ttypes.py.

5829  def __init__(self, create_=None, drop_=None, select_=None, insert_=None, update_=None, delete_=None, truncate_=None, alter_=None,):
5830  self.create_ = create_
5831  self.drop_ = drop_
5832  self.select_ = select_
5833  self.insert_ = insert_
5834  self.update_ = update_
5835  self.delete_ = delete_
5836  self.truncate_ = truncate_
5837  self.alter_ = alter_

Member Function Documentation

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

Definition at line 5940 of file ttypes.py.

5941  def __eq__(self, other):
5942  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TTablePermissions.__ne__ (   self,
  other 
)

Definition at line 5943 of file ttypes.py.

5944  def __ne__(self, other):
5945  return not (self == other)
5946 
def heavydb.thrift.ttypes.TTablePermissions.__repr__ (   self)

Definition at line 5935 of file ttypes.py.

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

Definition at line 5838 of file ttypes.py.

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

5839  def read(self, iprot):
5840  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5841  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5842  return
5843  iprot.readStructBegin()
5844  while True:
5845  (fname, ftype, fid) = iprot.readFieldBegin()
5846  if ftype == TType.STOP:
5847  break
5848  if fid == 1:
5849  if ftype == TType.BOOL:
5850  self.create_ = iprot.readBool()
5851  else:
5852  iprot.skip(ftype)
5853  elif fid == 2:
5854  if ftype == TType.BOOL:
5855  self.drop_ = iprot.readBool()
5856  else:
5857  iprot.skip(ftype)
5858  elif fid == 3:
5859  if ftype == TType.BOOL:
5860  self.select_ = iprot.readBool()
5861  else:
5862  iprot.skip(ftype)
5863  elif fid == 4:
5864  if ftype == TType.BOOL:
5865  self.insert_ = iprot.readBool()
5866  else:
5867  iprot.skip(ftype)
5868  elif fid == 5:
5869  if ftype == TType.BOOL:
5870  self.update_ = iprot.readBool()
5871  else:
5872  iprot.skip(ftype)
5873  elif fid == 6:
5874  if ftype == TType.BOOL:
5875  self.delete_ = iprot.readBool()
5876  else:
5877  iprot.skip(ftype)
5878  elif fid == 7:
5879  if ftype == TType.BOOL:
5880  self.truncate_ = iprot.readBool()
5881  else:
5882  iprot.skip(ftype)
5883  elif fid == 8:
5884  if ftype == TType.BOOL:
5885  self.alter_ = iprot.readBool()
5886  else:
5887  iprot.skip(ftype)
5888  else:
5889  iprot.skip(ftype)
5890  iprot.readFieldEnd()
5891  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTablePermissions.validate (   self)

Definition at line 5932 of file ttypes.py.

5933  def validate(self):
5934  return
def heavydb.thrift.ttypes.TTablePermissions.write (   self,
  oprot 
)

Definition at line 5892 of file ttypes.py.

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

5893  def write(self, oprot):
5894  if oprot._fast_encode is not None and self.thrift_spec is not None:
5895  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5896  return
5897  oprot.writeStructBegin('TTablePermissions')
5898  if self.create_ is not None:
5899  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5900  oprot.writeBool(self.create_)
5901  oprot.writeFieldEnd()
5902  if self.drop_ is not None:
5903  oprot.writeFieldBegin('drop_', TType.BOOL, 2)
5904  oprot.writeBool(self.drop_)
5905  oprot.writeFieldEnd()
5906  if self.select_ is not None:
5907  oprot.writeFieldBegin('select_', TType.BOOL, 3)
5908  oprot.writeBool(self.select_)
5909  oprot.writeFieldEnd()
5910  if self.insert_ is not None:
5911  oprot.writeFieldBegin('insert_', TType.BOOL, 4)
5912  oprot.writeBool(self.insert_)
5913  oprot.writeFieldEnd()
5914  if self.update_ is not None:
5915  oprot.writeFieldBegin('update_', TType.BOOL, 5)
5916  oprot.writeBool(self.update_)
5917  oprot.writeFieldEnd()
5918  if self.delete_ is not None:
5919  oprot.writeFieldBegin('delete_', TType.BOOL, 6)
5920  oprot.writeBool(self.delete_)
5921  oprot.writeFieldEnd()
5922  if self.truncate_ is not None:
5923  oprot.writeFieldBegin('truncate_', TType.BOOL, 7)
5924  oprot.writeBool(self.truncate_)
5925  oprot.writeFieldEnd()
5926  if self.alter_ is not None:
5927  oprot.writeFieldBegin('alter_', TType.BOOL, 8)
5928  oprot.writeBool(self.alter_)
5929  oprot.writeFieldEnd()
5930  oprot.writeFieldStop()
5931  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTablePermissions.__dict__
private

Definition at line 5941 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TTablePermissions.alter_

Definition at line 5836 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.create_

Definition at line 5829 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.delete_

Definition at line 5834 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.drop_

Definition at line 5830 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.insert_

Definition at line 5832 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.select_

Definition at line 5831 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.truncate_

Definition at line 5835 of file ttypes.py.

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

heavydb.thrift.ttypes.TTablePermissions.update_

Definition at line 5833 of file ttypes.py.

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


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