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 SearchParseElementExceptionprotected abstract void innerParse(XContentParser parser, SubPhaseContext fetchSubPhaseContext, SearchContext searchContext) throws Exception
Exceptionprotected abstract FetchSubPhase.ContextFactory<SubPhaseContext> getContextFactory()
Copyright © 2009–2017. All rights reserved.