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
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessor
(FetchContext fetchContext) Returns aFetchSubPhaseProcessor
for this sub phase.static BytesReference
objectToBytes
(Object value, XContentType xContentType, int initialCapacity)
-
Constructor Details
-
FetchSourcePhase
public FetchSourcePhase()
-
-
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
-
objectToBytes
public static BytesReference objectToBytes(Object value, XContentType xContentType, int initialCapacity) throws IOException - Throws:
IOException
-