
org.postgresql.jdbc.PgPreparedStatement.class Maven / Gradle / Ivy
???? 4]
$?
?
?? ? ??V? ?
??
????
????
?
$}
`
}! "#$
T%
T&'(
)
*
+
,-
.
`/
0
,1
,2
?3
,4
?5
,6
?7
8
9}:
;<
!
=>}?}@}A
B
C
DEF
QG
QHI
TJKL M
NOPQ
RS
$TU
`VW
bX
?Y ?Z
[}\}]}^
?_
`)abc nd ne
?fgh
i
jk
jl
mn op
q
rs
tu
~v
w
x
y
z
{
|
}
~
?
?
??}??
??
??
???
?
?
?
???
?
???
?
???
??
?
???
?
???
??
?
???
??
??????????
???
???
?
????
??
??
??!?!?!??
?X)?)?
??
?
? ?? ??
`??
???
??
???
?
?
??
???
??
???
??
???
??
????
???
?????
????
?? ?? ??
??
?? ??
?????
?
?
??
`?
??
??
???
??
?
??
?
?m
???V?}?}?}? ?
?? ??
X ?}
` ?)
t
t
u???????
?
v
v ?? ?}
0V
0
?H
0
0m
!
"#
?$
?%
?&'
=(
?)
?(
?*
?+
?,
?-
?./
F012345???6
O7
8 ???9 :};}<=>?@
?A
]X
?B
?C
]D
ZEFG
]m}H
?IJK |L
xM
xN
xmO
P
?Q
?R
?S
?T
U
V
W
`X
`Y
V
Z
?
[\}]^_`
preparedQuery !Lorg/postgresql/core/CachedQuery; preparedParameters #Lorg/postgresql/core/ParameterList; defaultTimeZone Ljava/util/TimeZone; :(Lorg/postgresql/jdbc/PgConnection;Ljava/lang/String;III)V Code LineNumberTable LocalVariableTable this )Lorg/postgresql/jdbc/PgPreparedStatement;
connection "Lorg/postgresql/jdbc/PgConnection; sql Ljava/lang/String; rsType I
rsConcurrency
rsHoldability
Exceptions I(Lorg/postgresql/jdbc/PgConnection;Lorg/postgresql/core/CachedQuery;III)V e Ljava/sql/SQLException; query
StackMapTablea executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; ()Ljava/sql/ResultSet;
executeUpdate (Ljava/lang/String;)I ()I executeLargeUpdate ()J execute (Ljava/lang/String;)Z ()Z executeWithFlags (I)Z flagsb isOneShotQuery $(Lorg/postgresql/core/CachedQuery;)Z cachedQuery closeImpl ()V setNull (II)V oid parameterIndex sqlType
setBoolean (IZ)V x Z setByte (IB)V B setShort (IS)V val [B S setTiny setInt setLong (IJ)V J setFloat (IF)V F setDouble (ID)V D
setBigDecimal (ILjava/math/BigDecimal;)V Ljava/math/BigDecimal; setString (ILjava/lang/String;)V
getStringType (ILjava/lang/String;I)V setBytes (I[B)V typeOID copy setRaw setByteStreamWriter *(ILorg/postgresql/util/ByteStreamWriter;)V &Lorg/postgresql/util/ByteStreamWriter; setDate (ILjava/sql/Date;)V Ljava/sql/Date; setTime (ILjava/sql/Time;)V Ljava/sql/Time; setTimestamp (ILjava/sql/Timestamp;)V Ljava/sql/Timestamp; setCharacterStreamPost71 ,(ILjava/io/InputStream;ILjava/lang/String;)V n inStream Ljava/io/InputStreamReader; chars [C charsRead uee &Ljava/io/UnsupportedEncodingException; ioe Ljava/io/IOException; Ljava/io/InputStream; length encoding? setAsciiStream (ILjava/io/InputStream;I)V setUnicodeStream setBinaryStream len blob Ljava/sql/Blob; tmp clearParameters setPGobject "(ILorg/postgresql/util/PGobject;)V binObj $Lorg/postgresql/util/PGBinaryObject; data Lorg/postgresql/util/PGobject; typename setMap (ILjava/util/Map;)V Ljava/util/Map; LocalVariableTypeTable Ljava/util/Map<**>; Signature (ILjava/util/Map<**>;)V setNumber (ILjava/lang/Number;)V Ljava/lang/Number; setObject (ILjava/lang/Object;II)V tmpd tmpt tmpts Ljava/lang/Exception; in Ljava/lang/Object;
targetSqlType scale setObjectArray (ILjava/lang/Object;)V baseOid baseType array Ljava/sql/Array; arraySupportc ArrayEncoder InnerClasses 0Lorg/postgresql/jdbc/ArrayEncoding$ArrayEncoder; typeInfo Lorg/postgresql/core/TypeInfo; TA; 5Lorg/postgresql/jdbc/ArrayEncoding$ArrayEncoder;d (ITA;)V asString #(Ljava/sql/Clob;)Ljava/lang/String; Ljava/sql/Clob; castToInt (Ljava/lang/Object;)I castToShort (Ljava/lang/Object;)S
castToLong (Ljava/lang/Object;)J castToFloat (Ljava/lang/Object;)F castToDouble (Ljava/lang/Object;)D castToBigDecimal +(Ljava/lang/Object;I)Ljava/math/BigDecimal; rc castToString &(Ljava/lang/Object;)Ljava/lang/String; cannotCastException I(Ljava/lang/String;Ljava/lang/String;)Lorg/postgresql/util/PSQLException; fromType toType ^(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)Lorg/postgresql/util/PSQLException; cause (ILjava/lang/Object;I)V toString ()Ljava/lang/String; bindLiteral
paramIndex s bindBytes (I[BI)V b
bindString isUseServerPrepare addBatch (Ljava/lang/String;)V batchStatements Ljava/util/ArrayList; batchParameters Lorg/postgresql/core/Query; 2Ljava/util/ArrayList; :Ljava/util/ArrayList;e getMetaData ()Ljava/sql/ResultSetMetaData; handler StatementResultHandler 8Lorg/postgresql/jdbc/PgStatement$StatementResultHandler; wrapper #Lorg/postgresql/jdbc/ResultWrapper; rs Ljava/sql/ResultSet;f setArray (ILjava/sql/Array;)V arr Lorg/postgresql/jdbc/PgArray; bytes i
createBlob (ILjava/io/InputStream;J)J remaining numRead se inputStream lom /Lorg/postgresql/largeobject/LargeObjectManager; lob (Lorg/postgresql/largeobject/LargeObject; outputStream Ljava/io/OutputStream; bufghi setBlob (ILjava/sql/Blob;)V byt readerToString %(Ljava/io/Reader;I)Ljava/lang/String;
bufferSize v Ljava/lang/StringBuilder; nRead value Ljava/io/Reader; maxLengthj setCharacterStream (ILjava/io/Reader;I)V setClob (ILjava/sql/Clob;)V str (IILjava/lang/String;)V t typeName setRef (ILjava/sql/Ref;)V Ljava/sql/Ref; '(ILjava/sql/Date;Ljava/util/Calendar;)V tz d cal Ljava/util/Calendar;k '(ILjava/sql/Time;Ljava/util/Calendar;)V pgTime Lorg/postgresql/util/PGTime; ,(ILjava/sql/Timestamp;Ljava/util/Calendar;)V pgTimestamp !Lorg/postgresql/util/PGTimestamp; (ILjava/time/LocalDate;)V localDate Ljava/time/LocalDate; (ILjava/time/LocalTime;)V localTime Ljava/time/LocalTime; (ILjava/time/LocalDateTime;)V
localDateTime Ljava/time/LocalDateTime; (ILjava/time/OffsetDateTime;)V offsetDateTime Ljava/time/OffsetDateTime; createParameterMetaData D(Lorg/postgresql/core/BaseConnection;[I)Ljava/sql/ParameterMetaData; conn $Lorg/postgresql/core/BaseConnection; oids [I )(ILjava/lang/Object;Ljava/sql/SQLType;I)V Ljava/sql/SQLType;
scaleOrLength ((ILjava/lang/Object;Ljava/sql/SQLType;)V setRowId (ILjava/sql/RowId;)V Ljava/sql/RowId;
setNString setNCharacterStream (ILjava/io/Reader;J)V (ILjava/io/Reader;)V is (ILjava/io/InputStream;J)V (ILjava/io/InputStream;)V setNClob (ILjava/sql/NClob;)V Ljava/sql/NClob; reader strbuf Ljava/lang/StringBuffer; num count Ljava/lang/Long; e1 setSQLXML (ILjava/sql/SQLXML;)V xmlObject Ljava/sql/SQLXML; stringValue setUuid (ILjava/util/UUID;)V uuid Ljava/util/UUID; setURL (ILjava/net/URL;)V Ljava/net/URL; executeBatch ()[I getDefaultCalendar ()Ljava/util/Calendar; timestampUtils $Lorg/postgresql/jdbc/TimestampUtils; sharedCalendarlm getParameterMetaData ()Ljava/sql/ParameterMetaData; transformQueriesAndParameters
valueBlock pl j bq %Lorg/postgresql/core/v3/BatchedQuery; newPl
originalQuery bindCount highestBlockCount maxValueBlocks unprocessedBatchCount fullValueBlocksCount partialValueBlocksCount newBatchStatements newBatchParameters offset
SourceFile PgPreparedStatement.javano???p???Sqr??st java/sql/CallableStatement?? java/sql/SQLException 5The sql command not support pre getParameterMetaData. java/lang/Objectuvw !org/postgresql/util/PSQLException ICan''t use query methods that take a query string on a PreparedStatement.xyz?{?? &No results were returned by the query.|z}? !org/postgresql/core/QueryExecutor~?????????????????]??????? org/postgresql/jdbc/PgConnection???? >The column index is out of range: {0}, number of columns: {1}.???z org/postgresql/core/Oid?? Unknown Types value.?z????? TRUE?E?? 1 0L????????IJD?F?????D???D???D?
?????? java/sql/Types??????????????? Invalid stream length {0}. java/io/InputStreamReader???? java/lang/String?? $java/io/UnsupportedEncodingException /The JVM claims not to support the {0} encoding.?z?? java/io/IOException Provided InputStream failed. ASCII?? UTF-8?? java/lang/Integer?? org/postgresql/core/types/PGBlob??????wx???????E???? Unknown type {0}. "org/postgresql/util/PGBinaryObject?????E hstore No hstore extension installed.?????D?DE java/util/UUID??????? java/sql/SQLXML?? org/postgresql/jdbc/PgSQLXML??./??0123??45??67??89??;< java/io/InputStream??
java/sql/Date?? java/util/Date???? java/time/LocalDate????????
java/sql/Time?? java/time/LocalTime???? org/postgresql/util/PGTimestamp java/sql/Timestamp?? java/time/LocalDateTime???? java/time/OffsetDateTime?? *Cannot cast an instance of {0} to type {1}????E Types.TIMESTAMP_WITH_TIMEZONE?????
java/sql/Blobgh
Types.BLOB
java/sql/Clob??
Types.CLOB java/sql/Arrayab java/lang/Exception Types.ARRAY org/postgresql/util/PGobject?
java/util/Map Unsupported Types value: {0}????????? (java/sql/SQLFeatureNotSupportedException????????????????? java/lang/Number?? java/lang/Boolean??+, java/lang/Character int=A=>???? short???? long???? float??? double java/math/BigDecimal?O java/math/BigInteger? java/lang/Long java/lang/Short java/lang/Byte? java/lang/Double java/lang/Float????
BigDecimal String -Cannot convert an instance of {0} to type {1}???? $org/postgresql/util/ByteStreamWriter????? ?Can''t infer the SQL type to use for an instance of {0}. Use setObject() with an explicit Types value to specify the type to use.D?J???PQ java/util/ArrayListRQ?r? #org/postgresql/core/v3/BatchedQuery? org/postgresql/jdbc/PgResultSet? 6org/postgresql/jdbc/PgStatement$StatementResultHandler??WX E!? org/postgresql/jdbc/PgArray?"#$%?&'()?*+?,? 2Unexpected error writing large object to database.-.w?/01 java/lang/StringBuilder??23 Provided Reader failed.z{ setRef(int,Ref)456789:D; org/postgresql/util/PGTime<?D=D>D?D@DADB 'org/postgresql/jdbc/PgParameterMetaData?C setRowId(int, RowId) setNString(int, String) &setNCharacterStream(int, Reader, long) setNCharacterStream(int, Reader) %setCharacterStream(int, Reader, long) %org/postgresql/util/ReaderInputStream?DC .Object is too large to send over the protocol.Ez???? &setAsciiStream(int, InputStream, long) setAsciiStream(int, InputStream) setNClob(int, NClob) 'parameter length can not be less than 0 java/lang/StringBuffer?F?G2HIE 7parameter length can not be bigger than reader's lengthw?J? setNClob(int, Reader, long) setNClob(int, Reader)KEL?M? setURL(int,URL)N?O???P?QR??S?T1U?V?WXYZ !org/postgresql/core/ParameterList[\ 'org/postgresql/jdbc/PgPreparedStatement org/postgresql/jdbc/PgStatement java/sql/PreparedStatement org/postgresql/core/CachedQuery java/lang/Throwable .org/postgresql/jdbc/ArrayEncoding$ArrayEncoder org/postgresql/core/TypeInfo org/postgresql/core/Query java/sql/ResultSet -org/postgresql/largeobject/LargeObjectManager &org/postgresql/largeobject/LargeObject java/io/OutputStream java/io/Reader java/util/TimeZone "org/postgresql/jdbc/TimestampUtils java/util/Calendar borrowQuery 5(Ljava/lang/String;)Lorg/postgresql/core/CachedQuery; ((Lorg/postgresql/jdbc/PgConnection;III)V createParameterList %()Lorg/postgresql/core/ParameterList; setPoolable (Z)V org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState WRONG_OBJECT_TYPE Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V NO_DATA getSingleResultSet checkNoResultUpdate getUpdateCount getLargeUpdateCount checkClosed "org/postgresql/core/BaseConnection getPreferQueryMode '()Lorg/postgresql/jdbc/PreferQueryMode; #org/postgresql/jdbc/PreferQueryMode SIMPLE %Lorg/postgresql/jdbc/PreferQueryMode; H(Lorg/postgresql/core/CachedQuery;Lorg/postgresql/core/ParameterList;I)V result !org/postgresql/jdbc/ResultWrapper getResultSet releaseQuery $(Lorg/postgresql/core/CachedQuery;)V getParameterCount valueOf (I)Ljava/lang/Integer; INVALID_PARAMETER_VALUE getStringVarcharFlag INVALID_PARAMETER_TYPE ,org/postgresql/core/v3/ConnectionFactoryImpl USE_BOOLEAN toUpperCase equals (Ljava/lang/Object;)Z binaryTransferSend !org/postgresql/util/ByteConverter int2 ([BII)V (I)Ljava/lang/String; int4 int8 ([BIJ)V (J)Ljava/lang/String; float4 ([BIF)V (F)Ljava/lang/String; float8 ([BID)V (D)Ljava/lang/String; getTypeOIDs java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V setBytea (I[BII)V *(Ljava/io/InputStream;Ljava/lang/String;)V read ([CII)I ([CII)V UNEXPECTED_ERROR I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V
isBlobMode (I)V ([B)I (J[B)I clear getType getTypeInfo ()Lorg/postgresql/core/TypeInfo; getPGType
lengthInBytes toBytes ([BI)V getValue getEncoding ()Lorg/postgresql/core/Encoding; #org/postgresql/util/HStoreConverter 1(Ljava/util/Map;Lorg/postgresql/core/Encoding;)[B #(Ljava/util/Map;)Ljava/lang/String; !org/postgresql/core/ServerVersion v8_3 #Lorg/postgresql/core/ServerVersion; haveMinimumServerVersion (Lorg/postgresql/core/Version;)Z 9(Lorg/postgresql/core/BaseConnection;Ljava/lang/String;)V setText getTime (J)V getTimestampUtils &()Lorg/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; getClass ()Ljava/lang/Class; java/lang/Class getName #org/postgresql/jdbc/BooleanTypeUtil
castToBoolean !org/postgresql/jdbc/ArrayEncoding getArrayEncoder D(Ljava/lang/Object;)Lorg/postgresql/jdbc/ArrayEncoding$ArrayEncoder; getDefaultArrayTypeOid supportBinaryRepresentation toBinaryRepresentation ;(Lorg/postgresql/core/BaseConnection;Ljava/lang/Object;I)[B getPGArrayElement (I)I %org/postgresql/util/internal/Nullness castNonNull &(Ljava/lang/Object;)Ljava/lang/Object; getPGConnection &()Lorg/postgresql/core/BaseConnection;
createArrayOf 6(Ljava/lang/String;Ljava/lang/Object;)Ljava/sql/Array; getSubString (JI)Ljava/lang/String; parseInt intValue booleanValue
parseShort (Ljava/lang/String;)S
shortValue ()S parseLong (Ljava/lang/String;)J longValue
parseFloat (Ljava/lang/String;)F
floatValue ()F parseDouble (Ljava/lang/String;)D doubleValue ()D (Ljava/math/BigInteger;)V (J)Ljava/math/BigDecimal; (D)Ljava/math/BigDecimal; ONE ZERO charValue ()C ([C)V java/math/RoundingMode HALF_UP Ljava/math/RoundingMode; setScale 1(ILjava/math/RoundingMode;)Ljava/math/BigDecimal; byteValue ()B isArray 7(Lorg/postgresql/core/ParameterList;)Ljava/lang/String; setLiteralParameter setBinaryParameter setStringParameter mPrepareThreshold getExecuteCount add isEmpty isResultSetClosed $(Lorg/postgresql/jdbc/PgStatement;)V getQueryExecutor %()Lorg/postgresql/core/QueryExecutor; g(Lorg/postgresql/core/Query;Lorg/postgresql/core/ParameterList;Lorg/postgresql/core/ResultHandler;III)V
getResults %()Lorg/postgresql/jdbc/ResultWrapper; getBaseTypeName getPGArrayType ()[B getLargeObjectAPI 1()Lorg/postgresql/largeobject/LargeObjectManager; createLO open +(J)Lorg/postgresql/largeobject/LargeObject; getOutputStream ()Ljava/io/OutputStream; ([BII)I write close getBytes (JI)[B java/lang/Math min (II)I append ([CII)Ljava/lang/StringBuilder; org/postgresql/Driver notImplemented O(Ljava/lang/Class;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; getTimeZone ()Ljava/util/TimeZone; toBinDate ((Ljava/util/TimeZone;[BLjava/sql/Date;)V 7(Ljava/util/Calendar;Ljava/sql/Date;)Ljava/lang/String; getCalendar 7(Ljava/util/Calendar;Ljava/sql/Time;)Ljava/lang/String; <(Ljava/util/Calendar;Ljava/sql/Timestamp;)Ljava/lang/String; )(Ljava/time/LocalDate;)Ljava/lang/String; )(Ljava/time/LocalTime;)Ljava/lang/String; -(Ljava/time/LocalDateTime;)Ljava/lang/String; .(Ljava/time/OffsetDateTime;)Ljava/lang/String; )(Lorg/postgresql/core/BaseConnection;[I)V (Ljava/io/Reader;)V NUMERIC_CONSTANT_OUT_OF_RANGE (J)Ljava/lang/Long; ([C)I ,(Ljava/lang/String;)Ljava/lang/StringBuffer;
getMessage available getString getMostSignificantBits getLeastSignificantBits size increaseExecuteCount hasFastDefaultTimeZone getSharedCalendar *(Ljava/util/TimeZone;)Ljava/util/Calendar; getBindCount max
highestOneBit bitCount deriveForMultiBatch ((I)Lorg/postgresql/core/v3/BatchedQuery; get (I)Ljava/lang/Object; appendAll &(Lorg/postgresql/core/ParameterList;)V ? ? ?? ?? ?? g ?? ? p *++,? ? ? ?
V W? > ?? ?? ?? ?? ?? ?? ? ?? ? ? @*+? *,? **? ? ? ? *? *? ? *?
W? :?
? W? + 0 3 ? *
\
^ _ b $ c + e 0 h 3 f 5 g ? j? H 5
?? @?? @?? @?? @?? @?? @?? ? ? 3 $? ? ?? ? L ? Y?
? ? ? ? ?
n
o? ?? ?? ? ?? ? \ !*? ? ? Y?
? ? ? ?*? ? ? | } ?? !?? ? ? ?? ? L ? Y?
? ? ? ? ?
?
?? ?? ?? ? ?? ? A *? W*? *? ? ? ? ?
?? ?? ? ?? ? A *? W*? *? ? ? ? ?
?? ?? ? ?? ? L ? Y?
? ? ? ? ?
?
?? ?? ?? ? ?? ? 0 *? ? ? ?? ?? ? ?? ? _*? *? ? ? ? ?<**? *? ? *YM?*? *? ? *? ? !? ? >,?*? "?:,??:*? "? * G N N R N G U N W U ? 2 ? ? ? ? &