com.groupbyinc.flux.common.io.stream.StreamOutput.class Maven / Gradle / Ivy
???? 4? 1com/groupbyinc/flux/common/io/stream/StreamOutput java/io/OutputStream StreamOutput.java 5com/groupbyinc/flux/common/io/stream/Writeable$Writer .com/groupbyinc/flux/common/io/stream/Writeable Writer java/util/Map$Entry
java/util/Map
Entry %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup version Lcom/groupbyinc/flux/Version; spare ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; convertStringBuffer [B ZERO B ONE TWO WRITERS Ljava/util/Map; \Ljava/util/Map;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;>; $assertionsDisabled Z ()V $ %
& com/groupbyinc/flux/Version ( CURRENT * ) + - =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder /
0 & 2 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef 4 EMPTY_BYTES 6 5 7 9 this 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
getVersion ()Lcom/groupbyinc/flux/Version;
setVersion (Lcom/groupbyinc/flux/Version;)V position ()J java/io/IOException C 'java/lang/UnsupportedOperationException E
F & seek (J)V J writeByte (B)V
writeBytes ([B)V ([BII)V M O
P b ([BI)V length I writeByteArray writeVInt (I)V W X
Y writeBytesReference 4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V %Lcom/groupbyinc/flux/common/Nullable; /com/groupbyinc/flux/common/bytes/BytesReference ^ ()I T `
_ a writeTo (Ljava/io/OutputStream;)V c d
_ e bytes 1Lcom/groupbyinc/flux/common/bytes/BytesReference; writeOptionalBytesReference
writeBytesRef ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V T U 5 l g 5 n offset p U 5 q write s O
t 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
writeShort (S)V K L
y v S writeInt i writeLong } X
?
writeVLong java/lang/IllegalStateException ? java/lang/StringBuilder ?
? & NNegative longs unsupported, use writeLong or writeZLong for negative numbers [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (J)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V $ ?
? ? writeVLongNoCheck ? I
????????? ?
writeZLong 5com/groupbyinc/flux/common/apache/lucene/util/BitUtil ? zigZagEncode (J)J ? ?
? ? value writeOptionalLong (Ljava/lang/Long;)V writeBoolean (Z)V ? ?
? java/lang/Long ? longValue ? B
? ? I
? l Ljava/lang/Long; writeOptionalString writeString ? ?
? str Ljava/lang/String; writeOptionalVInt (Ljava/lang/Integer;)V java/lang/Integer ? intValue ? `
? ? integer Ljava/lang/Integer; writeOptionalFloat (Ljava/lang/Float;)V java/lang/Float ?
floatValue ()F ? ?
? ?
writeFloat (F)V ? ?
? Ljava/lang/Float; writeOptionalText )(Lcom/groupbyinc/flux/common/text/Text;)V writeText ? ?
? text &Lcom/groupbyinc/flux/common/text/Text; $com/groupbyinc/flux/common/text/Text ? hasBytes ()Z ? ?
? ? string ? ?
? ? copyChars (Ljava/lang/CharSequence;)V ? ?
0 ?
0 a ()[B g ?
0 ? 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; g ?
? ? java/lang/String ?
? a java/lang/Math ? min (II)I ? ?
? ? 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil ? oversize ? ?
? ? charAt (I)C
? M S
c charCount
bufferSize buffer floatToIntBits (F)I
? F writeDouble (D)V java/lang/Double doubleToLongBits (D)J
D writeOptionalDouble (Ljava/lang/Double;)V doubleValue ()D
Ljava/lang/Double; ! # writeOptionalBoolean (Ljava/lang/Boolean;)V ' java/lang/Boolean) booleanValue+ ?
*, Ljava/lang/Boolean; flush close reset off len writeStringArray ([Ljava/lang/String;)V [Ljava/lang/String;6 s array writeStringArrayNullable writeOptionalStringArray45
< writeMap (Ljava/util/Map;)V writeGenericValue (Ljava/lang/Object;)V@A
B map 5Ljava/util/Map; writeMapWithConsistentOrder " # G java/util/LinkedHashMapI java/lang/AssertionErrorK
L & sizeN ` O entrySet ()Ljava/util/Set;QR S
java/util/SetU stream ()Ljava/util/stream/Stream;WXVY "java/lang/invoke/LambdaMetafactory[ metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;]^
\_` '(Ljava/lang/Object;Ljava/lang/Object;)Ib $lambda$writeMapWithConsistentOrder$0 -(Ljava/util/Map$Entry;Ljava/util/Map$Entry;)Ide
fge compare ()Ljava/util/Comparator;jk l java/util/stream/Streamn sorted 1(Ljava/util/Comparator;)Ljava/util/stream/Stream;pqor iterator ()Ljava/util/Iterator;tuov java/util/Iteratorx hasNextz ?y{ next ()Ljava/lang/Object;}~y getKey?~ ? getValue?~ ? *Ljava/util/Map$Entry; Ljava/util/Map$Entry; 6Ljava/util/Map; ALjava/util/Iterator<+Ljava/util/Map$Entry;>; Ljava/util/Iterator; writeMapOfLists ?(Ljava/util/Map;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;)V H(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/lang/Object;)V? lambda$writeMapOfLists$1 }(Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)V??
?? F(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)V? ?(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;)Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer; s? ?>?
? )Ljava/util/Map;>; keyWriter ; 7Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer; valueWriter ;Vv s? ? entry Ljava/util/Map$Entry; Ljava/util/Map; java/util/List? [Ljava/lang/Object;? 4com/groupbyinc/flux/common/joda/time/ReadableInstant? java/lang/Object? getClass ()Ljava/lang/Class;??
?? java/lang/Class? ? get &(Ljava/lang/Object;)Ljava/lang/Object;?? ? can not write type [? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ??
??
D ? type Ljava/lang/Class; Ljava/lang/Object; writer
writeIntArray ([I)V [I? values writeVIntArray writeLongArray ([J)V [J? writeVLongArray ? I
? writeFloatArray ([F)V [F? writeDoubleArray ([D)V [D?
writeArray 4([Lcom/groupbyinc/flux/common/io/stream/Writeable;)V 1[Lcom/groupbyinc/flux/common/io/stream/Writeable;? 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V c? ? TT; 0Lcom/groupbyinc/flux/common/io/stream/Writeable; [TT; writeOptionalArray??
? writeOptionalStreamable 4(Lcom/groupbyinc/flux/common/io/stream/Streamable;)V /com/groupbyinc/flux/common/io/stream/Streamable???
streamable 1Lcom/groupbyinc/flux/common/io/stream/Streamable; writeOptionalWriteable 3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)V writeable writeException (Ljava/lang/Throwable;)V Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException? getOriginalMessage? ?
?? ? ?
? getResourceDescription? ?
?? Icom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooNewException?
?? = `
?
getMinVersion `
?
getMaxVersion `
? Icom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldException
? ()Ljava/lang/Integer; =
getReason ?
java/lang/NullPointerException java/lang/NumberFormatException "java/lang/IllegalArgumentException Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException java/io/EOFException java/lang/SecurityException )java/lang/StringIndexOutOfBoundsException" (java/lang/ArrayIndexOutOfBoundsException$ java/io/FileNotFoundException& !java/nio/file/FileSystemException( !java/nio/file/NoSuchFileException* #java/nio/file/NotDirectoryException, (java/nio/file/DirectoryNotEmptyException. -java/nio/file/AtomicMoveNotSupportedException0 (java/nio/file/FileAlreadyExistsException2 #java/nio/file/AccessDeniedException4 %java/nio/file/FileSystemLoopException6 getFile8 ?
)9 getOtherFile; ?
)<
) Hcom/groupbyinc/flux/common/apache/lucene/store/LockObtainFailedException? java/lang/InterruptedExceptionA *com/groupbyinc/flux/ElasticsearchExceptionC isRegistered 1(Ljava/lang/Class;Lcom/groupbyinc/flux/Version;)ZEF
DG Dcom/groupbyinc/flux/common/io/stream/NotSerializableExceptionWrapperI $?
JK getId (Ljava/lang/Class;)IMN
DO
D? java/lang/ThrowableR
getMessageT ?
SU getCause ()Ljava/lang/Throwable;WX
SY??
[ writeStackTraces _(Ljava/lang/Throwable;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Ljava/lang/Throwable;]^
D_ t KLcom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldException; ex ,Lcom/groupbyinc/flux/ElasticsearchException;
writeCause writeMessage throwable Ljava/lang/Throwable; writeNamedWriteable 8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V 3com/groupbyinc/flux/common/io/stream/NamedWriteablek getWriteableNamem ?lnl? namedWriteable 5Lcom/groupbyinc/flux/common/io/stream/NamedWriteable; writeOptionalNamedWriteableij
t
writeGeoPoint ,(Lcom/groupbyinc/flux/common/geo/GeoPoint;)V 'com/groupbyinc/flux/common/geo/GeoPointx latz
y{ lon}
y~ geoPoint )Lcom/groupbyinc/flux/common/geo/GeoPoint;
writeTimeZone 6(Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;)V 1com/groupbyinc/flux/common/joda/time/DateTimeZone? getID? ?
?? timeZone 3Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; writeOptionalTimeZone??
? writeStreamableList (Ljava/util/List;)V?O?v obj list DLjava/util/List<+Lcom/groupbyinc/flux/common/io/stream/Streamable;>; Ljava/util/List; writeList CLjava/util/List<+Lcom/groupbyinc/flux/common/io/stream/Writeable;>; writeStringList $Ljava/util/List; writeNamedWriteableList HLjava/util/List<+Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;>; writeEnum (Ljava/lang/Enum;)V java/lang/Enum? ordinal? `
?? enumValue TE; Ljava/lang/Enum; lambda$static$24 java/time/ZonedDateTime? getZone ()Ljava/time/ZoneId;??
?? java/time/ZoneId?M ?
?? toInstant ()Ljava/time/Instant;??
?? java/time/Instant? toEpochMilli? B
?? o
zonedDateTime Ljava/time/ZonedDateTime; lambda$static$23vw
? lambda$static$22 j k
? lambda$static$21??
? lambda$static$20??
? lambda$static$19??
? lambda$static$18??
? lambda$static$17 java/lang/Short?
shortValue ()S??
?? w x
? lambda$static$16 lambda$static$15 [ \
? lambda$static$14 5()Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;???? getMillis? B?? instant 6Lcom/groupbyinc/flux/common/joda/time/ReadableInstant; lambda$static$13 java/util/Date? getTime? B
?? lambda$static$12 java/lang/Byte? byteValue ()B??
?? lambda$static$11 ;Ljava/util/Map$Entry; lambda$static$10 item lambda$static$9 lambda$static$8 M N
? lambda$static$7 lambda$static$6 lambda$static$5 lambda$static$4 lambda$static$3 lambda$static$2 TV; compareTo (Ljava/lang/String;)I
? a desiredAssertionStatus ?
? java/util/HashMap
&??
9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer; s put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ??
??
??
??
#$ ??
'( ??
+, ??
/0 ??
34
??
78 ??
;< ??
?@
??
CD ??
GH ??
KL ??
OP ??
ST ??
WX ??
[\ ??
_` ??
cd ??
gh ??
kl java/util/Collectionso unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;qr
ps writers Signature Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable "RuntimeVisibleParameterAnnotations LocalVariableTypeTable 8(Ljava/util/Map;)V 9(Ljava/util/Map;)V ?(Ljava/util/Map;>;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;)V ?(Ljava/util/Map;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;Lcom/groupbyinc/flux/common/io/stream/Writeable$Writer;)V <([TT;)V G(Ljava/util/List<+Lcom/groupbyinc/flux/common/io/stream/Streamable;>;)V F(Ljava/util/List<+Lcom/groupbyinc/flux/common/io/stream/Writeable;>;)V '(Ljava/util/List;)V K(Ljava/util/List<+Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;>;)V ;>(TE;)V BootstrapMethods
SourceFile InnerClasses!
v ! " # \ $ % w T *? '*? ,? .*? 0Y? 1? 3*? 8? :? x ; <