
org.postgresql.jdbc.PgArray.class Maven / Gradle / Ivy
The newest version!
???? 4a
B ?C ?D ?E ?F
?G ?H
?I
?JKL
MN
OPQRS
ET
UV WX
Y
?Z
?[ ?\
K]^
?_
`a
?b
cd
ef
cg ?
?hij
k
`l
Cm
Dn
`o
`p
Fq
`r
Gstu
vw
xyz{|
1B}
?~t?? 7???
3?
3?? ?
`???
??
????????z???
K?t???
H??L?]??
K?
?? K??
VB
V?
V?
HL?
H????????? a?
K?
??
a? D?
?? E?
???
?? F?
?? G?
???t?
???
???
??z?
??t?t? ???
??????
??
???
?? ?
D?t?
??t?
??
V?
??
H?
H??
?B
x???? InnerClasses PgArrayList
connection $Lorg/postgresql/core/BaseConnection; oid I fieldString Ljava/lang/String;
useObjects Z arrayList )Lorg/postgresql/jdbc/PgArray$PgArrayList;
fieldBytes [B ((Lorg/postgresql/core/BaseConnection;I)V Code LineNumberTable LocalVariableTable this Lorg/postgresql/jdbc/PgArray;
Exceptions :(Lorg/postgresql/core/BaseConnection;ILjava/lang/String;)V *(Lorg/postgresql/core/BaseConnection;I[B)V getArray ()Ljava/lang/Object; (JI)Ljava/lang/Object; index J count getArrayImpl #(Ljava/util/Map;)Ljava/lang/Object; map Ljava/util/Map; LocalVariableTypeTable 7Ljava/util/Map;>; Signature K(Ljava/util/Map;>;)Ljava/lang/Object; %(JILjava/util/Map;)Ljava/lang/Object; M(JILjava/util/Map;>;)Ljava/lang/Object;
StackMapTable readBinaryArray (II)Ljava/lang/Object; d ioe Ljava/io/IOException;
dimensions
elementOid pos dims [I arr Ljava/lang/Object;? ?Si storeValues ([Ljava/lang/Object;I[IIII)I len i encoding Lorg/postgresql/core/Encoding; arrAssistant %Lorg/postgresql/jdbc2/ArrayAssistant; [Ljava/lang/Object;
thisDimension readBinaryResultSet (II)Ljava/sql/ResultSet; rows Ljava/util/List; fields [Lorg/postgresql/core/Field; stat #Lorg/postgresql/core/BaseStatement; Ljava/util/List<[[B>; 5(Ljava/util/List;[Lorg/postgresql/core/Field;I[IIII)I rowData [[B
dataEndPos
dataLength
nextDimension dimensionsLeft :(Ljava/util/List<[[B>;[Lorg/postgresql/core/Field;I[IIII)I calcRemainingDataLength ([IIII)I elementOidToClass (I)Ljava/lang/Class; arrElemBuilder? (I)Ljava/lang/Class<*>; buildArrayList ()V a p t b chars [C buffer Ljava/lang/StringBuilder; insideString wasInsideString curArray startOffset delim C ;Ljava/util/List; ?????
buildArray ?(Lorg/postgresql/jdbc/PgArray$PgArrayList;II)Ljava/lang/Object; o pa [Z oa [J v [F [D typeName input ret
dimsLength length type
? getBaseType ()I getBaseTypeName ()Ljava/lang/String;
elementOID getResultSet ()Ljava/sql/ResultSet; (JI)Ljava/sql/ResultSet; %(Ljava/util/Map;)Ljava/sql/ResultSet; M(Ljava/util/Map;>;)Ljava/sql/ResultSet; '(JILjava/util/Map;)Ljava/sql/ResultSet; O(JILjava/util/Map;>;)Ljava/sql/ResultSet; getResultSetImpl offset baseOid? ? toString array tmpArray Ljava/sql/Array; e Ljava/sql/SQLException;? =(Lorg/postgresql/jdbc/PgArray$PgArrayList;)Ljava/lang/String; list escapeArrayElement .(Ljava/lang/StringBuilder;Ljava/lang/String;)V c j s isBinary ()Z toBytes ()[B free
SourceFile PgArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ???;?? getArrayImpl(long,int,Map)??? !org/postgresql/util/PSQLException $The array index is out of range: {0} java/lang/Object???????? ?? ? ? ? ? ? ?? >The array index is out of range: {0}, number of elements: {1}.??? ? ????????? ? ? java/io/IOException ?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/util/ArrayList org/postgresql/core/Field ? ? java/sql/ResultSet !org/postgresql/core/BaseStatement INDEX org/postgresql/core/Oid ? VALUE?? ? ? java/lang/Short java/lang/Integer java/lang/Long java/lang/Float java/lang/Double java/lang/String? readBinaryArray(data,oid) 'org/postgresql/jdbc/PgArray$PgArrayList ? !"#$%&'()*+ ? java/lang/StringBuilder,-, NULL./'0121 java/sql/Types java/lang/Boolean3456?789:;< java/math/BigDecimal=>?@AB
java/sql/DateCDEFG
java/sql/TimeHI java/sql/TimestampJKLMNOPQRS #getArrayImpl(long,int,Map) with {0}TUV2:WX'%'# getResultSetImpl(long,int,Map) ? ?,XYZ,3[\ java/sql/SQLException,]56^# &org/postgresql/jdbc/UUIDArrayAssistant_` org/postgresql/jdbc/PgArray java/sql/Array org/postgresql/jdbc/PgArray$1 #org/postgresql/jdbc2/ArrayAssistant java/util/List java/lang/Class
java/util/Map isEmpty getClass ()Ljava/lang/Class; org/postgresql/Driver notImplemented O(Ljava/lang/Class;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; valueOf (J)Ljava/lang/Long; 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; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V size !org/postgresql/util/ByteConverter int4 ([BI)I java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; java/lang/Math min (II)I '(Ljava/lang/Class;[I)Ljava/lang/Object; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V int2 ([BI)S (S)Ljava/lang/Short; (I)Ljava/lang/Integer; int8 ([BI)J float4 ([BI)F (F)Ljava/lang/Float; float8 ([BI)D (D)Ljava/lang/Double; "org/postgresql/core/BaseConnection getEncoding ()Lorg/postgresql/core/Encoding; org/postgresql/core/Encoding decode ([BII)Ljava/lang/String; +org/postgresql/jdbc2/ArrayAssistantRegistry getAssistant ((I)Lorg/postgresql/jdbc2/ArrayAssistant; buildElement ([BII)Ljava/lang/Object; createStatement (II)Ljava/sql/Statement; createDriverResultSet B([Lorg/postgresql/core/Field;Ljava/util/List;)Ljava/sql/ResultSet; (Ljava/lang/String;I)V setFormat (I)V ([BII)V add (Ljava/lang/Object;)Z java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V baseType "(Lorg/postgresql/jdbc/PgArray$1;)V getTypeInfo ()Lorg/postgresql/core/TypeInfo; org/postgresql/core/TypeInfo getArrayDelimiter (I)C toCharArray ()[C get (I)Ljava/lang/Object; java/lang/Character isWhitespace (C)Z dimensionsCount append (C)Ljava/lang/StringBuilder; equals remove getPGArrayElement (I)I
getSQLType TYPE Ljava/lang/Class; #org/postgresql/jdbc/BooleanTypeUtil
castToBoolean (Z)Ljava/lang/Boolean; org/postgresql/jdbc/PgResultSet toInt (Ljava/lang/String;)I toLong (Ljava/lang/String;)J toBigDecimal *(Ljava/lang/String;)Ljava/math/BigDecimal; toFloat (Ljava/lang/String;)F toDouble (Ljava/lang/String;)D getTimestampUtils &()Lorg/postgresql/jdbc/TimestampUtils; "org/postgresql/jdbc/TimestampUtils toDate 7(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Date; toTime 7(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Time; toTimestamp <(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Timestamp; &(Ljava/lang/String;)Ljava/lang/Object; getObject :(Ljava/lang/String;Ljava/lang/String;[B)Ljava/lang/Object; getLogger ()Ljava/util/logging/Logger; java/util/logging/Level FINEST Ljava/util/logging/Level; java/util/logging/Logger log @(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V getPGType (I)Ljava/lang/String; encodeString (Ljava/lang/String;)[B
createArrayOf 7(Ljava/lang/String;[Ljava/lang/Object;)Ljava/sql/Array; -(Ljava/lang/String;)Ljava/lang/StringBuilder; charAt register )(ILorg/postgresql/jdbc2/ArrayAssistant;)V ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? t *? *? *? *+? *? *? ? ? ` D N a b c d ? ? ? ? ? ? ? ? ? ? ? ? \ *+? *-? ? ? o p q ? * ? ? ? ? ? ? ? ? ? ? ? ? ? \ *+? *-? ? ? | } ~ ? * ? ? ? ? ? ? ? ? ? ? ? ? ? 2 *
? ? ? ? ? ? ? ? ? ? ? ? F *? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? N *
+? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? L *+? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? c *? ? ? ? ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? R
?? ?
?
*? ?
?
?? ? Y? Y? S? ? ? ?*? ? *?? ?*? ? ?*? ? *? ? >
e\@?a*? ? ??? /? Y? Y?a? SY*? ? ?? S? ? ? ?**? ?? ? ? B ? ? ? ? : ? A ? I ? P ? R ? V ? Z ? b ? v ? ? ? ? ? ? ? ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?*? ? >*? ? 66?
:6? *? ? O??????? *? ? ?? .? O*? ? :*? ? ? !W? :? Y#? ? ? ? $?? l ? ? " ? R ? ? ? ? ? &