
com.groupbyinc.flux.index.shard.ShardStateMetaData$1.class Maven / Gradle / Ivy
???? 3 ? 4com/groupbyinc/flux/index/shard/ShardStateMetaData$1 gLcom/groupbyinc/flux/gateway/MetaDataStateFormat; /com/groupbyinc/flux/gateway/MetaDataStateFormat ShardStateMetaData.java 2com/groupbyinc/flux/index/shard/ShardStateMetaData 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token G(Lcom/groupbyinc/flux/common/xcontent/XContentType;Ljava/lang/String;)V
this 6Lcom/groupbyinc/flux/index/shard/ShardStateMetaData$1; format 2Lcom/groupbyinc/flux/common/xcontent/XContentType; prefix Ljava/lang/String; newXContentBuilder (Lcom/groupbyinc/flux/common/xcontent/XContentType;Ljava/io/OutputStream;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException
3com/groupbyinc/flux/common/xcontent/XContentBuilder prettyPrint 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; !
" type stream Ljava/io/OutputStream; xContentBuilder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
toXContent l(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/index/shard/ShardStateMetaData;)V version + J + - . field J(Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 0 1
2 primary 4 Z 4 6 7 J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 0 9
:
index_uuid < indexUUID > ? [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 0 A
B builder shardStateMetaData 4Lcom/groupbyinc/flux/index/shard/ShardStateMetaData; fromXContent j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/shard/ShardStateMetaData; nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; I J K???????? _na_ O java/lang/Boolean Q java/lang/String S
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; U V
W
FIELD_NAME Y V
Z currentName ()Ljava/lang/String; \ ] ^ isValue ()Z ` a
b equals (Ljava/lang/Object;)Z d e
T f longValue ()J h i j booleanValue l a m valueOf (Z)Ljava/lang/Boolean; o p
R q text s ] t 1com/groupbyinc/flux/gateway/CorruptStateException v java/lang/StringBuilder x ()V z
y { !unexpected field in shard state [ } append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ?
y ? ] ? toString ? ]
y ? (Ljava/lang/String;)V ?
w ? !unexpected token in shard state [ ? name ? ]
? *missing value for [primary] in shard state ? *missing value for [version] in shard state ?
R m (JZLjava/lang/String;)V ?
? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token Ljava/lang/Boolean; currentFieldName H(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/lang/Object; G H
? J(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Ljava/lang/Object;)V ) *
? Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable Signature
SourceFile EnclosingMethod InnerClasses 0 ? E *+,? ? ? ? Y ? ^ *+,? N-? #W-? ? * $ % &