com.huawei.opengauss.jdbc.core.NativeQuery.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 z *com/huawei/opengauss/jdbc/core/NativeQuery java/lang/Object NativeQuery.java
BIND_NAMES [Ljava/lang/String; NO_BINDS [I nativeSql Ljava/lang/String;
bindPositions command +Lcom/huawei/opengauss/jdbc/core/SqlCommand; multiStatement Z @(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/core/SqlCommand;)V C(Ljava/lang/String;[IZLcom/huawei/opengauss/jdbc/core/SqlCommand;)V
this ,Lcom/huawei/opengauss/jdbc/core/NativeQuery; dml ()V
java/lang/String )com/huawei/opengauss/jdbc/core/SqlCommand # % '
) toString B(Lcom/huawei/opengauss/jdbc/core/ParameterList;)Ljava/lang/String; length ()I - .
! / ? 2 ,com/huawei/opengauss/jdbc/core/ParameterList 4 (IZ)Ljava/lang/String; + 6 5 7 bindName (I)Ljava/lang/String; 9 :
; java/lang/StringBuilder = (I)V ?
> @ append 5(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder; B C
> D -(Ljava/lang/String;)Ljava/lang/StringBuilder; B F
> G ()Ljava/lang/String; + I
> J param i I nextBind
parameters .Lcom/huawei/opengauss/jdbc/core/ParameterList; queryLength params sbuf Ljava/lang/StringBuilder; V
> $ Y (I)Ljava/lang/StringBuilder; B [
> \ index appendBindName 5(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; B a
> b sb calculateBindLength (I)I java/lang/Math g min (II)I i j
h k numBinds bindCount res bindLen
maxBindsOfLen
getCommand -()Lcom/huawei/opengauss/jdbc/core/SqlCommand; Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
u M *+? ,? ? v
w
u ? )*? *+? *,? ,?? ? ? ,? &*? (*? *? v 4 ) )
) ) ) w ! " $ " % ( &