Class NXYSignificanceHeuristic.NXYBuilder
java.lang.Object
org.elasticsearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.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
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description protected boolean
backgroundIsSuperset
protected boolean
includeNegatives
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
Constructors Constructor Description NXYBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
Method Summary
Modifier and Type Method Description protected void
build(org.elasticsearch.common.xcontent.XContentBuilder builder)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
includeNegatives
protected boolean includeNegatives -
backgroundIsSuperset
protected boolean backgroundIsSuperset
-
-
Constructor Details
-
NXYBuilder
public NXYBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
-
Method Details
-
build
protected void build(org.elasticsearch.common.xcontent.XContentBuilder builder) throws java.io.IOException- Throws:
java.io.IOException
-