public class org.postgresql.fastpath.Fastpath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.postgresql.fastpath.Fastpath
super_class: java.lang.Object
{
private static final long NUM_OIDS;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967296
private final java.util.Map<java.lang.String, java.lang.Integer> func;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private final org.postgresql.core.QueryExecutor executor;
descriptor: Lorg/postgresql/core/QueryExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.postgresql.core.BaseConnection connection;
descriptor: Lorg/postgresql/core/BaseConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.postgresql.core.BaseConnection);
descriptor: (Lorg/postgresql/core/BaseConnection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.postgresql.fastpath.Fastpath.func:Ljava/util/Map;
2: aload 0
aload 1
putfield org.postgresql.fastpath.Fastpath.connection:Lorg/postgresql/core/BaseConnection;
3: aload 0
aload 1
invokeinterface org.postgresql.core.BaseConnection.getQueryExecutor:()Lorg/postgresql/core/QueryExecutor;
putfield org.postgresql.fastpath.Fastpath.executor:Lorg/postgresql/core/QueryExecutor;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/postgresql/fastpath/Fastpath;
0 5 1 conn Lorg/postgresql/core/BaseConnection;
MethodParameters:
Name Flags
conn
public java.lang.Object fastpath(int, boolean, org.postgresql.fastpath.FastpathArg[]);
descriptor: (IZ[Lorg/postgresql/fastpath/FastpathArg;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 3
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(I[Lorg/postgresql/fastpath/FastpathArg;)[B
astore 4
start local 4 1: iload 2
ifeq 2
aload 4
ifnonnull 3
2: StackMap locals: byte[]
StackMap stack:
aload 4
areturn
3: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_4
if_icmpne 5
4: aload 4
iconst_0
invokestatic org.postgresql.util.ByteConverter.int4:([BI)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
5: StackMap locals:
StackMap stack:
aload 4
arraylength
bipush 8
if_icmpne 7
6: aload 4
iconst_0
invokestatic org.postgresql.util.ByteConverter.int8:([BI)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
7: StackMap locals:
StackMap stack:
new org.postgresql.util.PSQLException
dup
8: ldc "Fastpath call {0} - No result was returned and we expected a numeric."
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: getstatic org.postgresql.util.PSQLState.NO_DATA:Lorg/postgresql/util/PSQLState;
10: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/postgresql/fastpath/Fastpath;
0 11 1 fnId I
0 11 2 resultType Z
0 11 3 args [Lorg/postgresql/fastpath/FastpathArg;
1 11 4 returnValue [B
Exceptions:
throws java.sql.SQLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
fnId
resultType
args
public byte[] fastpath(int, org.postgresql.fastpath.FastpathArg[]);
descriptor: (I[Lorg/postgresql/fastpath/FastpathArg;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.postgresql.fastpath.Fastpath.executor:Lorg/postgresql/core/QueryExecutor;
aload 2
arraylength
invokeinterface org.postgresql.core.QueryExecutor.createFastpathParameters:(I)Lorg/postgresql/core/ParameterList;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: org.postgresql.core.ParameterList int
StackMap stack:
aload 2
iload 4
aaload
aload 3
iload 4
iconst_1
iadd
invokevirtual org.postgresql.fastpath.FastpathArg.populateParameter:(Lorg/postgresql/core/ParameterList;I)V
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 2
arraylength
if_icmplt 3
end local 4 6: aload 0
getfield org.postgresql.fastpath.Fastpath.executor:Lorg/postgresql/core/QueryExecutor;
iload 1
aload 3
aload 0
getfield org.postgresql.fastpath.Fastpath.connection:Lorg/postgresql/core/BaseConnection;
invokeinterface org.postgresql.core.BaseConnection.getAutoCommit:()Z
invokeinterface org.postgresql.core.QueryExecutor.fastpathCall:(ILorg/postgresql/core/ParameterList;Z)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/postgresql/fastpath/Fastpath;
0 7 1 fnId I
0 7 2 args [Lorg/postgresql/fastpath/FastpathArg;
1 7 3 params Lorg/postgresql/core/ParameterList;
2 6 4 i I
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
fnId
args
public java.lang.Object fastpath(java.lang.String, boolean, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;Z[Lorg/postgresql/fastpath/FastpathArg;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.postgresql.fastpath.Fastpath.connection:Lorg/postgresql/core/BaseConnection;
invokeinterface org.postgresql.core.BaseConnection.getLogger:()Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
ldc "Fastpath: calling {0}"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 0
aload 1
invokevirtual org.postgresql.fastpath.Fastpath.getID:(Ljava/lang/String;)I
iload 2
aload 3
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(IZ[Lorg/postgresql/fastpath/FastpathArg;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/postgresql/fastpath/Fastpath;
0 2 1 name Ljava/lang/String;
0 2 2 resulttype Z
0 2 3 args [Lorg/postgresql/fastpath/FastpathArg;
Exceptions:
throws java.sql.SQLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
resulttype
args
public byte[] fastpath(java.lang.String, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.postgresql.fastpath.Fastpath.connection:Lorg/postgresql/core/BaseConnection;
invokeinterface org.postgresql.core.BaseConnection.getLogger:()Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
ldc "Fastpath: calling {0}"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 0
aload 1
invokevirtual org.postgresql.fastpath.Fastpath.getID:(Ljava/lang/String;)I
aload 2
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(I[Lorg/postgresql/fastpath/FastpathArg;)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/postgresql/fastpath/Fastpath;
0 2 1 name Ljava/lang/String;
0 2 2 args [Lorg/postgresql/fastpath/FastpathArg;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
args
public int getInteger(java.lang.String, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)[B
astore 3
start local 3 1: aload 3
ifnonnull 6
2: new org.postgresql.util.PSQLException
dup
3: ldc "Fastpath call {0} - No result was returned and we expected an integer."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: getstatic org.postgresql.util.PSQLState.NO_DATA:Lorg/postgresql/util/PSQLState;
5: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
6: StackMap locals: byte[]
StackMap stack:
aload 3
arraylength
iconst_4
if_icmpne 8
7: aload 3
iconst_0
invokestatic org.postgresql.util.ByteConverter.int4:([BI)I
ireturn
8: StackMap locals:
StackMap stack:
new org.postgresql.util.PSQLException
dup
9: ldc "Fastpath call {0} - No result was returned or wrong size while expecting an integer."
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 1
aastore
11: invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: getstatic org.postgresql.util.PSQLState.NO_DATA:Lorg/postgresql/util/PSQLState;
13: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/postgresql/fastpath/Fastpath;
0 14 1 name Ljava/lang/String;
0 14 2 args [Lorg/postgresql/fastpath/FastpathArg;
1 14 3 returnValue [B
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
args
public long getLong(java.lang.String, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)[B
astore 3
start local 3 1: aload 3
ifnonnull 6
2: new org.postgresql.util.PSQLException
dup
3: ldc "Fastpath call {0} - No result was returned and we expected a long."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: getstatic org.postgresql.util.PSQLState.NO_DATA:Lorg/postgresql/util/PSQLState;
5: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
6: StackMap locals: byte[]
StackMap stack:
aload 3
arraylength
bipush 8
if_icmpne 8
7: aload 3
iconst_0
invokestatic org.postgresql.util.ByteConverter.int8:([BI)J
lreturn
8: StackMap locals:
StackMap stack:
new org.postgresql.util.PSQLException
dup
9: ldc "Fastpath call {0} - No result was returned or wrong size while expecting a long."
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 1
aastore
11: invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: getstatic org.postgresql.util.PSQLState.NO_DATA:Lorg/postgresql/util/PSQLState;
13: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/postgresql/fastpath/Fastpath;
0 14 1 name Ljava/lang/String;
0 14 2 args [Lorg/postgresql/fastpath/FastpathArg;
1 14 3 returnValue [B
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
args
public long getOID(java.lang.String, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.postgresql.fastpath.Fastpath.getInteger:(Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)I
i2l
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifge 3
2: lload 3
ldc 4294967296
ladd
lstore 3
3: StackMap locals: long
StackMap stack:
lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/postgresql/fastpath/Fastpath;
0 4 1 name Ljava/lang/String;
0 4 2 args [Lorg/postgresql/fastpath/FastpathArg;
1 4 3 oid J
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
args
public byte[] getData(java.lang.String, org.postgresql.fastpath.FastpathArg[]);
descriptor: (Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.postgresql.fastpath.Fastpath.fastpath:(Ljava/lang/String;[Lorg/postgresql/fastpath/FastpathArg;)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/postgresql/fastpath/Fastpath;
0 1 1 name Ljava/lang/String;
0 1 2 args [Lorg/postgresql/fastpath/FastpathArg;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
args
public void addFunction(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.postgresql.fastpath.Fastpath.func:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/postgresql/fastpath/Fastpath;
0 2 1 name Ljava/lang/String;
0 2 2 fnid I
MethodParameters:
Name Flags
name
fnid
public void addFunctions(java.sql.ResultSet);
descriptor: (Ljava/sql/ResultSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.postgresql.fastpath.Fastpath.func:Ljava/util/Map;
aload 1
iconst_1
invokeinterface java.sql.ResultSet.getString:(I)Ljava/lang/String;
aload 1
iconst_2
invokeinterface java.sql.ResultSet.getInt:(I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.sql.ResultSet.next:()Z
ifne 1
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/postgresql/fastpath/Fastpath;
0 4 1 rs Ljava/sql/ResultSet;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
rs
public int getID(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.postgresql.fastpath.Fastpath.func:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new org.postgresql.util.PSQLException
dup
ldc "The fastpath function {0} is unknown."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: getstatic org.postgresql.util.PSQLState.UNEXPECTED_ERROR:Lorg/postgresql/util/PSQLState;
4: invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
athrow
5: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/postgresql/fastpath/Fastpath;
0 6 1 name Ljava/lang/String;
1 6 2 id Ljava/lang/Integer;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
name
public static org.postgresql.fastpath.FastpathArg createOIDArg(long);
descriptor: (J)Lorg/postgresql/fastpath/FastpathArg;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 2147483647
lcmp
ifle 2
1: lload 0
ldc 4294967296
lsub
lstore 0
2: StackMap locals:
StackMap stack:
new org.postgresql.fastpath.FastpathArg
dup
lload 0
l2i
invokespecial org.postgresql.fastpath.FastpathArg.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 oid J
MethodParameters:
Name Flags
oid
}
SourceFile: "Fastpath.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()