OmniSciDB  a5dc49c757
 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 13617 of file Heavy.py.

Constructor & Destructor Documentation

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

Definition at line 13626 of file Heavy.py.

13627  def __init__(self, query_session=None, interrupt_session=None,):
13628  self.query_session = query_session
13629  self.interrupt_session = interrupt_session

Member Function Documentation

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

Definition at line 13678 of file Heavy.py.

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

Definition at line 13681 of file Heavy.py.

13682  def __ne__(self, other):
13683  return not (self == other)
13684 all_structs.append(interrupt_args)
interrupt_args.thrift_spec = (
def heavydb.thrift.Heavy.interrupt_args.__repr__ (   self)

Definition at line 13673 of file Heavy.py.

13674  def __repr__(self):
13675  L = ['%s=%r' % (key, value)
13676  for key, value in self.__dict__.items()]
13677  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 13630 of file Heavy.py.

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

13631  def read(self, iprot):
13632  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
13633  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
13634  return
13635  iprot.readStructBegin()
13636  while True:
13637  (fname, ftype, fid) = iprot.readFieldBegin()
13638  if ftype == TType.STOP:
13639  break
13640  if fid == 1:
13641  if ftype == TType.STRING:
13642  self.query_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
13643  else:
13644  iprot.skip(ftype)
13645  elif fid == 2:
13646  if ftype == TType.STRING:
13647  self.interrupt_session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
13648  else:
13649  iprot.skip(ftype)
13650  else:
13651  iprot.skip(ftype)
13652  iprot.readFieldEnd()
13653  iprot.readStructEnd()
def heavydb.thrift.Heavy.interrupt_args.validate (   self)

Definition at line 13670 of file Heavy.py.

13671  def validate(self):
13672  return
def heavydb.thrift.Heavy.interrupt_args.write (   self,
  oprot 
)

Definition at line 13654 of file Heavy.py.

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

13655  def write(self, oprot):
13656  if oprot._fast_encode is not None and self.thrift_spec is not None:
13657  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
13658  return
13659  oprot.writeStructBegin('interrupt_args')
13660  if self.query_session is not None:
13661  oprot.writeFieldBegin('query_session', TType.STRING, 1)
13662  oprot.writeString(self.query_session.encode('utf-8') if sys.version_info[0] == 2 else self.query_session)
13663  oprot.writeFieldEnd()
13664  if self.interrupt_session is not None:
13665  oprot.writeFieldBegin('interrupt_session', TType.STRING, 2)
13666  oprot.writeString(self.interrupt_session.encode('utf-8') if sys.version_info[0] == 2 else self.interrupt_session)
13667  oprot.writeFieldEnd()
13668  oprot.writeFieldStop()
13669  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.interrupt_args.__dict__
private

Definition at line 13679 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.interrupt_args.interrupt_session

Definition at line 13628 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 13627 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: