class com.mongodb.client.internal.KeyRetriever implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.internal.KeyRetriever
super_class: java.lang.Object
{
private final com.mongodb.client.internal.SimpleMongoClient client;
descriptor: Lcom/mongodb/client/internal/SimpleMongoClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ownsClient;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.mongodb.client.internal.SimpleMongoClient, boolean, com.mongodb.MongoNamespace);
descriptor: (Lcom/mongodb/client/internal/SimpleMongoClient;ZLcom/mongodb/MongoNamespace;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "client"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.internal.SimpleMongoClient
putfield com.mongodb.client.internal.KeyRetriever.client:Lcom/mongodb/client/internal/SimpleMongoClient;
2: aload 0
iload 2
putfield com.mongodb.client.internal.KeyRetriever.ownsClient:Z
3: aload 0
ldc "namespace"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.MongoNamespace
putfield com.mongodb.client.internal.KeyRetriever.namespace:Lcom/mongodb/MongoNamespace;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/internal/KeyRetriever;
0 5 1 client Lcom/mongodb/client/internal/SimpleMongoClient;
0 5 2 ownsClient Z
0 5 3 namespace Lcom/mongodb/MongoNamespace;
MethodParameters:
Name Flags
client final
ownsClient final
namespace final
public java.util.List<org.bson.BsonDocument> find(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.client.internal.KeyRetriever.client:Lcom/mongodb/client/internal/SimpleMongoClient;
aload 0
getfield com.mongodb.client.internal.KeyRetriever.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
invokeinterface com.mongodb.client.internal.SimpleMongoClient.getDatabase:(Ljava/lang/String;)Lcom/mongodb/client/MongoDatabase;
aload 0
getfield com.mongodb.client.internal.KeyRetriever.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
ldc Lorg/bson/BsonDocument;
invokeinterface com.mongodb.client.MongoDatabase.getCollection:(Ljava/lang/String;Ljava/lang/Class;)Lcom/mongodb/client/MongoCollection;
1: getstatic com.mongodb.ReadConcern.MAJORITY:Lcom/mongodb/ReadConcern;
invokeinterface com.mongodb.client.MongoCollection.withReadConcern:(Lcom/mongodb/ReadConcern;)Lcom/mongodb/client/MongoCollection;
2: aload 1
invokeinterface com.mongodb.client.MongoCollection.find:(Lorg/bson/conversions/Bson;)Lcom/mongodb/client/FindIterable;
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokeinterface com.mongodb.client.FindIterable.into:(Ljava/util/Collection;)Ljava/util/Collection;
checkcast java.util.List
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/internal/KeyRetriever;
0 4 1 keyFilter Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Ljava/util/List<Lorg/bson/BsonDocument;>;
MethodParameters:
Name Flags
keyFilter final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.KeyRetriever.ownsClient:Z
ifeq 2
1: aload 0
getfield com.mongodb.client.internal.KeyRetriever.client:Lcom/mongodb/client/internal/SimpleMongoClient;
invokeinterface com.mongodb.client.internal.SimpleMongoClient.close:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/KeyRetriever;
}
SourceFile: "KeyRetriever.java"