com.huawei.opengauss.jdbc.largeobject.LargeObjectManager.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? 8com/huawei/opengauss/jdbc/largeobject/LargeObjectManager java/lang/Object LargeObjectManager.java fp -Lcom/huawei/opengauss/jdbc/fastpath/Fastpath; conn /Lcom/huawei/opengauss/jdbc/core/BaseConnection; WRITE I READ READWRITE ()V
this :Lcom/huawei/opengauss/jdbc/largeobject/LargeObjectManager; 2(Lcom/huawei/opengauss/jdbc/core/BaseConnection;)V java/sql/SQLException -com/huawei/opengauss/jdbc/core/BaseConnection getFastpathAPI /()Lcom/huawei/opengauss/jdbc/fastpath/Fastpath; " getMetaData ()Ljava/sql/DatabaseMetaData; $ % & java/sql/DatabaseMetaData ( !supportsSchemasInTableDefinitions ()Z * + ) , ?SELECT p.proname,p.oid FROM pg_catalog.pg_proc p, pg_catalog.pg_namespace n WHERE p.pronamespace=n.oid AND n.nspname='pg_catalog' AND ( . &SELECT proname,oid FROM pg_proc WHERE 0 java/lang/String 2 java/lang/StringBuilder 4
5 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 7 8
5 9$ proname = 'lo_open' or proname = 'lo_close' or proname = 'lo_creat' or proname = 'lo_unlink' or proname = 'lo_lseek' or proname = 'lo_lseek64' or proname = 'lo_tell' or proname = 'lo_tell64' or proname = 'loread' or proname = 'lowrite' or proname = 'lo_truncate' or proname = 'lo_truncate64' ; toString ()Ljava/lang/String; = >
5 ? ) A createStatement ()Ljava/sql/Statement; C D E java/sql/Statement G executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; I J H K ,com/huawei/opengauss/jdbc/util/PSQLException M $Failed to initialize LargeObject API O !com/huawei/opengauss/jdbc/util/GT Q tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; S T
R U (com/huawei/opengauss/jdbc/util/PSQLState W SYSTEM_ERROR *Lcom/huawei/opengauss/jdbc/util/PSQLState; Y Z X [ ?(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;)V ]
N ^ java/sql/ResultSet ` +com/huawei/opengauss/jdbc/fastpath/Fastpath b addFunctions (Ljava/sql/ResultSet;)V d e
c f close h a i H i getLogger %()Lcom/huawei/opengauss/jdbc/log/Log; l m n Large Object initialised p !com/huawei/opengauss/jdbc/log/Log r debug (Ljava/lang/Object;)V t u s v sql Ljava/lang/String; stmt Ljava/sql/Statement; res Ljava/sql/ResultSet; open 6(I)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; Ljava/lang/Deprecated; 7(JZ)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; ~ ?
? oid 7(IZ)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject;
commitOnClose Z 6(J)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; 8(JIZ)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; ~ ?
? J 7(II)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; mode 8(IIZ)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject; 7(JI)Lcom/huawei/opengauss/jdbc/largeobject/LargeObject;
getAutoCommit ? + ? 2Large Objects may not be used in auto-commit mode. ? NO_ACTIVE_SQL_TRANSACTION ? Z X ? 1com/huawei/opengauss/jdbc/largeobject/LargeObject ? b(Lcom/huawei/opengauss/jdbc/fastpath/Fastpath;JILcom/huawei/opengauss/jdbc/core/BaseConnection;Z)V ?
? ? create ()I (I)I ? ?
? createLO ()J (I)J ? ?
? .com/huawei/opengauss/jdbc/fastpath/FastpathArg ? (I)V ?
? ? lo_creat ? getOID F(Ljava/lang/String;[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)J ? ?
c ? args 1[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg; delete (J)V createOIDArg 3(J)Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg; ? ?
c ? lo_unlink ? fastpath G(Ljava/lang/String;[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)[B ? ?
c ? unlink ? ?
?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
Deprecated RuntimeVisibleAnnotations
SourceFile !
?
? ? ? 3 *? ? ? ?
U V ? r ?*? *+? *+? ! ? #+? ' ? - ? /M? 1M? 5Y? 6,? :