public class com.mongodb.operation.CreateViewOperation implements com.mongodb.operation.AsyncWriteOperation<java.lang.Void>, com.mongodb.operation.WriteOperation<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.operation.CreateViewOperation
super_class: java.lang.Object
{
private final java.lang.String databaseName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String viewName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String viewOn;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.bson.BsonDocument> pipeline;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/BsonDocument;>;
private final com.mongodb.WriteConcern writeConcern;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.util.List<org.bson.BsonDocument>, com.mongodb.WriteConcern);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/mongodb/WriteConcern;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "databaseName"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.operation.CreateViewOperation.databaseName:Ljava/lang/String;
2: aload 0
ldc "viewName"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.operation.CreateViewOperation.viewName:Ljava/lang/String;
3: aload 0
ldc "viewOn"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.operation.CreateViewOperation.viewOn:Ljava/lang/String;
4: aload 0
ldc "pipeline"
aload 4
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.operation.CreateViewOperation.pipeline:Ljava/util/List;
5: aload 0
ldc "writeConcern"
aload 5
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.WriteConcern
putfield com.mongodb.operation.CreateViewOperation.writeConcern:Lcom/mongodb/WriteConcern;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/CreateViewOperation;
0 7 1 databaseName Ljava/lang/String;
0 7 2 viewName Ljava/lang/String;
0 7 3 viewOn Ljava/lang/String;
0 7 4 pipeline Ljava/util/List<Lorg/bson/BsonDocument;>;
0 7 5 writeConcern Lcom/mongodb/WriteConcern;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List<Lorg/bson/BsonDocument;>;Lcom/mongodb/WriteConcern;)V
MethodParameters:
Name Flags
databaseName final
viewName final
viewOn final
pipeline final
writeConcern final
public java.lang.String getDatabaseName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.databaseName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public java.lang.String getViewName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.viewName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public java.lang.String getViewOn();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.viewOn:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public java.util.List<org.bson.BsonDocument> getPipeline();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.pipeline:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
Signature: ()Ljava/util/List<Lorg/bson/BsonDocument;>;
public com.mongodb.WriteConcern getWriteConcern();
descriptor: ()Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.writeConcern:Lcom/mongodb/WriteConcern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public com.mongodb.client.model.Collation getCollation();
descriptor: ()Lcom/mongodb/client/model/Collation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateViewOperation.collation:Lcom/mongodb/client/model/Collation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public com.mongodb.operation.CreateViewOperation collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/CreateViewOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.operation.CreateViewOperation.collation:Lcom/mongodb/client/model/Collation;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateViewOperation;
0 2 1 collation Lcom/mongodb/client/model/Collation;
MethodParameters:
Name Flags
collation final
public java.lang.Void execute(com.mongodb.binding.WriteBinding);
descriptor: (Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new com.mongodb.operation.CreateViewOperation$1
dup
aload 0
aload 1
invokespecial com.mongodb.operation.CreateViewOperation$1.<init>:(Lcom/mongodb/operation/CreateViewOperation;Lcom/mongodb/binding/WriteBinding;)V
invokestatic com.mongodb.operation.OperationHelper.withConnection:(Lcom/mongodb/binding/WriteBinding;Lcom/mongodb/operation/OperationHelper$CallableWithConnection;)Ljava/lang/Object;
checkcast java.lang.Void
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
0 1 1 binding Lcom/mongodb/binding/WriteBinding;
MethodParameters:
Name Flags
binding final
public void executeAsync(com.mongodb.binding.AsyncWriteBinding, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new com.mongodb.operation.CreateViewOperation$2
dup
aload 0
aload 2
aload 1
invokespecial com.mongodb.operation.CreateViewOperation$2.<init>:(Lcom/mongodb/operation/CreateViewOperation;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/binding/AsyncWriteBinding;)V
invokestatic com.mongodb.operation.OperationHelper.withAsyncConnection:(Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/operation/OperationHelper$AsyncCallableWithConnection;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateViewOperation;
0 2 1 binding Lcom/mongodb/binding/AsyncWriteBinding;
0 2 2 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
Signature: (Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
binding final
callback final
private org.bson.BsonDocument getCommand(com.mongodb.connection.ConnectionDescription);
descriptor: (Lcom/mongodb/connection/ConnectionDescription;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new org.bson.BsonDocument
dup
ldc "create"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.CreateViewOperation.viewName:Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "viewOn"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.CreateViewOperation.viewOn:Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
2: ldc "pipeline"
new org.bson.BsonArray
dup
aload 0
getfield com.mongodb.operation.CreateViewOperation.pipeline:Ljava/util/List;
invokespecial org.bson.BsonArray.<init>:(Ljava/util/List;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
3: astore 2
start local 2 4: aload 0
getfield com.mongodb.operation.CreateViewOperation.collation:Lcom/mongodb/client/model/Collation;
ifnull 6
5: aload 2
ldc "collation"
aload 0
getfield com.mongodb.operation.CreateViewOperation.collation:Lcom/mongodb/client/model/Collation;
invokevirtual com.mongodb.client.model.Collation.asDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
6: StackMap locals: org.bson.BsonDocument
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateViewOperation.writeConcern:Lcom/mongodb/WriteConcern;
aload 2
aload 1
invokestatic com.mongodb.internal.operation.WriteConcernHelper.appendWriteConcernToCommand:(Lcom/mongodb/WriteConcern;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;)V
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/operation/CreateViewOperation;
0 8 1 description Lcom/mongodb/connection/ConnectionDescription;
4 8 2 commandDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
description final
private com.mongodb.MongoClientException createExceptionForIncompatibleServerVersion();
descriptor: ()Lcom/mongodb/MongoClientException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.MongoClientException
dup
ldc "Can not create view. The minimum server version that supports view creation is 3.4"
invokespecial com.mongodb.MongoClientException.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateViewOperation;
public java.lang.Object execute(com.mongodb.binding.WriteBinding);
descriptor: (Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.operation.CreateViewOperation.execute:(Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/operation/AsyncWriteOperation<Ljava/lang/Void;>;Lcom/mongodb/operation/WriteOperation<Ljava/lang/Void;>;
SourceFile: "CreateViewOperation.java"
NestMembers:
com.mongodb.operation.CreateViewOperation$1 com.mongodb.operation.CreateViewOperation$2
InnerClasses:
com.mongodb.operation.CreateViewOperation$1
com.mongodb.operation.CreateViewOperation$2
abstract AsyncCallableWithConnection = com.mongodb.operation.OperationHelper$AsyncCallableWithConnection of com.mongodb.operation.OperationHelper
abstract CallableWithConnection = com.mongodb.operation.OperationHelper$CallableWithConnection of com.mongodb.operation.OperationHelper
RuntimeVisibleAnnotations:
java.lang.Deprecated()