org.postgresql.util.HStoreConverter.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
???? 4 ?
{ |
{
} ~
Q R ? ? ? ? ?
? ? ? ?
? ? R ?
?
} ?
? R ? ? ? e ? e ? ? ? ? ? ?
?
?
Q ? ?
? R ? ? ?
" ?
2 ? ?
" ? ?
" ?
" ?
" ?
" ?
S ?
S ? ?
" {
S ?
2 ? ? ()V Code LineNumberTable LocalVariableTable this %Lorg/postgresql/util/HStoreConverter; fromBytes 1([BLorg/postgresql/core/Encoding;)Ljava/util/Map; val Ljava/lang/String; keyLen I key valLen i ioe Ljava/io/IOException; b [B encoding Lorg/postgresql/core/Encoding; m Ljava/util/Map; pos numElements LocalVariableTypeTable 5Ljava/util/Map;
StackMapTable F ? ? ?
Exceptions ? Signature W([BLorg/postgresql/core/Encoding;)Ljava/util/Map; toBytes 1(Ljava/util/Map;Lorg/postgresql/core/Encoding;)[B mapKey Ljava/lang/Object; e Entry InnerClasses Ljava/util/Map$Entry; baos Ljava/io/ByteArrayOutputStream; lenBuf Ljava/util/Map$Entry<**>; Ljava/util/Map<**>; ? 5(Ljava/util/Map<**>;Lorg/postgresql/core/Encoding;)[B toString #(Ljava/util/Map;)Ljava/lang/String; map sb Ljava/lang/StringBuilder; '(Ljava/util/Map<**>;)Ljava/lang/String;
appendEscaped .(Ljava/lang/StringBuilder;Ljava/lang/Object;)V ch C s
fromString #(Ljava/lang/String;)Ljava/util/Map; start end I(Ljava/lang/String;)Ljava/util/Map; appendUntilQuote /(Ljava/lang/StringBuilder;Ljava/lang/String;I)I
SourceFile HStoreConverter.java 3 4 java/util/HashMap ? ? ? ? ? ? ? java/io/IOException !org/postgresql/util/PSQLException ?Invalid character data was found. This is most likely caused by stored data containing characters that are invalid for the character set the database was created in. The most common example of this is storing 8bit data in a SQL_ASCII database. java/lang/Object ? ? ? ? ? ? 3 ? java/io/ByteArrayOutputStream ? ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/Map$Entry ? ? hstore key must not be null ? ? 3 ? g ? ? ? ? ? ? ? ? ? java/lang/StringBuilder m n => ? ? , ? ? ? ? ? ? ? ? NULL ? ? w x #org/postgresql/util/HStoreConverter org/postgresql/core/Encoding
java/util/Map java/lang/String java/sql/SQLException java/util/Iterator !org/postgresql/util/ByteConverter int4 ([BI)I decode ([BII)Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState
DATA_ERROR Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V size ()I (I)V ([BII)V write ([B)V entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getKey INVALID_PARAMETER_VALUE 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V ()Ljava/lang/String; encode (Ljava/lang/String;)[B getValue toByteArray ()[B isEmpty append -(Ljava/lang/String;)Ljava/lang/StringBuilder; length setLength (C)Ljava/lang/StringBuilder; charAt (I)C indexOf (II)I ! 2
3 4 5 / *? ? 6 7 8 9 : ; 5 ?
?? Y? M>*? 6?6? R*? 6?+*? :`>*? 6?? : ? +*? : `>, ? W????? :? Y ?
? ? ?
?,? m p 6 Z
% ( 2 7 > ! A # G $ M &