CavalliumDBEngine/src/main/java/it/cavallium/dbengine/lucene/searcher/BucketParams.java

10 lines
422 B
Java
Raw Normal View History

2021-11-18 17:13:53 +01:00
package it.cavallium.dbengine.lucene.searcher;
2021-11-19 19:03:31 +01:00
import it.cavallium.dbengine.lucene.collector.BucketValueSource;
import org.jetbrains.annotations.NotNull;
2021-11-19 22:15:31 +01:00
import org.jetbrains.annotations.Nullable;
2021-11-18 17:13:53 +01:00
public record BucketParams(double min, double max, int buckets, String bucketFieldName,
2022-01-18 14:16:32 +01:00
@NotNull BucketValueSource valueSource, @Nullable Integer collectionRate,
@Nullable Integer sampleSize) {}