OmniSciDB  c1a53651b2
 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 2489 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 2501 of file ttypes.py.

2502  def __init__(self, view_name=None, view_state=None, image_hash=None, update_time=None, view_metadata=None,):
2503  self.view_name = view_name
2504  self.view_state = view_state
2505  self.image_hash = image_hash
2506  self.update_time = update_time
2507  self.view_metadata = view_metadata

Member Function Documentation

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

Definition at line 2583 of file ttypes.py.

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

Definition at line 2586 of file ttypes.py.

2587  def __ne__(self, other):
2588  return not (self == other)
2589 
def heavydb.thrift.ttypes.TFrontendView.__repr__ (   self)

Definition at line 2578 of file ttypes.py.

2579  def __repr__(self):
2580  L = ['%s=%r' % (key, value)
2581  for key, value in self.__dict__.items()]
2582  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 2508 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.

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

Definition at line 2575 of file ttypes.py.

2576  def validate(self):
2577  return
def heavydb.thrift.ttypes.TFrontendView.write (   self,
  oprot 
)

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

2548  def write(self, oprot):
2549  if oprot._fast_encode is not None and self.thrift_spec is not None:
2550  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2551  return
2552  oprot.writeStructBegin('TFrontendView')
2553  if self.view_name is not None:
2554  oprot.writeFieldBegin('view_name', TType.STRING, 1)
2555  oprot.writeString(self.view_name.encode('utf-8') if sys.version_info[0] == 2 else self.view_name)
2556  oprot.writeFieldEnd()
2557  if self.view_state is not None:
2558  oprot.writeFieldBegin('view_state', TType.STRING, 2)
2559  oprot.writeString(self.view_state.encode('utf-8') if sys.version_info[0] == 2 else self.view_state)
2560  oprot.writeFieldEnd()
2561  if self.image_hash is not None:
2562  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
2563  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
2564  oprot.writeFieldEnd()
2565  if self.update_time is not None:
2566  oprot.writeFieldBegin('update_time', TType.STRING, 4)
2567  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
2568  oprot.writeFieldEnd()
2569  if self.view_metadata is not None:
2570  oprot.writeFieldBegin('view_metadata', TType.STRING, 5)
2571  oprot.writeString(self.view_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.view_metadata)
2572  oprot.writeFieldEnd()
2573  oprot.writeFieldStop()
2574  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TFrontendView.__dict__
private

Definition at line 2584 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TFrontendView.image_hash

Definition at line 2504 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 2505 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 2506 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 2502 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 2503 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: