com.yelp.nrtsearch.server.grpc.CollectorOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib Show documentation
Show all versions of clientlib Show documentation
GRPC Clientlib for nrtSearch
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yelp/nrtsearch/search.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface CollectorOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.Collector)
com.google.protobuf.MessageOrBuilder {
/**
*
*Collector for aggregating based on term values.
*
*
* .luceneserver.TermsCollector terms = 1;
* @return Whether the terms field is set.
*/
boolean hasTerms();
/**
*
*Collector for aggregating based on term values.
*
*
* .luceneserver.TermsCollector terms = 1;
* @return The terms.
*/
com.yelp.nrtsearch.server.grpc.TermsCollector getTerms();
/**
*
*Collector for aggregating based on term values.
*
*
* .luceneserver.TermsCollector terms = 1;
*/
com.yelp.nrtsearch.server.grpc.TermsCollectorOrBuilder getTermsOrBuilder();
/**
* .luceneserver.PluginCollector pluginCollector = 2;
* @return Whether the pluginCollector field is set.
*/
boolean hasPluginCollector();
/**
* .luceneserver.PluginCollector pluginCollector = 2;
* @return The pluginCollector.
*/
com.yelp.nrtsearch.server.grpc.PluginCollector getPluginCollector();
/**
* .luceneserver.PluginCollector pluginCollector = 2;
*/
com.yelp.nrtsearch.server.grpc.PluginCollectorOrBuilder getPluginCollectorOrBuilder();
/**
*
*Collector for getting top hits based on score or sorting.
*
*
* .luceneserver.TopHitsCollector topHitsCollector = 4;
* @return Whether the topHitsCollector field is set.
*/
boolean hasTopHitsCollector();
/**
*
*Collector for getting top hits based on score or sorting.
*
*
* .luceneserver.TopHitsCollector topHitsCollector = 4;
* @return The topHitsCollector.
*/
com.yelp.nrtsearch.server.grpc.TopHitsCollector getTopHitsCollector();
/**
*
*Collector for getting top hits based on score or sorting.
*
*
* .luceneserver.TopHitsCollector topHitsCollector = 4;
*/
com.yelp.nrtsearch.server.grpc.TopHitsCollectorOrBuilder getTopHitsCollectorOrBuilder();
/**
*
*Collector that filters documents to nested collectors
*
*
* .luceneserver.FilterCollector filter = 5;
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
*
*Collector that filters documents to nested collectors
*
*
* .luceneserver.FilterCollector filter = 5;
* @return The filter.
*/
com.yelp.nrtsearch.server.grpc.FilterCollector getFilter();
/**
*
*Collector that filters documents to nested collectors
*
*
* .luceneserver.FilterCollector filter = 5;
*/
com.yelp.nrtsearch.server.grpc.FilterCollectorOrBuilder getFilterOrBuilder();
/**
*
*Collector for finding a max double value from collected documents.
*
*
* .luceneserver.MaxCollector max = 6;
* @return Whether the max field is set.
*/
boolean hasMax();
/**
*
*Collector for finding a max double value from collected documents.
*
*
* .luceneserver.MaxCollector max = 6;
* @return The max.
*/
com.yelp.nrtsearch.server.grpc.MaxCollector getMax();
/**
*
*Collector for finding a max double value from collected documents.
*
*
* .luceneserver.MaxCollector max = 6;
*/
com.yelp.nrtsearch.server.grpc.MaxCollectorOrBuilder getMaxOrBuilder();
/**
*
*Collector for finding a min double value from collected documents.
*
*
* .luceneserver.MinCollector min = 7;
* @return Whether the min field is set.
*/
boolean hasMin();
/**
*
*Collector for finding a min double value from collected documents.
*
*
* .luceneserver.MinCollector min = 7;
* @return The min.
*/
com.yelp.nrtsearch.server.grpc.MinCollector getMin();
/**
*
*Collector for finding a min double value from collected documents.
*
*
* .luceneserver.MinCollector min = 7;
*/
com.yelp.nrtsearch.server.grpc.MinCollectorOrBuilder getMinOrBuilder();
/**
*
*Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors.
*
*
* map<string, .luceneserver.Collector> nestedCollectors = 3;
*/
int getNestedCollectorsCount();
/**
*
*Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors.
*
*
* map<string, .luceneserver.Collector> nestedCollectors = 3;
*/
boolean containsNestedCollectors(
java.lang.String key);
/**
* Use {@link #getNestedCollectorsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getNestedCollectors();
/**
*
*Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors.
*
*
* map<string, .luceneserver.Collector> nestedCollectors = 3;
*/
java.util.Map
getNestedCollectorsMap();
/**
*
*Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors.
*
*
* map<string, .luceneserver.Collector> nestedCollectors = 3;
*/
/* nullable */
com.yelp.nrtsearch.server.grpc.Collector getNestedCollectorsOrDefault(
java.lang.String key,
/* nullable */
com.yelp.nrtsearch.server.grpc.Collector defaultValue);
/**
*
*Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors.
*
*
* map<string, .luceneserver.Collector> nestedCollectors = 3;
*/
com.yelp.nrtsearch.server.grpc.Collector getNestedCollectorsOrThrow(
java.lang.String key);
com.yelp.nrtsearch.server.grpc.Collector.CollectorsCase getCollectorsCase();
}