public final class com.mongodb.client.model.Aggregates
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.Aggregates
super_class: java.lang.Object
{
public static org.bson.conversions.Bson addFields(com.mongodb.client.model.Field<?>[]);
descriptor: ([Lcom/mongodb/client/model/Field;)Lorg/bson/conversions/Bson;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic com.mongodb.client.model.Aggregates.addFields:(Ljava/util/List;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fields [Lcom/mongodb/client/model/Field;
Signature: ([Lcom/mongodb/client/model/Field<*>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
fields final
public static org.bson.conversions.Bson addFields(java.util.List<com.mongodb.client.model.Field<?>>);
descriptor: (Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$AddFieldsStage
dup
aload 0
invokespecial com.mongodb.client.model.Aggregates$AddFieldsStage.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fields Ljava/util/List<Lcom/mongodb/client/model/Field<*>;>;
Signature: (Ljava/util/List<Lcom/mongodb/client/model/Field<*>;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
fields final
public static <TExpression, Boundary> org.bson.conversions.Bson bucket(TExpression, java.util.List<Boundary>);
descriptor: (Ljava/lang/Object;Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new com.mongodb.client.model.BucketOptions
dup
invokespecial com.mongodb.client.model.BucketOptions.<init>:()V
invokestatic com.mongodb.client.model.Aggregates.bucket:(Ljava/lang/Object;Ljava/util/List;Lcom/mongodb/client/model/BucketOptions;)Lorg/bson/conversions/Bson;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 groupBy TTExpression;
0 1 1 boundaries Ljava/util/List<TBoundary;>;
Signature: <TExpression:Ljava/lang/Object;Boundary:Ljava/lang/Object;>(TTExpression;Ljava/util/List<TBoundary;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
groupBy final
boundaries final
public static <TExpression, TBoundary> org.bson.conversions.Bson bucket(TExpression, java.util.List<TBoundary>, com.mongodb.client.model.BucketOptions);
descriptor: (Ljava/lang/Object;Ljava/util/List;Lcom/mongodb/client/model/BucketOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.client.model.Aggregates$BucketStage
dup
aload 0
aload 1
aload 2
invokespecial com.mongodb.client.model.Aggregates$BucketStage.<init>:(Ljava/lang/Object;Ljava/util/List;Lcom/mongodb/client/model/BucketOptions;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 groupBy TTExpression;
0 1 1 boundaries Ljava/util/List<TTBoundary;>;
0 1 2 options Lcom/mongodb/client/model/BucketOptions;
Signature: <TExpression:Ljava/lang/Object;TBoundary:Ljava/lang/Object;>(TTExpression;Ljava/util/List<TTBoundary;>;Lcom/mongodb/client/model/BucketOptions;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
groupBy final
boundaries final
options final
public static <TExpression> org.bson.conversions.Bson bucketAuto(TExpression, int);
descriptor: (Ljava/lang/Object;I)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
new com.mongodb.client.model.BucketAutoOptions
dup
invokespecial com.mongodb.client.model.BucketAutoOptions.<init>:()V
invokestatic com.mongodb.client.model.Aggregates.bucketAuto:(Ljava/lang/Object;ILcom/mongodb/client/model/BucketAutoOptions;)Lorg/bson/conversions/Bson;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 groupBy TTExpression;
0 1 1 buckets I
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;I)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
groupBy final
buckets final
public static <TExpression> org.bson.conversions.Bson bucketAuto(TExpression, int, com.mongodb.client.model.BucketAutoOptions);
descriptor: (Ljava/lang/Object;ILcom/mongodb/client/model/BucketAutoOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.client.model.Aggregates$BucketAutoStage
dup
aload 0
iload 1
aload 2
invokespecial com.mongodb.client.model.Aggregates$BucketAutoStage.<init>:(Ljava/lang/Object;ILcom/mongodb/client/model/BucketAutoOptions;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 groupBy TTExpression;
0 1 1 buckets I
0 1 2 options Lcom/mongodb/client/model/BucketAutoOptions;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;ILcom/mongodb/client/model/BucketAutoOptions;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
groupBy final
buckets final
options final
public static org.bson.conversions.Bson count();
descriptor: ()Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "count"
invokestatic com.mongodb.client.model.Aggregates.count:(Ljava/lang/String;)Lorg/bson/conversions/Bson;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.bson.conversions.Bson count(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$count"
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/String;
MethodParameters:
Name Flags
field final
public static org.bson.conversions.Bson match(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$SimplePipelineStage
dup
ldc "$match"
aload 0
invokespecial com.mongodb.client.model.Aggregates$SimplePipelineStage.<init>:(Ljava/lang/String;Lorg/bson/conversions/Bson;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filter Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
filter final
public static org.bson.conversions.Bson project(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$SimplePipelineStage
dup
ldc "$project"
aload 0
invokespecial com.mongodb.client.model.Aggregates$SimplePipelineStage.<init>:(Ljava/lang/String;Lorg/bson/conversions/Bson;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 projection Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
projection final
public static org.bson.conversions.Bson sort(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$SimplePipelineStage
dup
ldc "$sort"
aload 0
invokespecial com.mongodb.client.model.Aggregates$SimplePipelineStage.<init>:(Ljava/lang/String;Lorg/bson/conversions/Bson;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sort Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
sort final
public static <TExpression> org.bson.conversions.Bson sortByCount(TExpression);
descriptor: (Ljava/lang/Object;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$SortByCountStage
dup
aload 0
invokespecial com.mongodb.client.model.Aggregates$SortByCountStage.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filter TTExpression;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
filter final
public static org.bson.conversions.Bson skip(int);
descriptor: (I)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$skip"
new org.bson.BsonInt32
dup
iload 0
invokespecial org.bson.BsonInt32.<init>:(I)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 skip I
MethodParameters:
Name Flags
skip final
public static org.bson.conversions.Bson limit(int);
descriptor: (I)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$limit"
new org.bson.BsonInt32
dup
iload 0
invokespecial org.bson.BsonInt32.<init>:(I)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 limit I
MethodParameters:
Name Flags
limit final
public static org.bson.conversions.Bson lookup(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.bson.BsonDocument
dup
ldc "$lookup"
new org.bson.BsonDocument
dup
ldc "from"
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "localField"
new org.bson.BsonString
dup
aload 1
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 "foreignField"
new org.bson.BsonString
dup
aload 2
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
3: ldc "as"
new org.bson.BsonString
dup
aload 3
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
4: invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 from Ljava/lang/String;
0 5 1 localField Ljava/lang/String;
0 5 2 foreignField Ljava/lang/String;
0 5 3 as Ljava/lang/String;
MethodParameters:
Name Flags
from final
localField final
foreignField final
as final
public static org.bson.conversions.Bson lookup(java.lang.String, java.util.List<? extends org.bson.conversions.Bson>, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic com.mongodb.client.model.Aggregates.lookup:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)Lorg/bson/conversions/Bson;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 from Ljava/lang/String;
0 1 1 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 1 2 as Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Ljava/lang/String;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
from final
pipeline final
as final
public static <TExpression> org.bson.conversions.Bson lookup(java.lang.String, java.util.List<com.mongodb.client.model.Variable<TExpression>>, java.util.List<? extends org.bson.conversions.Bson>, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.mongodb.client.model.Aggregates$LookupStage
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.mongodb.client.model.Aggregates$LookupStage.<init>:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 from Ljava/lang/String;
0 1 1 let Ljava/util/List<Lcom/mongodb/client/model/Variable<TTExpression;>;>;
0 1 2 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 1 3 as Ljava/lang/String;
Signature: <TExpression:Ljava/lang/Object;>(Ljava/lang/String;Ljava/util/List<Lcom/mongodb/client/model/Variable<TTExpression;>;>;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Ljava/lang/String;)Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
2:
3:
MethodParameters:
Name Flags
from final
let final
pipeline final
as final
public static org.bson.conversions.Bson facet(java.util.List<com.mongodb.client.model.Facet>);
descriptor: (Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$FacetStage
dup
aload 0
invokespecial com.mongodb.client.model.Aggregates$FacetStage.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 facets Ljava/util/List<Lcom/mongodb/client/model/Facet;>;
Signature: (Ljava/util/List<Lcom/mongodb/client/model/Facet;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
facets final
public static org.bson.conversions.Bson facet(com.mongodb.client.model.Facet[]);
descriptor: ([Lcom/mongodb/client/model/Facet;)Lorg/bson/conversions/Bson;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$FacetStage
dup
aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial com.mongodb.client.model.Aggregates$FacetStage.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 facets [Lcom/mongodb/client/model/Facet;
MethodParameters:
Name Flags
facets final
public static <TExpression> org.bson.conversions.Bson graphLookup(java.lang.String, TExpression, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
new com.mongodb.client.model.GraphLookupOptions
dup
invokespecial com.mongodb.client.model.GraphLookupOptions.<init>:()V
invokestatic com.mongodb.client.model.Aggregates.graphLookup:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/mongodb/client/model/GraphLookupOptions;)Lorg/bson/conversions/Bson;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 from Ljava/lang/String;
0 1 1 startWith TTExpression;
0 1 2 connectFromField Ljava/lang/String;
0 1 3 connectToField Ljava/lang/String;
0 1 4 as Ljava/lang/String;
Signature: <TExpression:Ljava/lang/Object;>(Ljava/lang/String;TTExpression;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
from final
startWith final
connectFromField final
connectToField final
as final
public static <TExpression> org.bson.conversions.Bson graphLookup(java.lang.String, TExpression, java.lang.String, java.lang.String, java.lang.String, com.mongodb.client.model.GraphLookupOptions);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/mongodb/client/model/GraphLookupOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc "options"
aload 5
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.mongodb.client.model.Aggregates$GraphLookupStage
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial com.mongodb.client.model.Aggregates$GraphLookupStage.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/mongodb/client/model/GraphLookupOptions;)V
areturn
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 2 0 from Ljava/lang/String;
0 2 1 startWith TTExpression;
0 2 2 connectFromField Ljava/lang/String;
0 2 3 connectToField Ljava/lang/String;
0 2 4 as Ljava/lang/String;
0 2 5 options Lcom/mongodb/client/model/GraphLookupOptions;
Signature: <TExpression:Ljava/lang/Object;>(Ljava/lang/String;TTExpression;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/mongodb/client/model/GraphLookupOptions;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
from final
startWith final
connectFromField final
connectToField final
as final
options final
public static <TExpression> org.bson.conversions.Bson group(TExpression, com.mongodb.client.model.BsonField[]);
descriptor: (Ljava/lang/Object;[Lcom/mongodb/client/model/BsonField;)Lorg/bson/conversions/Bson;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic com.mongodb.client.model.Aggregates.group:(Ljava/lang/Object;Ljava/util/List;)Lorg/bson/conversions/Bson;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id TTExpression;
0 1 1 fieldAccumulators [Lcom/mongodb/client/model/BsonField;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;[Lcom/mongodb/client/model/BsonField;)Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
MethodParameters:
Name Flags
id final
fieldAccumulators final
public static <TExpression> org.bson.conversions.Bson group(TExpression, java.util.List<com.mongodb.client.model.BsonField>);
descriptor: (Ljava/lang/Object;Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.client.model.Aggregates$GroupStage
dup
aload 0
aload 1
invokespecial com.mongodb.client.model.Aggregates$GroupStage.<init>:(Ljava/lang/Object;Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id TTExpression;
0 1 1 fieldAccumulators Ljava/util/List<Lcom/mongodb/client/model/BsonField;>;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;Ljava/util/List<Lcom/mongodb/client/model/BsonField;>;)Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
MethodParameters:
Name Flags
id final
fieldAccumulators final
public static org.bson.conversions.Bson unwind(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$unwind"
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
fieldName final
public static org.bson.conversions.Bson unwind(java.lang.String, com.mongodb.client.model.UnwindOptions);
descriptor: (Ljava/lang/String;Lcom/mongodb/client/model/UnwindOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: ldc "unwindOptions"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new org.bson.BsonDocument
dup
ldc "path"
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
astore 2
start local 2 2: aload 1
invokevirtual com.mongodb.client.model.UnwindOptions.isPreserveNullAndEmptyArrays:()Ljava/lang/Boolean;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 2
ldc "preserveNullAndEmptyArrays"
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
5: StackMap locals: org.bson.BsonDocument java.lang.Boolean
StackMap stack:
aload 1
invokevirtual com.mongodb.client.model.UnwindOptions.getIncludeArrayIndex:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 2
ldc "includeArrayIndex"
new org.bson.BsonString
dup
aload 4
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
8: StackMap locals: java.lang.String
StackMap stack:
new org.bson.BsonDocument
dup
ldc "$unwind"
aload 2
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fieldName Ljava/lang/String;
0 9 1 unwindOptions Lcom/mongodb/client/model/UnwindOptions;
2 9 2 options Lorg/bson/BsonDocument;
3 9 3 preserveNullAndEmptyArrays Ljava/lang/Boolean;
6 9 4 includeArrayIndex Ljava/lang/String;
MethodParameters:
Name Flags
fieldName final
unwindOptions final
public static org.bson.conversions.Bson out(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$out"
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 collectionName Ljava/lang/String;
MethodParameters:
Name Flags
collectionName final
public static org.bson.conversions.Bson merge(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new com.mongodb.client.model.MergeOptions
dup
invokespecial com.mongodb.client.model.MergeOptions.<init>:()V
invokestatic com.mongodb.client.model.Aggregates.merge:(Ljava/lang/String;Lcom/mongodb/client/model/MergeOptions;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 collectionName Ljava/lang/String;
MethodParameters:
Name Flags
collectionName final
public static org.bson.conversions.Bson merge(com.mongodb.MongoNamespace);
descriptor: (Lcom/mongodb/MongoNamespace;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new com.mongodb.client.model.MergeOptions
dup
invokespecial com.mongodb.client.model.MergeOptions.<init>:()V
invokestatic com.mongodb.client.model.Aggregates.merge:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/client/model/MergeOptions;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 namespace Lcom/mongodb/MongoNamespace;
MethodParameters:
Name Flags
namespace final
public static org.bson.conversions.Bson merge(java.lang.String, com.mongodb.client.model.MergeOptions);
descriptor: (Ljava/lang/String;Lcom/mongodb/client/model/MergeOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.client.model.Aggregates$MergeStage
dup
new org.bson.BsonString
dup
aload 0
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
aload 1
invokespecial com.mongodb.client.model.Aggregates$MergeStage.<init>:(Lorg/bson/BsonValue;Lcom/mongodb/client/model/MergeOptions;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 collectionName Ljava/lang/String;
0 1 1 options Lcom/mongodb/client/model/MergeOptions;
MethodParameters:
Name Flags
collectionName final
options final
public static org.bson.conversions.Bson merge(com.mongodb.MongoNamespace, com.mongodb.client.model.MergeOptions);
descriptor: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/client/model/MergeOptions;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.client.model.Aggregates$MergeStage
dup
new org.bson.BsonDocument
dup
ldc "db"
new org.bson.BsonString
dup
aload 0
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()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 "coll"
new org.bson.BsonString
dup
aload 0
invokevirtual com.mongodb.MongoNamespace.getCollectionName:()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;
aload 1
2: invokespecial com.mongodb.client.model.Aggregates$MergeStage.<init>:(Lorg/bson/BsonValue;Lcom/mongodb/client/model/MergeOptions;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 namespace Lcom/mongodb/MongoNamespace;
0 3 1 options Lcom/mongodb/client/model/MergeOptions;
MethodParameters:
Name Flags
namespace final
options final
public static <TExpression> org.bson.conversions.Bson replaceRoot(TExpression);
descriptor: (Ljava/lang/Object;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$ReplaceStage
dup
aload 0
invokespecial com.mongodb.client.model.Aggregates$ReplaceStage.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value TTExpression;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
value final
public static <TExpression> org.bson.conversions.Bson replaceWith(TExpression);
descriptor: (Ljava/lang/Object;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.Aggregates$ReplaceStage
dup
aload 0
iconst_1
invokespecial com.mongodb.client.model.Aggregates$ReplaceStage.<init>:(Ljava/lang/Object;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value TTExpression;
Signature: <TExpression:Ljava/lang/Object;>(TTExpression;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
value final
public static org.bson.conversions.Bson sample(int);
descriptor: (I)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "$sample"
new org.bson.BsonDocument
dup
ldc "size"
new org.bson.BsonInt32
dup
iload 0
invokespecial org.bson.BsonInt32.<init>:(I)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 size I
MethodParameters:
Name Flags
size final
static void writeBucketOutput(org.bson.codecs.configuration.CodecRegistry, org.bson.BsonDocumentWriter, java.util.List<com.mongodb.client.model.BsonField>);
descriptor: (Lorg/bson/codecs/configuration/CodecRegistry;Lorg/bson/BsonDocumentWriter;Ljava/util/List;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 9
1: aload 1
ldc "output"
invokevirtual org.bson.BsonDocumentWriter.writeName:(Ljava/lang/String;)V
2: aload 1
invokevirtual org.bson.BsonDocumentWriter.writeStartDocument:()V
3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocumentWriter java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.BsonField
astore 3
start local 3 5: aload 1
aload 3
invokevirtual com.mongodb.client.model.BsonField.getName:()Ljava/lang/String;
invokevirtual org.bson.BsonDocumentWriter.writeName:(Ljava/lang/String;)V
6: aload 1
aload 3
invokevirtual com.mongodb.client.model.BsonField.getValue:()Lorg/bson/conversions/Bson;
aload 0
invokestatic com.mongodb.client.model.BuildersHelper.encodeValue:(Lorg/bson/BsonDocumentWriter;Ljava/lang/Object;Lorg/bson/codecs/configuration/CodecRegistry;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 1
invokevirtual org.bson.BsonDocumentWriter.writeEndDocument:()V
9: StackMap locals: org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocumentWriter java.util.List
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 10 1 writer Lorg/bson/BsonDocumentWriter;
0 10 2 output Ljava/util/List<Lcom/mongodb/client/model/BsonField;>;
5 7 3 field Lcom/mongodb/client/model/BsonField;
Signature: (Lorg/bson/codecs/configuration/CodecRegistry;Lorg/bson/BsonDocumentWriter;Ljava/util/List<Lcom/mongodb/client/model/BsonField;>;)V
RuntimeVisibleParameterAnnotations:
0:
1:
2:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
codecRegistry final
writer final
output final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/Aggregates;
}
SourceFile: "Aggregates.java"
NestMembers:
com.mongodb.client.model.Aggregates$AddFieldsStage com.mongodb.client.model.Aggregates$BucketAutoStage com.mongodb.client.model.Aggregates$BucketStage com.mongodb.client.model.Aggregates$FacetStage com.mongodb.client.model.Aggregates$GraphLookupStage com.mongodb.client.model.Aggregates$GroupStage com.mongodb.client.model.Aggregates$LookupStage com.mongodb.client.model.Aggregates$MergeStage com.mongodb.client.model.Aggregates$ReplaceStage com.mongodb.client.model.Aggregates$SimplePipelineStage com.mongodb.client.model.Aggregates$SortByCountStage
InnerClasses:
private AddFieldsStage = com.mongodb.client.model.Aggregates$AddFieldsStage of com.mongodb.client.model.Aggregates
private final BucketAutoStage = com.mongodb.client.model.Aggregates$BucketAutoStage of com.mongodb.client.model.Aggregates
private final BucketStage = com.mongodb.client.model.Aggregates$BucketStage of com.mongodb.client.model.Aggregates
private FacetStage = com.mongodb.client.model.Aggregates$FacetStage of com.mongodb.client.model.Aggregates
private final GraphLookupStage = com.mongodb.client.model.Aggregates$GraphLookupStage of com.mongodb.client.model.Aggregates
private GroupStage = com.mongodb.client.model.Aggregates$GroupStage of com.mongodb.client.model.Aggregates
private final LookupStage = com.mongodb.client.model.Aggregates$LookupStage of com.mongodb.client.model.Aggregates
private MergeStage = com.mongodb.client.model.Aggregates$MergeStage of com.mongodb.client.model.Aggregates
private ReplaceStage = com.mongodb.client.model.Aggregates$ReplaceStage of com.mongodb.client.model.Aggregates
private SimplePipelineStage = com.mongodb.client.model.Aggregates$SimplePipelineStage of com.mongodb.client.model.Aggregates
private SortByCountStage = com.mongodb.client.model.Aggregates$SortByCountStage of com.mongodb.client.model.Aggregates