org.postgresql.Driver.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
???? 2?
?U
?V
1W ?XY
Z
[\]^
_`
W abc
de
afg
1h
ij ?k lmn
op
qr lstu
ovw
Wx
qyz{z|
}
~
??
&?
?
???
:??
?????
?? ??
/?
?
????????
e?
<W?
<?
<?
/?
?
??
???
???
G???
I?
I?
I?
G??
o?????? a?
a??
:? ?? l?
o??? l??
d?
`? a? ??
:?
o?
??
o??
i? d??
???
nW
???
q?
???
t?
??
o?
??
o?
o??
??
??
??
{?
a??
a????
:?
:?
:??
:????
???
:?
:?
?? ?????
:?
<???
<?
??
??
<??~?
:?
<?
:
?W????
?
?
q
&
??
? ?
??
?
i ?
??
?!
"#$
"%
1?&4'()*+,-./0
&? 1234
??
&567
&?8
:9
::;
?W<=6>6?
@AB
?CDE
?F6G<HI ?JKL ?M
NOPQRST
UVW
W
XY
XZ
X[\]
W
^
_`
ab
ac ?d
efghij
?k
e?lm
?
Nnopq
r
s
tuv
w
x ay
z{Dz |
?} ?~
i?? ??
??
'C ??
????
0?
?W
?? ???
???H?
??
???
o???
@W
????
D??
ConnectThread InnerClasses registeredDriver Lorg/postgresql/Driver;
PARENT_LOGGER Ljava/util/logging/Logger; LOGGER sharedTimer !Lorg/postgresql/util/SharedTimer; DEFAULT_PORT Ljava/lang/String;
ConstantValue client BLcom/huawei/shade/org/apache/http/impl/client/CloseableHttpClient; gsVersion defaultProperties Ljava/util/Properties; loggerHandlerFile ()V Code LineNumberTable LocalVariableTable this getDefaultProperties ()Ljava/util/Properties; e )Ljava/security/PrivilegedActionException;
StackMapTable^
Exceptions loadDefaultProperties url Ljava/net/URL; is Ljava/io/InputStream; i I merged cl Ljava/lang/ClassLoader; urls Ljava/util/ArrayList; urlEnum Ljava/util/Enumeration; LocalVariableTypeTable %Ljava/util/ArrayList; 'Ljava/util/Enumeration;?]g?w? connect ?(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection; defaults ioe Ljava/io/IOException; propValue propName Ljava/util/Set; timeout J ct %Lorg/postgresql/Driver$ConnectThread; thread Ljava/lang/Thread; ex1 #Lorg/postgresql/util/PSQLException; ace &Ljava/security/AccessControlException; ex2 Ljava/lang/Exception; info props #Ljava/util/Set;`?????? setupLoggerFromProperties (Ljava/util/Properties;)V handlers Ljava/util/logging/Handler; ex driverLogLevel exprProps *Lorg/postgresql/util/ExpressionProperties;
driverLogFile handler formatter Ljava/util/logging/Formatter;???? makeConnection
acceptsURL (Ljava/lang/String;)Z getPropertyInfo H(Ljava/lang/String;Ljava/util/Properties;)[Ljava/sql/DriverPropertyInfo; copy parse knownProperties [Lorg/postgresql/PGProperty; [Ljava/sql/DriverPropertyInfo;?? getMajorVersion ()I getMinorVersion
getVersion ()Ljava/lang/String;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated;
jdbcCompliant ()Z parseURL @(Ljava/lang/String;Ljava/util/Properties;)Ljava/util/Properties; port ignore !Ljava/lang/NumberFormatException; portStr portIdx address temp [Ljava/lang/String; slash addresses hosts Ljava/lang/StringBuilder; ports portArray hostArray hostList Ljava/util/List; l_pos token args serverurl
clusterurl f Ljava/io/File; filePath e1 jsonObj 2Lcom/huawei/shade/com/alibaba/fastjson/JSONObject; tmp Ljava/lang/StringBuffer; ClusterIdentifier region DbUser
AutoCreate AccessKeyID SecretAccessKey jdbcUrl in
domainName jsonstr urlProps l_urlServer l_urlArgs l_qPos $Ljava/util/List;?????? getReturn \(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; key value p parameterarray
parametersmap Ljava/util/Map; entry Entry Ljava/util/Map$Entry;
httpMethod 4Lcom/huawei/shade/com/cloud/sdk/http/HttpMethodName; request (Lcom/huawei/shade/com/cloud/sdk/Request; urlString
parameters signer 3Lcom/huawei/shade/com/cloud/sdk/auth/signer/Signer; httpRequestBase ALcom/huawei/shade/org/apache/http/client/methods/HttpRequestBase; requestHeaders response /Lcom/huawei/shade/org/apache/http/HttpResponse;
sslContext Ljavax/net/ssl/SSLContext; sslSocketFactory FLcom/huawei/shade/org/apache/http/conn/ssl/SSLConnectionSocketFactory; ak sk
requestUrl ;Ljava/util/Map$Entry; 5Ljava/util/Map;??????I??\?
createRequest z(Ljava/net/URL;Lcom/huawei/shade/org/apache/http/Header;)Lcom/huawei/shade/org/apache/http/client/methods/HttpRequestBase; header )Lcom/huawei/shade/org/apache/http/Header; httpRequest convertStreamToString )(Ljava/io/InputStream;)Ljava/lang/String; ioEX reader Ljava/io/BufferedReader; sb lineo hostSpecs 7(Ljava/util/Properties;)[Lorg/postgresql/util/HostSpec; [Lorg/postgresql/util/HostSpec;2 user *(Ljava/util/Properties;)Ljava/lang/String; database (Ljava/util/Properties;)J notImplemented O(Ljava/lang/Class;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; callClass Ljava/lang/Class; functionName Ljava/lang/Class<*>; Signature R(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; getParentLogger ()Ljava/util/logging/Logger; getSharedTimer #()Lorg/postgresql/util/SharedTimer; register
deregister isRegistered getGSVersion connectionExtraInfo (Ljava/util/Properties;)Z prop
access$000 /(Lorg/postgresql/Driver;)Ljava/util/Properties; x0
access$100 x1 Ljava/sql/SQLException;?
SourceFile Driver.java?~f`YZVW org/postgresql/Driver$1Y???? java/util/Properties 'java/security/PrivilegedActionException?? java/io/IOException??? user.name????? java/lang/SecurityException?????ML??? QCan't find our classloader for the Driver; attempt to use the system class loader???????? uCan't find a classloader for the Driver; not loading driver configuration from org/postgresql/driverconfig.properties 0Loading driver configuration via classloader {0}?? java/util/ArrayList &org/postgresql/driverconfig.properties????????????? java/net/URL &Loading driver configuration from: {0}??????Z jdbc:postgresql:??
jdbc:dws:iam:_` !org/postgresql/util/PSQLException ;Error loading default settings from driverconfig.properties java/lang/Object??????Y?Y??????????? java/lang/String java/lang/StringBuilder BProperties for the driver contains a non-string value for the key ????Y??????? Connecting with URL: {0}?7 #org/postgresql/Driver$ConnectThreadY? java/lang/Thread (PostgreSQL JDBC driver connection threadY????Z?? Connection error: ?? $java/security/AccessControlException ?Your security policy has prevented the connection from being attempted. You probably need to grant the connect java.net.SocketPermission to the database server host and port that you wish to connect to. java/lang/Exception Unexpected connection error: XSomething unusual has occured to cause the driver to fail. Please report this exception.???5 OFF??KL???? DEBUG TRACE?? (org/postgresql/util/ExpressionProperties?`Y???XQ??????? java/util/logging/FileHandlerY 6Cannot enable FileHandler, fallback to ConsoleHandler. !java/util/logging/SimpleFormatter !org/postgresql/util/WriterHandlerY
java/util/logging/StreamHandlerY
?? org/postgresql/jdbc/PgConnection014565Y java/sql/DriverPropertyInfo org/postgresql/util/DriverInfo KPostgreSQL JDBC Driver /*$mvn.project.property.parsedversion.osgiversion$*/ KJDBC URL must start with "jdbc:postgresql:" or "jdbc:dws:iam:" but was: {0}? // =JDBC URL must contain a / at the end of the host or port: {0} PGDBNAME? , !"#$ 'JDBC URL port: {0} not valid (1:65535) java/lang/NumberFormatException !JDBC URL invalid port number: {0}%&?' org/postgresql/Driver 5431?()*+,-./0? PGPORT PGHOST1? localhost &2? java/lang/StringBuffer : =?3 BPlease confirm that all the parameters needed is added to the url.4? java/io/File567?8?9Q config jdbcconfig.properties java/io/BufferedInputStream java/io/FileInputStreamY?:? %/org/postgresql/jdbcconfig.properties;< #Parse jdbcconfig.properties failed.=? Unrecognized region name. https://
/credentials? clusterName= &dbUser= &autoCreate=???>? cluster_credentials?@ db_user db_endpoint db_port db_password password externalMessage 'The format of Token is not as expected. Parse the token failed. ssl sslmode require?A -com/huawei/shade/com/cloud/sdk/DefaultRequest dwsBC?DE ?FG$ java/util/HashMap?HIJKLMNOP @com/huawei/shade/com/cloud/sdk/auth/credentials/BasicCredentialsYQ?RS#$TUV? java/util/Map$EntryW? ,com/huawei/shade/org/apache/http/HttpHeaders Content-LengthX??YQ
X-Language en-us Content-Type application/json AcceptZ[\ Acom/huawei/shade/org/apache/http/conn/ssl/TrustSelfSignedStrategy]^_`\ab Dcom/huawei/shade/org/apache/http/conn/ssl/SSLConnectionSocketFactory Bcom/huawei/shade/org/apache/http/conn/ssl/AllowAllHostnameVerifierYcd[efghaiSTjkl?mnop?() Get the token failed. 7com/huawei/shade/org/apache/http/client/methods/HttpGetYq java/io/BufferedReader java/io/InputStreamReader UTF-8YrYst?
org/postgresql/util/HostSpecYu?vw?xyz &Couldn't parse loginTimeout value: {0}{? (java/sql/SQLFeatureNotSupportedException "Method {0} is not yet implemented.|? .}?~?NOF? java/lang/IllegalStateException =Driver is already registered. It can only be registered once.?IJ WDriver is not registered (or it has not been registered using Driver.register() method)?? f(GaussDB Kernel V300R002C00 build ea9abd36) compiled at 2019-08-28 12:43:51 commit 6184 last mr 10295 false????? org.postgresql?? org.postgresql.Driver org/postgresql/util/SharedTimerDZ java/sql/SQLException %java/lang/ExceptionInInitializerErrorY? java/sql/Driver java/lang/ClassLoader java/util/Enumeration
java/util/Set java/util/Iterator [Ljava/util/logging/Handler; java/util/logging/Handler java/util/logging/Formatter java/util/List java/io/InputStream 0com/huawei/shade/com/alibaba/fastjson/JSONObject 2com/huawei/shade/com/cloud/sdk/http/HttpMethodName &com/huawei/shade/com/cloud/sdk/Request
java/util/Map 1com/huawei/shade/com/cloud/sdk/auth/signer/Signer ?com/huawei/shade/org/apache/http/client/methods/HttpRequestBase -com/huawei/shade/org/apache/http/HttpResponse javax/net/ssl/SSLContext java/lang/Throwable (Lorg/postgresql/Driver;)V java/security/AccessController doPrivileged =(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object; getException ()Ljava/lang/Exception; org/postgresql/PGProperty USER Lorg/postgresql/PGProperty; java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; set +(Ljava/util/Properties;Ljava/lang/String;)V getClass ()Ljava/lang/Class; java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V getSystemClassLoader WARNING @(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V getResources +(Ljava/lang/String;)Ljava/util/Enumeration; hasMoreElements nextElement ()Ljava/lang/Object; add (Ljava/lang/Object;)Z size get (I)Ljava/lang/Object;
openStream ()Ljava/io/InputStream; load (Ljava/io/InputStream;)V close
startsWith org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState UNEXPECTED_ERROR Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V stringPropertyNames ()Ljava/util/Set; iterator ()Ljava/util/Iterator; hasNext next append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; +(Ljava/lang/String;Ljava/util/Properties;)V )(Ljava/lang/Runnable;Ljava/lang/String;)V setDaemon (Z)V start getResult (J)Ljava/sql/Connection; C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V LOGGER_LEVEL equalsIgnoreCase setLevel (Ljava/util/logging/Level;)V FINEST
getProperties ([Ljava/util/Properties;)V LOGGER_FILE equals getHandlers ()[Ljava/util/logging/Handler;
removeHandler (Ljava/util/logging/Handler;)V (Ljava/lang/String;)V err Ljava/io/PrintStream; java/io/PrintStream println java/sql/DriverManager getLogWriter ()Ljava/io/PrintWriter; (Ljava/io/Writer;)V getLogStream ()Ljava/io/PrintStream; 6(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V setFormatter (Ljava/util/logging/Formatter;)V getLevel ()Ljava/util/logging/Level; setUseParentHandlers
addHandler n([Lorg/postgresql/util/HostSpec;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;)V values ()[Lorg/postgresql/PGProperty; toDriverPropertyInfo 5(Ljava/util/Properties;)Ljava/sql/DriverPropertyInfo; indexOf (I)I substring (II)Ljava/lang/String; (I)Ljava/lang/String; length org/postgresql/util/URLCoder decode split '(Ljava/lang/String;)[Ljava/lang/String; lastIndexOf java/lang/Integer parseInt (Ljava/lang/String;)I subSequence (II)Ljava/lang/CharSequence; 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; java/util/Collections shuffle (Ljava/util/List;)V setLength (I)V containsKey isEmpty ,(Ljava/lang/String;)Ljava/lang/StringBuffer; CONNECTION_REJECTED getResource "(Ljava/lang/String;)Ljava/net/URL; getPath getParent separator
getMessage getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; CONNECTION_UNABLE_TO_CONNECT parseObject F(Ljava/lang/String;)Lcom/huawei/shade/com/alibaba/fastjson/JSONObject; &(Ljava/lang/Object;)Ljava/lang/Object; GET toURI ()Ljava/net/URI; setEndpoint (Ljava/net/URI;)V contains (Ljava/lang/CharSequence;)Z put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
setParameters (Ljava/util/Map;)V
setHttpMethod 7(Lcom/huawei/shade/com/cloud/sdk/http/HttpMethodName;)V 8com/huawei/shade/com/cloud/sdk/auth/signer/SignerFactory getSigner Y(Ljava/lang/String;Ljava/lang/String;)Lcom/huawei/shade/com/cloud/sdk/auth/signer/Signer; '(Ljava/lang/String;Ljava/lang/String;)V sign h(Lcom/huawei/shade/com/cloud/sdk/Request;Lcom/huawei/shade/com/cloud/sdk/auth/credentials/Credentials;)V
getHeaders ()Ljava/util/Map; entrySet getKey getValue addHeader 5com/huawei/shade/org/apache/http/conn/ssl/SSLContexts custom ?()Lcom/huawei/shade/org/apache/http/conn/ssl/SSLContextBuilder; ;com/huawei/shade/org/apache/http/conn/ssl/SSLContextBuilder loadTrustMaterial ?(Ljava/security/KeyStore;Lcom/huawei/shade/org/apache/http/conn/ssl/TrustStrategy;)Lcom/huawei/shade/org/apache/http/conn/ssl/SSLContextBuilder; useTLS build ()Ljavax/net/ssl/SSLContext; ](Ljavax/net/ssl/SSLContext;Lcom/huawei/shade/org/apache/http/conn/ssl/X509HostnameVerifier;)V 8com/huawei/shade/org/apache/http/impl/client/HttpClients B()Lcom/huawei/shade/org/apache/http/impl/client/HttpClientBuilder; >com/huawei/shade/org/apache/http/impl/client/HttpClientBuilder setSSLSocketFactory ?(Lcom/huawei/shade/org/apache/http/conn/socket/LayeredConnectionSocketFactory;)Lcom/huawei/shade/org/apache/http/impl/client/HttpClientBuilder; D()Lcom/huawei/shade/org/apache/http/impl/client/CloseableHttpClient; @com/huawei/shade/org/apache/http/impl/client/CloseableHttpClient execute ?(Lcom/huawei/shade/org/apache/http/client/methods/HttpUriRequest;)Lcom/huawei/shade/org/apache/http/client/methods/CloseableHttpResponse; getEntity /()Lcom/huawei/shade/org/apache/http/HttpEntity; +com/huawei/shade/org/apache/http/HttpEntity
getContent ,(Lcom/huawei/shade/org/apache/http/Header;)V *(Ljava/io/InputStream;Ljava/lang/String;)V (Ljava/io/Reader;)V readLine (Ljava/lang/String;I)V 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
LOGIN_TIMEOUT java/lang/Float
parseFloat (Ljava/lang/String;)F getLoginTimeout getName NOT_IMPLEMENTED getState registerDriver (Ljava/sql/Driver;)V deregisterDriver java/lang/Boolean valueOf '(Ljava/lang/String;)Ljava/lang/Boolean; booleanValue getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; (Ljava/lang/Throwable;)V ! ? 1 F
IJ KL ML
NO PQ R ?
ST UQ R 8 VW
XQ YZ [ / *? ? \ f] ^J "_` [ ? /*? ? *? ?*? Y*? ? ? ? ? L+?
? ?*? ? ! \ " ? ? ? ? ? ! ? " ? * ?] " ab /^J c Tde f` [ ? ?? Y? L?
+? ? ? M*? ? M,? ? ? ? ? M,? ? ? ? +?? ? ,? ? Y? N,? :? ! ? -? " ? #W???-? $d6? 3-? %? &:? ? '? ? (:+? )? *?????+? \ b ? ? ? ? ? ? $ ? / ? 3 ? 7 ? B ? D ? P ? X ? ` ? j ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?] R ? gh ? ij ? 5kl ?^J ?mW ?no X `pq ` Xrs t X `pu ` Xrv c + ? wx y ? z? {|? ? 4e }~ [ Y W++? ,? +-? ,? ?*? .N? :? /Y0? 1? 2? 3? 4?? Y-? 5:,? h,? 6:? 7 :? 8 ? O? 9 ? ::,? ;:? )? /Y?