OmniSciDB  cde582ebc3
 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 6358 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 6374 of file ttypes.py.

6375  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,):
6376  self.dashboard_name = dashboard_name
6377  self.dashboard_state = dashboard_state
6378  self.image_hash = image_hash
6379  self.update_time = update_time
6380  self.dashboard_metadata = dashboard_metadata
6381  self.dashboard_id = dashboard_id
6382  self.dashboard_owner = dashboard_owner
6383  self.is_dash_shared = is_dash_shared
6384  self.dashboard_permissions = dashboard_permissions

Member Function Documentation

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

Definition at line 6497 of file ttypes.py.

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

Definition at line 6500 of file ttypes.py.

6501  def __ne__(self, other):
6502  return not (self == other)
6503 
def heavydb.thrift.ttypes.TDashboard.__repr__ (   self)

Definition at line 6492 of file ttypes.py.

6493  def __repr__(self):
6494  L = ['%s=%r' % (key, value)
6495  for key, value in self.__dict__.items()]
6496  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 6385 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.

6386  def read(self, iprot):
6387  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6388  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6389  return
6390  iprot.readStructBegin()
6391  while True:
6392  (fname, ftype, fid) = iprot.readFieldBegin()
6393  if ftype == TType.STOP:
6394  break
6395  if fid == 1:
6396  if ftype == TType.STRING:
6397  self.dashboard_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6398  else:
6399  iprot.skip(ftype)
6400  elif fid == 2:
6401  if ftype == TType.STRING:
6402  self.dashboard_state = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6403  else:
6404  iprot.skip(ftype)
6405  elif fid == 3:
6406  if ftype == TType.STRING:
6407  self.image_hash = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6408  else:
6409  iprot.skip(ftype)
6410  elif fid == 4:
6411  if ftype == TType.STRING:
6412  self.update_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6413  else:
6414  iprot.skip(ftype)
6415  elif fid == 5:
6416  if ftype == TType.STRING:
6417  self.dashboard_metadata = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6418  else:
6419  iprot.skip(ftype)
6420  elif fid == 6:
6421  if ftype == TType.I32:
6422  self.dashboard_id = iprot.readI32()
6423  else:
6424  iprot.skip(ftype)
6425  elif fid == 7:
6426  if ftype == TType.STRING:
6427  self.dashboard_owner = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6428  else:
6429  iprot.skip(ftype)
6430  elif fid == 8:
6431  if ftype == TType.BOOL:
6432  self.is_dash_shared = iprot.readBool()
6433  else:
6434  iprot.skip(ftype)
6435  elif fid == 9:
6436  if ftype == TType.STRUCT:
6438  self.dashboard_permissions.read(iprot)
6439  else:
6440  iprot.skip(ftype)
6441  else:
6442  iprot.skip(ftype)
6443  iprot.readFieldEnd()
6444  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDashboard.validate (   self)

Definition at line 6489 of file ttypes.py.

6490  def validate(self):
6491  return
def heavydb.thrift.ttypes.TDashboard.write (   self,
  oprot 
)

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

6446  def write(self, oprot):
6447  if oprot._fast_encode is not None and self.thrift_spec is not None:
6448  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6449  return
6450  oprot.writeStructBegin('TDashboard')
6451  if self.dashboard_name is not None:
6452  oprot.writeFieldBegin('dashboard_name', TType.STRING, 1)
6453  oprot.writeString(self.dashboard_name.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_name)
6454  oprot.writeFieldEnd()
6455  if self.dashboard_state is not None:
6456  oprot.writeFieldBegin('dashboard_state', TType.STRING, 2)
6457  oprot.writeString(self.dashboard_state.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_state)
6458  oprot.writeFieldEnd()
6459  if self.image_hash is not None:
6460  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
6461  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
6462  oprot.writeFieldEnd()
6463  if self.update_time is not None:
6464  oprot.writeFieldBegin('update_time', TType.STRING, 4)
6465  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
6466  oprot.writeFieldEnd()
6467  if self.dashboard_metadata is not None:
6468  oprot.writeFieldBegin('dashboard_metadata', TType.STRING, 5)
6469  oprot.writeString(self.dashboard_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_metadata)
6470  oprot.writeFieldEnd()
6471  if self.dashboard_id is not None:
6472  oprot.writeFieldBegin('dashboard_id', TType.I32, 6)
6473  oprot.writeI32(self.dashboard_id)
6474  oprot.writeFieldEnd()
6475  if self.dashboard_owner is not None:
6476  oprot.writeFieldBegin('dashboard_owner', TType.STRING, 7)
6477  oprot.writeString(self.dashboard_owner.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_owner)
6478  oprot.writeFieldEnd()
6479  if self.is_dash_shared is not None:
6480  oprot.writeFieldBegin('is_dash_shared', TType.BOOL, 8)
6481  oprot.writeBool(self.is_dash_shared)
6482  oprot.writeFieldEnd()
6483  if self.dashboard_permissions is not None:
6484  oprot.writeFieldBegin('dashboard_permissions', TType.STRUCT, 9)
6485  self.dashboard_permissions.write(oprot)
6486  oprot.writeFieldEnd()
6487  oprot.writeFieldStop()
6488  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDashboard.__dict__
private

Definition at line 6498 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TDashboard.dashboard_id

Definition at line 6380 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 6379 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 6375 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 6381 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 6383 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 6376 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 6377 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 6382 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 6378 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: