com.groupbyinc.flux.cluster.metadata.AliasOrIndex$Alias.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias java/lang/Object 1com/groupbyinc/flux/cluster/metadata/AliasOrIndex AliasOrIndex.java Alias 9com/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias$1 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup aliasName Ljava/lang/String; referenceIndexMetaDatas Ljava/util/List; FLjava/util/List;
writeIndex 7Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce; mLcom/groupbyinc/flux/common/apache/lucene/util/SetOnce; k(Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)V ()V
5com/groupbyinc/flux/common/apache/lucene/util/SetOnce
2com/groupbyinc/flux/cluster/metadata/AliasMetaData " getAlias ()Ljava/lang/String; $ %
# & ( java/util/ArrayList *
+ - java/util/List / add (Ljava/lang/Object;)Z 1 2 0 3 this 9Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias;
aliasMetaData 4Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData;
indexMetaData 4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData; isAlias ()Z getAliasName
getIndices ()Ljava/util/List;
getWriteIndex 6()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData; %Lcom/groupbyinc/flux/common/Nullable; get ()Ljava/lang/Object; C D
E 2com/groupbyinc/flux/cluster/metadata/IndexMetaData G !getConcreteIndexAndAliasMetaDatas ()Ljava/lang/Iterable; <(Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias;)V K
L getFirstAliasMetaData 6()Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData; (I)Ljava/lang/Object; C P 0 Q
getAliases 7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; S T
H U 3com/groupbyinc/flux/common/collect/ImmutableOpenMap W &(Ljava/lang/Object;)Ljava/lang/Object; C Y
X Z addIndex 7(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)V computeAndValidateWriteIndex stream ()Ljava/util/stream/Stream; _ ` 0 a "java/lang/invoke/LambdaMetafactory c metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; e f
d g h 2 %lambda$computeAndValidateWriteIndex$0 7(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Z k l
m n l test Y(Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias;)Ljava/util/function/Predicate; q r s java/util/stream/Stream u filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; w x v y java/util/stream/Collectors { toList ()Ljava/util/stream/Collector; } ~
| collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; ? ? v ? isEmpty ? < 0 ? size ()I ? ? 0 ? ()Ljava/lang/Boolean; ?
# ? set (Ljava/lang/Object;)V ? ?
? Y %lambda$computeAndValidateWriteIndex$1 H(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Ljava/lang/String; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? v ? java/lang/IllegalStateException ? java/lang/StringBuilder ?
? alias [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? !] has more than one write index [ ? "com/groupbyinc/flux/common/Strings ? collectionToCommaDelimitedString ((Ljava/lang/Iterable;)Ljava/lang/String; ? ?
? ? ] ? toString ? %
? ? (Ljava/lang/String;)V ?
? ? writeIndicesStrings $Ljava/util/List; writeIndices getIndex #()Lcom/groupbyinc/flux/index/Index; ? ?
H ? com/groupbyinc/flux/index/Index ? getName ? %
? ? i java/lang/Boolean ? TRUE Ljava/lang/Boolean; ? ? ? ? equals ? 2
? ? idxMeta
access$000 K(Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias;)Ljava/util/List; x0
access$100 M(Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex$Alias;)Ljava/lang/String; Signature Code LocalVariableTable LineNumberTable H()Ljava/util/List; RuntimeVisibleAnnotations ?()Ljava/lang/Iterable;>; LocalVariableTypeTable
StackMapTable BootstrapMethods
SourceFile InnerClasses ! ? ?
? ? .*? *? Y? ? !*+? '? )*? +Y? ,? .*? .,? 4 W? ? . 5 6 . 7 8 . 9 : ? W U X Y " Z - [ ; <