Class NXYSignificanceHeuristic.NXYBuilder
java.lang.Object
org.elasticsearch.search.aggregations.bucket.significant.heuristics.NXYSignificanceHeuristic.NXYBuilder
- All Implemented Interfaces:
ToXContent
,ToXContentFragment
,SignificanceHeuristicBuilder
- Direct Known Subclasses:
ChiSquare.ChiSquareBuilder
,GND.GNDBuilder
,MutualInformation.MutualInformationBuilder
- Enclosing class:
- NXYSignificanceHeuristic
protected abstract static class NXYSignificanceHeuristic.NXYBuilder extends java.lang.Object implements SignificanceHeuristicBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description protected boolean
backgroundIsSuperset
protected boolean
includeNegatives
-
Constructor Summary
Constructors Constructor Description NXYBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
Method Summary
Modifier and Type Method Description protected void
build(XContentBuilder builder)
-
Field Details
-
includeNegatives
protected boolean includeNegatives -
backgroundIsSuperset
protected boolean backgroundIsSuperset
-
-
Constructor Details
-
NXYBuilder
public NXYBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
-
Method Details
-
build
- Throws:
java.io.IOException
-