OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.interrupt_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.interrupt_args:
+ Collaboration diagram for heavydb.thrift.Heavy.interrupt_args:

Public Member Functions

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

Public Attributes

 query_session
 
 interrupt_session
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - query_session
 - interrupt_session

Definition at line 13486 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.interrupt_args.__init__ (   self,
  query_session = None,
  interrupt_session = None 
)

Definition at line 13495 of file Heavy.py.

13496  def __init__(self, query_session=None, interrupt_session=None,):
13497  self.query_session = query_session
13498  self.interrupt_session = interrupt_session

Member Function Documentation

def heavydb.thrift.Heavy.interrupt_args.__eq__ (   self,
  other 
)

Definition at line 13547 of file Heavy.py.

13548  def __eq__(self, other):
13549  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.interrupt_args.__ne__ (   self,
  other 
)

Definition at line 13550 of file Heavy.py.

13551  def __ne__(self, other):
13552  return not (self == other)
13553 all_structs.append(interrupt_args)
interrupt_args.thrift_spec = (
def heavydb.thrift.Heavy.interrupt_args.__repr__ (   self)

Definition at line 13542 of file Heavy.py.

13543  def __repr__(self):
13544  L = ['%s=%r' % (key, value)
13545  for key, value in self.__dict__.items()]
13546  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.Heavy.interrupt_args.read (   self,
  iprot 
)

Definition at line 13499 of file Heavy.py.

References heavydb.thrift.Heavy.interrupt_args.interrupt_session, and heavydb.thrift.Heavy.interrupt_args.query_session.

13500  def read(self, iprot):
13501  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
13502  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
13503  return
13504  iprot.readStructBegin()
13505  while True:
13506  (fname, ftype, fid) = iprot.readFieldBegin()
13507  if ftype == TType.STOP:
13508  break
13509  if fid == 1:
13510  if ftype == TType.STRING:
13511  self.query_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
13512  else:
13513  iprot.skip(ftype)
13514  elif fid == 2:
13515  if ftype == TType.STRING:
13516  self.interrupt_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
13517  else:
13518  iprot.skip(ftype)
13519  else:
13520  iprot.skip(ftype)
13521  iprot.readFieldEnd()
13522  iprot.readStructEnd()
def heavydb.thrift.Heavy.interrupt_args.validate (   self)

Definition at line 13539 of file Heavy.py.

13540  def validate(self):
13541  return
def heavydb.thrift.Heavy.interrupt_args.write (   self,
  oprot 
)

Definition at line 13523 of file Heavy.py.

References heavydb.thrift.Heavy.interrupt_args.interrupt_session, and heavydb.thrift.Heavy.interrupt_args.query_session.

13524  def write(self, oprot):
13525  if oprot._fast_encode is not None and self.thrift_spec is not None:
13526  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
13527  return
13528  oprot.writeStructBegin('interrupt_args')
13529  if self.query_session is not None:
13530  oprot.writeFieldBegin('query_session', TType.STRING, 1)
13531  oprot.writeString(self.query_session.encode('utf-8') if sys.version_info[0] == 2 else self.query_session)
13532  oprot.writeFieldEnd()
13533  if self.interrupt_session is not None:
13534  oprot.writeFieldBegin('interrupt_session', TType.STRING, 2)
13535  oprot.writeString(self.interrupt_session.encode('utf-8') if sys.version_info[0] == 2 else self.interrupt_session)
13536  oprot.writeFieldEnd()
13537  oprot.writeFieldStop()
13538  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.interrupt_args.__dict__
private

Definition at line 13548 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.interrupt_args.interrupt_session

Definition at line 13497 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.interrupt_args.read(), and heavydb.thrift.Heavy.interrupt_args.write().

heavydb.thrift.Heavy.interrupt_args.query_session

Definition at line 13496 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.interrupt_args.read(), and heavydb.thrift.Heavy.interrupt_args.write().


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