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

Public Member Functions

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

Public Attributes

 read_only
 
 version
 
 rendering_enabled
 
 start_time
 
 edition
 
 host_name
 
 poly_rendering_enabled
 
 role
 
 renderer_status_json
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - read_only
 - version
 - rendering_enabled
 - start_time
 - edition
 - host_name
 - poly_rendering_enabled
 - role
 - renderer_status_json

Definition at line 2568 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TServerStatus.__init__ (   self,
  read_only = None,
  version = None,
  rendering_enabled = None,
  start_time = None,
  edition = None,
  host_name = None,
  poly_rendering_enabled = None,
  role = None,
  renderer_status_json = None 
)

Definition at line 2584 of file ttypes.py.

2585  def __init__(self, read_only=None, version=None, rendering_enabled=None, start_time=None, edition=None, host_name=None, poly_rendering_enabled=None, role=None, renderer_status_json=None,):
2586  self.read_only = read_only
2587  self.version = version
2588  self.rendering_enabled = rendering_enabled
2589  self.start_time = start_time
2590  self.edition = edition
2591  self.host_name = host_name
2592  self.poly_rendering_enabled = poly_rendering_enabled
2593  self.role = role
2594  self.renderer_status_json = renderer_status_json

Member Function Documentation

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

Definition at line 2706 of file ttypes.py.

2707  def __eq__(self, other):
2708  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TServerStatus.__ne__ (   self,
  other 
)

Definition at line 2709 of file ttypes.py.

2710  def __ne__(self, other):
2711  return not (self == other)
2712 
def heavydb.thrift.ttypes.TServerStatus.__repr__ (   self)

Definition at line 2701 of file ttypes.py.

2702  def __repr__(self):
2703  L = ['%s=%r' % (key, value)
2704  for key, value in self.__dict__.items()]
2705  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.TServerStatus.read (   self,
  iprot 
)

Definition at line 2595 of file ttypes.py.

References heavydb.thrift.ttypes.TServerStatus.edition, ai.heavy.jdbc.Options.host_name, heavydb.thrift.ttypes.TServerStatus.host_name, heavydb.thrift.ttypes.TServerStatus.poly_rendering_enabled, heavydb.thrift.ttypes.TServerStatus.read_only, heavydb.thrift.ttypes.TServerStatus.renderer_status_json, heavydb.thrift.ttypes.TServerStatus.rendering_enabled, com.mapd.parser.extension.ddl.SqlDropRole.role, com.mapd.parser.extension.ddl.SqlCreateRole.role, heavydb.thrift.ttypes.TServerStatus.role, heavydb.thrift.ttypes.TServerStatus.start_time, com.mapd.calcite.parser.HeavyDBTable.version, and heavydb.thrift.ttypes.TServerStatus.version.

2596  def read(self, iprot):
2597  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2598  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2599  return
2600  iprot.readStructBegin()
2601  while True:
2602  (fname, ftype, fid) = iprot.readFieldBegin()
2603  if ftype == TType.STOP:
2604  break
2605  if fid == 1:
2606  if ftype == TType.BOOL:
2607  self.read_only = iprot.readBool()
2608  else:
2609  iprot.skip(ftype)
2610  elif fid == 2:
2611  if ftype == TType.STRING:
2612  self.version = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2613  else:
2614  iprot.skip(ftype)
2615  elif fid == 3:
2616  if ftype == TType.BOOL:
2617  self.rendering_enabled = iprot.readBool()
2618  else:
2619  iprot.skip(ftype)
2620  elif fid == 4:
2621  if ftype == TType.I64:
2622  self.start_time = iprot.readI64()
2623  else:
2624  iprot.skip(ftype)
2625  elif fid == 5:
2626  if ftype == TType.STRING:
2627  self.edition = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2628  else:
2629  iprot.skip(ftype)
2630  elif fid == 6:
2631  if ftype == TType.STRING:
2632  self.host_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2633  else:
2634  iprot.skip(ftype)
2635  elif fid == 7:
2636  if ftype == TType.BOOL:
2637  self.poly_rendering_enabled = iprot.readBool()
2638  else:
2639  iprot.skip(ftype)
2640  elif fid == 8:
2641  if ftype == TType.I32:
2642  self.role = iprot.readI32()
2643  else:
2644  iprot.skip(ftype)
2645  elif fid == 9:
2646  if ftype == TType.STRING:
2647  self.renderer_status_json = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2648  else:
2649  iprot.skip(ftype)
2650  else:
2651  iprot.skip(ftype)
2652  iprot.readFieldEnd()
2653  iprot.readStructEnd()
def heavydb.thrift.ttypes.TServerStatus.validate (   self)

