OmniSciDB  340b00dbf6
 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 6213 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 6222 of file OmniSci.py.

6223  def __init__(self, inputToken=None, dbname=None,):
6224  self.inputToken = inputToken
6225  self.dbname = dbname

Member Function Documentation

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

Definition at line 6274 of file OmniSci.py.

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

Definition at line 6277 of file OmniSci.py.

6278  def __ne__(self, other):
6279  return not (self == other)
6280 all_structs.append(krb5_connect_args)
krb5_connect_args.thrift_spec = (
def omnisci.thrift.OmniSci.krb5_connect_args.__repr__ (   self)

Definition at line 6269 of file OmniSci.py.

6270  def __repr__(self):
6271  L = ['%s=%r' % (key, value)
6272  for key, value in self.__dict__.items()]
6273  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 6226 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.

6227  def read(self, iprot):
6228  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6229  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6230  return
6231  iprot.readStructBegin()
6232  while True:
6233  (fname, ftype, fid) = iprot.readFieldBegin()
6234  if ftype == TType.STOP:
6235  break
6236  if fid == 1:
6237  if ftype == TType.STRING:
6238  self.inputToken = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6239  else:
6240  iprot.skip(ftype)
6241  elif fid == 2:
6242  if ftype == TType.STRING:
6243  self.dbname = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6244  else:
6245  iprot.skip(ftype)
6246  else:
6247  iprot.skip(ftype)
6248  iprot.readFieldEnd()
6249  iprot.readStructEnd()
def omnisci.thrift.OmniSci.krb5_connect_args.validate (   self)

Definition at line 6266 of file OmniSci.py.

6267  def validate(self):
6268  return
def omnisci.thrift.OmniSci.krb5_connect_args.write (   self,
  oprot 
)

Definition at line 6250 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.

6251  def write(self, oprot):
6252  if oprot._fast_encode is not None and self.thrift_spec is not None:
6253  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6254  return
6255  oprot.writeStructBegin('krb5_connect_args')
6256  if self.inputToken is not None:
6257  oprot.writeFieldBegin('inputToken', TType.STRING, 1)
6258  oprot.writeString(self.inputToken.encode('utf-8') if sys.version_info[0] == 2 else self.inputToken)
6259  oprot.writeFieldEnd()
6260  if self.dbname is not None:
6261  oprot.writeFieldBegin('dbname', TType.STRING, 2)
6262  oprot.writeString(self.dbname.encode('utf-8') if sys.version_info[0] == 2 else self.dbname)
6263  oprot.writeFieldEnd()
6264  oprot.writeFieldStop()
6265  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.krb5_connect_args.__dict__
private

Definition at line 6275 of file OmniSci.py.

omnisci.thrift.OmniSci.krb5_connect_args.dbname

Definition at line 6224 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 6223 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: