com.groupbyinc.flux.index.mapper.Uid.class Maven / Gradle / Ivy
???? 4F $com/groupbyinc/flux/index/mapper/Uid java/lang/Object Uid.java java/util/Base64$Decoder java/util/Base64 Decoder java/util/Base64$Encoder Encoder DELIMITER C # DELIMITER_BYTE B type Ljava/lang/String; id UTF8 I ? NUMERIC ?
BASE64_ESCAPE ? $assertionsDisabled Z '(Ljava/lang/String;Ljava/lang/String;)V ()V !
" $ & this &Lcom/groupbyinc/flux/index/mapper/Uid; ()Ljava/lang/String; equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; - .
/ java/lang/String 1 + ,
2 3 o Ljava/lang/Object; uid hashCode ()I 8 9
2 : result toString createUid 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; > ?
@
toBytesRef :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; createUidAsBytes ^(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; D E
F :(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Uid; indexOf (I)I I J
2 K substring (II)Ljava/lang/String; M N
2 O (I)Ljava/lang/String; M Q
2 R
T delimiterIndex 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef W (Ljava/lang/CharSequence;)V Y
X Z ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; D \
] ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; length a X b (I)V d
X e bytes [B g h X i offset k X l java/lang/System n arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V p q
o r ref createUidsForTypesAndId c(Ljava/util/Collection;Ljava/lang/Object;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; java/util/Collections w
singletonList $(Ljava/lang/Object;)Ljava/util/List; y z
x { createUidsForTypesAndIds g(Ljava/util/Collection;Ljava/util/Collection;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; } ~
types *Ljava/util/Collection; Ljava/util/Collection; java/util/Collection ? size ? 9 ? ? =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder ?
? " iterator ()Ljava/util/Iterator; ? ? ? ? 9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? copyChars ? Y
? ? get ? C
? ? +com/groupbyinc/flux/common/lucene/BytesRefs ? ?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; B ?
? ? ids Ljava/util/Collection<*>; uids typeBytes ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; idBytes index java/lang/StringBuilder ?
? " append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ? = *
? ? isURLBase64WithoutPadding (Ljava/lang/String;)Z a 9
2 ? charAt (I)C ? ?
2 ? java/lang/AssertionError ? Impossible case ? (Ljava/lang/Object;)V ?
? ? last c allowed i isPositiveNumeric encodeNumericId L(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; h ([B)V ?
X ? b2 b1 b encodeBase64Id
getUrlDecoder ()Ljava/util/Base64$Decoder; ? ?
? decode (Ljava/lang/String;)[B ? ?
? java/lang/Byte ?
toUnsignedInt (B)I ? ?
? ? ([BII)V ?
X ? newB encodeUtf8Id 9com/groupbyinc/flux/common/apache/lucene/util/UnicodeUtil ?
maxUTF8Length ? J
? ? UTF16toUTF8 (Ljava/lang/CharSequence;II[BI)I ? ?
? ? encodeId isEmpty ? ?
2 ? "java/lang/IllegalArgumentException ? Ids can't be empty ? (Ljava/lang/String;)V ?
? ? ? ?
? ? ?
? ?
? ?
? ?
decodeNumericId ([BII)Ljava/lang/String;
? " [C ([CII)V
2 len chars decodeUtf8Id utf8ToString *
X decodeBase64Id java/util/Arrays copyOfRange ([BII)[B
getUrlEncoder ()Ljava/util/Base64$Encoder; !
" withoutPadding$!
% encodeToString ([B)Ljava/lang/String;'(
) decodeId+
,
.
0
2 magicChar java/lang/Class6 desiredAssertionStatus8 ?
79
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature w(Ljava/util/Collection;Ljava/lang/Object;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ~(Ljava/util/Collection;Ljava/util/Collection<*>;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
SourceFile InnerClasses 1 ; ; ; ; ; <