com.huawei.opengauss.jdbc.core.ServerVersion.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? ,com/huawei/opengauss/jdbc/core/ServerVersion hLjava/lang/Enum;Lcom/huawei/opengauss/jdbc/core/Version; java/lang/Enum &com/huawei/opengauss/jdbc/core/Version ServerVersion.java .com/huawei/opengauss/jdbc/core/ServerVersion$1 INVALID .Lcom/huawei/opengauss/jdbc/core/ServerVersion; v8_2 v8_3 v8_4 v9_0 v9_1 v9_2 v9_3 v9_4 v9_5 v9_6 v10 version I $VALUES /[Lcom/huawei/opengauss/jdbc/core/ServerVersion; values 1()[Lcom/huawei/opengauss/jdbc/core/ServerVersion; clone ()Ljava/lang/Object; ! "
# valueOf B(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/core/ServerVersion; 5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; % '
( name Ljava/lang/String; ((Ljava/lang/String;ILjava/lang/String;)V (Ljava/lang/String;I)V , .
/ parseServerVersionStr (Ljava/lang/String;)I 1 2
3 5 this
getVersionNum ()I from <(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/core/Version; (I)V , <
=
versionNum java/lang/NumberFormatException @ java/text/NumberFormat B getIntegerInstance ()Ljava/text/NumberFormat; D E
C F setGroupingUsed (Z)V H I
C J java/text/ParsePosition L
M = [I O parseObject ?(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object; Q R
C S java/lang/Number U intValue W 9
V X getIndex Z 9
M [ java/lang/String ] length _ 9
^ ` charAt (I)C b c
^ d setIndex f <
M g java/lang/StringBuilder i ()V , k
j l SFirst major-version part equal to or greater than 10000 in invalid version string: n append -(Ljava/lang/String;)Ljava/lang/StringBuilder; p q
j r toString ()Ljava/lang/String; t u
j v (Ljava/lang/String;)V , x
A y IUnsupported second part of major version > 99 in invalid version string: { IUnsupported second part of minor version > 99 in invalid version string: } part Ljava/lang/Number;
serverVersion numformat Ljava/text/NumberFormat; parsepos Ljava/text/ParsePosition; parts versionParts 0.0.0 ? , -
? ?
8.2.0 ?
? 8.3.0 ? ? 8.4.0 ? ? 9.0.0 ? ? 9.1.0 ? ? 9.2.0 ? ? 9.3.0 ? ? 9.4.0 ? ? 9.5.0 ? ? 9.6.0 ? ? 10 ? ? Code LineNumberTable LocalVariableTable Signature
StackMapTable
Exceptions
SourceFile InnerClasses@1 @ @
@ @ @ @ @ @ @ @ @ @ ? "
? ? $? ? ? % &