com.huawei.opengauss.jdbc.fastpath.Fastpath.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 ? +com/huawei/opengauss/jdbc/fastpath/Fastpath java/lang/Object
Fastpath.java Ljava/lang/Deprecated; NUM_OIDS J func Ljava/util/Map; 6Ljava/util/Map; executor .Lcom/huawei/opengauss/jdbc/core/QueryExecutor;
connection /Lcom/huawei/opengauss/jdbc/core/BaseConnection; 2(Lcom/huawei/opengauss/jdbc/core/BaseConnection;)V ()V
java/util/HashMap
-com/huawei/opengauss/jdbc/core/BaseConnection getQueryExecutor 0()Lcom/huawei/opengauss/jdbc/core/QueryExecutor; ! " $ this -Lcom/huawei/opengauss/jdbc/fastpath/Fastpath; conn fastpath G(IZ[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)Ljava/lang/Object; java/sql/SQLException + 6(I[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)[B ) -
. [B 0 ,com/huawei/opengauss/jdbc/util/ByteConverter 2 int4 ([BI)I 4 5
3 6 java/lang/Integer 8 valueOf (I)Ljava/lang/Integer; : ;
9 < int8 ([BI)J > ?
3 @ java/lang/Long B (J)Ljava/lang/Long; : D
C E ,com/huawei/opengauss/jdbc/util/PSQLException G EFastpath call {0} - No result was returned and we expected a numeric. I !com/huawei/opengauss/jdbc/util/GT K tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; M N
L O (com/huawei/opengauss/jdbc/util/PSQLState Q NO_DATA *Lcom/huawei/opengauss/jdbc/util/PSQLState; S T R U ?(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;)V W
H X fnId I
resultType Z args 1[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg; returnValue ,com/huawei/opengauss/jdbc/core/QueryExecutor a createFastpathParameters 1(I)Lcom/huawei/opengauss/jdbc/core/ParameterList; c d b e ,com/huawei/opengauss/jdbc/core/ParameterList g .com/huawei/opengauss/jdbc/fastpath/FastpathArg i populateParameter 2(Lcom/huawei/opengauss/jdbc/core/ParameterList;I)V k l
j m
getAutoCommit ()Z o p q fastpathCall 4(ILcom/huawei/opengauss/jdbc/core/ParameterList;Z)[B s t b u i params .Lcom/huawei/opengauss/jdbc/core/ParameterList; X(Ljava/lang/String;Z[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)Ljava/lang/Object; getLogger %()Lcom/huawei/opengauss/jdbc/log/Log; { | } java/lang/StringBuilder
? Fastpath: calling ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? !com/huawei/opengauss/jdbc/log/Log ? trace (Ljava/lang/Object;)V ? ? ? ? getID (Ljava/lang/String;)I ? ?
? ) *
? name Ljava/lang/String;
resulttype G(Ljava/lang/String;[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)[B
getInteger F(Ljava/lang/String;[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)I ) ?
? FFastpath call {0} - No result was returned and we expected an integer. ? TFastpath call {0} - No result was returned or wrong size while expecting an integer. ? getLong F(Ljava/lang/String;[Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg;)J BFastpath call {0} - No result was returned and we expected a long. ? PFastpath call {0} - No result was returned or wrong size while expecting a long. ? getOID ? ?
? oid getData addFunction (Ljava/lang/String;I)V
java/util/Map ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? fnid addFunctions (Ljava/sql/ResultSet;)V java/sql/ResultSet ? next ? p ? ? getString (I)Ljava/lang/String; ? ? ? ? getInt (I)I ? ? ? ? rs Ljava/sql/ResultSet; get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? %The fastpath function {0} is unknown. ? UNEXPECTED_ERROR ? T R ? intValue ()I ? ?
9 ? id Ljava/lang/Integer; createOIDArg 3(J)Lcom/huawei/opengauss/jdbc/fastpath/FastpathArg; ??? (I)V ?
j ?
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
Deprecated RuntimeVisibleAnnotations
SourceFile ! ? ?
? c *? *? Y? ? *+? *+? # ? %? ? &