OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 12737 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 12746 of file OmniSci.py.

12747  def __init__(self, query_session=None, interrupt_session=None,):
12748  self.query_session = query_session
12749  self.interrupt_session = interrupt_session

Member Function Documentation

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

Definition at line 12798 of file OmniSci.py.

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

Definition at line 12801 of file OmniSci.py.

12802  def __ne__(self, other):
12803  return not (self == other)
12804 all_structs.append(interrupt_args)
interrupt_args.thrift_spec = (
def omnisci.thrift.OmniSci.interrupt_args.__repr__ (   self)

Definition at line 12793 of file OmniSci.py.

12794  def __repr__(self):
12795  L = ['%s=%r' % (key, value)
12796  for key, value in self.__dict__.items()]
12797  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 12750 of file OmniSci.py.

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

12751  def read(self, iprot):
12752  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12753  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12754  return
12755  iprot.readStructBegin()
12756  while True:
12757  (fname, ftype, fid) = iprot.readFieldBegin()
12758  if ftype == TType.STOP:
12759  break
12760  if fid == 1:
12761  if ftype == TType.STRING:
12762  self.query_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12763  else:
12764  iprot.skip(ftype)
12765  elif fid == 2:
12766  if ftype == TType.STRING:
12767  self.interrupt_session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12768  else:
12769  iprot.skip(ftype)
12770  else:
12771  iprot.skip(ftype)
12772  iprot.readFieldEnd()
12773  iprot.readStructEnd()
def omnisci.thrift.OmniSci.interrupt_args.validate (   self)

Definition at line 12790 of file OmniSci.py.

12791  def validate(self):
12792  return
def omnisci.thrift.OmniSci.interrupt_args.write (   self,
  oprot 
)

Definition at line 12774 of file OmniSci.py.

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

12775  def write(self, oprot):
12776  if oprot._fast_encode is not None and self.thrift_spec is not None:
12777  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12778  return
12779  oprot.writeStructBegin('interrupt_args')
12780  if self.query_session is not None:
12781  oprot.writeFieldBegin('query_session', TType.STRING, 1)
12782  oprot.writeString(self.query_session.encode('utf-8') if sys.version_info[0] == 2 else self.query_session)
12783  oprot.writeFieldEnd()
12784  if self.interrupt_session is not None:
12785  oprot.writeFieldBegin('interrupt_session', TType.STRING, 2)
12786  oprot.writeString(self.interrupt_session.encode('utf-8') if sys.version_info[0] == 2 else self.interrupt_session)
12787  oprot.writeFieldEnd()
12788  oprot.writeFieldStop()
12789  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.interrupt_args.__dict__
private

Definition at line 12799 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.interrupt_args.interrupt_session

Definition at line 12748 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 12747 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: