
com.groupbyinc.flux.index.mapper.Uid.class Maven / Gradle / Ivy
???? 3 ? $com/groupbyinc/flux/index/mapper/Uid java/lang/Object Uid.java DELIMITER C # DELIMITER_BYTE B DELIMITER_BYTES 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; type Ljava/lang/String; id '(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 "
# $ o Ljava/lang/Object; uid hashCode ()I ) *
# + result I toString createUid 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 0 1
2
toBytesRef :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; createUidAsBytes ^(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; 6 7
8 typePrefixAsBytes r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder <
= append ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V ? @
= A C 4 5
= E bytesRef ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; :(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Uid; indexOf (I)I J K
# L substring (II)Ljava/lang/String; N O
# P (I)Ljava/lang/String; N R
# S
U delimiterIndex
createUids K(Ljava/util/List;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; java/util/List Z size \ * [ ] 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef _ iterator ()Ljava/util/Iterator; a b [ c 9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; e java/util/Iterator g hasNext ()Z i j h k next ()Ljava/lang/Object; m n h o *com/groupbyinc/flux/action/DocumentRequest q
r s r u item ,Lcom/groupbyinc/flux/action/DocumentRequest; requests ?Ljava/util/List<+Lcom/groupbyinc/flux/action/DocumentRequest;>; Ljava/util/List; uids idx (Ljava/lang/CharSequence;)V ~
` ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; 6 ?
? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; length ? . ` ? (I)V ?
` ? bytes [B ? ? ` ? offset ? . ` ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? ref ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; copyBytes ? @
= ? get ? 5
= ? spare createUidsForTypesAndId c(Ljava/util/Collection;Ljava/lang/Object;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; java/util/Collections ?
singletonList $(Ljava/lang/Object;)Ljava/util/List; ? ?
? ? 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 ? ? ] ? c copyChars ? ~
= ? +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; 4 ?
? ? ids Ljava/util/Collection<*>; typeBytes idBytes index java/lang/StringBuilder ?
? Q(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 0 ?
? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ? /
? ? sb Ljava/lang/StringBuilder; hasDelimiter ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z i limit splitUidIntoTypeAndId s(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ([BII)V ?
` ? loc idStart ([B)V ?
` ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature z(Ljava/util/List<+Lcom/groupbyinc/flux/action/DocumentRequest;>;)[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; 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 1 ?
?
? Y *? *+? *,? ? ?
? , - . /
? / *? ? ? ? 2 ? / *? ? ? ? 6 ? ? a*+? ?+? *? !+? !? ?+? M*? ? *? ,? ? %? ?
,? ? ?*? ? *? ,? ? %? ?
,? ? ?? ? a a &