Class KnnQueryProfileBreakdown.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<KnnQueryProfileBreakdown.Builder>
co.elastic.clients.elasticsearch.core.search.KnnQueryProfileBreakdown.Builder
- All Implemented Interfaces:
WithJson<KnnQueryProfileBreakdown.Builder>,ObjectBuilder<KnnQueryProfileBreakdown>
- Enclosing class:
- KnnQueryProfileBreakdown
public static class KnnQueryProfileBreakdown.Builder
extends WithJsonObjectBuilderBase<KnnQueryProfileBreakdown.Builder>
implements ObjectBuilder<KnnQueryProfileBreakdown>
Builder for
KnnQueryProfileBreakdown.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvance(long value) Required - API name:advanceadvanceCount(long value) Required - API name:advance_countbuild()Builds aKnnQueryProfileBreakdown.buildScorer(long value) Required - API name:build_scorerbuildScorerCount(long value) Required - API name:build_scorer_countcomputeMaxScore(long value) Required - API name:compute_max_scorecomputeMaxScoreCount(long value) Required - API name:compute_max_score_countcountWeight(long value) Required - API name:count_weightcountWeightCount(long value) Required - API name:count_weight_countcreateWeight(long value) Required - API name:create_weightcreateWeightCount(long value) Required - API name:create_weight_countmatch(long value) Required - API name:matchmatchCount(long value) Required - API name:match_countnextDoc(long value) Required - API name:next_docnextDocCount(long value) Required - API name:next_doc_countscore(long value) Required - API name:scorescoreCount(long value) Required - API name:score_countprotected KnnQueryProfileBreakdown.Builderself()setMinCompetitiveScore(long value) Required - API name:set_min_competitive_scoresetMinCompetitiveScoreCount(long value) Required - API name:set_min_competitive_score_countshallowAdvance(long value) Required - API name:shallow_advanceshallowAdvanceCount(long value) Required - API name:shallow_advance_countMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
advance
Required - API name:advance -
advanceCount
Required - API name:advance_count -
buildScorer
Required - API name:build_scorer -
buildScorerCount
Required - API name:build_scorer_count -
computeMaxScore
Required - API name:compute_max_score -
computeMaxScoreCount
Required - API name:compute_max_score_count -
countWeight
Required - API name:count_weight -
countWeightCount
Required - API name:count_weight_count -
createWeight
Required - API name:create_weight -
createWeightCount
Required - API name:create_weight_count -
match
Required - API name:match -
matchCount
Required - API name:match_count -
nextDoc
Required - API name:next_doc -
nextDocCount
Required - API name:next_doc_count -
score
Required - API name:score -
scoreCount
Required - API name:score_count -
setMinCompetitiveScore
Required - API name:set_min_competitive_score -
setMinCompetitiveScoreCount
Required - API name:set_min_competitive_score_count -
shallowAdvance
Required - API name:shallow_advance -
shallowAdvanceCount
Required - API name:shallow_advance_count -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<KnnQueryProfileBreakdown.Builder>
-
build
Builds aKnnQueryProfileBreakdown.- Specified by:
buildin interfaceObjectBuilder<KnnQueryProfileBreakdown>- Throws:
NullPointerException- if some of the required fields are null.
-