public abstract class FetchSubPhaseParseElement<SubPhaseContext extends FetchSubPhaseContext> extends java.lang.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 java.lang.Exception
parse
in interface SearchParseElement
java.lang.Exception
protected abstract void innerParse(XContentParser parser, SubPhaseContext fetchSubPhaseContext, SearchContext searchContext) throws java.lang.Exception
java.lang.Exception
protected abstract FetchSubPhase.ContextFactory<SubPhaseContext> getContextFactory()