
com.groupbyinc.flux.index.codec.CodecService.class Maven / Gradle / Ivy
???? 3 ? ,com/groupbyinc/flux/index/codec/CodecService 0com/groupbyinc/flux/index/AbstractIndexComponent CodecService.java 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder Xcom/groupbyinc/flux/common/apache/lucene/codecs/lucene50/Lucene50StoredFieldsFormat$Mode Scom/groupbyinc/flux/common/apache/lucene/codecs/lucene50/Lucene50StoredFieldsFormat
Mode
mapperService 0Lcom/groupbyinc/flux/index/mapper/MapperService; codecs ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;
DEFAULT_CODEC Ljava/lang/String; default BEST_COMPRESSION_CODEC best_compression LUCENE_DEFAULT_CODEC lucene_default $(Lcom/groupbyinc/flux/index/Index;)V EMPTY_SETTINGS .Lcom/groupbyinc/flux/common/settings/Settings; ! " # R(Lcom/groupbyinc/flux/index/Index;Lcom/groupbyinc/flux/common/settings/Settings;)V %
& this .Lcom/groupbyinc/flux/index/codec/CodecService; index !Lcom/groupbyinc/flux/index/Index; ?(Lcom/groupbyinc/flux/index/Index;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/MapperService;)V ,
-
indexSettings ?(Lcom/groupbyinc/flux/index/Index;Lcom/groupbyinc/flux/index/settings/IndexSettingsService;Lcom/groupbyinc/flux/index/mapper/MapperService;)V *Lcom/groupbyinc/flux/common/inject/Inject; 7com/groupbyinc/flux/index/settings/IndexSettingsService 2 getSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; 4 5
3 6 indexSettingsService 9Lcom/groupbyinc/flux/index/settings/IndexSettingsService;
& ; -com/groupbyinc/flux/common/collect/MapBuilder =
newMapBuilder 1()Lcom/groupbyinc/flux/common/collect/MapBuilder; ? @
> A Fcom/groupbyinc/flux/common/apache/lucene/codecs/lucene54/Lucene54Codec C ()V E
D F put U(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/collect/MapBuilder; H I
> J BEST_COMPRESSION ZLcom/groupbyinc/flux/common/apache/lucene/codecs/lucene50/Lucene50StoredFieldsFormat$Mode; L M N ](Lcom/groupbyinc/flux/common/apache/lucene/codecs/lucene50/Lucene50StoredFieldsFormat$Mode;)V P
D Q com/groupbyinc/flux/index/Index S .com/groupbyinc/flux/index/mapper/MapperService U Acom/groupbyinc/flux/index/codec/PerFieldMappingPostingFormatCodec W
BEST_SPEED Y M Z logger -Lcom/groupbyinc/flux/common/logging/ESLogger; \ ] ^ ?(Lcom/groupbyinc/flux/common/apache/lucene/codecs/lucene50/Lucene50StoredFieldsFormat$Mode;Lcom/groupbyinc/flux/index/mapper/MapperService;Lcom/groupbyinc/flux/common/logging/ESLogger;)V `
X a 5com/groupbyinc/flux/common/apache/lucene/codecs/Codec c
getDefault 9()Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec; e f
d g availableCodecs ()Ljava/util/Set; i j
d k
java/util/Set m iterator ()Ljava/util/Iterator; o p n q java/util/Iterator s hasNext ()Z u v t w next ()Ljava/lang/Object; y z t { java/lang/String } forName K(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec; ?
d ? immutableMap A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ? ?
> ? ? codec zLcom/groupbyinc/flux/common/collect/MapBuilder; /Lcom/groupbyinc/flux/common/collect/MapBuilder; 2()Lcom/groupbyinc/flux/index/mapper/MapperService; =com/groupbyinc/flux/common/google/common/collect/ImmutableMap ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? F failed to find codec [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V ?
? ? name 7Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec; ()[Ljava/lang/String; keySet A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet; ? ?
? ? =com/groupbyinc/flux/common/google/common/collect/ImmutableSet ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ?
? ? [Ljava/lang/String; ? Signature
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses ! ? ? ? ? ? A *+? $? '? ? ( ) * + ?
5 6 % ? J *+,? .? ? ( ) * + / " ?
9 : 0 ? W *+,? 7-? .? ? * ( ) * + 8 9 ?
>
? ? 1 , ? u ?*+,? :*-?