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

Public Member Functions

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

Public Attributes

 dashboard_name
 
 dashboard_state
 
 image_hash
 
 update_time
 
 dashboard_metadata
 
 dashboard_id
 
 dashboard_owner
 
 is_dash_shared
 
 dashboard_permissions
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - dashboard_name
 - dashboard_state
 - image_hash
 - update_time
 - dashboard_metadata
 - dashboard_id
 - dashboard_owner
 - is_dash_shared
 - dashboard_permissions

Definition at line 6545 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TDashboard.__init__ (   self,
  dashboard_name = None,
  dashboard_state = None,
  image_hash = None,
  update_time = None,
  dashboard_metadata = None,
  dashboard_id = None,
  dashboard_owner = None,
  is_dash_shared = None,
  dashboard_permissions = None 
)

Definition at line 6561 of file ttypes.py.

6562  def __init__(self, dashboard_name=None, dashboard_state=None, image_hash=None, update_time=None, dashboard_metadata=None, dashboard_id=None, dashboard_owner=None, is_dash_shared=None, dashboard_permissions=None,):
6563  self.dashboard_name = dashboard_name
6564  self.dashboard_state = dashboard_state
6565  self.image_hash = image_hash
6566  self.update_time = update_time
6567  self.dashboard_metadata = dashboard_metadata
6568  self.dashboard_id = dashboard_id
6569  self.dashboard_owner = dashboard_owner
6570  self.is_dash_shared = is_dash_shared
6571  self.dashboard_permissions = dashboard_permissions

Member Function Documentation

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

Definition at line 6684 of file ttypes.py.

6685  def __eq__(self, other):
6686  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDashboard.__ne__ (   self,
  other 
)

Definition at line 6687 of file ttypes.py.

6688  def __ne__(self, other):
6689  return not (self == other)
6690 
def heavydb.thrift.ttypes.TDashboard.__repr__ (   self)

Definition at line 6679 of file ttypes.py.

6680  def __repr__(self):
6681  L = ['%s=%r' % (key, value)
6682  for key, value in self.__dict__.items()]
6683  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.TDashboard.read (   self,
  iprot 
)

Definition at line 6572 of file ttypes.py.

References heavydb.thrift.ttypes.TDashboard.dashboard_id, heavydb.thrift.Heavy.get_dashboard_args.dashboard_id, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_id, heavydb.thrift.Heavy.delete_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.dashboard_id, heavydb.thrift.Heavy.unshare_dashboard_args.dashboard_id, heavydb.thrift.Heavy.get_dashboard_grantees_args.dashboard_id, heavydb.thrift.ttypes.TDashboard.dashboard_metadata, heavydb.thrift.Heavy.create_dashboard_args.dashboard_metadata, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_metadata, heavydb.thrift.ttypes.TDashboard.dashboard_name, heavydb.thrift.Heavy.create_dashboard_args.dashboard_name, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_name, heavydb.thrift.ttypes.TDashboard.dashboard_owner, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_owner, heavydb.thrift.ttypes.TDashboard.dashboard_permissions, heavydb.thrift.ttypes.TDashboard.dashboard_state, heavydb.thrift.Heavy.create_dashboard_args.dashboard_state, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_state, heavydb.thrift.ttypes.TFrontendView.image_hash, heavydb.thrift.ttypes.TDashboard.image_hash, heavydb.thrift.Heavy.create_dashboard_args.image_hash, heavydb.thrift.Heavy.replace_dashboard_args.image_hash, heavydb.thrift.ttypes.TDashboard.is_dash_shared, heavydb.thrift.ttypes.TFrontendView.update_time, and heavydb.thrift.ttypes.TDashboard.update_time.

6573  def read(self, iprot):
6574  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6575  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6576  return
6577  iprot.readStructBegin()
6578  while True:
6579  (fname, ftype, fid) = iprot.readFieldBegin()
6580  if ftype == TType.STOP:
6581  break
6582  if fid == 1:
6583  if ftype == TType.STRING:
6584  self.dashboard_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6585  else:
6586  iprot.skip(ftype)
6587  elif fid == 2:
6588  if ftype == TType.STRING:
6589  self.dashboard_state = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6590  else:
6591  iprot.skip(ftype)
6592  elif fid == 3:
6593  if ftype == TType.STRING:
6594  self.image_hash = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6595  else:
6596  iprot.skip(ftype)
6597  elif fid == 4:
6598  if ftype == TType.STRING:
6599  self.update_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6600  else:
6601  iprot.skip(ftype)
6602  elif fid == 5:
6603  if ftype == TType.STRING:
6604  self.dashboard_metadata = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6605  else:
6606  iprot.skip(ftype)
6607  elif fid == 6:
6608  if ftype == TType.I32:
6609  self.dashboard_id = iprot.readI32()
6610  else:
6611  iprot.skip(ftype)
6612  elif fid == 7:
6613  if ftype == TType.STRING:
6614  self.dashboard_owner = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6615  else:
6616  iprot.skip(ftype)
6617  elif fid == 8:
6618  if ftype == TType.BOOL:
6619  self.is_dash_shared = iprot.readBool()
6620  else:
6621  iprot.skip(ftype)
6622  elif fid == 9:
6623  if ftype == TType.STRUCT:
6625  self.dashboard_permissions.read(iprot)
6626  else:
6627  iprot.skip(ftype)
6628  else:
6629  iprot.skip(ftype)
6630  iprot.readFieldEnd()
6631  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDashboard.validate (   self)

