org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.class Maven / Gradle / Ivy
???? 3N ?
?
? ?
O ?
? ? ?
?
?
?
?
? ?
?
? ?
? ???????? @? ?
? ?
?
?
?
?
? ? ? ?
? ?
; ?
?
?
?
? ?
? ?
? ? ? ? ? ? ?
) ? ?
) ? ? ?
) ? ?
?
0 ?
? ?
?
? ?
? ?
?
? ?
? ? ? ? ?
; ?
? ?
? ? ? ? ? ? ? ? ?
C ? ? ? ? ?
? 9 ? 9 ????????? ?
O ?
O ? ? getBulkSegmentIds :(Lorg/apache/jackrabbit/oak/api/Blob;)Ljava/lang/Iterable; Code LineNumberTable LocalVariableTable blob $Lorg/apache/jackrabbit/oak/api/Blob;
StackMapTable Signature q(Lorg/apache/jackrabbit/oak/api/Blob;)Ljava/lang/Iterable; 7(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)V this 7Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob; id 4Lorg/apache/jackrabbit/oak/plugins/segment/RecordId; getInlineStream L(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;II)Ljava/io/InputStream; segment 3Lorg/apache/jackrabbit/oak/plugins/segment/Segment; offset I length inline [B getNewStream ()Ljava/io/InputStream; J listSize list 6Lorg/apache/jackrabbit/oak/plugins/segment/ListRecord; head B ? RuntimeVisibleAnnotations Ljavax/annotation/Nonnull; ()J getReference ()Ljava/lang/String; blobStore .Lorg/apache/jackrabbit/oak/spi/blob/BlobStore; blobId Ljava/lang/String; ? Ljavax/annotation/CheckForNull; getContentIdentity
isExternal ()Z getBlobId clone s(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentWriter;Z)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob; writer 9Lorg/apache/jackrabbit/oak/plugins/segment/SegmentWriter; cloneLargeBinaries Z
Exceptions equals (Ljava/lang/Object;)Z that object Ljava/lang/Object; ? hashCode ()I readShortBlobId I(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;IB)Ljava/lang/String; bytes readLongBlobId H(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;I)Ljava/lang/String; blobIdRecordId ()Ljava/lang/Iterable; i$ Ljava/util/Iterator; ids Ljava/util/Set; LocalVariableTypeTable FLjava/util/Set; ? M()Ljava/lang/Iterable; getBlob 8(Ljava/lang/String;)Lorg/apache/jackrabbit/oak/api/Blob; )(Ljava/lang/String;)Ljava/io/InputStream; getLength (Ljava/lang/String;)J toString getRecordId 6()Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;
SourceFile SegmentBlob.java 5org/apache/jackrabbit/oak/plugins/segment/SegmentBlob P ? Z [ ? 7org/apache/jackrabbit/oak/plugins/segment/SegmentStream ? ? Z
?
` a 4org/apache/jackrabbit/oak/plugins/segment/ListRecord Z Z ? ? i ? ? ? java/lang/IllegalStateException "Unexpected value record type: %02x java/lang/Object Z ? ? ? v !"#$%&' u( java/lang/StringBuilder Z) +Attempt to read external blob with blobId [*+ ] without specifying BlobStore ? v java/io/BufferedInputStream i j Z,-./0123456789 "org/apache/jackrabbit/oak/api/Blob:;< java/lang/String=>? Z@ABCDEFGHI ?JK 2org/apache/jackrabbit/oak/plugins/segment/RecordIdL ?M ? ? ? f t %Unknown length of external binary: %s ? v 0org/apache/jackrabbit/oak/plugins/segment/Record 1org/apache/jackrabbit/oak/plugins/segment/Segment ,org/apache/jackrabbit/oak/spi/blob/BlobStore java/io/IOException
java/util/Set java/util/Iterator java/util/Collections emptySet ()Ljava/util/Set; readBytes (I[BII)V 9(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;[B)V
getSegment 5()Lorg/apache/jackrabbit/oak/plugins/segment/Segment; getOffset readByte (I)B readShort (I)S readLong (I)J readRecordId 7(I)Lorg/apache/jackrabbit/oak/plugins/segment/RecordId; 8(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;I)V n(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;Lorg/apache/jackrabbit/oak/plugins/segment/ListRecord;J)V java/lang/Integer valueOf (I)Ljava/lang/Integer; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V getSegmentId 7()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; 3org/apache/jackrabbit/oak/plugins/segment/SegmentId
getTracker <()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker; 8org/apache/jackrabbit/oak/plugins/segment/SegmentTracker getStore :()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore; 6org/apache/jackrabbit/oak/plugins/segment/SegmentStore getBlobStore 0()Lorg/apache/jackrabbit/oak/spi/blob/BlobStore; &(Ljava/lang/String;)Ljava/lang/String; ()V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/io/InputStream;)V 7org/apache/jackrabbit/oak/plugins/segment/SegmentWriter writeStream N(Ljava/io/InputStream;)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob;
getEntries ()Ljava/util/List; writeLargeBlob J(JLjava/util/List;)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob; writeExternalBlob K(Ljava/lang/String;)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob;
fastEquals G(Lorg/apache/jackrabbit/oak/plugins/segment/Record;Ljava/lang/Object;)Z wasCompactedTo 5(Lorg/apache/jackrabbit/oak/plugins/segment/Record;)Z 5org/apache/jackrabbit/oak/plugins/memory/AbstractBlob equal K(Lorg/apache/jackrabbit/oak/api/Blob;Lorg/apache/jackrabbit/oak/api/Blob;)Z com/google/common/base/Charsets UTF_8 Ljava/nio/charset/Charset; ([BLjava/nio/charset/Charset;)V
readString H(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)Ljava/lang/String; com/google/common/collect/Sets
newHashSet ()Ljava/util/HashSet; java/util/List iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; add readBlob ! O 9 P Q R N *? ? *? ? ?? ? S , - / T U V W X Y Z [ R > *+? ? S
4 5 T \ ] ^ _ ` a R v ?:+? ? Y*? ? ? S 9 : ; T 4 \ ] b c d e f e g h i j R ? ?*? L*?
=+? > ?~?
*+`? ? ?~ ?? +?
??~ ?`6*+`? ? ?~ ?? D+? a7 a
e m?6? Y+`? ? :? Y*? ? ? ?~ ? *+? ? ? ?~ ?
*+? ? ?? Y? Y ?~? S? ? !? S J @ A
B C E " F - H <