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

Public Member Functions

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

Public Attributes

 view_name
 
 view_state
 
 image_hash
 
 update_time
 
 view_metadata
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - view_name
 - view_state
 - image_hash
 - update_time
 - view_metadata

Definition at line 2500 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TFrontendView.__init__ (   self,
  view_name = None,
  view_state = None,
  image_hash = None,
  update_time = None,
  view_metadata = None 
)

Definition at line 2512 of file ttypes.py.

2513  def __init__(self, view_name=None, view_state=None, image_hash=None, update_time=None, view_metadata=None,):
2514  self.view_name = view_name
2515  self.view_state = view_state
2516  self.image_hash = image_hash
2517  self.update_time = update_time
2518  self.view_metadata = view_metadata

Member Function Documentation

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

Definition at line 2594 of file ttypes.py.

2595  def __eq__(self, other):
2596  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TFrontendView.__ne__ (   self,
  other 
)

Definition at line 2597 of file ttypes.py.

2598  def __ne__(self, other):
2599  return not (self == other)
2600 
def heavydb.thrift.ttypes.TFrontendView.__repr__ (   self)

Definition at line 2589 of file ttypes.py.

2590  def __repr__(self):
2591  L = ['%s=%r' % (key, value)
2592  for key, value in self.__dict__.items()]
2593  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.TFrontendView.read (   self,
  iprot 
)

Definition at line 2519 of file ttypes.py.

References heavydb.thrift.ttypes.TFrontendView.image_hash, heavydb.thrift.Heavy.create_dashboard_args.image_hash, heavydb.thrift.Heavy.replace_dashboard_args.image_hash, heavydb.thrift.ttypes.TFrontendView.update_time, heavydb.thrift.ttypes.TFrontendView.view_metadata, heavydb.thrift.Heavy.create_link_args.view_metadata, heavydb.thrift.ttypes.TFrontendView.view_name, heavydb.thrift.ttypes.TFrontendView.view_state, and heavydb.thrift.Heavy.create_link_args.view_state.

2520  def read(self, iprot):
2521  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2522  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2523  return
2524  iprot.readStructBegin()
2525  while True:
2526  (fname, ftype, fid) = iprot.readFieldBegin()
2527  if ftype == TType.STOP:
2528  break
2529  if fid == 1:
2530  if ftype == TType.STRING:
2531  self.view_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2532  else:
2533  iprot.skip(ftype)
2534  elif fid == 2:
2535  if ftype == TType.STRING:
2536  self.view_state = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2537  else:
2538  iprot.skip(ftype)
2539  elif fid == 3:
2540  if ftype == TType.STRING:
2541  self.image_hash = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2542  else:
2543  iprot.skip(ftype)
2544  elif fid == 4:
2545  if ftype == TType.STRING:
2546  self.update_time = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2547  else:
2548  iprot.skip(ftype)
2549  elif fid == 5:
2550  if ftype == TType.STRING:
2551  self.view_metadata = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2552  else:
2553  iprot.skip(ftype)
2554  else:
2555  iprot.skip(ftype)
2556  iprot.readFieldEnd()
2557  iprot.readStructEnd()
def heavydb.thrift.ttypes.TFrontendView.validate (   self)

Definition at line 2586 of file ttypes.py.

2587  def validate(self):
2588  return
def heavydb.thrift.ttypes.TFrontendView.write (   self,
  oprot 
)

Definition at line 2558 of file ttypes.py.

References heavydb.thrift.ttypes.TFrontendView.image_hash, heavydb.thrift.Heavy.create_dashboard_args.image_hash, heavydb.thrift.Heavy.replace_dashboard_args.image_hash, heavydb.thrift.ttypes.TFrontendView.update_time, heavydb.thrift.ttypes.TFrontendView.view_metadata, heavydb.thrift.Heavy.create_link_args.view_metadata, heavydb.thrift.ttypes.TFrontendView.view_name, heavydb.thrift.ttypes.TFrontendView.view_state, and heavydb.thrift.Heavy.create_link_args.view_state.

2559  def write(self, oprot):
2560  if oprot._fast_encode is not None and self.thrift_spec is not None:
2561  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2562  return
2563  oprot.writeStructBegin('TFrontendView')
2564  if self.view_name is not None:
2565  oprot.writeFieldBegin('view_name', TType.STRING, 1)
2566  oprot.writeString(self.view_name.encode('utf-8') if sys.version_info[0] == 2 else self.view_name)
2567  oprot.writeFieldEnd()
2568  if self.view_state is not None:
2569  oprot.writeFieldBegin('view_state', TType.STRING, 2)
2570  oprot.writeString(self.view_state.encode('utf-8') if sys.version_info[0] == 2 else self.view_state)
2571  oprot.writeFieldEnd()
2572  if self.image_hash is not None:
2573  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
2574  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
2575  oprot.writeFieldEnd()
2576  if self.update_time is not None:
2577  oprot.writeFieldBegin('update_time', TType.STRING, 4)
2578  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
2579  oprot.writeFieldEnd()
2580  if self.view_metadata is not None:
2581  oprot.writeFieldBegin('view_metadata', TType.STRING, 5)
2582  oprot.writeString(self.view_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.view_metadata)
2583  oprot.writeFieldEnd()
2584  oprot.writeFieldStop()
2585  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TFrontendView.__dict__
private

Definition at line 2595 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TFrontendView.image_hash

Definition at line 2515 of file ttypes.py.

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

heavydb.thrift.ttypes.TFrontendView.update_time

Definition at line 2516 of file ttypes.py.

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

heavydb.thrift.ttypes.TFrontendView.view_metadata

Definition at line 2517 of file ttypes.py.

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

heavydb.thrift.ttypes.TFrontendView.view_name

Definition at line 2513 of file ttypes.py.

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

heavydb.thrift.ttypes.TFrontendView.view_state

Definition at line 2514 of file ttypes.py.

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


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