OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.interrupt_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.interrupt_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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 10711 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.interrupt_args.__init__ (   self,
  query_session = None,
  interrupt_session = None 
)

Definition at line 10720 of file OmniSci.py.

10721  def __init__(self, query_session=None, interrupt_session=None,):
10722  self.query_session = query_session
10723  self.interrupt_session = interrupt_session

Member Function Documentation

def omnisci.thrift.OmniSci.interrupt_args.__eq__ (   self,
  other 
)

Definition at line 10772 of file OmniSci.py.

10773  def __eq__(self, other):
10774  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.interrupt_args.__ne__ (   self,
  other 
)

Definition at line 10775 of file OmniSci.py.

10776  def __ne__(self, other):
10777  return not (self == other)
10778 all_structs.append(interrupt_args)
interrupt_args.thrift_spec = (
def omnisci.thrift.OmniSci.interrupt_args.__repr__ (   self)

Definition at line 10767 of file OmniSci.py.

10768  def __repr__(self):
10769  L = ['%s=%r' % (key, value)
10770  for key, value in self.__dict__.items()]
10771  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.OmniSci.interrupt_args.read (   self,
  iprot 
)

Definition at line 10724 of file OmniSci.py.

References omnisci.thrift.OmniSci.interrupt_args.interrupt_session, and omnisci.thrift.OmniSci.interrupt_args.query_session.

10725  def read(self, iprot):
10726  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
10727  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
10728  return
10729  iprot.readStructBegin()
10730  while True:
10731  (fname, ftype, fid) = iprot.readFieldBegin()
10732  if ftype == TType.STOP:
10733  break
10734  if fid == 1:
10735  if ftype == TType.STRING:
10736  self.query_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10737  else:
10738  iprot.skip(ftype)
10739  elif fid == 2:
10740  if ftype == TType.STRING:
10741  self.interrupt_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10742  else:
10743  iprot.skip(ftype)
10744  else:
10745  iprot.skip(ftype)
10746  iprot.readFieldEnd()
10747  iprot.readStructEnd()
def omnisci.thrift.OmniSci.interrupt_args.validate (   self)

Definition at line 10764 of file OmniSci.py.

10765  def validate(self):
10766  return
def omnisci.thrift.OmniSci.interrupt_args.write (   self,
  oprot 
)

Definition at line 10748 of file OmniSci.py.

References omnisci.thrift.OmniSci.interrupt_args.interrupt_session, and omnisci.thrift.OmniSci.interrupt_args.query_session.

10749  def write(self, oprot):
10750  if oprot._fast_encode is not None and self.thrift_spec is not None:
10751  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
10752  return
10753  oprot.writeStructBegin('interrupt_args')
10754  if self.query_session is not None:
10755  oprot.writeFieldBegin('query_session', TType.STRING, 1)
10756  oprot.writeString(self.query_session.encode('utf-8') if sys.version_info[0] == 2 else self.query_session)
10757  oprot.writeFieldEnd()
10758  if self.interrupt_session is not None:
10759  oprot.writeFieldBegin('interrupt_session', TType.STRING, 2)
10760  oprot.writeString(self.interrupt_session.encode('utf-8') if sys.version_info[0] == 2 else self.interrupt_session)
10761  oprot.writeFieldEnd()
10762  oprot.writeFieldStop()
10763  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.interrupt_args.__dict__
private

Definition at line 10773 of file OmniSci.py.

omnisci.thrift.OmniSci.interrupt_args.interrupt_session

Definition at line 10722 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.interrupt_args.read(), and omnisci.thrift.OmniSci.interrupt_args.write().

omnisci.thrift.OmniSci.interrupt_args.query_session

Definition at line 10721 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.interrupt_args.read(), and omnisci.thrift.OmniSci.interrupt_args.write().


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