public final class com.mongodb.client.model.Sorts
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.Sorts
super_class: java.lang.Object
{
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/Sorts;
public static org.bson.conversions.Bson ascending(java.lang.String[]);
descriptor: ([Ljava/lang/String;)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.Sorts.ascending:(Ljava/util/List;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fieldNames [Ljava/lang/String;
MethodParameters:
Name Flags
fieldNames final
public static org.bson.conversions.Bson ascending(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc "fieldNames"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
new org.bson.BsonInt32
dup
iconst_1
invokespecial org.bson.BsonInt32.<init>:(I)V
invokestatic com.mongodb.client.model.Sorts.orderBy:(Ljava/util/List;Lorg/bson/BsonValue;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fieldNames Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
fieldNames final
public static org.bson.conversions.Bson descending(java.lang.String[]);
descriptor: ([Ljava/lang/String;)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.Sorts.descending:(Ljava/util/List;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fieldNames [Ljava/lang/String;
MethodParameters:
Name Flags
fieldNames final
public static org.bson.conversions.Bson descending(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Lorg/bson/conversions/Bson;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc "fieldNames"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
new org.bson.BsonInt32
dup
iconst_m1
invokespecial org.bson.BsonInt32.<init>:(I)V
invokestatic com.mongodb.client.model.Sorts.orderBy:(Ljava/util/List;Lorg/bson/BsonValue;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fieldNames Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
fieldNames final
public static org.bson.conversions.Bson metaTextScore(java.lang.String);
descriptor: (Ljava/lang/String;)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
aload 0
new org.bson.BsonDocument
dup
ldc "$meta"
new org.bson.BsonString
dup
ldc "textScore"
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)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 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
fieldName final
public static org.bson.conversions.Bson orderBy(org.bson.conversions.Bson[]);
descriptor: ([Lorg/bson/conversions/Bson;)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.Sorts.orderBy:(Ljava/util/List;)Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sorts [Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
sorts final
public static org.bson.conversions.Bson orderBy(java.util.List<? extends org.bson.conversions.Bson>);
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: ldc "sorts"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.mongodb.client.model.Sorts$CompoundSort
dup
aload 0
invokespecial com.mongodb.client.model.Sorts$CompoundSort.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 sorts Ljava/util/List<+Lorg/bson/conversions/Bson;>;
Signature: (Ljava/util/List<+Lorg/bson/conversions/Bson;>;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
sorts final
private static org.bson.conversions.Bson orderBy(java.util.List<java.lang.String>, org.bson.BsonValue);
descriptor: (Ljava/util/List;Lorg/bson/BsonValue;)Lorg/bson/conversions/Bson;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
astore 2
start local 2 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: java.util.List org.bson.BsonValue org.bson.BsonDocument top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 2
aload 3
aload 1
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fieldNames Ljava/util/List<Ljava/lang/String;>;
0 6 1 value Lorg/bson/BsonValue;
1 6 2 document Lorg/bson/BsonDocument;
3 4 3 fieldName Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Lorg/bson/BsonValue;)Lorg/bson/conversions/Bson;
MethodParameters:
Name Flags
fieldNames final
value final
}
SourceFile: "Sorts.java"
NestMembers:
com.mongodb.client.model.Sorts$CompoundSort
InnerClasses:
private final CompoundSort = com.mongodb.client.model.Sorts$CompoundSort of com.mongodb.client.model.Sorts