public abstract class InnerHitContextBuilder
extends java.lang.Object
InnerHitsContext.InnerHitSubContext
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,InnerHitContextBuilder> |
children |
protected InnerHitBuilder |
innerHitBuilder |
protected QueryBuilder |
query |
Modifier | Constructor and Description |
---|---|
protected |
InnerHitContextBuilder(QueryBuilder query,
InnerHitBuilder innerHitBuilder,
java.util.Map<java.lang.String,InnerHitContextBuilder> children) |
Modifier and Type | Method and Description |
---|---|
abstract void |
build(SearchContext parentSearchContext,
InnerHitsContext innerHitsContext) |
static void |
extractInnerHits(QueryBuilder query,
java.util.Map<java.lang.String,InnerHitContextBuilder> innerHitBuilders) |
protected void |
setupInnerHitsContext(QueryShardContext queryShardContext,
InnerHitsContext.InnerHitSubContext innerHitsContext) |
protected final QueryBuilder query
protected final InnerHitBuilder innerHitBuilder
protected final java.util.Map<java.lang.String,InnerHitContextBuilder> children
protected InnerHitContextBuilder(QueryBuilder query, InnerHitBuilder innerHitBuilder, java.util.Map<java.lang.String,InnerHitContextBuilder> children)
public abstract void build(SearchContext parentSearchContext, InnerHitsContext innerHitsContext) throws java.io.IOException
java.io.IOException
public static void extractInnerHits(QueryBuilder query, java.util.Map<java.lang.String,InnerHitContextBuilder> innerHitBuilders)
protected void setupInnerHitsContext(QueryShardContext queryShardContext, InnerHitsContext.InnerHitSubContext innerHitsContext) throws java.io.IOException
java.io.IOException