com.groupbyinc.flux.common.settings.loader.XContentSettingsLoader.class Maven / Gradle / Ivy
???? 4 Acom/groupbyinc/flux/common/settings/loader/XContentSettingsLoader java/lang/Object 9com/groupbyinc/flux/common/settings/loader/SettingsLoader XContentSettingsLoader.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser
Token allowNullValues Z contentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; (Z)V ()V
this CLcom/groupbyinc/flux/common/settings/loader/XContentSettingsLoader; load #(Ljava/lang/String;)Ljava/util/Map; java/io/IOException java/lang/Throwable
3com/groupbyinc/flux/common/xcontent/XContentFactory " xContent b(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContent; $ %
# & 9com/groupbyinc/flux/common/xcontent/NamedXContentRegistry ( EMPTY ;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; * + ) , ,com/groupbyinc/flux/common/xcontent/XContent . createParser ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentParser; 0 1 / 2 E(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Map; 4
5 close 7 8 java/lang/String :
java/util/Map <
addSuppressed (Ljava/lang/Throwable;)V > ?
@ parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; source Ljava/lang/String; ([B)Ljava/util/Map; s(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;[B)Lcom/groupbyinc/flux/common/xcontent/XContentParser; 0 G / H [B J java/lang/Exception L java/lang/StringBuilder N
O java/util/HashMap Q
R java/util/ArrayList T
U nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; W X Y java/util/List [ START_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ] ^ _ /com/groupbyinc/flux/ElasticsearchParseException a Emalformed, expected settings to start with 'object', instead was [{}] c ((Ljava/lang/String;[Ljava/lang/Object;)V e
b f serializeObject ?(Ljava/util/Map;Ljava/lang/StringBuilder;Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;)V h i
j isClosed ()Z l m n ymalformed, expected end of settings but encountered additional content starting at line number: [{}], column number: [{}] p getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; r s t 4com/groupbyinc/flux/common/xcontent/XContentLocation v
lineNumber I x y w z java/lang/Integer | valueOf (I)Ljava/lang/Integer; ~
} ? columnNumber ? y w ? =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ?
b ? e Ljava/lang/Exception; jp sb Ljava/lang/StringBuilder; settings 5Ljava/util/Map; Ljava/util/Map; path $Ljava/util/List; Ljava/util/List; token lastToken add (Ljava/lang/Object;)Z ? ? \ ?
END_OBJECT ? ^ ? START_ARRAY ? ^ ? serializeArray ? i
?
FIELD_NAME ? ^ ? currentName ()Ljava/lang/String; ? ? ?
VALUE_NULL ? ^ ? serializeValue ?(Ljava/util/Map;Ljava/lang/StringBuilder;Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;Z)V ? ?
? size ()I ? ? \ ? remove (I)Ljava/lang/Object; ? ? \ ? objFieldName currentFieldName END_ARRAY ? ^ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
O ? (C)Ljava/lang/StringBuilder; ? ?
O ? (I)Ljava/lang/StringBuilder; ? ?
O ? toString ? ?
O ? fieldName counter setLength (I)V ? ?
O ? iterator ()Ljava/util/Iterator; ? ? \ ? java/util/Iterator ? hasNext ? m ? ? next ()Ljava/lang/Object; ? ? ? ? text ? ? ? containsKey ? ? = ? rduplicate settings key [{}] found at line number [{}], column number [{}], previous value [{}], current value [{}] ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? = ? Tnull-valued setting found for key [{}] found at line number [{}], column number [{}] ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? = ? pathEle isNull key currentValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature I(Ljava/lang/String;)Ljava/util/Map; 9([B)Ljava/util/Map; LocalVariableTypeTable k(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Map; ?(Ljava/util/Map;Ljava/lang/StringBuilder;Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;)V ?(Ljava/util/Map;Ljava/lang/StringBuilder;Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;Z)V
SourceFile InnerClasses!
? F
*? *? ? ?
? , - . ? B n*? !? '? -+? 3 MN*,? 6:,? !-? ,? 9 ? :-? A? ,? 9 ?:N?:,? !-? ,? 9 ? :-? A? ,? 9 ? " ( + ? G Q W Z ? I G ? ] B C n n D E ? 3 4 5 <