com.groupbyinc.flux.snapshots.SnapshotUtils.class Maven / Gradle / Ivy
???? 4 ? +com/groupbyinc/flux/snapshots/SnapshotUtils java/lang/Object SnapshotUtils.java ()V
this -Lcom/groupbyinc/flux/snapshots/SnapshotUtils;
filterIndices h(Ljava/util/List;[Ljava/lang/String;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Ljava/util/List; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver isAllIndices (Ljava/util/List;)Z
java/util/Set java/lang/String isEmpty ()Z
java/util/List " contains (Ljava/lang/Object;)Z $ % # & java/util/HashSet (
) add + % , charAt (I)C . /
0 substring (I)Ljava/lang/String; 2 3
4 (Ljava/util/Collection;)V 6
) 7 &com/groupbyinc/flux/common/regex/Regex 9 isSimpleMatchPattern (Ljava/lang/String;)Z ; <
: = 1com/groupbyinc/flux/action/support/IndicesOptions ? ignoreUnavailable A
@ B 0com/groupbyinc/flux/index/IndexNotFoundException D (Ljava/lang/String;)V F
E G subList (II)Ljava/util/List; I J # K remove M % N iterator ()Ljava/util/Iterator; P Q # R java/util/Iterator T hasNext V U W next ()Ljava/lang/Object; Y Z U [ simpleMatch '(Ljava/lang/String;Ljava/lang/String;)Z ] ^
: _ allowNoIndices a
@ b java/util/ArrayList d
e 7 java/util/Collections g unmodifiableList "(Ljava/util/List;)Ljava/util/List; i j
h k index Ljava/lang/String; indexOrPattern Z found i I availableIndices $Ljava/util/List; Ljava/util/List; selectedIndices [Ljava/lang/String; indicesOptions 3Lcom/groupbyinc/flux/action/support/IndicesOptions; result #Ljava/util/Set; Ljava/util/Set; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable Signature ?(Ljava/util/List;[Ljava/lang/String;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Ljava/util/List;
SourceFile ! ~ / *? ?
? $
~ #
?+? ? ? *?N6+??b+2:6? !? p*? ' ? -? ? )Y? *N-? - W?(? 1+? 6? 5:? 2? )Y? *N? '? 1-? ? ? )Y*? 8N6? 5:? !? ? >? X*? ' ? ,,? C?
? EY? H?-? ?? )Y*? L ? 8N? ?-? ?? -? - W? ?-? O W? y-? ? )Y*? L ? 8N6*? S :? X ? 9? \ ? : ? `? 6? - ? - W? - ? O W???? ,? c?
? EY? H?????-? ? eY+? ? f? l?? eY-? f? l? \ 1 ' m n S o n !P + p ^ q p f r s ? t v ? w x ? y z ? { } ? ? t u ? { | ? ? 0 /
0 2 3 4 5 ! 6 ) 7 4 8 8 9 @ ; I <