com.groupbyinc.flux.search.aggregations.bucket.terms.IncludeExclude.class Maven / Gradle / Ivy
???? 4> Ccom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable 6com/groupbyinc/flux/common/xcontent/ToXContentFragment IncludeExclude.java Ecom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$1
Rcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$DocValuesTerms DocValuesTerms `com/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$TermListBackedOrdinalsFilter TermListBackedOrdinalsFilter acom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$AutomatonBackedOrdinalsFilter AutomatonBackedOrdinalsFilter ]com/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$PartitionedOrdinalsFilter PartitionedOrdinalsFilter Rcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$OrdinalsFilter OrdinalsFilter ^com/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$TermListBackedStringFilter TermListBackedStringFilter _com/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$AutomatonBackedStringFilter AutomatonBackedStringFilter [com/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$PartitionedStringFilter ! PartitionedStringFilter Pcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$StringFilter $ StringFilter Wcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$SetBackedLongFilter ' SetBackedLongFilter Ycom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$PartitionedLongFilter * PartitionedLongFilter Ncom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$LongFilter -
LongFilter 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 0 2com/groupbyinc/flux/common/xcontent/XContentParser 2 Token 5com/groupbyinc/flux/common/xcontent/ToXContent$Params 5 .com/groupbyinc/flux/common/xcontent/ToXContent 7 Params
INCLUDE_FIELD 'Lcom/groupbyinc/flux/common/ParseField;
EXCLUDE_FIELD PARTITION_FIELD NUM_PARTITIONS_FIELD HASH_PARTITIONING_SEED I include @Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/RegExp; exclude
includeValues Ljava/util/SortedSet; OLjava/util/SortedSet;
excludeValues incZeroBasedPartition incNumPartitions merge ?(Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude;Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude; isPartitionBased ()Z M N
O "java/lang/IllegalArgumentException Q @Cannot specify any excludes when using a partition-based include S (Ljava/lang/String;)V U V
R W isRegexBased Y N
Z regex \ set ^ java/lang/String ` equals (Ljava/lang/Object;)Z b c
a d java/lang/StringBuilder f ()V U h
g i
Cannot mix a k append -(Ljava/lang/String;)Ljava/lang/StringBuilder; m n
g o -based include with a q
-based method s toString ()Ljava/lang/String; u v
g w B C y D C { ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/RegExp;Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/RegExp;)V U }
~ E F ? H F ? -(Ljava/util/SortedSet;Ljava/util/SortedSet;)V U ?
? ELcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude;
includeMethod Ljava/lang/String;
excludeMethod parseInclude {(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude; java/io/IOException ? currentToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? 3 ? VALUE_STRING :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? 1 ? text ? v 3 ? '(Ljava/lang/String;Ljava/lang/String;)V U ?
? START_ARRAY ? ? 1 ? java/util/TreeSet ? parseArrayToSet E(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Set; ? ?
? (Ljava/util/Collection;)V U ?
? ? START_OBJECT ? ? 1 ? java/lang/Integer ? nextToken ? ? 3 ?
END_OBJECT ? ? 1 ?
FIELD_NAME ? ? 1 ? currentName ? v 3 ? > ; ? %com/groupbyinc/flux/common/ParseField ? match (Ljava/lang/String;)Z ? ?
? ? intValue ()I ? ? 3 ? valueOf (I)Ljava/lang/Integer; ? ?
? ? = ; ? /com/groupbyinc/flux/ElasticsearchParseException ? -Unknown parameter in Include/Exclude clause: ? ((Ljava/lang/String;[Ljava/lang/Object;)V U ?
? ? Missing [ ? getPreferredName ? v
? ? '] parameter for partition-based include ?
? ? (II)V U ?
? #Unrecognized token for an include [ ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; m ?
g ? ] ? currentFieldName partition Ljava/lang/Integer;
numPartitions parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token parseExclude #Unrecognized token for an exclude [ ?
i
R i >com/groupbyinc/flux/common/apache/lucene/util/automaton/RegExp ? I @ ? J @ ? this
? W java/util/SortedSet ? )([Ljava/lang/String;[Ljava/lang/String;)V convertToBytesRefSet *([Ljava/lang/String;)Ljava/util/SortedSet; ? ?
? [Ljava/lang/String; ([D[D)V ([D)Ljava/util/SortedSet; ?
[D ([J[J)V ([J)Ljava/util/SortedSet; ?
[J 2Partition must be >=0 and < numPartition which is (I)Ljava/lang/StringBuilder; m
g 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V 0com/groupbyinc/flux/common/io/stream/StreamInput readBoolean N
readOptionalString v
readVInt ?
? i readBytesRef :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
add! c ?"
getVersion ()Lcom/groupbyinc/flux/Version;$%
& com/groupbyinc/flux/Version( V_5_2_0 Lcom/groupbyinc/flux/Version;*+ ), onOrAfter (Lcom/groupbyinc/flux/Version;)Z./
)0
includeString
excludeString i size in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput: writeBoolean (Z)V<=
;> getOriginalString@ v
?A writeOptionalStringC V
;D5 ? ?F writeVInt (I)VHI
;J iterator ()Ljava/util/Iterator;LM ?N java/util/IteratorP hasNextR NQS next ()Ljava/lang/Object;UVQW 6com/groupbyinc/flux/common/apache/lucene/util/BytesRefY
writeBytesRef ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V[\
;]
;& value 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; hasIncludes Z hasExcludes out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
regexBased (Ljava/lang/CharSequence;)V Ui
Zj values returnSet (D)Ljava/lang/String; ?o
ap D
(J)Ljava/lang/String; ?t
au J java/util/HashSetx
y i 0Missing start of array in include/exclude clause{
java/util/Set} END_ARRAY ? 1? isValue? N
1? AArray elements in include/exclude clauses should be string values?~" ILjava/util/Set; Ljava/util/Set; toAutomaton E()Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;??
?? Acom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton? @com/groupbyinc/flux/common/apache/lucene/util/automaton/Automata? makeStringUnion [(Ljava/util/Collection;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;??
??
makeAnyString??
?? Bcom/groupbyinc/flux/common/apache/lucene/util/automaton/Operations? minus ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;I)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;??
?? a CLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; convertToStringFilter (Lcom/groupbyinc/flux/search/DocValueFormat;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$StringFilter;
? ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$1;)V U?
? H(Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude;)V U?
"? parseForDocValues W(Ljava/util/SortedSet;Lcom/groupbyinc/flux/search/DocValueFormat;)Ljava/util/SortedSet;??
? !(Ljava/util/Set;Ljava/util/Set;)V U?
? format +Lcom/groupbyinc/flux/search/DocValueFormat; )com/groupbyinc/flux/search/DocValueFormat? RAW?? ?? utf8ToString? v
Z?
parseBytesRef L(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;???? formattedVal endUserFormattedValues result convertToOrdinalsFilter ?(Lcom/groupbyinc/flux/search/DocValueFormat;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$OrdinalsFilter;
?
?
? convertToLongFilter }(Lcom/groupbyinc/flux/search/DocValueFormat;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$LongFilter;
+? L(IILcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$1;)V U?
(? parseLong 7(Ljava/lang/String;ZLjava/util/function/LongSupplier;)J????
access$500 ](Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$SetBackedLongFilter;J)V??
(?
access$600??
(? val numValids numInvalids YLcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$SetBackedLongFilter; convertToDoubleFilter R()Lcom/groupbyinc/flux/search/aggregations/bucket/terms/IncludeExclude$LongFilter; java/lang/Double? parseDouble (Ljava/lang/String;)D??
?? :com/groupbyinc/flux/common/apache/lucene/util/NumericUtils? doubleToSortableLong (D)J??
?? dval
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; : ; ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??`?
?? endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? startObject??
? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
? endObject?
? <