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

Public Member Functions

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

Public Attributes

 user
 
 passwd
 
 dbname
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - user
 - passwd
 - dbname

Definition at line 6961 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.connect_args.__init__ (   self,
  user = None,
  passwd = None,
  dbname = None 
)

Definition at line 6971 of file OmniSci.py.

6972  def __init__(self, user=None, passwd=None, dbname=None,):
6973  self.user = user
6974  self.passwd = passwd
6975  self.dbname = dbname

Member Function Documentation

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

Definition at line 7033 of file OmniSci.py.

7034  def __eq__(self, other):
7035  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.connect_args.__ne__ (   self,
  other 
)

Definition at line 7036 of file OmniSci.py.

7037  def __ne__(self, other):
7038  return not (self == other)
7039 all_structs.append(connect_args)
connect_args.thrift_spec = (
def omnisci.thrift.OmniSci.connect_args.__repr__ (   self)

Definition at line 7028 of file OmniSci.py.

7029  def __repr__(self):
7030  L = ['%s=%r' % (key, value)
7031  for key, value in self.__dict__.items()]
7032  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.connect_args.read (   self,
  iprot 
)

Definition at line 6976 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_args.dbname, omnisci.thrift.OmniSci.connect_args.passwd, com.omnisci.jdbc.OmniSciGeomTest.user, com.omnisci.jdbc.OmniSciPrepareTest.user, com.omnisci.jdbc.OmniSciColumnTypeTest.user, com.omnisci.jdbc.OmniSciConnectionTest.user, com.omnisci.jdbc.OmniSciArrayTest.user, com.omnisci.jdbc.OmniSciStatementTest.user, com.mapd.calcite.parser.MapDUser.user, com.mapd.parser.extension.ddl.SqlCreateUserMapping.Builder.user, com.mapd.parser.extension.ddl.SqlDropUserMapping.user, DashboardDescriptor.user, com.mapd.parser.extension.ddl.SqlCreateUserMapping.user, com.omnisci.jdbc.Options.user, and omnisci.thrift.OmniSci.connect_args.user.

6977  def read(self, iprot):
6978  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6979  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6980  return
6981  iprot.readStructBegin()
6982  while True:
6983  (fname, ftype, fid) = iprot.readFieldBegin()
6984  if ftype == TType.STOP:
6985  break
6986  if fid == 1:
6987  if ftype == TType.STRING:
6988  self.user = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6989  else:
6990  iprot.skip(ftype)
6991  elif fid == 2:
6992  if ftype == TType.STRING:
6993  self.passwd = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6994  else:
6995  iprot.skip(ftype)
6996  elif fid == 3:
6997  if ftype == TType.STRING:
6998  self.dbname = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
6999  else:
7000  iprot.skip(ftype)
7001  else:
7002  iprot.skip(ftype)
7003  iprot.readFieldEnd()
7004  iprot.readStructEnd()
def omnisci.thrift.OmniSci.connect_args.validate (   self)

Definition at line 7025 of file OmniSci.py.

7026  def validate(self):
7027  return
def omnisci.thrift.OmniSci.connect_args.write (   self,
  oprot 
)

Definition at line 7005 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_args.dbname, omnisci.thrift.OmniSci.connect_args.passwd, com.omnisci.jdbc.OmniSciGeomTest.user, com.omnisci.jdbc.OmniSciPrepareTest.user, com.omnisci.jdbc.OmniSciColumnTypeTest.user, com.omnisci.jdbc.OmniSciConnectionTest.user, com.omnisci.jdbc.OmniSciArrayTest.user, com.omnisci.jdbc.OmniSciStatementTest.user, com.mapd.calcite.parser.MapDUser.user, com.mapd.parser.extension.ddl.SqlCreateUserMapping.Builder.user, com.mapd.parser.extension.ddl.SqlDropUserMapping.user, DashboardDescriptor.user, com.mapd.parser.extension.ddl.SqlCreateUserMapping.user, com.omnisci.jdbc.Options.user, and omnisci.thrift.OmniSci.connect_args.user.

7006  def write(self, oprot):
7007  if oprot._fast_encode is not None and self.thrift_spec is not None:
7008  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7009  return
7010  oprot.writeStructBegin('connect_args')
7011  if self.user is not None:
7012  oprot.writeFieldBegin('user', TType.STRING, 1)
7013  oprot.writeString(self.user.encode('utf-8') if sys.version_info[0] == 2 else self.user)
7014  oprot.writeFieldEnd()
7015  if self.passwd is not None:
7016  oprot.writeFieldBegin('passwd', TType.STRING, 2)
7017  oprot.writeString(self.passwd.encode('utf-8') if sys.version_info[0] == 2 else self.passwd)
7018  oprot.writeFieldEnd()
7019  if self.dbname is not None:
7020  oprot.writeFieldBegin('dbname', TType.STRING, 3)
7021  oprot.writeString(self.dbname.encode('utf-8') if sys.version_info[0] == 2 else self.dbname)
7022  oprot.writeFieldEnd()
7023  oprot.writeFieldStop()
7024  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.connect_args.__dict__
private

Definition at line 7034 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.connect_args.dbname

Definition at line 6974 of file OmniSci.py.

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

omnisci.thrift.OmniSci.connect_args.passwd

Definition at line 6973 of file OmniSci.py.

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

omnisci.thrift.OmniSci.connect_args.user

Definition at line 6972 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TSessionInfo.read(), omnisci.thrift.OmniSci.connect_args.read(), omnisci.thrift.ttypes.TSessionInfo.write(), and omnisci.thrift.OmniSci.connect_args.write().


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