
com.groupbyinc.flux.common.apache.lucene.search.TermAutomatonQuery.class Maven / Gradle / Ivy
???? 3k Bcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery 5com/groupbyinc/flux/common/apache/lucene/search/Query TermAutomatonQuery.java Vcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery$TermAutomatonWeight TermAutomatonWeight Pcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery$EnumAndScorer
EnumAndScorer Icom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton$Builder Acom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton Builder java/util/Map$Entry
java/util/Map Entry field Ljava/lang/String; builder KLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton$Builder; det CLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; termToID Ljava/util/Map; \Ljava/util/Map; idToTerm \Ljava/util/Map; anyTermID I $assertionsDisabled Z (Ljava/lang/String;)V ()V % '
( java/util/HashMap *
+ ( - / ! " 1 3
( 6 this DLcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery; createState ()I : ;
< setAccept (IZ)V > ?
@ state accept
addTransition (IILjava/lang/String;)V 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef F (Ljava/lang/CharSequence;)V % H
G I =(IILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V D K
L source dest term java/lang/NullPointerException Q term should not be null S % &
R U getTermID ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)I W X
Y (III)V D [
\ 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; addAnyTransition (II)V finish (I)V a b
c E()Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; a e
f Bcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition h
i ( initTransition H(ILcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)I k l
m getNextTransition G(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)V o p
q min s " i t max v " i w java/lang/IllegalStateException y ,automaton cannot lead with an ANY transition {
z U getNumStates ~ ;
O " i ? isAccept (I)Z ? ?
? +automaton cannot end with an ANY transition ? size ? ; ?
(
<
@ N " i ? (IIII)V D ?
? finishState ? '
? Bcom/groupbyinc/flux/common/apache/lucene/util/automaton/Operations ? determinize ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;I)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; ? ?
? ? removeDeadStates ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; ? ?
? ? ? i j count numStates termCount newAutomaton maxDeterminizedStates automaton t DLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition; createWeight z(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; java/io/IOException ? =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher ? getTopReaderContext E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; ? ?
? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? Acom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? getValue ? ? ? 3com/groupbyinc/flux/common/apache/lucene/index/Term ? M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V % ?
? ? :com/groupbyinc/flux/common/apache/lucene/index/TermContext ? build ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext; ? ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery;Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Ljava/util/Map;)V % ?
? ent bLjava/util/Map$Entry; Ljava/util/Map$Entry; i$ Ljava/util/Iterator; searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; needsScores context CLcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;
termStates `Ljava/util/Map; toString &(Ljava/lang/String;)Ljava/lang/String; java/lang/StringBuilder ?
? ( TermAutomatonQuery(field= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? numStates= ? (I)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ?
? ()Ljava/lang/String; ?
? sb Ljava/lang/StringBuilder; get &(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/Integer
valueOf (I)Ljava/lang/Integer;
deepCopyOf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
G intValue ;
id Ljava/lang/Integer; equals (Ljava/lang/Object;)Z please call finish first please call other.finish first
" " sameLanguage ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)Z%&
?' o Ljava/lang/Object; other hashCode, ;
- - toDot0
1 java/lang/String3
4- digraph Automaton {
6 rankdir = LR
8 & initial [shape=plaintext,label="0"]
: initial -> 0
< > [shape=doublecircle,label="@ "]
B [shape=circle,label="D # $ F java/lang/AssertionErrorH
I ( -> K [label="M utf8ToStringO
GP numTransitions b
access$000 U(Lcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery;)Ljava/util/Map; x0
access$100 X(Lcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery;)Ljava/lang/String;
access$200
access$300 G(Lcom/groupbyinc/flux/common/apache/lucene/search/TermAutomatonQuery;)I java/lang/Class] desiredAssertionStatus_ ?
^` Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
Exceptions
SourceFile InnerClasses ! b b ! " # $ % &