OmniSciDB  8fa3bf436f
 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 11161 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 11170 of file OmniSci.py.

11171  def __init__(self, query_session=None, interrupt_session=None,):
11172  self.query_session = query_session
11173  self.interrupt_session = interrupt_session

Member Function Documentation

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

Definition at line 11222 of file OmniSci.py.

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

Definition at line 11225 of file OmniSci.py.

11226  def __ne__(self, other):
11227  return not (self == other)
11228 all_structs.append(interrupt_args)
interrupt_args.thrift_spec = (
def omnisci.thrift.OmniSci.interrupt_args.__repr__ (   self)

Definition at line 11217 of file OmniSci.py.

11218  def __repr__(self):
11219  L = ['%s=%r' % (key, value)
11220  for key, value in self.__dict__.items()]
11221  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 11174 of file OmniSci.py.

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

11175  def read(self, iprot):
11176  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
11177  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
11178  return
11179  iprot.readStructBegin()
11180  while True:
11181  (fname, ftype, fid) = iprot.readFieldBegin()
11182  if ftype == TType.STOP:
11183  break
11184  if fid == 1:
11185  if ftype == TType.STRING:
11186  self.query_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
11187  else:
11188  iprot.skip(ftype)
11189  elif fid == 2:
11190  if ftype == TType.STRING:
11191  self.interrupt_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
11192  else:
11193  iprot.skip(ftype)
11194  else:
11195  iprot.skip(ftype)
11196  iprot.readFieldEnd()
11197  iprot.readStructEnd()
def omnisci.thrift.OmniSci.interrupt_args.validate (   self)

Definition at line 11214 of file OmniSci.py.

11215  def validate(self):
11216  return
def omnisci.thrift.OmniSci.interrupt_args.write (   self,
  oprot 
)

Definition at line 11198 of file OmniSci.py.

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

11199  def write(self, oprot):
11200  if oprot._fast_encode is not None and self.thrift_spec is not None:
11201  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
11202  return
11203  oprot.writeStructBegin('interrupt_args')
11204  if self.query_session is not None:
11205  oprot.writeFieldBegin('query_session', TType.STRING, 1)
11206  oprot.writeString(self.query_session.encode('utf-8') if sys.version_info[0] == 2 else self.query_session)
11207  oprot.writeFieldEnd()
11208  if self.interrupt_session is not None:
11209  oprot.writeFieldBegin('interrupt_session', TType.STRING, 2)
11210  oprot.writeString(self.interrupt_session.encode('utf-8') if sys.version_info[0] == 2 else self.interrupt_session)
11211  oprot.writeFieldEnd()
11212  oprot.writeFieldStop()
11213  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.interrupt_args.__dict__
private

Definition at line 11223 of file OmniSci.py.

omnisci.thrift.OmniSci.interrupt_args.interrupt_session

Definition at line 11172 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 11171 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: