public abstract class FetchSubPhaseParseElement<SubPhaseContext extends FetchSubPhaseContext> extends Object implements SearchParseElement
FetchSubPhase
that is used when parsing a search request.Constructor and Description |
---|
FetchSubPhaseParseElement() |
Modifier and Type | Method and Description |
---|---|
protected abstract FetchSubPhase.ContextFactory<SubPhaseContext> |
getContextFactory()
Return the ContextFactory for this FetchSubPhase.
|
protected abstract void |
innerParse(XContentParser parser,
SubPhaseContext fetchSubPhaseContext,
SearchContext searchContext)
Implement the actual parsing here.
|
void |
parse(XContentParser parser,
SearchContext context) |
public final void parse(XContentParser parser, SearchContext context) throws Exception
parse
in interface SearchParseElement
Exception
protected abstract void innerParse(XContentParser parser, SubPhaseContext fetchSubPhaseContext, SearchContext searchContext) throws Exception
Exception
protected abstract FetchSubPhase.ContextFactory<SubPhaseContext> getContextFactory()
Copyright © 2009–2016. All rights reserved.