
com.groupbyinc.flux.index.shard.ShardStateMetaData$1.class Maven / Gradle / Ivy
???? 4 ? 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 (Ljava/lang/String;)V
this 6Lcom/groupbyinc/flux/index/shard/ShardStateMetaData$1; 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 2Lcom/groupbyinc/flux/common/xcontent/XContentType; 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 primary * Z * , - field J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; / 0
1
index_uuid 3 indexUUID 5 6 [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; / 8
9 allocationId 2Lcom/groupbyinc/flux/cluster/routing/AllocationId; ; < =
allocation_id ? y(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; / 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_ M java/lang/Boolean O java/lang/String Q 0com/groupbyinc/flux/cluster/routing/AllocationId 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
R f booleanValue h a i valueOf (Z)Ljava/lang/Boolean; k l
P m text o ] p version r 1com/groupbyinc/flux/gateway/CorruptStateException t java/lang/StringBuilder v ()V x
w y !unexpected field in shard state [ { append -(Ljava/lang/String;)Ljava/lang/StringBuilder; } ~
w ] ? toString ? ]
w ?
u START_OBJECT ? V
? h(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/AllocationId; G ?
T ? "unexpected object in shard state [ ? !unexpected token in shard state [ ? name ? ]
? *missing value for [primary] in shard state ?
P i H(ZLjava/lang/String;Lcom/groupbyinc/flux/cluster/routing/AllocationId;)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 ? : *+? ? ? ? [ ? ^ *+,? N-? !W-? ? * " # $ % &