com.huawei.gauss200.jdbc.ds.common.BaseDataSource.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
The newest version!
???? 4?
IJK ?LM ?N ?O ?P ?QR ?S ?TU
I ?V ?W ?X
?Y
?Z
[\ ?] ^_
`abc
?d
`efg
?h
ij ?
k
?l
mn ?o
?p
?q ?r
?s
?t ?u ?v
?w ?x ?y ?z ?{ ?| ?} ?~ ? ?? ?? ?? ??
??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???
??
a? ???
e??
e???
e??
??
??
e??
?????
e????
e?
e?
???
eI?
|?
?
??
??
??
????
?? ??
?? ??
??
?
???
??
??
??
??
?
???
??
???(
??
??
?? ? ? ? ? ?
?? ? ?
??
??
??
??
??
?? ?
???
?I?
??
??
???
??
???
?
? ?
?
? ?
? ?
` ?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?!
?"
?#
?$
?%
?&
?'
?(
?)
?*
?+,-
?./01
?2345 InnerClasses LOGGER Ljava/util/logging/Logger; serverNames [Ljava/lang/String; databaseName Ljava/lang/String; user password portNumbers [I
portNumber I allowEncodingChanges Z characterEncoding connectionExtraInfo
properties Ljava/util/Properties; ()V Code LineNumberTable LocalVariableTable this 3Lcom/huawei/gauss200/jdbc/ds/common/BaseDataSource; getAllowEncodingChanges ()Z setAllowEncodingChanges (Z)V allow getCharacterEncoding ()Ljava/lang/String; setCharacterEncoding (Ljava/lang/String;)V encode
getConnection ()Ljava/sql/Connection;
Exceptions ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; con Ljava/sql/Connection; e Ljava/sql/SQLException;
StackMapTable6 getLogWriter ()Ljava/io/PrintWriter; setLogWriter (Ljava/io/PrintWriter;)V printWriter Ljava/io/PrintWriter;
getServerName
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; getServerNames ()[Ljava/lang/String;
setServerName
serverName setServerNames ([Ljava/lang/String;)V i getDatabaseName setDatabaseName getDescription getUser setUser getPassword setPassword
getPortNumber ()I getPortNumbers ()[I
setPortNumber (I)V setPortNumbers ([I)V
getOptions
setOptions options getLoginTimeout setLoginTimeout loginTimeout getConnectTimeout setConnectTimeout connectTimeout getProtocolVersion setProtocolVersion protocolVersion getReceiveBufferSize setReceiveBufferSize nbytes getSendBufferSize setSendBufferSize setPrepareThreshold count getPrepareThreshold getPreparedStatementCacheQueries setPreparedStatementCacheQueries cacheSize getPreparedStatementCacheSizeMiB setPreparedStatementCacheSizeMiB getDatabaseMetadataCacheFields setDatabaseMetadataCacheFields !getDatabaseMetadataCacheFieldsMiB !setDatabaseMetadataCacheFieldsMiB setDefaultRowFetchSize fetchSize getDefaultRowFetchSize setUnknownLength
unknownLength getUnknownLength setSocketTimeout seconds getSocketTimeout setCancelSignalTimeout getCancelSignalTimeout setSsl enabled getSsl
setSslfactory classname
getSslfactory
getSslMode
setSslMode mode getSslFactoryArg setSslFactoryArg arg getSslHostnameVerifier setSslHostnameVerifier className
getSslCert
setSslCert file getSslKey setSslKey getSslRootCert setSslRootCert getSslPassword setSslPassword getSslPasswordCallback setSslPasswordCallback setApplicationName applicationName getApplicationName setTargetServerType targetServerType getTargetServerType setLoadBalanceHosts loadBalanceHosts getLoadBalanceHosts setHostRecheckSeconds hostRecheckSeconds getHostRecheckSeconds setTcpKeepAlive getTcpKeepAlive setBinaryTransfer getBinaryTransfer setBinaryTransferEnable oidList getBinaryTransferEnable setBinaryTransferDisable getBinaryTransferDisable
getStringType
setStringType
stringType isColumnSanitiserDisabled getDisableColumnSanitiser setDisableColumnSanitiser disableColumnSanitiser getCurrentSchema setCurrentSchema
currentSchema getReadOnly setReadOnly readOnly getReadOnlyMode setReadOnlyMode getLogUnclosedConnections setLogUnclosedConnections getLogServerErrorDetail setLogServerErrorDetail getAssumeMinServerVersion setAssumeMinServerVersion
minVersion getJaasApplicationName setJaasApplicationName name getJaasLogin setJaasLogin doLogin getKerberosServerName setKerberosServerName getUseSpNego setUseSpNego use getGssLib setGssLib lib
getGssEncMode
setGssEncMode getSspiServiceClass setSspiServiceClass serviceClass getSocketFactory setSocketFactory socketFactoryClassName getSocketFactoryArg setSocketFactoryArg socketFactoryArg setReplication replication getEscapeSyntaxCallMode setEscapeSyntaxCallMode callMode getReplication getLoggerLevel setLoggerLevel loggerLevel
getLoggerFile exprProps 4Lcom/huawei/gauss200/jdbc/util/ExpressionProperties;
setLoggerFile
loggerFile setConnectionExtraInfo getConnectionExtraInfo getUrl value property %Lcom/huawei/gauss200/jdbc/PGProperty; url Ljava/lang/StringBuilder; query78 getURL setUrl p setURL getProperty &(Ljava/lang/String;)Ljava/lang/String;
pgProperty setProperty '(Ljava/lang/String;Ljava/lang/String;)V 9(Lcom/huawei/gauss200/jdbc/PGProperty;)Ljava/lang/String; :(Lcom/huawei/gauss200/jdbc/PGProperty;Ljava/lang/String;)V !Ljava/lang/NumberFormatException; ps ports createReference ()Ljavax/naming/Reference; getReference ref Ljavax/naming/Reference; serverString
portString9 setFromReference (Ljavax/naming/Reference;)V portNumberString getReferenceProperty >(Ljavax/naming/Reference;Ljava/lang/String;)Ljava/lang/String; propertyName addr Ljavax/naming/RefAddr;: writeBaseObject (Ljava/io/ObjectOutputStream;)V out Ljava/io/ObjectOutputStream;; readBaseObject (Ljava/io/ObjectInputStream;)V in Ljava/io/ObjectInputStream; initializeFrom 6(Lcom/huawei/gauss200/jdbc/ds/common/BaseDataSource;)V source baos Ljava/io/ByteArrayOutputStream; oos bais Ljava/io/ByteArrayInputStream; ois getPreferQueryMode 1()Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode; setPreferQueryMode 2(Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode;)V preferQueryMode /Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode; getAutosave *()Lcom/huawei/gauss200/jdbc/jdbc/AutoSave; setAutosave +(Lcom/huawei/gauss200/jdbc/jdbc/AutoSave;)V autoSave (Lcom/huawei/gauss200/jdbc/jdbc/AutoSave; getCleanupSavepoints setCleanupSavepoints cleanupSavepoints getReWriteBatchedInserts setReWriteBatchedInserts reWrite getHideUnprivilegedObjects setHideUnprivilegedObjects hideUnprivileged getMaxResultBuffer setMaxResultBuffer maxResultBuffer getParentLogger ()Ljava/util/logging/Logger; getXmlFactoryFactory setXmlFactoryFactory xmlFactoryFactory isSsl getSslfactoryarg setSslfactoryarg
getSslcert
setSslcert
getSslmode
setSslmode getSslhostnameverifier setSslhostnameverifier getSslkey setSslkey getSslrootcert setSslrootcert getSslpasswordcallback setSslpasswordcallback getSslpassword setSslpassword sslpassword getRecvBufferSize setRecvBufferSize isAllowEncodingChanges isLogUnclosedConnections isTcpKeepAlive
isReadOnly isDisableColumnSanitiser isLoadBalanceHosts isCleanupSavePoints setCleanupSavePoints isReWriteBatchedInserts "Ljava/lang/ClassNotFoundException;
SourceFile BaseDataSource.java java/lang/String localhost ? ? ? ? ? ? ? ? ? ? UTF8 ? ? ? ? java/util/Properties ? ? ? ? ? ??
<= ? ?>?@ABC Created a {0} for {1} at {2} java/lang/Object.
DE java/sql/SQLException *Failed to create a {0} for {1} at {2}: {3})* ?FGHI9:JKLM?NOPQR?STPUV?W?XYZ?[?\?]?^?_?`?a?b?c?d?e?PfgYh?i?j?k?l?m?n?o?p?q?rstu?v?w?x?y?z?{?|?}?~?????????????????????????????????? 2com/huawei/gauss200/jdbc/util/ExpressionProperties??? ??? java/lang/StringBuilder 8 jdbc:gaussdb://?? , :?? /?????4 &?
= &binaryTransfer=true &allowEncodingChanges=?? &characterEncoding= &connectionExtraInfo= ????
??? "java/lang/IllegalArgumentException URL invalid ?I??????? +com/huawei/gauss200/jdbc/util/PSQLException Unsupported property name: {0}?????? ?? ??4????? java/lang/NumberFormatException-02?? javax/naming/Reference??? 2com/huawei/gauss200/jdbc/ds/common/PGObjectFactory ??? javax/naming/StringRefAddr ??????????N??G???
?G? java/io/ByteArrayOutputStream java/io/ObjectOutputStream ???? java/io/ByteArrayInputStream?? ? java/io/ObjectInputStream ?????????
????????????? com.huawei.gauss200.jdbc????el
mr
si
jo
pu
vw
x{
|y
zG4H8?????
1com/huawei/gauss200/jdbc/ds/common/BaseDataSource com.huawei.gauss200.jdbc.Driver?? java/lang/ClassNotFoundException java/lang/IllegalStateException ?BaseDataSource is unable to load com.huawei.gauss200.jdbc.Driver. Please check if you have proper PostgreSQL JDBC Driver jar on the classpath ? javax/sql/CommonDataSource javax/naming/Referenceable 3com/huawei/gauss200/jdbc/ds/common/BaseDataSource$1 java/sql/Connection &[Lcom/huawei/gauss200/jdbc/PGProperty; #com/huawei/gauss200/jdbc/PGProperty javax/naming/NamingException javax/naming/RefAddr java/io/IOException java/sql/DriverManager M(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger
isLoggable (Ljava/util/logging/Level;)Z log A(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V clone ()Ljava/lang/Object; equals (Ljava/lang/Object;)Z java/util/Arrays copyOf ([II)[I OPTIONS get *(Ljava/util/Properties;)Ljava/lang/String; set +(Ljava/util/Properties;Ljava/lang/String;)V
LOGIN_TIMEOUT
getIntNoCheck (Ljava/util/Properties;)I (Ljava/util/Properties;I)V CONNECT_TIMEOUT PROTOCOL_VERSION isPresent (Ljava/util/Properties;)Z RECEIVE_BUFFER_SIZE SEND_BUFFER_SIZE PREPARE_THRESHOLD PREPARED_STATEMENT_CACHE_QUERIES !PREPARED_STATEMENT_CACHE_SIZE_MIB DATABASE_METADATA_CACHE_FIELDS "DATABASE_METADATA_CACHE_FIELDS_MIB DEFAULT_ROW_FETCH_SIZE UNKNOWN_LENGTH SOCKET_TIMEOUT CANCEL_SIGNAL_TIMEOUT SSL (Ljava/util/Properties;Z)V
getBoolean SSL_FACTORY SSL_MODE SSL_FACTORY_ARG SSL_HOSTNAME_VERIFIER SSL_CERT SSL_KEY
SSL_ROOT_CERT SSL_PASSWORD SSL_PASSWORD_CALLBACK APPLICATION_NAME /com/huawei/gauss200/jdbc/util/internal/Nullness castNonNull &(Ljava/lang/Object;)Ljava/lang/Object; TARGET_SERVER_TYPE LOAD_BALANCE_HOSTS HOST_RECHECK_SECONDS TCP_KEEP_ALIVE BINARY_TRANSFER BINARY_TRANSFER_ENABLE BINARY_TRANSFER_DISABLE STRING_TYPE DISABLE_COLUMN_SANITISER CURRENT_SCHEMA READ_ONLY READ_ONLY_MODE LOG_UNCLOSED_CONNECTIONS LOG_SERVER_ERROR_DETAIL ASSUME_MIN_SERVER_VERSION JAAS_APPLICATION_NAME
JAAS_LOGIN KERBEROS_SERVER_NAME
USE_SPNEGO GSS_LIB GSS_ENC_MODE SSPI_SERVICE_CLASS SOCKET_FACTORY SOCKET_FACTORY_ARG REPLICATION ESCAPE_SYNTAX_CALL_MODE LOGGER_LEVEL java/lang/System
getProperties ()Ljava/util/Properties; ([Ljava/util/Properties;)V LOGGER_FILE append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; &com/huawei/gauss200/jdbc/util/URLCoder values (()[Lcom/huawei/gauss200/jdbc/PGProperty; length getName (Z)Ljava/lang/StringBuilder; 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; toString com/huawei/gauss200/jdbc/Driver parseURL @(Ljava/lang/String;Ljava/util/Properties;)Ljava/util/Properties; containsKey forName 9(Ljava/lang/String;)Lcom/huawei/gauss200/jdbc/PGProperty; com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 'com/huawei/gauss200/jdbc/util/PSQLState INVALID_PARAMETER_VALUE )Lcom/huawei/gauss200/jdbc/util/PSQLState; >(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;)V .$SwitchMap$com$huawei$gauss200$jdbc$PGProperty ordinal split '(Ljava/lang/String;)[Ljava/lang/String; java/lang/Integer parseInt (Ljava/lang/String;)I 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; getClass ()Ljava/lang/Class; java/lang/Class 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V add (Ljavax/naming/RefAddr;)V (I)Ljava/lang/String; java/lang/Boolean (Z)Ljava/lang/String; *(Ljava/lang/String;)Ljavax/naming/RefAddr;
getContent writeObject (Ljava/lang/Object;)V writeBoolean
readObject readBoolean (Ljava/io/OutputStream;)V close toByteArray ()[B ([B)V (Ljava/io/InputStream;)V PREFER_QUERY_MODE -com/huawei/gauss200/jdbc/jdbc/PreferQueryMode of C(Ljava/lang/String;)Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode; AUTOSAVE &com/huawei/gauss200/jdbc/jdbc/AutoSave <(Ljava/lang/String;)Lcom/huawei/gauss200/jdbc/jdbc/AutoSave; CLEANUP_SAVEPOINTS REWRITE_BATCHED_INSERTS HIDE_UNPRIVILEGED_OBJECTS MAX_RESULT_BUFFER getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; XML_FACTORY_FACTORY %(Ljava/lang/String;)Ljava/lang/Class; *(Ljava/lang/String;Ljava/lang/Throwable;)V! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? C*? *? YS? *? *?
YO? *? *? *
? *? *?
Y? ? ? &