OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.krb5_connect_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.krb5_connect_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.krb5_connect_args:

Public Member Functions

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

Public Attributes

 inputToken
 
 dbname
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - inputToken
 - dbname

Definition at line 6369 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.krb5_connect_args.__init__ (   self,
  inputToken = None,
  dbname = None 
)

Definition at line 6378 of file OmniSci.py.

6379  def __init__(self, inputToken=None, dbname=None,):
6380  self.inputToken = inputToken
6381  self.dbname = dbname

Member Function Documentation

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

Definition at line 6430 of file OmniSci.py.

6431  def __eq__(self, other):
6432  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.krb5_connect_args.__ne__ (   self,
  other 
)

Definition at line 6433 of file OmniSci.py.

6434  def __ne__(self, other):
6435  return not (self == other)
6436 all_structs.append(krb5_connect_args)
krb5_connect_args.thrift_spec = (
def omnisci.thrift.OmniSci.krb5_connect_args.__repr__ (   self)

Definition at line 6425 of file OmniSci.py.

6426  def __repr__(self):
6427  L = ['%s=%r' % (key, value)
6428  for key, value in self.__dict__.items()]
6429  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.krb5_connect_args.read (   self,
  iprot 
)

Definition at line 6382 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_args.dbname, omnisci.thrift.OmniSci.krb5_connect_args.dbname, and omnisci.thrift.OmniSci.krb5_connect_args.inputToken.

6383  def read(self, iprot):
6384  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6385  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6386  return
6387  iprot.readStructBegin()
6388  while True:
6389  (fname, ftype, fid) = iprot.readFieldBegin()
6390  if ftype == TType.STOP:
6391  break
6392  if fid == 1:
6393  if ftype == TType.STRING:
6394  self.inputToken = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6395  else:
6396  iprot.skip(ftype)
6397  elif fid == 2:
6398  if ftype == TType.STRING:
6399  self.dbname = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6400  else:
6401  iprot.skip(ftype)
6402  else:
6403  iprot.skip(ftype)
6404  iprot.readFieldEnd()
6405  iprot.readStructEnd()
def omnisci.thrift.OmniSci.krb5_connect_args.validate (   self)

Definition at line 6422 of file OmniSci.py.

6423  def validate(self):
6424  return
def omnisci.thrift.OmniSci.krb5_connect_args.write (   self,
  oprot 
)

Definition at line 6406 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_args.dbname, omnisci.thrift.OmniSci.krb5_connect_args.dbname, and omnisci.thrift.OmniSci.krb5_connect_args.inputToken.

6407  def write(self, oprot):
6408  if oprot._fast_encode is not None and self.thrift_spec is not None:
6409  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6410  return
6411  oprot.writeStructBegin('krb5_connect_args')
6412  if self.inputToken is not None:
6413  oprot.writeFieldBegin('inputToken', TType.STRING, 1)
6414  oprot.writeString(self.inputToken.encode('utf-8') if sys.version_info[0] == 2 else self.inputToken)
6415  oprot.writeFieldEnd()
6416  if self.dbname is not None:
6417  oprot.writeFieldBegin('dbname', TType.STRING, 2)
6418  oprot.writeString(self.dbname.encode('utf-8') if sys.version_info[0] == 2 else self.dbname)
6419  oprot.writeFieldEnd()
6420  oprot.writeFieldStop()
6421  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.krb5_connect_args.__dict__
private

Definition at line 6431 of file OmniSci.py.

omnisci.thrift.OmniSci.krb5_connect_args.dbname

Definition at line 6380 of file OmniSci.py.

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

omnisci.thrift.OmniSci.krb5_connect_args.inputToken

Definition at line 6379 of file OmniSci.py.

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


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