org.apache.jackrabbit.oak.plugins.document.mongo.MongoUtils.class Maven / Gradle / Ivy
???? 3 ?
K L
M
N O P
K
Q R S )
T U *
V W
X Y
V Z [ \ ] ^ ] _ ` > a b
X c d e f g ()V Code LineNumberTable LocalVariableTable this =Lorg/apache/jackrabbit/oak/plugins/document/mongo/MongoUtils; createIndex 2(Lcom/mongodb/DBCollection;Ljava/lang/String;ZZZ)V
collection Lcom/mongodb/DBCollection; field Ljava/lang/String; ascending Z unique sparse
Exceptions h 4(Lcom/mongodb/DBCollection;[Ljava/lang/String;[ZZZ)V i I fields [Ljava/lang/String; [Z index Lcom/mongodb/DBObject; options
StackMapTable ` i 1 2 L hasIndex 0(Lcom/mongodb/DBCollection;[Ljava/lang/String;)Z key indexFields Ljava/util/Set; info i$ Ljava/util/Iterator; uniqueFields LocalVariableTypeTable #Ljava/util/Set; j k
SourceFile MongoUtils.java java/lang/String ! - l m n com/mongodb/BasicDBObject o p q r s t p u i ! v w x y z { | } ~ k ? ? ? com/mongodb/DBObject ? ? ? ? x ? j ? ? ;org/apache/jackrabbit/oak/plugins/document/mongo/MongoUtils java/lang/Object com/mongodb/MongoException com/mongodb/DBCollection
java/util/Set java/util/Iterator $com/google/common/base/Preconditions
checkArgument (Z)V java/lang/Integer valueOf (I)Ljava/lang/Integer; put 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; java/lang/Boolean (Z)Ljava/lang/Boolean; /(Lcom/mongodb/DBObject;Lcom/mongodb/DBObject;)V com/google/common/collect/Sets
newHashSet (([Ljava/lang/Object;)Ljava/util/HashSet; getIndexInfo ()Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; get &(Ljava/lang/String;)Ljava/lang/Object; keySet ()Ljava/util/Set; )(Ljava/lang/Iterable;)Ljava/util/HashSet; equals (Ljava/lang/Object;)Z / *? ? ! " m *? Y+S?YT? ?
3 5 4 # $ % &