All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huawei.opengauss.jdbc.copy.CopyManager.class Maven / Gradle / Ivy

The newest version!
????4?*com/huawei/opengauss/jdbc/copy/CopyManagerjava/lang/ObjectCopyManager.javaDEFAULT_BUFFER_SIZEIencoding)Lcom/huawei/opengauss/jdbc/core/Encoding;
queryExecutor.Lcom/huawei/opengauss/jdbc/core/QueryExecutor;
connection/Lcom/huawei/opengauss/jdbc/core/BaseConnection;LOGGER#Lcom/huawei/opengauss/jdbc/log/Log;2(Lcom/huawei/opengauss/jdbc/core/BaseConnection;)Vjava/sql/SQLException()V
-com/huawei/opengauss/jdbc/core/BaseConnectiongetEncoding+()Lcom/huawei/opengauss/jdbc/core/Encoding;	
	getQueryExecutor0()Lcom/huawei/opengauss/jdbc/core/QueryExecutor; !"	$
	&this,Lcom/huawei/opengauss/jdbc/copy/CopyManager;copyIn;(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/copy/CopyIn;
getAutoCommit()Z,-.,com/huawei/opengauss/jdbc/core/QueryExecutor0	startCopyC(Ljava/lang/String;Z)Lcom/huawei/opengauss/jdbc/copy/CopyOperation;2314%com/huawei/opengauss/jdbc/copy/CopyIn6,com/huawei/opengauss/jdbc/copy/CopyOperation8
cancelCopy:9;,com/huawei/opengauss/jdbc/util/PSQLException=Requested CopyIn but got {0}?getClass()Ljava/lang/Class;AB
Cjava/lang/ClassEgetName()Ljava/lang/String;GH
FI!com/huawei/opengauss/jdbc/util/GTKtr9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;MN
LO(com/huawei/opengauss/jdbc/util/PSQLStateQWRONG_OBJECT_TYPE*Lcom/huawei/opengauss/jdbc/util/PSQLState;ST	RU?(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;)VW
>XsqlLjava/lang/String;op.Lcom/huawei/opengauss/jdbc/copy/CopyOperation;copyOut<(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/copy/CopyOut;&com/huawei/opengauss/jdbc/copy/CopyOut`Requested CopyOut but got {0}bcopyDual=(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/copy/CopyDual;'com/huawei/opengauss/jdbc/copy/CopyDualfRequested CopyDual but got {0}h%(Ljava/lang/String;Ljava/io/Writer;)Jjava/io/IOExceptionk^_
mreadFromCopy()[Bopaq'com/huawei/opengauss/jdbc/core/Encodingsdecode([B)Ljava/lang/String;uv
twjava/io/Writerywrite(Ljava/lang/String;)V{|
z}java/lang/String[B?getHandledRowCount()J??a?isActive?-a?a;	?*Catch SQLException while reading from copy?!com/huawei/opengauss/jdbc/log/Log?trace*(Ljava/lang/Object;Ljava/lang/Throwable;)V????java/lang/Throwable?bufsqlExLjava/sql/SQLException;ioEXLjava/io/IOException;toLjava/io/Writer;cp(Lcom/huawei/opengauss/jdbc/copy/CopyOut;+(Ljava/lang/String;Ljava/io/OutputStream;)Jjava/io/OutputStream?([B)V{?
??Ljava/io/OutputStream;%(Ljava/lang/String;Ljava/io/Reader;)J&(Ljava/lang/String;Ljava/io/Reader;I)J*?
?fromLjava/io/Reader;*+
?[C?java/io/Reader?read([C)I??
??([CII)V?
??encode(Ljava/lang/String;)[B??
t?writeToCopy([BII)V??7?endCopy??7?7?7;len
bufferSizecbuf'Lcom/huawei/opengauss/jdbc/copy/CopyIn;*(Ljava/lang/String;Ljava/io/InputStream;)J+(Ljava/lang/String;Ljava/io/InputStream;I)J*?
?Ljava/io/InputStream;java/io/InputStream?([B)I??
??$com/huawei/opengauss/jdbc/log/Logger?	getLogger7(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/log/Log;??
??
ConstantValueCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTable
SourceFile!?	


?b*?*+??*+?#?%*+?'??()
?()*+,?*+??H*?%+*?'?/?5M,?
,?7?,?7?,?<?>Y@?Y,?D?JS?P?V?Y?? H()HZ[4\]?/01$3*4?	?9?^_??H*?%+*?'?/?5M,?
,?a?,?a?,?<?>Yc?Y,?D?JS?P?V?Y?? H()HZ[4\]?:;<$>*??	?9?de??H*?%+*?'?/?5M,?
,?g?,?g?,?<?>Yi?Y,?D?JS?P?V?Y?? H()HZ[4\]?EFG$I*J?	?9?^j???*+?n:?rYN?,*?-?x?~?????7???
???:???
???rYN?????:??????:???
???+?lRad+u?wu?R/??[	??f??A4???()?Z[???????JZ\]"_+m5n<_?`AbKcRfajdhfirkum?n?p??
?a??z?a???zal?l??z?al??zal
??za????l^????*+?n:?rYN?,-???????7???
???:???
???rYN?????:??????:???
???$8lKZ]$n8pn?R(??T	??_??:4???()?Z[???}???J~???$?.?5?8?:?D?K?Z?]?_?k?n?z?????
?a????a????al?l????al???al
???a????l*??G	*+,???? 	()	Z[	?????l*??z
u?:*+??:,??Y6?-???*???Y????:????????7???
???:	???
??	?K__a_?R2
??J?u()uZ[u??u?p??i???:?????2???B?K?U?\?_?k?r??K??7?5???7?????7????l*??G	*+,?έ? 	()	Z[	?????l*??R
_?:*+??:,??Y6???????????7???
???:	???
??	?5IIKI?H4?_()_Z[_??_?Z??S???2?????,?5???F?I?U?\??K??7????7?????7????l??$?J?۳???&?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy