OmniSciDB  cde582ebc3
 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 5626 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 5641 of file ttypes.py.

5642  def __init__(self, create_=None, drop_=None, select_=None, insert_=None, update_=None, delete_=None, truncate_=None, alter_=None,):
5643  self.create_ = create_
5644  self.drop_ = drop_
5645  self.select_ = select_
5646  self.insert_ = insert_
5647  self.update_ = update_
5648  self.delete_ = delete_
5649  self.truncate_ = truncate_
5650  self.alter_ = alter_

Member Function Documentation

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

Definition at line 5753 of file ttypes.py.

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

Definition at line 5756 of file ttypes.py.

5757  def __ne__(self, other):
5758  return not (self == other)
5759 
def heavydb.thrift.ttypes.TTablePermissions.__repr__ (   self)

Definition at line 5748 of file ttypes.py.

5749  def __repr__(self):
5750  L = ['%s=%r' % (key, value)
5751  for key, value in self.__dict__.items()]
5752  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 5651 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_.

5652  def read(self, iprot):
5653  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5654  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5655  return
5656  iprot.readStructBegin()
5657  while True:
5658  (fname, ftype, fid) = iprot.readFieldBegin()
5659  if ftype == TType.STOP:
5660  break
5661  if fid == 1:
5662  if ftype == TType.BOOL:
5663  self.create_ = iprot.readBool()
5664  else:
5665  iprot.skip(ftype)
5666  elif fid == 2:
5667  if ftype == TType.BOOL:
5668  self.drop_ = iprot.readBool()
5669  else:
5670  iprot.skip(ftype)
5671  elif fid == 3:
5672  if ftype == TType.BOOL:
5673  self.select_ = iprot.readBool()
5674  else:
5675  iprot.skip(ftype)
5676  elif fid == 4:
5677  if ftype == TType.BOOL:
5678  self.insert_ = iprot.readBool()
5679  else:
5680  iprot.skip(ftype)
5681  elif fid == 5:
5682  if ftype == TType.BOOL:
5683  self.update_ = iprot.readBool()
5684  else:
5685  iprot.skip(ftype)
5686  elif fid == 6:
5687  if ftype == TType.BOOL:
5688  self.delete_ = iprot.readBool()
5689  else:
5690  iprot.skip(ftype)
5691  elif fid == 7:
5692  if ftype == TType.BOOL:
5693  self.truncate_ = iprot.readBool()
5694  else:
5695  iprot.skip(ftype)
5696  elif fid == 8:
5697  if ftype == TType.BOOL:
5698  self.alter_ = iprot.readBool()
5699  else:
5700  iprot.skip(ftype)
5701  else:
5702  iprot.skip(ftype)
5703  iprot.readFieldEnd()
5704  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTablePermissions.validate (   self)

Definition at line 5745 of file ttypes.py.

5746  def validate(self):
5747  return
def heavydb.thrift.ttypes.TTablePermissions.write (   self,
  oprot 
)

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

5706  def write(self, oprot):
5707  if oprot._fast_encode is not None and self.thrift_spec is not None:
5708  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5709  return
5710  oprot.writeStructBegin('TTablePermissions')
5711  if self.create_ is not None:
5712  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5713  oprot.writeBool(self.create_)
5714  oprot.writeFieldEnd()
5715  if self.drop_ is not None:
5716  oprot.writeFieldBegin('drop_', TType.BOOL, 2)
5717  oprot.writeBool(self.drop_)
5718  oprot.writeFieldEnd()
5719  if self.select_ is not None:
5720  oprot.writeFieldBegin('select_', TType.BOOL, 3)
5721  oprot.writeBool(self.select_)
5722  oprot.writeFieldEnd()
5723  if self.insert_ is not None:
5724  oprot.writeFieldBegin('insert_', TType.BOOL, 4)
5725  oprot.writeBool(self.insert_)
5726  oprot.writeFieldEnd()
5727  if self.update_ is not None:
5728  oprot.writeFieldBegin('update_', TType.BOOL, 5)
5729  oprot.writeBool(self.update_)
5730  oprot.writeFieldEnd()
5731  if self.delete_ is not None:
5732  oprot.writeFieldBegin('delete_', TType.BOOL, 6)
5733  oprot.writeBool(self.delete_)
5734  oprot.writeFieldEnd()
5735  if self.truncate_ is not None:
5736  oprot.writeFieldBegin('truncate_', TType.BOOL, 7)
5737  oprot.writeBool(self.truncate_)
5738  oprot.writeFieldEnd()
5739  if self.alter_ is not None:
5740  oprot.writeFieldBegin('alter_', TType.BOOL, 8)
5741  oprot.writeBool(self.alter_)
5742  oprot.writeFieldEnd()
5743  oprot.writeFieldStop()
5744  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTablePermissions.__dict__
private

Definition at line 5754 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TTablePermissions.alter_

Definition at line 5649 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 5642 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 5647 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 5643 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 5645 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 5644 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 5648 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 5646 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: