public interface com.mongodb.connection.Connection extends com.mongodb.binding.ReferenceCounted
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.mongodb.connection.Connection
super_class: java.lang.Object
{
public abstract com.mongodb.connection.Connection retain();
descriptor: ()Lcom/mongodb/connection/Connection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.connection.ConnectionDescription getDescription();
descriptor: ()Lcom/mongodb/connection/ConnectionDescription;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.WriteConcernResult insert(com.mongodb.MongoNamespace, boolean, com.mongodb.bulk.InsertRequest);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/bulk/InsertRequest;)Lcom/mongodb/WriteConcernResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
namespace
ordered
insertRequest
public abstract com.mongodb.WriteConcernResult update(com.mongodb.MongoNamespace, boolean, com.mongodb.bulk.UpdateRequest);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/bulk/UpdateRequest;)Lcom/mongodb/WriteConcernResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
namespace
ordered
updateRequest
public abstract com.mongodb.WriteConcernResult delete(com.mongodb.MongoNamespace, boolean, com.mongodb.bulk.DeleteRequest);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/bulk/DeleteRequest;)Lcom/mongodb/WriteConcernResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
namespace
ordered
deleteRequest
public abstract <T> T command(java.lang.String, org.bson.BsonDocument, boolean, org.bson.FieldNameValidator, org.bson.codecs.Decoder<T>);
descriptor: (Ljava/lang/String;Lorg/bson/BsonDocument;ZLorg/bson/FieldNameValidator;Lorg/bson/codecs/Decoder;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lorg/bson/BsonDocument;ZLorg/bson/FieldNameValidator;Lorg/bson/codecs/Decoder<TT;>;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
database
command
slaveOk
fieldNameValidator
commandResultDecoder
public abstract <T> T command(java.lang.String, org.bson.BsonDocument, org.bson.FieldNameValidator, com.mongodb.ReadPreference, org.bson.codecs.Decoder<T>, com.mongodb.session.SessionContext);
descriptor: (Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/session/SessionContext;)TT;
MethodParameters:
Name Flags
database
command
fieldNameValidator
readPreference
commandResultDecoder
sessionContext
public abstract <T> T command(java.lang.String, org.bson.BsonDocument, org.bson.FieldNameValidator, com.mongodb.ReadPreference, org.bson.codecs.Decoder<T>, com.mongodb.session.SessionContext, boolean, com.mongodb.connection.SplittablePayload, org.bson.FieldNameValidator);
descriptor: (Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;ZLcom/mongodb/connection/SplittablePayload;Lorg/bson/FieldNameValidator;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/session/SessionContext;ZLcom/mongodb/connection/SplittablePayload;Lorg/bson/FieldNameValidator;)TT;
MethodParameters:
Name Flags
database
command
commandFieldNameValidator
readPreference
commandResultDecoder
sessionContext
responseExpected
payload
payloadFieldNameValidator
public abstract <T> com.mongodb.connection.QueryResult<T> query(com.mongodb.MongoNamespace, org.bson.BsonDocument, org.bson.BsonDocument, int, int, boolean, boolean, boolean, boolean, boolean, boolean, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;IIZZZZZZLorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/MongoNamespace;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;IIZZZZZZLorg/bson/codecs/Decoder<TT;>;)Lcom/mongodb/connection/QueryResult<TT;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namespace
queryDocument
fields
numberToReturn
skip
slaveOk
tailableCursor
awaitData
noCursorTimeout
partial
oplogReplay
resultDecoder
public abstract <T> com.mongodb.connection.QueryResult<T> query(com.mongodb.MongoNamespace, org.bson.BsonDocument, org.bson.BsonDocument, int, int, int, boolean, boolean, boolean, boolean, boolean, boolean, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;IIIZZZZZZLorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/MongoNamespace;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;IIIZZZZZZLorg/bson/codecs/Decoder<TT;>;)Lcom/mongodb/connection/QueryResult<TT;>;
MethodParameters:
Name Flags
namespace
queryDocument
fields
skip
limit
batchSize
slaveOk
tailableCursor
awaitData
noCursorTimeout
partial
oplogReplay
resultDecoder
public abstract <T> com.mongodb.connection.QueryResult<T> getMore(com.mongodb.MongoNamespace, long, int, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;JILorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/MongoNamespace;JILorg/bson/codecs/Decoder<TT;>;)Lcom/mongodb/connection/QueryResult<TT;>;
MethodParameters:
Name Flags
namespace
cursorId
numberToReturn
resultDecoder
public abstract void killCursor(java.util.List<java.lang.Long>);
descriptor: (Ljava/util/List;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/List<Ljava/lang/Long;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cursors
public abstract void killCursor(com.mongodb.MongoNamespace, java.util.List<java.lang.Long>);
descriptor: (Lcom/mongodb/MongoNamespace;Ljava/util/List;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lcom/mongodb/MongoNamespace;Ljava/util/List<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
namespace
cursors
public com.mongodb.binding.ReferenceCounted retain();
descriptor: ()Lcom/mongodb/binding/ReferenceCounted;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface com.mongodb.connection.Connection.retain:()Lcom/mongodb/connection/Connection;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Connection.java"
RuntimeVisibleAnnotations:
com.mongodb.annotations.ThreadSafe()
java.lang.Deprecated()