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

Constructor & Destructor Documentation

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

Definition at line 7130 of file OmniSci.py.

7131  def __init__(self, inputToken=None, dbname=None,):
7132  self.inputToken = inputToken
7133  self.dbname = dbname

Member Function Documentation

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

Definition at line 7182 of file OmniSci.py.

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

Definition at line 7185 of file OmniSci.py.

7186  def __ne__(self, other):
7187  return not (self == other)
7188 all_structs.append(krb5_connect_args)
krb5_connect_args.thrift_spec = (
def omnisci.thrift.OmniSci.krb5_connect_args.__repr__ (   self)

Definition at line 7177 of file OmniSci.py.

7178  def __repr__(self):
7179  L = ['%s=%r' % (key, value)
7180  for key, value in self.__dict__.items()]
7181  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 7134 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.

7135  def read(self, iprot):
7136  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
7137  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
7138  return
7139  iprot.readStructBegin()
7140  while True:
7141  (fname, ftype, fid) = iprot.readFieldBegin()
7142  if ftype == TType.STOP:
7143  break
7144  if fid == 1:
7145  if ftype == TType.STRING:
7146  self.inputToken = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
7147  else:
7148  iprot.skip(ftype)
7149  elif fid == 2:
7150  if ftype == TType.STRING:
7151  self.dbname = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
7152  else:
7153  iprot.skip(ftype)
7154  else:
7155  iprot.skip(ftype)
7156  iprot.readFieldEnd()
7157  iprot.readStructEnd()
def omnisci.thrift.OmniSci.krb5_connect_args.validate (   self)

Definition at line 7174 of file OmniSci.py.

7175  def validate(self):
7176  return
def omnisci.thrift.OmniSci.krb5_connect_args.write (   self,
  oprot 
)

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

7159  def write(self, oprot):
7160  if oprot._fast_encode is not None and self.thrift_spec is not None:
7161  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7162  return
7163  oprot.writeStructBegin('krb5_connect_args')
7164  if self.inputToken is not None:
7165  oprot.writeFieldBegin('inputToken', TType.STRING, 1)
7166  oprot.writeString(self.inputToken.encode('utf-8') if sys.version_info[0] == 2 else self.inputToken)
7167  oprot.writeFieldEnd()
7168  if self.dbname is not None:
7169  oprot.writeFieldBegin('dbname', TType.STRING, 2)
7170  oprot.writeString(self.dbname.encode('utf-8') if sys.version_info[0] == 2 else self.dbname)
7171  oprot.writeFieldEnd()
7172  oprot.writeFieldStop()
7173  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.krb5_connect_args.__dict__
private

Definition at line 7183 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.krb5_connect_args.dbname

Definition at line 7132 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 7131 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: