
com.groupbyinc.flux.common.xcontent.json.JsonXContentGenerator.class Maven / Gradle / Ivy
???? 3? >com/groupbyinc/flux/common/xcontent/json/JsonXContentGenerator java/lang/Object 5com/groupbyinc/flux/common/xcontent/XContentGenerator JsonXContentGenerator.java Tcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultPrettyPrinter$Indenter Kcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultPrettyPrinter
Indenter 8com/groupbyinc/flux/common/xcontent/XContentParser$Token
2com/groupbyinc/flux/common/xcontent/XContentParser Token generator ALcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator; base FLcom/groupbyinc/flux/common/fasterxml/jackson/core/base/GeneratorBase; filter ULcom/groupbyinc/flux/common/fasterxml/jackson/core/filter/FilteringGeneratorDelegate; os Ljava/io/OutputStream; writeLineFeedAtEnd Z LF GLcom/groupbyinc/flux/common/fasterxml/jackson/core/io/SerializedString; INDENTER VLcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultPrettyPrinter$Indenter; prettyPrint $assertionsDisabled m(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator;Ljava/io/OutputStream;[Ljava/lang/String;)V ()V " $
% ' Dcom/groupbyinc/flux/common/fasterxml/jackson/core/base/GeneratorBase ) + ?com/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator - java/io/OutputStream / [Ljava/lang/String; 1 /com/groupbyinc/flux/common/util/CollectionUtils 3 isEmpty ([Ljava/lang/Object;)Z 5 6
4 7 9 ; Scom/groupbyinc/flux/common/fasterxml/jackson/core/filter/FilteringGeneratorDelegate = Kcom/groupbyinc/flux/common/xcontent/support/filtering/FilterPathBasedFilter ? ([Ljava/lang/String;)V " A
@ B ?(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator;Lcom/groupbyinc/flux/common/fasterxml/jackson/core/filter/TokenFilter;ZZ)V " D
> E G this @Lcom/groupbyinc/flux/common/xcontent/json/JsonXContentGenerator;
jsonGenerator filters contentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; 0com/groupbyinc/flux/common/xcontent/XContentType O JSON 2Lcom/groupbyinc/flux/common/xcontent/XContentType; Q R P S usePrettyPrint
% W withObjectIndenter ?(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultPrettyPrinter$Indenter;)Lcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultPrettyPrinter; Y Z
[ setPrettyPrinter ?(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/PrettyPrinter;)Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator; ] ^
. _ usePrintLineFeedAtEnd b writeStartArray java/io/IOException e d $
. g
writeEndArray i $
. j
isFiltered ()Z inRoot l m
o getFilterContext G()Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonStreamContext; q r
> s Ccom/groupbyinc/flux/common/fasterxml/jackson/core/JsonStreamContext u n m
v w getCurrentName ()Ljava/lang/String; y z
v { context ELcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonStreamContext; writeStartObject
w getDelegate C()Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonGenerator; ? ?
> ? $
. ? writeEndObject ? $
. ? writeFieldName (Ljava/lang/String;)V ? ?
. ? name Ljava/lang/String; 7(Lcom/groupbyinc/flux/common/xcontent/XContentString;)V I(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/SerializableString;)V ? ?
. ? 4Lcom/groupbyinc/flux/common/xcontent/XContentString; writeString ? ?
. ? text ([CII)V ? ?
. ? [C offset I len writeUTF8String ([BII)V ? ?
. ? [B length writeBinary ? ?
. ? data ([B)V ? ?
. ? writeNumber (I)V ? ?
. ? v (J)V ? ?
. ? J (D)V ? ?
. ? d D (F)V ? ?
. ? f F writeBoolean (Z)V ? ?
. ? state writeNull ? $
. ? writeStringField '(Ljava/lang/String;Ljava/lang/String;)V ? ?
. ? fieldName value I(Lcom/groupbyinc/flux/common/xcontent/XContentString;Ljava/lang/String;)V writeBooleanField (Ljava/lang/String;Z)V ? ?
. ? 8(Lcom/groupbyinc/flux/common/xcontent/XContentString;Z)V writeNullField ? ?
. ? writeNumberField (Ljava/lang/String;I)V ? ?
. ? 8(Lcom/groupbyinc/flux/common/xcontent/XContentString;I)V (Ljava/lang/String;J)V ? ?
. ? 8(Lcom/groupbyinc/flux/common/xcontent/XContentString;J)V (Ljava/lang/String;D)V ? ?
. ? 8(Lcom/groupbyinc/flux/common/xcontent/XContentString;D)V (Ljava/lang/String;F)V ? ?
. ? 8(Lcom/groupbyinc/flux/common/xcontent/XContentString;F)V writeBinaryField (Ljava/lang/String;[B)V ? ?
. ? 9(Lcom/groupbyinc/flux/common/xcontent/XContentString;[B)V writeArrayFieldStart ? ?
. ? writeObjectFieldStart ? ?
. ?
writeStartRaw
? writeRaw (C)V ? ?
. ? writeEndRaw ! ? java/lang/AssertionError ? java/lang/StringBuilder ?
? % ;JsonGenerator should be of instance GeneratorBase but was: append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? getClass ()Ljava/lang/Class;
-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
? toString z
? (Ljava/lang/Object;)V "
? getOutputContext K()Lcom/groupbyinc/flux/common/fasterxml/jackson/core/json/JsonWriteContext;
* Gcom/groupbyinc/flux/common/fasterxml/jackson/core/json/JsonWriteContext
writeValue ()I
writeRawField *(Ljava/lang/String;Ljava/io/InputStream;)V java/lang/Throwable java/io/InputStream"
markSupported$ m
#% java/io/BufferedInputStream' (Ljava/io/InputStream;)V ")
(* 3com/groupbyinc/flux/common/xcontent/XContentFactory, xContentType I(Ljava/io/InputStream;)Lcom/groupbyinc/flux/common/xcontent/XContentType;./
-0 "java/lang/IllegalArgumentException2 :Can't write raw bytes whose xcontent-type can't be guessed4 " ?
36 mayWriteRawData 5(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Z89
: xContent b(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContent;<=
-> ,com/groupbyinc/flux/common/xcontent/XContent@ createParser K(Ljava/io/InputStream;)Lcom/groupbyinc/flux/common/xcontent/XContentParser;BCAD nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;FG H copyCurrentStructure 7(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)VJK
L closeN $ O java/lang/StringQ
addSuppressed (Ljava/lang/Throwable;)VST
!U ? ?
W flushY $
Z %com/groupbyinc/flux/common/io/Streams\ copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)J^_
]` ? $
b parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; content Ljava/io/InputStream; F(Ljava/lang/String;Lcom/groupbyinc/flux/common/bytes/BytesReference;)V e(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentType;.i
-j 0()Lcom/groupbyinc/flux/common/xcontent/XContent;<l
Pm copyRawValue b(Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/xcontent/XContent;)Vop
q /com/groupbyinc/flux/common/bytes/BytesReferences writeTo (Ljava/io/OutputStream;)Vuvtw 1Lcom/groupbyinc/flux/common/bytes/BytesReference;
writeRawValue 4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V supportsRawWrites| m
} M N
hasArray? mt? array ()[B??t? arrayOffset?t? ?t? :([BII)Lcom/groupbyinc/flux/common/xcontent/XContentParser;B?A? streamInput 4()Lcom/groupbyinc/flux/common/io/stream/StreamInput;??t? .Lcom/groupbyinc/flux/common/xcontent/XContent; currentToken?G ? ;com/groupbyinc/flux/common/xcontent/json/JsonXContentParser? >Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonParser;d? ?? A(Lcom/groupbyinc/flux/common/fasterxml/jackson/core/JsonParser;)VJ?
.? 2com/groupbyinc/flux/common/xcontent/XContentHelper? n(Lcom/groupbyinc/flux/common/xcontent/XContentGenerator;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)VJ?
??
.Z isClosed? m
.? ? ? ?
.?
.O java/lang/Class? desiredAssertionStatus? m
?? Ecom/groupbyinc/flux/common/fasterxml/jackson/core/io/SerializedString?
?
?6 Fcom/groupbyinc/flux/common/fasterxml/jackson/core/util/DefaultIndenter? ? getValue? z
?? " ?
?? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ! 7 ? " # ? ? X*? &*? (+? *? *+? *? ,? *? ,-? 8? *+? :*?