Class FetchFieldsPhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchFieldsPhase
- All Implemented Interfaces:
FetchSubPhase
public final class FetchFieldsPhase extends java.lang.Object implements FetchSubPhase
A fetch sub-phase for high-level field retrieval. Given a list of fields, it
retrieves the field values from _source and returns them as document fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext
-
Constructor Summary
Constructors Constructor Description FetchFieldsPhase()
-
Method Summary
Modifier and Type Method Description FetchSubPhaseProcessor
getProcessor(FetchContext fetchContext)
Returns aFetchSubPhaseProcessor
for this sub phase.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FetchFieldsPhase
public FetchFieldsPhase()
-
-
Method Details
-
getProcessor
Description copied from interface:FetchSubPhase
Returns aFetchSubPhaseProcessor
for this sub phase. If nothing should be executed for the providedFetchContext
, then the implementation should returnnull
- Specified by:
getProcessor
in interfaceFetchSubPhase
-