Definition at line 2698 of file ttypes.py.

2699  def validate(self):
2700  return
def heavydb.thrift.ttypes.TServerStatus.write (   self,
  oprot 
)

Definition at line 2654 of file ttypes.py.

References heavydb.thrift.ttypes.TServerStatus.edition, ai.heavy.jdbc.Options.host_name, heavydb.thrift.ttypes.TServerStatus.host_name, heavydb.thrift.ttypes.TServerStatus.poly_rendering_enabled, heavydb.thrift.ttypes.TServerStatus.read_only, heavydb.thrift.ttypes.TServerStatus.renderer_status_json, heavydb.thrift.ttypes.TServerStatus.rendering_enabled, com.mapd.parser.extension.ddl.SqlDropRole.role, com.mapd.parser.extension.ddl.SqlCreateRole.role, heavydb.thrift.ttypes.TServerStatus.role, heavydb.thrift.ttypes.TServerStatus.start_time, com.mapd.calcite.parser.HeavyDBTable.version, and heavydb.thrift.ttypes.TServerStatus.version.

2655  def write(self, oprot):
2656  if oprot._fast_encode is not None and self.thrift_spec is not None:
2657  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2658  return
2659  oprot.writeStructBegin('TServerStatus')
2660  if self.read_only is not None:
2661  oprot.writeFieldBegin('read_only', TType.BOOL, 1)
2662  oprot.writeBool(self.read_only)
2663  oprot.writeFieldEnd()
2664  if self.version is not None:
2665  oprot.writeFieldBegin('version', TType.STRING, 2)
2666  oprot.writeString(self.version.encode('utf-8') if sys.version_info[0] == 2 else self.version)
2667  oprot.writeFieldEnd()
2668  if self.rendering_enabled is not None:
2669  oprot.writeFieldBegin('rendering_enabled', TType.BOOL, 3)
2670  oprot.writeBool(self.rendering_enabled)
2671  oprot.writeFieldEnd()
2672  if self.start_time is not None:
2673  oprot.writeFieldBegin('start_time', TType.I64, 4)
2674  oprot.writeI64(self.start_time)
2675  oprot.writeFieldEnd()
2676  if self.edition is not None:
2677  oprot.writeFieldBegin('edition', TType.STRING, 5)
2678  oprot.writeString(self.edition.encode('utf-8') if sys.version_info[0] == 2 else self.edition)
2679  oprot.writeFieldEnd()
2680  if self.host_name is not None:
2681  oprot.writeFieldBegin('host_name', TType.STRING, 6)
2682  oprot.writeString(self.host_name.encode('utf-8') if sys.version_info[0] == 2 else self.host_name)
2683  oprot.writeFieldEnd()
2684  if self.poly_rendering_enabled is not None:
2685  oprot.writeFieldBegin('poly_rendering_enabled', TType.BOOL, 7)
2686  oprot.writeBool(self.poly_rendering_enabled)
2687  oprot.writeFieldEnd()
2688  if self.role is not None:
2689  oprot.writeFieldBegin('role', TType.I32, 8)
2690  oprot.writeI32(self.role)
2691  oprot.writeFieldEnd()
2692  if self.renderer_status_json is not None:
2693  oprot.writeFieldBegin('renderer_status_json', TType.STRING, 9)
2694  oprot.writeString(self.renderer_status_json.encode('utf-8') if sys.version_info[0] == 2 else self.renderer_status_json)
2695  oprot.writeFieldEnd()
2696  oprot.writeFieldStop()
2697  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TServerStatus.__dict__
private

Definition at line 2707 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TServerStatus.edition

Definition at line 2589 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.host_name

Definition at line 2590 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TServerStatus.read(), heavydb.thrift.ttypes.THardwareInfo.read(), heavydb.thrift.ttypes.TNodeMemoryInfo.read(), heavydb.thrift.ttypes.TServerStatus.write(), heavydb.thrift.ttypes.THardwareInfo.write(), and heavydb.thrift.ttypes.TNodeMemoryInfo.write().

heavydb.thrift.ttypes.TServerStatus.poly_rendering_enabled

Definition at line 2591 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.read_only

Definition at line 2585 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.renderer_status_json

Definition at line 2593 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.rendering_enabled

Definition at line 2587 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.role

Definition at line 2592 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.start_time

Definition at line 2588 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.version

Definition at line 2586 of file ttypes.py.

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


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