com.huawei.gauss200.jdbc.jdbc.PgStatement.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
The newest version!
???? 4] ?
4 ? ? ?
? ?
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
?! ?" ?#
?$
?%
?&
?'
?( ?)*
?+
?,
?-
?.
?/
&0
?&
&%
?1
&2
?3456
78 9:
2;
?<
?=
>?@
;AB 9C
;DE
>FG
?H
?IJ ?K
?LMNMO BP hQ BR BS iT ?U
jV
?W BX hY
hZ
?[\ 9]
&^
?_
?` a
ib ?c
id
?e
?fg ?h Bi ?a
?j
?kMl
?m
?nMo ?p ?qr
ms Bt
muv
?w
?xy
;z{ ???|
?}~ 9 ????
????
??
??
?
?? ???
??
???
??
??
;?
??? 9??M?
?
??
??
???
???? h? h?
??
??
?? B?
??
;?
p?
?? B?
?? B?
?? ?? ?? ??
??M? ??
??
4??
v??
???
?sM?
???
??M?
4??
??
??????????
4??
???
??
??
??
?? ?
??? 9? ??
??
???
??
??
??
??
a? ?
?a?
??
??
??
??
??
???
???
???
? StatementResultHandler InnerClasses NO_RETURNING_COLUMNS [Ljava/lang/String; DEFAULT_FORCE_BINARY_TRANSFERS Z forceBinaryTransfers batchStatements Ljava/util/ArrayList; Signature ; batchParameters DLjava/util/ArrayList;
resultsettype I concurrency
rsHoldability poolable closeOnCompletion fetchdirection NoticeListenerlist cancelTimerTask Ljava/util/TimerTask; CANCEL_TIMER_UPDATER 9Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; {Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; statementState 4Lcom/huawei/gauss200/jdbc/jdbc/StatementCancelState;
STATE_UPDATER ?Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; wantsGeneratedKeysOnce wantsGeneratedKeysAlways
connection .Lcom/huawei/gauss200/jdbc/core/BaseConnection; warnings 2Lcom/huawei/gauss200/jdbc/jdbc/PSQLWarningWrapper; maxrows fetchSize timeout J replaceProcessingEnabled result -Lcom/huawei/gauss200/jdbc/jdbc/ResultWrapper; firstUnclosedResult
generatedKeys mPrepareThreshold maxFieldSize isClosed 2(Lcom/huawei/gauss200/jdbc/jdbc/PgConnection;III)V Code LineNumberTable LocalVariableTable this +Lcom/huawei/gauss200/jdbc/jdbc/PgStatement; c ,Lcom/huawei/gauss200/jdbc/jdbc/PgConnection; rsType
rsConcurrency
StackMapTable
Exceptions createResultSet ?(Lcom/huawei/gauss200/jdbc/core/Query;[Lcom/huawei/gauss200/jdbc/core/Field;Ljava/util/List;Lcom/huawei/gauss200/jdbc/core/ResultCursor;)Ljava/sql/ResultSet;
originalQuery %Lcom/huawei/gauss200/jdbc/core/Query; fields &[Lcom/huawei/gauss200/jdbc/core/Field; tuples Ljava/util/List; cursor ,Lcom/huawei/gauss200/jdbc/core/ResultCursor; newResult +Lcom/huawei/gauss200/jdbc/jdbc/PgResultSet; LocalVariableTypeTable 7Ljava/util/List; ?(Lcom/huawei/gauss200/jdbc/core/Query;[Lcom/huawei/gauss200/jdbc/core/Field;Ljava/util/List;Lcom/huawei/gauss200/jdbc/core/ResultCursor;)Ljava/sql/ResultSet; getPGConnection 0()Lcom/huawei/gauss200/jdbc/core/BaseConnection; getFetchingCursorName ()Ljava/lang/String; getFetchSize ()I wantsScrollableResultSet ()Z wantsHoldableResultSet getUpdateResult /()Lcom/huawei/gauss200/jdbc/jdbc/ResultWrapper; executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; sql Ljava/lang/String; getSingleResultSet ()Ljava/sql/ResultSet;?
executeUpdate (Ljava/lang/String;)I checkNoResultUpdate ()V iter execute (Ljava/lang/String;)Z executeWithFlags (Ljava/lang/String;I)Z flags executeCachedSql )(Ljava/lang/String;I[Ljava/lang/String;)Z cachedQuery +Lcom/huawei/gauss200/jdbc/core/CachedQuery;
sqlCommand *Lcom/huawei/gauss200/jdbc/core/SqlCommand; res columnNames preferQueryMode /Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode; shouldUseParameterized
queryExecutor -Lcom/huawei/gauss200/jdbc/core/QueryExecutor; key Ljava/lang/Object; shouldCache??? /(Lcom/huawei/gauss200/jdbc/core/CachedQuery;I)Z simpleQuery (I)Z closeUnclosedProcessedResults rs
resultWrapper
currentResult closeForNextExecution resultSet Ljava/sql/ResultSet; isOneShotQuery .(Lcom/huawei/gauss200/jdbc/core/CachedQuery;)Z \(Lcom/huawei/gauss200/jdbc/core/CachedQuery;Lcom/huawei/gauss200/jdbc/core/ParameterList;I)V e Ljava/sql/SQLException; queryParameters -Lcom/huawei/gauss200/jdbc/core/ParameterList; executeInternal flags2 handler2 BLcom/huawei/gauss200/jdbc/jdbc/PgStatement$StatementResultHandler; result2 queryToExecute handler
setCursorName (Ljava/lang/String;)V name getUpdateCount count getMoreResults
getMaxRows
setMaxRows (I)V max setEscapeProcessing (Z)V enable getQueryTimeout seconds setQueryTimeout getQueryTimeoutMs ()J setQueryTimeoutMs (J)V millis
addWarning (Ljava/sql/SQLWarning;)V Ljava/lang/Exception; listener .Lcom/huawei/gauss200/jdbc/core/NoticeListener; i warn Ljava/sql/SQLWarning; warnWrap? getWarnings ()Ljava/sql/SQLWarning; getMaxFieldSize setMaxFieldSize
clearWarnings getResultSet close closeImpl
getLastOID setPrepareThreshold newThreshold getPrepareThreshold setUseServerPrepare flag isUseServerPrepare checkClosed addBatch
clearBatch createBatchHandler ?([Lcom/huawei/gauss200/jdbc/core/Query;[Lcom/huawei/gauss200/jdbc/core/ParameterList;)Lcom/huawei/gauss200/jdbc/jdbc/BatchResultHandler; queries &[Lcom/huawei/gauss200/jdbc/core/Query; parameterLists .[Lcom/huawei/gauss200/jdbc/core/ParameterList; internalExecuteBatch 4()Lcom/huawei/gauss200/jdbc/jdbc/BatchResultHandler; preDescribe sameQueryAhead 2Lcom/huawei/gauss200/jdbc/jdbc/BatchResultHandler; executeBatch ()[I reWriteBatchedInsertsEnabled checkParameterList 1([Lcom/huawei/gauss200/jdbc/core/ParameterList;)Z paramlist cancel
getConnection ()Ljava/sql/Connection; getFetchDirection getResultSetConcurrency getResultSetType setFetchDirection direction setFetchSize rows
startTimer
cancelTask cleanupTimer timerTask
killTimerTask Ljava/lang/InterruptedException; timerTaskIsClear interrupted getForceBinaryTransfer getLargeUpdateCount setLargeMaxRows 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 L([Lcom/huawei/gauss200/jdbc/core/Field;Ljava/util/List;)Ljava/sql/ResultSet; s([Lcom/huawei/gauss200/jdbc/core/Field;Ljava/util/List;)Ljava/sql/ResultSet; transformQueriesAndParameters addNoticeListener 1(Lcom/huawei/gauss200/jdbc/core/NoticeListener;)V
access$000 ;()Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
SourceFile PgStatement.java Q ? ? ? ? ? ? ? ? ? java/sql/ResultSet ? java/util/ArrayList ??
? ? ? ? ? ? ??C ? ? ? ??A??@A?A?? ? )com/huawei/gauss200/jdbc/jdbc/PgResultSet?A?A?A?A?A ??A??UV +com/huawei/gauss200/jdbc/util/PSQLException &No results were returned by the query. java/lang/Object?????? ?KL?Q??? +com/huawei/gauss200/jdbc/jdbc/ResultWrapper?F /Multiple ResultSets were returned by the query.???L result.getResultSet()?? +com/huawei/gauss200/jdbc/core/QueryExecutorPQ?A -A result was returned when none was expected. ? ?XY????? a0 CUk
a
Sw 0Can''t use executeWithFlags(int) on a Statement.?Q?QnQ?QQ ?A?C|w java/sql/SQLExceptionrQBCCDCuvCCC @com/huawei/gauss200/jdbc/jdbc/PgStatement$StatementResultHandler SF result2.getResultSet()?Q?Q handler.getResults()?? java/lang/Integer java/sql/Statement?m AMaximum number of rows must be a value grater than or equal to 0.??? :Query timeout must be a value greater than or equals to 0. 0com/huawei/gauss200/jdbc/jdbc/PSQLWarningWrapper ???A ! ,com/huawei/gauss200/jdbc/core/NoticeListener"? java/lang/Exception#Q$? BThe maximum field size must be a value greater than or equal to 0.?Q?Q%?C This statement has been closed.&? java/lang/String'()*+Q 0com/huawei/gauss200/jdbc/jdbc/BatchResultHandler ,?Q #com/huawei/gauss200/jdbc/core/Query-. +com/huawei/gauss200/jdbc/core/ParameterList/a0a??123QS4?L 5 *com/huawei/gauss200/jdbc/jdbc/PgConnection6C7C???4??89:;<=Q>?@AQ &Invalid fetch direction constant: {0}.BC 4Fetch size must be a value greater to or equal to 0.?C +com/huawei/gauss200/jdbc/jdbc/PgStatement$1DE ? java/util/TimerTask?CFQG? java/lang/InterruptedExceptionHIJKQLMNOP?????????? >Returning autogenerated keys by column index is not supported.Q? ?RS?T? java/lang/StringBuilder Cannot unwrap to UVW?X? ? #com/huawei/gauss200/jdbc/core/Field??NON?STS?-. $com.huawei.gauss200.jdbc.forceBinaryYZT )com/huawei/gauss200/jdbc/jdbc/PgStatement[\ 2com/huawei/gauss200/jdbc/jdbc/StatementCancelState +com/huawei/gauss200/jdbc/core/BaseStatement java/lang/Throwable -com/huawei/gauss200/jdbc/jdbc/PreferQueryMode )com/huawei/gauss200/jdbc/core/CachedQuery (com/huawei/gauss200/jdbc/core/SqlCommand java/sql/SQLWarning IDLE getForceBinary getDefaultFetchSize ?(Lcom/huawei/gauss200/jdbc/core/Query;Lcom/huawei/gauss200/jdbc/core/BaseStatement;[Lcom/huawei/gauss200/jdbc/core/Field;Ljava/util/List;Lcom/huawei/gauss200/jdbc/core/ResultCursor;IIIII)V com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 'com/huawei/gauss200/jdbc/util/PSQLState NO_DATA )Lcom/huawei/gauss200/jdbc/util/PSQLState; >(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;)V /com/huawei/gauss200/jdbc/util/internal/Nullness castNonNull &(Ljava/lang/Object;)Ljava/lang/Object; getNext TOO_MANY_RESULTS 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ,com/huawei/gauss200/jdbc/core/BaseConnection getPreferQueryMode 1()Lcom/huawei/gauss200/jdbc/jdbc/PreferQueryMode; getQueryExecutor /()Lcom/huawei/gauss200/jdbc/core/QueryExecutor; createQueryKey ;(Ljava/lang/String;ZZ[Ljava/lang/String;)Ljava/lang/Object; EXTENDED_CACHE_EVERYTHING borrowQueryByKey ?(Ljava/lang/Object;)Lcom/huawei/gauss200/jdbc/core/CachedQuery; createQueryByKey query
getSqlCommand ,()Lcom/huawei/gauss200/jdbc/core/SqlCommand; isReturningKeywordPresent releaseQuery .(Lcom/huawei/gauss200/jdbc/core/CachedQuery;)V EXTENDED compareTo (Ljava/lang/Enum;)I WRONG_OBJECT_TYPE closeInternally increaseExecuteCount getExecuteCount
getSubqueries (()[Lcom/huawei/gauss200/jdbc/core/Query; willHealOnRetry (Ljava/sql/SQLException;)Z
getAutoCommit hintReadOnly isEmpty isStatementDescribed .(Lcom/huawei/gauss200/jdbc/jdbc/PgStatement;)V ?(Lcom/huawei/gauss200/jdbc/core/Query;Lcom/huawei/gauss200/jdbc/core/ParameterList;Lcom/huawei/gauss200/jdbc/core/ResultHandler;III)V
getResults INVALID_PARAMETER_VALUE size get (I)Ljava/lang/Object; noticeReceived printStackTrace getFirstWarning getInsertOID OBJECT_NOT_IN_STATE createQuery T(Ljava/lang/String;ZZ[Ljava/lang/String;)Lcom/huawei/gauss200/jdbc/core/CachedQuery; add (Ljava/lang/Object;)Z clear ?(Lcom/huawei/gauss200/jdbc/jdbc/PgStatement;[Lcom/huawei/gauss200/jdbc/core/Query;[Lcom/huawei/gauss200/jdbc/core/ParameterList;Z)V toArray (([Ljava/lang/Object;)[Ljava/lang/Object; SIMPLE EXTENDED_FOR_PREPARED handleError (Ljava/sql/SQLException;)V handleCompletion ?([Lcom/huawei/gauss200/jdbc/core/Query;[Lcom/huawei/gauss200/jdbc/core/ParameterList;Lcom/huawei/gauss200/jdbc/jdbc/BatchResultHandler;III)V (Ljava/sql/ResultSet;)V
isBatchInsert isReWriteBatchedInsertsEnabled 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 valueOf (I)Ljava/lang/Integer; addTimerTask (Ljava/util/TimerTask;J)V purgeTimerTasks wait java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt getClass ()Ljava/lang/Class; com/huawei/gauss200/jdbc/Driver notImplemented O(Ljava/lang/Class;Ljava/lang/String;)Ljava/sql/SQLFeatureNotSupportedException; NOT_IMPLEMENTED java/lang/Class isAssignableFrom cast append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getName toString java/lang/Boolean
getBoolean
newUpdater o(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; ! ? 4 y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? B
?
? ? D ? ? ? ? ? B ? ] ! " ? ?*? *? ? *? *? *? *? *?
Y? ? *?
*? ? *? *? *? *? *? * ? *? *? *? *? *? *? *+? *Y? +? ?? *? *? *+? ? !+? "? *+? "? *+? #? $*? %? # ~ ? 5 7 8 = > ! @ , I 1 Z 8 c = i B q G v L { Q ? V ? [ ? ` ? e ? j ? o t ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?$ 4 ?%&