Module org.elasticsearch.server
Class FetchSourcePhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchSourcePhase
- All Implemented Interfaces:
FetchSubPhase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProcessor(FetchContext fetchContext) Returns aFetchSubPhaseProcessorfor this sub phase.static BytesReferenceobjectToBytes(Object value, XContentType xContentType, int initialCapacity)
-
Constructor Details
-
FetchSourcePhase
public FetchSourcePhase()
-
-
Method Details
-
getProcessor
Description copied from interface:FetchSubPhaseReturns aFetchSubPhaseProcessorfor this sub phase. If nothing should be executed for the providedFetchContext, then the implementation should returnnull- Specified by:
getProcessorin interfaceFetchSubPhase
-
objectToBytes
public static BytesReference objectToBytes(Object value, XContentType xContentType, int initialCapacity) throws IOException - Throws:
IOException
-