Class FetchSourceFilter
java.lang.Object
org.springframework.data.elasticsearch.core.query.FetchSourceFilter
- All Implemented Interfaces:
SourceFilter
SourceFilter implementation for providing includes and excludes.
- Author:
- Jon Tsiros, Peter-Josef Meisch
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FetchSourceFilter
-
-
Method Details
-
getIncludes
- Specified by:
getIncludes
in interfaceSourceFilter
- Returns:
- the name of the fields to include in a response.
-
getExcludes
- Specified by:
getExcludes
in interfaceSourceFilter
- Returns:
- the names of the fields to exclude from a response.
-