OmniSciDB  a7179b2938
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TFrontendView Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TFrontendView:
+ Collaboration diagram for omnisci.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 2137 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 2149 of file ttypes.py.

2150  def __init__(self, view_name=None, view_state=None, image_hash=None, update_time=None, view_metadata=None,):
2151  self.view_name = view_name
2152  self.view_state = view_state
2153  self.image_hash = image_hash
2154  self.update_time = update_time
2155  self.view_metadata = view_metadata

Member Function Documentation

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

Definition at line 2231 of file ttypes.py.

2232  def __eq__(self, other):
2233  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TFrontendView.__ne__ (   self,
  other 
)

Definition at line 2234 of file ttypes.py.

2235  def __ne__(self, other):
2236  return not (self == other)
2237 
def omnisci.thrift.ttypes.TFrontendView.__repr__ (   self)

Definition at line 2226 of file ttypes.py.

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

Definition at line 2156 of file ttypes.py.

References omnisci.thrift.ttypes.TFrontendView.image_hash, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, omnisci.thrift.ttypes.TFrontendView.update_time, omnisci.thrift.ttypes.TFrontendView.view_metadata, omnisci.thrift.OmniSci.create_link_args.view_metadata, Parser::DropViewStmt.view_name, omnisci.thrift.ttypes.TFrontendView.view_name, omnisci.thrift.ttypes.TFrontendView.view_state, and omnisci.thrift.OmniSci.create_link_args.view_state.

2157  def read(self, iprot):
2158  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2159  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2160  return
2161  iprot.readStructBegin()
2162  while True:
2163  (fname, ftype, fid) = iprot.readFieldBegin()
2164  if ftype == TType.STOP:
2165  break
2166  if fid == 1:
2167  if ftype == TType.STRING:
2168  self.view_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2169  else:
2170  iprot.skip(ftype)
2171  elif fid == 2:
2172  if ftype == TType.STRING:
2173  self.view_state = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2174  else:
2175  iprot.skip(ftype)
2176  elif fid == 3:
2177  if ftype == TType.STRING:
2178  self.image_hash = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2179  else:
2180  iprot.skip(ftype)
2181  elif fid == 4:
2182  if ftype == TType.STRING:
2183  self.update_time = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2184  else:
2185  iprot.skip(ftype)
2186  elif fid == 5:
2187  if ftype == TType.STRING:
2188  self.view_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2189  else:
2190  iprot.skip(ftype)
2191  else:
2192  iprot.skip(ftype)
2193  iprot.readFieldEnd()
2194  iprot.readStructEnd()
def omnisci.thrift.ttypes.TFrontendView.validate (   self)

Definition at line 2223 of file ttypes.py.

2224  def validate(self):
2225  return
def omnisci.thrift.ttypes.TFrontendView.write (   self,
  oprot 
)

Definition at line 2195 of file ttypes.py.

References omnisci.thrift.ttypes.TFrontendView.image_hash, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, omnisci.thrift.ttypes.TFrontendView.update_time, omnisci.thrift.ttypes.TFrontendView.view_metadata, omnisci.thrift.OmniSci.create_link_args.view_metadata, Parser::DropViewStmt.view_name, omnisci.thrift.ttypes.TFrontendView.view_name, omnisci.thrift.ttypes.TFrontendView.view_state, and omnisci.thrift.OmniSci.create_link_args.view_state.

2196  def write(self, oprot):
2197  if oprot._fast_encode is not None and self.thrift_spec is not None:
2198  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2199  return
2200  oprot.writeStructBegin('TFrontendView')
2201  if self.view_name is not None:
2202  oprot.writeFieldBegin('view_name', TType.STRING, 1)
2203  oprot.writeString(self.view_name.encode('utf-8') if sys.version_info[0] == 2 else self.view_name)
2204  oprot.writeFieldEnd()
2205  if self.view_state is not None:
2206  oprot.writeFieldBegin('view_state', TType.STRING, 2)
2207  oprot.writeString(self.view_state.encode('utf-8') if sys.version_info[0] == 2 else self.view_state)
2208  oprot.writeFieldEnd()
2209  if self.image_hash is not None:
2210  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
2211  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
2212  oprot.writeFieldEnd()
2213  if self.update_time is not None:
2214  oprot.writeFieldBegin('update_time', TType.STRING, 4)
2215  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
2216  oprot.writeFieldEnd()
2217  if self.view_metadata is not None:
2218  oprot.writeFieldBegin('view_metadata', TType.STRING, 5)
2219  oprot.writeString(self.view_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.view_metadata)
2220  oprot.writeFieldEnd()
2221  oprot.writeFieldStop()
2222  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TFrontendView.__dict__
private

Definition at line 2232 of file ttypes.py.

omnisci.thrift.ttypes.TFrontendView.image_hash

Definition at line 2152 of file ttypes.py.

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

omnisci.thrift.ttypes.TFrontendView.update_time

Definition at line 2153 of file ttypes.py.

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

omnisci.thrift.ttypes.TFrontendView.view_metadata

Definition at line 2154 of file ttypes.py.

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

omnisci.thrift.ttypes.TFrontendView.view_name

Definition at line 2150 of file ttypes.py.

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

omnisci.thrift.ttypes.TFrontendView.view_state

Definition at line 2151 of file ttypes.py.

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


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