com.groupbyinc.flux.common.compress.CompressorFactory.class Maven / Gradle / Ivy
???? 4 ? 5com/groupbyinc/flux/common/compress/CompressorFactory java/lang/Object CompressorFactory.java
COMPRESSOR 0Lcom/groupbyinc/flux/common/compress/Compressor; $assertionsDisabled Z ()V
this 7Lcom/groupbyinc/flux/common/compress/CompressorFactory; isCompressed 4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Z
compressor c(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/compress/Compressor;
bytes 1Lcom/groupbyinc/flux/common/bytes/BytesReference; %Lcom/groupbyinc/flux/common/Nullable; .com/groupbyinc/flux/common/compress/Compressor 3com/groupbyinc/flux/common/xcontent/XContentFactory ! xContentType e(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentType; # $
" % java/lang/AssertionError '
( isAncient *
+ java/lang/IllegalStateException - Sunsupported compression: index was created before v2.0.0.beta1 and wasn't upgraded? / (Ljava/lang/String;)V
1
. 2 0com/groupbyinc/flux/common/xcontent/XContentType 4 8com/groupbyinc/flux/common/compress/NotXContentException 6 [Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes 8
7 2 contentType 2Lcom/groupbyinc/flux/common/xcontent/XContentType; /com/groupbyinc/flux/common/bytes/BytesReference = length ()I ? @
> A get (I)B C D
> E uncompressIfNeeded d(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/bytes/BytesReference; java/io/IOException I #the BytesReference must not be null K java/util/Objects M requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; O P
N Q
uncompress ?(Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/compress/Compressor;)Lcom/groupbyinc/flux/common/bytes/BytesReference; S T
U uncompressed :com/groupbyinc/flux/common/compress/NotCompressedException X
Y streamInput 4()Lcom/groupbyinc/flux/common/io/stream/StreamInput; [ \
> ] f(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/StreamInput; [ _ ` 6com/groupbyinc/flux/common/io/stream/BytesStreamOutput b
c %com/groupbyinc/flux/common/io/Streams e copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)J g h
f i 0com/groupbyinc/flux/common/io/stream/StreamInput k close m
l n 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; p
c q
compressed 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; bStream 8Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput; java/lang/Class x desiredAssertionStatus ()Z z {
y | 5com/groupbyinc/flux/common/compress/DeflateCompressor ~
Code LocalVariableTable LineNumberTable
StackMapTable RuntimeVisibleAnnotations
Exceptions
SourceFile !
? / *?
? ? ? ! ? B
*? ? ? ? ?
? &