OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.krb5_connect_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.krb5_connect_args:
+ Collaboration diagram for heavydb.thrift.Heavy.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 7821 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.krb5_connect_args.__init__ (   self,
  inputToken = None,
  dbname = None 
)

Definition at line 7830 of file Heavy.py.

7831  def __init__(self, inputToken=None, dbname=None,):
7832  self.inputToken = inputToken
7833  self.dbname = dbname

Member Function Documentation

def heavydb.thrift.Heavy.krb5_connect_args.__eq__ (   self,
  other 
)

Definition at line 7882 of file Heavy.py.

7883  def __eq__(self, other):
7884  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.krb5_connect_args.__ne__ (   self,
  other 
)

Definition at line 7885 of file Heavy.py.

7886  def __ne__(self, other):
7887  return not (self == other)
7888 all_structs.append(krb5_connect_args)
krb5_connect_args.thrift_spec = (
def heavydb.thrift.Heavy.krb5_connect_args.__repr__ (   self)

Definition at line 7877 of file Heavy.py.

7878  def __repr__(self):
7879  L = ['%s=%r' % (key, value)
7880  for key, value in self.__dict__.items()]
7881  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 heavydb.thrift.Heavy.krb5_connect_args.read (   self,
  iprot 
)

Definition at line 7834 of file Heavy.py.

References heavydb.thrift.Heavy.connect_args.dbname, heavydb.thrift.Heavy.krb5_connect_args.dbname, and heavydb.thrift.Heavy.krb5_connect_args.inputToken.

7835  def read(self, iprot):
7836  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
7837  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
7838  return
7839  iprot.readStructBegin()
7840  while True:
7841  (fname, ftype, fid) = iprot.readFieldBegin()
7842  if ftype == TType.STOP:
7843  break
7844  if fid == 1:
7845  if ftype == TType.STRING:
7846  self.inputToken = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7847  else:
7848  iprot.skip(ftype)
7849  elif fid == 2:
7850  if ftype == TType.STRING:
7851  self.dbname = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7852  else:
7853  iprot.skip(ftype)
7854  else:
7855  iprot.skip(ftype)
7856  iprot.readFieldEnd()
7857  iprot.readStructEnd()
def heavydb.thrift.Heavy.krb5_connect_args.validate (   self)

Definition at line 7874 of file Heavy.py.

7875  def validate(self):
7876  return
def heavydb.thrift.Heavy.krb5_connect_args.write (   self,
  oprot 
)

Definition at line 7858 of file Heavy.py.

References heavydb.thrift.Heavy.connect_args.dbname, heavydb.thrift.Heavy.krb5_connect_args.dbname, and heavydb.thrift.Heavy.krb5_connect_args.inputToken.

7859  def write(self, oprot):
7860  if oprot._fast_encode is not None and self.thrift_spec is not None:
7861  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7862  return
7863  oprot.writeStructBegin('krb5_connect_args')
7864  if self.inputToken is not None:
7865  oprot.writeFieldBegin('inputToken', TType.STRING, 1)
7866  oprot.writeString(self.inputToken.encode('utf-8') if sys.version_info[0] == 2 else self.inputToken)
7867  oprot.writeFieldEnd()
7868  if self.dbname is not None:
7869  oprot.writeFieldBegin('dbname', TType.STRING, 2)
7870  oprot.writeString(self.dbname.encode('utf-8') if sys.version_info[0] == 2 else self.dbname)
7871  oprot.writeFieldEnd()
7872  oprot.writeFieldStop()
7873  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.krb5_connect_args.__dict__
private

Definition at line 7883 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.krb5_connect_args.dbname

Definition at line 7832 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.krb5_connect_args.read(), heavydb.thrift.Heavy.switch_database_args.read(), heavydb.thrift.Heavy.krb5_connect_args.write(), and heavydb.thrift.Heavy.switch_database_args.write().

heavydb.thrift.Heavy.krb5_connect_args.inputToken

Definition at line 7831 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.krb5_connect_args.read(), and heavydb.thrift.Heavy.krb5_connect_args.write().


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