Definition at line 6676 of file ttypes.py.

6677  def validate(self):
6678  return
def heavydb.thrift.ttypes.TDashboard.write (   self,
  oprot 
)

Definition at line 6632 of file ttypes.py.

References heavydb.thrift.ttypes.TDashboard.dashboard_id, heavydb.thrift.Heavy.get_dashboard_args.dashboard_id, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_id, heavydb.thrift.Heavy.delete_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.dashboard_id, heavydb.thrift.Heavy.unshare_dashboard_args.dashboard_id, heavydb.thrift.Heavy.get_dashboard_grantees_args.dashboard_id, heavydb.thrift.ttypes.TDashboard.dashboard_metadata, heavydb.thrift.Heavy.create_dashboard_args.dashboard_metadata, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_metadata, heavydb.thrift.ttypes.TDashboard.dashboard_name, heavydb.thrift.Heavy.create_dashboard_args.dashboard_name, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_name, heavydb.thrift.ttypes.TDashboard.dashboard_owner, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_owner, heavydb.thrift.ttypes.TDashboard.dashboard_permissions, heavydb.thrift.ttypes.TDashboard.dashboard_state, heavydb.thrift.Heavy.create_dashboard_args.dashboard_state, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_state, heavydb.thrift.ttypes.TFrontendView.image_hash, heavydb.thrift.ttypes.TDashboard.image_hash, heavydb.thrift.Heavy.create_dashboard_args.image_hash, heavydb.thrift.Heavy.replace_dashboard_args.image_hash, heavydb.thrift.ttypes.TDashboard.is_dash_shared, heavydb.thrift.ttypes.TFrontendView.update_time, and heavydb.thrift.ttypes.TDashboard.update_time.

6633  def write(self, oprot):
6634  if oprot._fast_encode is not None and self.thrift_spec is not None:
6635  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6636  return
6637  oprot.writeStructBegin('TDashboard')
6638  if self.dashboard_name is not None:
6639  oprot.writeFieldBegin('dashboard_name', TType.STRING, 1)
6640  oprot.writeString(self.dashboard_name.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_name)
6641  oprot.writeFieldEnd()
6642  if self.dashboard_state is not None:
6643  oprot.writeFieldBegin('dashboard_state', TType.STRING, 2)
6644  oprot.writeString(self.dashboard_state.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_state)
6645  oprot.writeFieldEnd()
6646  if self.image_hash is not None:
6647  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
6648  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
6649  oprot.writeFieldEnd()
6650  if self.update_time is not None:
6651  oprot.writeFieldBegin('update_time', TType.STRING, 4)
6652  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
6653  oprot.writeFieldEnd()
6654  if self.dashboard_metadata is not None:
6655  oprot.writeFieldBegin('dashboard_metadata', TType.STRING, 5)
6656  oprot.writeString(self.dashboard_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_metadata)
6657  oprot.writeFieldEnd()
6658  if self.dashboard_id is not None:
6659  oprot.writeFieldBegin('dashboard_id', TType.I32, 6)
6660  oprot.writeI32(self.dashboard_id)
6661  oprot.writeFieldEnd()
6662  if self.dashboard_owner is not None:
6663  oprot.writeFieldBegin('dashboard_owner', TType.STRING, 7)
6664  oprot.writeString(self.dashboard_owner.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_owner)
6665  oprot.writeFieldEnd()
6666  if self.is_dash_shared is not None:
6667  oprot.writeFieldBegin('is_dash_shared', TType.BOOL, 8)
6668  oprot.writeBool(self.is_dash_shared)
6669  oprot.writeFieldEnd()
6670  if self.dashboard_permissions is not None:
6671  oprot.writeFieldBegin('dashboard_permissions', TType.STRUCT, 9)
6672  self.dashboard_permissions.write(oprot)
6673  oprot.writeFieldEnd()
6674  oprot.writeFieldStop()
6675  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDashboard.__dict__
private

Definition at line 6685 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TDashboard.dashboard_id

Definition at line 6567 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.dashboard_metadata

Definition at line 6566 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.dashboard_name

Definition at line 6562 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.dashboard_owner

Definition at line 6568 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.dashboard_permissions

Definition at line 6570 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.dashboard_state

Definition at line 6563 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.image_hash

Definition at line 6564 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.is_dash_shared

Definition at line 6569 of file ttypes.py.

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

heavydb.thrift.ttypes.TDashboard.update_time

Definition at line 6565 of file ttypes.py.

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


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