OmniSciDB  340b00dbf6
 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 5068 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 5083 of file ttypes.py.

5084  def __init__(self, create_=None, drop_=None, select_=None, insert_=None, update_=None, delete_=None, truncate_=None, alter_=None,):
5085  self.create_ = create_
5086  self.drop_ = drop_
5087  self.select_ = select_
5088  self.insert_ = insert_
5089  self.update_ = update_
5090  self.delete_ = delete_
5091  self.truncate_ = truncate_
5092  self.alter_ = alter_

Member Function Documentation

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

Definition at line 5195 of file ttypes.py.

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

Definition at line 5198 of file ttypes.py.

5199  def __ne__(self, other):
5200  return not (self == other)
5201 
def omnisci.thrift.ttypes.TTablePermissions.__repr__ (   self)

Definition at line 5190 of file ttypes.py.

5191  def __repr__(self):
5192  L = ['%s=%r' % (key, value)
5193  for key, value in self.__dict__.items()]
5194  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 5093 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_.

5094  def read(self, iprot):
5095  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5096  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5097  return
5098  iprot.readStructBegin()
5099  while True:
5100  (fname, ftype, fid) = iprot.readFieldBegin()
5101  if ftype == TType.STOP:
5102  break
5103  if fid == 1:
5104  if ftype == TType.BOOL:
5105  self.create_ = iprot.readBool()
5106  else:
5107  iprot.skip(ftype)
5108  elif fid == 2:
5109  if ftype == TType.BOOL:
5110  self.drop_ = iprot.readBool()
5111  else:
5112  iprot.skip(ftype)
5113  elif fid == 3:
5114  if ftype == TType.BOOL:
5115  self.select_ = iprot.readBool()
5116  else:
5117  iprot.skip(ftype)
5118  elif fid == 4:
5119  if ftype == TType.BOOL:
5120  self.insert_ = iprot.readBool()
5121  else:
5122  iprot.skip(ftype)
5123  elif fid == 5:
5124  if ftype == TType.BOOL:
5125  self.update_ = iprot.readBool()
5126  else:
5127  iprot.skip(ftype)
5128  elif fid == 6:
5129  if ftype == TType.BOOL:
5130  self.delete_ = iprot.readBool()
5131  else:
5132  iprot.skip(ftype)
5133  elif fid == 7:
5134  if ftype == TType.BOOL:
5135  self.truncate_ = iprot.readBool()
5136  else:
5137  iprot.skip(ftype)
5138  elif fid == 8:
5139  if ftype == TType.BOOL:
5140  self.alter_ = iprot.readBool()
5141  else:
5142  iprot.skip(ftype)
5143  else:
5144  iprot.skip(ftype)
5145  iprot.readFieldEnd()
5146  iprot.readStructEnd()
def omnisci.thrift.ttypes.TTablePermissions.validate (   self)

Definition at line 5187 of file ttypes.py.

5188  def validate(self):
5189  return
def omnisci.thrift.ttypes.TTablePermissions.write (   self,
  oprot 
)

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

5148  def write(self, oprot):
5149  if oprot._fast_encode is not None and self.thrift_spec is not None:
5150  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5151  return
5152  oprot.writeStructBegin('TTablePermissions')
5153  if self.create_ is not None:
5154  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5155  oprot.writeBool(self.create_)
5156  oprot.writeFieldEnd()
5157  if self.drop_ is not None:
5158  oprot.writeFieldBegin('drop_', TType.BOOL, 2)
5159  oprot.writeBool(self.drop_)
5160  oprot.writeFieldEnd()
5161  if self.select_ is not None:
5162  oprot.writeFieldBegin('select_', TType.BOOL, 3)
5163  oprot.writeBool(self.select_)
5164  oprot.writeFieldEnd()
5165  if self.insert_ is not None:
5166  oprot.writeFieldBegin('insert_', TType.BOOL, 4)
5167  oprot.writeBool(self.insert_)
5168  oprot.writeFieldEnd()
5169  if self.update_ is not None:
5170  oprot.writeFieldBegin('update_', TType.BOOL, 5)
5171  oprot.writeBool(self.update_)
5172  oprot.writeFieldEnd()
5173  if self.delete_ is not None:
5174  oprot.writeFieldBegin('delete_', TType.BOOL, 6)
5175  oprot.writeBool(self.delete_)
5176  oprot.writeFieldEnd()
5177  if self.truncate_ is not None:
5178  oprot.writeFieldBegin('truncate_', TType.BOOL, 7)
5179  oprot.writeBool(self.truncate_)
5180  oprot.writeFieldEnd()
5181  if self.alter_ is not None:
5182  oprot.writeFieldBegin('alter_', TType.BOOL, 8)
5183  oprot.writeBool(self.alter_)
5184  oprot.writeFieldEnd()
5185  oprot.writeFieldStop()
5186  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TTablePermissions.__dict__
private

Definition at line 5196 of file ttypes.py.

omnisci.thrift.ttypes.TTablePermissions.alter_

Definition at line 5091 of file ttypes.py.

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

omnisci.thrift.ttypes.TTablePermissions.create_

Definition at line 5084 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.delete_

Definition at line 5089 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 5085 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.insert_

Definition at line 5087 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 5086 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 5090 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 5088 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: