OmniSciDB  a5dc49c757
 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
 
 host_id
 

Private Attributes

 __dict__
 

Detailed Description

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

Definition at line 2601 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,
  host_id = None 
)

Definition at line 2618 of file ttypes.py.

2619  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, host_id=None,):
2620  self.read_only = read_only
2621  self.version = version
2622  self.rendering_enabled = rendering_enabled
2623  self.start_time = start_time
2624  self.edition = edition
2625  self.host_name = host_name
2626  self.poly_rendering_enabled = poly_rendering_enabled
2627  self.role = role
2628  self.renderer_status_json = renderer_status_json
2629  self.host_id = host_id

Member Function Documentation

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

Definition at line 2750 of file ttypes.py.

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

Definition at line 2753 of file ttypes.py.

2754  def __ne__(self, other):
2755  return not (self == other)
2756 
def heavydb.thrift.ttypes.TServerStatus.__repr__ (   self)

Definition at line 2745 of file ttypes.py.

2746  def __repr__(self):
2747  L = ['%s=%r' % (key, value)
2748  for key, value in self.__dict__.items()]
2749  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 2630 of file ttypes.py.

References heavydb.thrift.ttypes.TServerStatus.edition, heavydb.thrift.ttypes.TServerStatus.host_id, 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.

2631  def read(self, iprot):
2632  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2633  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2634  return
2635  iprot.readStructBegin()
2636  while True:
2637  (fname, ftype, fid) = iprot.readFieldBegin()
2638  if ftype == TType.STOP:
2639  break
2640  if fid == 1:
2641  if ftype == TType.BOOL:
2642  self.read_only = iprot.readBool()
2643  else:
2644  iprot.skip(ftype)
2645  elif fid == 2:
2646  if ftype == TType.STRING:
2647  self.version = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2648  else:
2649  iprot.skip(ftype)
2650  elif fid == 3:
2651  if ftype == TType.BOOL:
2652  self.rendering_enabled = iprot.readBool()
2653  else:
2654  iprot.skip(ftype)
2655  elif fid == 4:
2656  if ftype == TType.I64:
2657  self.start_time = iprot.readI64()
2658  else:
2659  iprot.skip(ftype)
2660  elif fid == 5:
2661  if ftype == TType.STRING:
2662  self.edition = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2663  else:
2664  iprot.skip(ftype)
2665  elif fid == 6:
2666  if ftype == TType.STRING:
2667  self.host_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2668  else:
2669  iprot.skip(ftype)
2670  elif fid == 7:
2671  if ftype == TType.BOOL:
2672  self.poly_rendering_enabled = iprot.readBool()
2673  else:
2674  iprot.skip(ftype)
2675  elif fid == 8:
2676  if ftype == TType.I32:
2677  self.role = iprot.readI32()
2678  else:
2679  iprot.skip(ftype)
2680  elif fid == 9:
2681  if ftype == TType.STRING:
2682  self.renderer_status_json = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2683  else:
2684  iprot.skip(ftype)
2685  elif fid == 10:
2686  if ftype == TType.STRING:
2687  self.host_id = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2688  else:
2689  iprot.skip(ftype)
2690  else:
2691  iprot.skip(ftype)
2692  iprot.readFieldEnd()
2693  iprot.readStructEnd()
def heavydb.thrift.ttypes.TServerStatus.validate (   self)

Definition at line 2742 of file ttypes.py.

2743  def validate(self):
2744  return
def heavydb.thrift.ttypes.TServerStatus.write (   self,
  oprot 
)

Definition at line 2694 of file ttypes.py.

References heavydb.thrift.ttypes.TServerStatus.edition, heavydb.thrift.ttypes.TServerStatus.host_id, 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.

2695  def write(self, oprot):
2696  if oprot._fast_encode is not None and self.thrift_spec is not None:
2697  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2698  return
2699  oprot.writeStructBegin('TServerStatus')
2700  if self.read_only is not None:
2701  oprot.writeFieldBegin('read_only', TType.BOOL, 1)
2702  oprot.writeBool(self.read_only)
2703  oprot.writeFieldEnd()
2704  if self.version is not None:
2705  oprot.writeFieldBegin('version', TType.STRING, 2)
2706  oprot.writeString(self.version.encode('utf-8') if sys.version_info[0] == 2 else self.version)
2707  oprot.writeFieldEnd()
2708  if self.rendering_enabled is not None:
2709  oprot.writeFieldBegin('rendering_enabled', TType.BOOL, 3)
2710  oprot.writeBool(self.rendering_enabled)
2711  oprot.writeFieldEnd()
2712  if self.start_time is not None:
2713  oprot.writeFieldBegin('start_time', TType.I64, 4)
2714  oprot.writeI64(self.start_time)
2715  oprot.writeFieldEnd()
2716  if self.edition is not None:
2717  oprot.writeFieldBegin('edition', TType.STRING, 5)
2718  oprot.writeString(self.edition.encode('utf-8') if sys.version_info[0] == 2 else self.edition)
2719  oprot.writeFieldEnd()
2720  if self.host_name is not None:
2721  oprot.writeFieldBegin('host_name', TType.STRING, 6)
2722  oprot.writeString(self.host_name.encode('utf-8') if sys.version_info[0] == 2 else self.host_name)
2723  oprot.writeFieldEnd()
2724  if self.poly_rendering_enabled is not None:
2725  oprot.writeFieldBegin('poly_rendering_enabled', TType.BOOL, 7)
2726  oprot.writeBool(self.poly_rendering_enabled)
2727  oprot.writeFieldEnd()
2728  if self.role is not None:
2729  oprot.writeFieldBegin('role', TType.I32, 8)
2730  oprot.writeI32(self.role)
2731  oprot.writeFieldEnd()
2732  if self.renderer_status_json is not None:
2733  oprot.writeFieldBegin('renderer_status_json', TType.STRING, 9)
2734  oprot.writeString(self.renderer_status_json.encode('utf-8') if sys.version_info[0] == 2 else self.renderer_status_json)
2735  oprot.writeFieldEnd()
2736  if self.host_id is not None:
2737  oprot.writeFieldBegin('host_id', TType.STRING, 10)
2738  oprot.writeString(self.host_id.encode('utf-8') if sys.version_info[0] == 2 else self.host_id)
2739  oprot.writeFieldEnd()
2740  oprot.writeFieldStop()
2741  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TServerStatus.__dict__
private

Definition at line 2751 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TServerStatus.edition

Definition at line 2623 of file ttypes.py.

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

heavydb.thrift.ttypes.TServerStatus.host_id

Definition at line 2628 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 2624 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 2625 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 2619 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 2627 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 2621 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 2626 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 2622 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 2620 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: