
org.postgresql.jdbc.PgStatement.class Maven / Gradle / Ivy
The newest version!
???? 4 ??
1? ?? ?? ?? ?? ??? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ??
??
??
??
?? ???
??
??
??
??
??
#?
??
#?
?
#
?
/
?
?
? ?
? 9 9 9 }
?! 9"
?# $
%
?&' (
?) *
+ ?,
-
?.
?/0 }1 92 }*
?3
?45
?6
?7 }8 }9:
a; 9<
a=
?>
??
?@ A
?B
?CD
EFG
?H
?IJ KL
s?MN
sO
sPQ
yR
s8
?ST
sU?V? W X
?Y
yZ
y[ 9\]
y^
?_
y` ?a ?b ?c
def ?g
dh
1ij
klmn
?;o
dpq
?rs
1tu
vw
vx
1y?
z{???? ?|
}~
}?
???
??
}?
??
V? ?
?*??
??
?? ?
??? ?
??
??
???
??? ?
d?? ?? StatementResultHandler InnerClasses NO_RETURNING_COLUMNS [Ljava/lang/String; DEFAULT_FORCE_BINARY_TRANSFERS Z forceBinaryTransfers batchStatements Ljava/util/ArrayList; Signature 2Ljava/util/ArrayList; batchParameters :Ljava/util/ArrayList;
resultsettype I concurrency
rsHoldability poolable closeOnCompletion fetchdirection cancelTimerTask Ljava/util/TimerTask; CANCEL_TIMER_UPDATER 9Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; qLjava/util/concurrent/atomic/AtomicReferenceFieldUpdater; statementState *Lorg/postgresql/jdbc/StatementCancelState;
STATE_UPDATER ?Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; wantsGeneratedKeysOnce wantsGeneratedKeysAlways
connection $Lorg/postgresql/core/BaseConnection; warnings Ljava/sql/SQLWarning; lastWarning maxrows fetchSize timeout replaceProcessingEnabled result #Lorg/postgresql/jdbc/ResultWrapper; firstUnclosedResult
generatedKeys m_prepareThreshold maxfieldSize isClosed ((Lorg/postgresql/jdbc/PgConnection;III)V Code LineNumberTable LocalVariableTable this !Lorg/postgresql/jdbc/PgStatement; c "Lorg/postgresql/jdbc/PgConnection; rsType
rsConcurrency
Exceptions createResultSet (Lorg/postgresql/core/Query;[Lorg/postgresql/core/Field;Ljava/util/List;Lorg/postgresql/core/ResultCursor;)Ljava/sql/ResultSet;
originalQuery Lorg/postgresql/core/Query; fields [Lorg/postgresql/core/Field; tuples Ljava/util/List; cursor "Lorg/postgresql/core/ResultCursor; newResult !Lorg/postgresql/jdbc/PgResultSet; LocalVariableTypeTable Ljava/util/List<[[B>; ?(Lorg/postgresql/core/Query;[Lorg/postgresql/core/Field;Ljava/util/List<[[B>;Lorg/postgresql/core/ResultCursor;)Ljava/sql/ResultSet; getPGConnection &()Lorg/postgresql/core/BaseConnection; getFetchingCursorName ()Ljava/lang/String; getFetchSize ()I wantsScrollableResultSet ()Z
StackMapTable wantsHoldableResultSet executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; p_sql Ljava/lang/String;
executeUpdate (Ljava/lang/String;)I iter] execute (Ljava/lang/String;)Z executeWithFlags (Ljava/lang/String;I)Z sql flags executeCachedSql )(Ljava/lang/String;I[Ljava/lang/String;)Z cachedQuery !Lorg/postgresql/core/CachedQuery;
sqlCommand Lorg/postgresql/core/SqlCommand; res columnNames preferQueryMode %Lorg/postgresql/jdbc/PreferQueryMode; shouldUseParameterized
queryExecutor #Lorg/postgresql/core/QueryExecutor; key Ljava/lang/Object; shouldCache?M???? %(Lorg/postgresql/core/CachedQuery;I)Z simpleQuery (I)Z closeForNextExecution ()V rs Ljava/sql/ResultSet;? isOneShotQuery $(Lorg/postgresql/core/CachedQuery;)Z H(Lorg/postgresql/core/CachedQuery;Lorg/postgresql/core/ParameterList;I)V e Ljava/sql/SQLException; queryParameters #Lorg/postgresql/core/ParameterList;0 executeInternal flags2 handler2 8Lorg/postgresql/jdbc/PgStatement$StatementResultHandler; result2 queryToExecute handlerTV:
setCursorName (Ljava/lang/String;)V name getUpdateCount getMoreResults
getMaxRows
setMaxRows (I)V max setEscapeProcessing (Z)V enable getQueryTimeout setQueryTimeout seconds getQueryTimeoutMs setQueryTimeoutMs millis
addWarning (Ljava/sql/SQLWarning;)V warn getWarnings ()Ljava/sql/SQLWarning; getMaxFieldSize setMaxFieldSize
clearWarnings getResultSet ()Ljava/sql/ResultSet; close
getLastOID ()J setPrepareThreshold newThreshold getPrepareThreshold setUseServerPrepare flag isUseServerPrepare checkClosed addBatch
clearBatch createBatchHandler j([Lorg/postgresql/core/Query;[Lorg/postgresql/core/ParameterList;)Lorg/postgresql/jdbc/BatchResultHandler; queries [Lorg/postgresql/core/Query; parameterLists $[Lorg/postgresql/core/ParameterList; executeBatch ()[I preDescribe sameQueryAhead (Lorg/postgresql/jdbc/BatchResultHandler;Q cancel
getConnection ()Ljava/sql/Connection; getFetchDirection getResultSetConcurrency getResultSetType setFetchDirection direction setFetchSize rows
startTimer
cancelTask cleanupTimer timerTaskq
killTimerTask Ljava/lang/InterruptedException; timerTaskIsClear interruptedu getForceBinaryTransfer getLargeUpdateCount setLargeMaxRows (J)V J getLargeMaxRows executeLargeBatch ()[J executeLargeUpdate (Ljava/lang/String;)J (Ljava/lang/String;I)J autoGeneratedKeys (Ljava/lang/String;[I)J
columnIndexes [I ((Ljava/lang/String;[Ljava/lang/String;)J setPoolable
isPoolable isWrapperFor (Ljava/lang/Class;)Z iface Ljava/lang/Class; Ljava/lang/Class<*>; (Ljava/lang/Class<*>;)Z unwrap %(Ljava/lang/Class;)Ljava/lang/Object; Ljava/lang/Class; 1(Ljava/lang/Class;)TT; isCloseOnCompletion checkCompletion current getGeneratedKeys (Ljava/lang/String;I)I (Ljava/lang/String;[I)I ((Ljava/lang/String;[Ljava/lang/String;)I (Ljava/lang/String;[I)Z ((Ljava/lang/String;[Ljava/lang/String;)Z getResultSetHoldability createDriverResultSet B([Lorg/postgresql/core/Field;Ljava/util/List;)Ljava/sql/ResultSet; G([Lorg/postgresql/core/Field;Ljava/util/List<[[B>;)Ljava/sql/ResultSet; transformQueriesAndParameters
access$000 ;()Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
SourceFile PgStatement.java ? ? ?H ? ? ? ? ? ? ? ? ? ? java/sql/ResultSet ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ? ? ? ???e}e ? ? org/postgresql/jdbc/PgResultSetcu??? ????e() !org/postgresql/util/PSQLException &No results were returned by the query. java/lang/Object?????? ???? /Multiple ResultSets were returned by the query.??xy !org/postgresql/core/QueryExecutor -A result was returned when none was expected.a ? ?,-?????????5??????????(D???H?5??&N 0Can''t use executeWithFlags(int) on a Statement.??wHzH?H ? ???TN java/sql/SQLException????GH?LM?? 6org/postgresql/jdbc/PgStatement$StatementResultHandler ??&????H?H AMaximum number of rows must be a value grater than or equal to 0.??mne :Query timeout must be a value greater than or equals to 0.??q BThe maximum field size must be a value greater than or equal to 0.??| This statement has been closed.?? java/util/ArrayList java/lang/String?????H &org/postgresql/jdbc/BatchResultHandler ???H org/postgresql/core/Query?? !org/postgresql/core/ParameterList?5?5?????H&? !org/postgresql/jdbc/ResultWrapper?y ??a? ? ?? ?? ?????H? ????H &Invalid fetch direction constant: {0}.??? 4Fetch size must be a value greater to or equal to 0. !org/postgresql/jdbc/PgStatement$1???? java/util/TimerTask??H?? java/lang/InterruptedException????H????? ? ?????? java/lang/StringBuilder Cannot unwrap to ? ?_ ? java/sql/Statement org/postgresql/core/Field??"#"? >Returning autogenerated keys by column index is not supported.?&'&? org.postgresql.forceBinary' org/postgresql/jdbc/PgStatement (org/postgresql/jdbc/StatementCancelState !org/postgresql/core/BaseStatement #org/postgresql/jdbc/PreferQueryMode org/postgresql/core/CachedQuery org/postgresql/core/SqlCommand java/lang/Throwable IDLE org/postgresql/jdbc/PgConnection getForceBinary getDefaultFetchSize ?(Lorg/postgresql/core/Query;Lorg/postgresql/core/BaseStatement;[Lorg/postgresql/core/Field;Ljava/util/List;Lorg/postgresql/core/ResultCursor;IIIII)V org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState NO_DATA Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V getNext %()Lorg/postgresql/jdbc/ResultWrapper; TOO_MANY_RESULTS "org/postgresql/core/BaseConnection getPreferQueryMode '()Lorg/postgresql/jdbc/PreferQueryMode; getQueryExecutor %()Lorg/postgresql/core/QueryExecutor; createQueryKey ;(Ljava/lang/String;ZZ[Ljava/lang/String;)Ljava/lang/Object; EXTENDED_CACHE_EVERYTING borrowQueryByKey 5(Ljava/lang/Object;)Lorg/postgresql/core/CachedQuery; createQueryByKey query
getSqlCommand "()Lorg/postgresql/core/SqlCommand; isReturningKeywordPresent releaseQuery $(Lorg/postgresql/core/CachedQuery;)V EXTENDED compareTo (Ljava/lang/Enum;)I WRONG_OBJECT_TYPE increaseExecuteCount getExecuteCount
getSubqueries ()[Lorg/postgresql/core/Query; willHealOnRetry (Ljava/sql/SQLException;)Z
getAutoCommit isEmpty isStatementDescribed $(Lorg/postgresql/jdbc/PgStatement;)V g(Lorg/postgresql/core/Query;Lorg/postgresql/core/ParameterList;Lorg/postgresql/core/ResultHandler;III)V
getResults INVALID_PARAMETER_VALUE java/sql/SQLWarning setNextWarning getInsertOID OBJECT_NOT_IN_STATE createQuery J(Ljava/lang/String;ZZ[Ljava/lang/String;)Lorg/postgresql/core/CachedQuery; add (Ljava/lang/Object;)Z clear e(Lorg/postgresql/jdbc/PgStatement;[Lorg/postgresql/core/Query;[Lorg/postgresql/core/ParameterList;Z)V toArray (([Ljava/lang/Object;)[Ljava/lang/Object; SIMPLE EXTENDED_FOR_PREPARED handleError (Ljava/sql/SQLException;)V handleCompletion n([Lorg/postgresql/core/Query;[Lorg/postgresql/core/ParameterList;Lorg/postgresql/jdbc/BatchResultHandler;III)V (Ljava/sql/ResultSet;)V IN_QUERY CANCELING 7java/util/concurrent/atomic/AtomicReferenceFieldUpdater
compareAndSet 9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z cancelQuery CANCELLED set '(Ljava/lang/Object;Ljava/lang/Object;)V notifyAll java/lang/Integer valueOf (I)Ljava/lang/Integer; addTimerTask (Ljava/util/TimerTask;J)V get &(Ljava/lang/Object;)Ljava/lang/Object; purgeTimerTasks wait java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt getClass ()Ljava/lang/Class; org/postgresql/Driver notImplemented O(Ljava/lang/Class;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; java/lang/Class isAssignableFrom cast append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getName toString NOT_IMPLEMENTED java/lang/Boolean
getBoolean
newUpdater o(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; ! ? 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V ? ? ? c ?*? *? ? *? *? *? *? *?
*? ? *?
*? *? *? *? *? *? *? *? *? *? *? *? *+? *Y? +? ?? *? *? *+? ? *+? ? !*? "? ? v ? + - . 3 4 ! > &