
com.groupbyinc.flux.search.aggregations.bucket.geogrid.GeoHashGridAggregator.class Maven / Gradle / Ivy
???? 3 ? Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator @com/groupbyinc/flux/search/aggregations/bucket/BucketsAggregator GeoHashGridAggregator.java Zcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator$OrdinalBucket
OrdinalBucket Ncom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator$1 Wcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser$GeoGridFactory Hcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser
GeoGridFactory dcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser$GeoGridFactory$CellIdSource CellIdSource ^com/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid$BucketPriorityQueue Jcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid BucketPriorityQueue Qcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid$Bucket Bucket requiredSize I shardSize valuesSource fLcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser$GeoGridFactory$CellIdSource;
bucketOrds *Lcom/groupbyinc/flux/common/util/LongHash; $assertionsDisabled Z Q(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories;Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser$GeoGridFactory$CellIdSource;IILcom/groupbyinc/flux/search/aggregations/support/AggregationContext;Lcom/groupbyinc/flux/search/aggregations/Aggregator;Ljava/util/List;Ljava/util/Map;)V java/io/IOException & ?(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories;Lcom/groupbyinc/flux/search/aggregations/support/AggregationContext;Lcom/groupbyinc/flux/search/aggregations/Aggregator;Ljava/util/List;Ljava/util/Map;)V $ (
) + - / (com/groupbyinc/flux/common/util/LongHash 1 Bcom/groupbyinc/flux/search/aggregations/support/AggregationContext 3 bigArrays -()Lcom/groupbyinc/flux/common/util/BigArrays; 5 6
4 7 /(JLcom/groupbyinc/flux/common/util/BigArrays;)V $ 9
2 : ! < this NLcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator; name Ljava/lang/String; factories =Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories; aggregationContext DLcom/groupbyinc/flux/search/aggregations/support/AggregationContext; parent 4Lcom/groupbyinc/flux/search/aggregations/Aggregator; pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; needsScores ()Z N O
P
P getLeafCollector ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;)Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;
longValues ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/index/SortedNumericDocValues; U V
W$(Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;Ljava/lang/Object;Lcom/groupbyinc/flux/common/apache/lucene/index/SortedNumericDocValues;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;)V $ Y
Z ctx BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; sub =Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; values GLcom/groupbyinc/flux/common/apache/lucene/index/SortedNumericDocValues; buildAggregation O(J)Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid; " # d java/lang/AssertionError f ()V $ h
g i size ()J k l
2 m java/lang/Math o min (JJ)J q r
p s (I)V $ u
v
i get (J)J y z
2 {
geohashAsLong J } ~ bucketDocCount (J)I ? ?
? docCount ? ~ ? bucketOrd ? ~ ? insertWithOverflow &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ()I k ?
? T[Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid$Bucket; ? pop ()Ljava/lang/Object; ? ?
? bucketAggregations A(J)Lcom/groupbyinc/flux/search/aggregations/InternalAggregations; ? ?
? aggregations >Lcom/groupbyinc/flux/search/aggregations/InternalAggregations; ? ? ? @ A ? java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? ()Ljava/util/List; H ?
? ()Ljava/util/Map; K ?
? K(Ljava/lang/String;ILjava/util/Collection;Ljava/util/List;Ljava/util/Map;)V $ ?
? i bucket \Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator$OrdinalBucket; owningBucketOrdinal ordered `Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid$BucketPriorityQueue; spare list buildEmptyAggregation N()Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/InternalGeoHashGrid; java/util/Collections ? emptyList ? ?
? ? doClose +com/groupbyinc/flux/common/lease/Releasable ? ,com/groupbyinc/flux/common/lease/Releasables ? close 1([Lcom/groupbyinc/flux/common/lease/Releasable;)V ? ?
? ? ?()Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; ? ?
? @(J)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; b c
?
access$000 z(Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridAggregator;)Lcom/groupbyinc/flux/common/util/LongHash; x0 java/lang/Class ? desiredAssertionStatus ? O
? ? Code LocalVariableTable LocalVariableTypeTable LineNumberTable
Exceptions Signature?(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories;Lcom/groupbyinc/flux/search/aggregations/bucket/geogrid/GeoHashGridParser$GeoGridFactory$CellIdSource;IILcom/groupbyinc/flux/search/aggregations/support/AggregationContext;Lcom/groupbyinc/flux/search/aggregations/Aggregator;Ljava/util/List;Ljava/util/Map;)V
StackMapTable
SourceFile InnerClasses ! ! " #
$ % ? ?
1*+, ? **-? ,*? .*? 0*? 2Y
? 8? ;? =? ? f
1 > ? 1 @ A 1 B C 1 1 1 1 D E 1 F G 1 H J 1 K M ? 1 H I 1 K L ? 7 8 9 : ; 0 <