Class SourceFieldsContext
- java.lang.Object
-
- com.floragunn.searchguard.support.SourceFieldsContext
-
- All Implemented Interfaces:
Serializable
public class SourceFieldsContext extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SourceFieldsContext()SourceFieldsContext(org.elasticsearch.action.get.GetRequest request)SourceFieldsContext(org.elasticsearch.action.search.SearchRequest request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getExcludes()String[]getIncludes()booleanhasIncludesOrExcludes()booleanisFetchSource()static booleanisNeeded(org.elasticsearch.action.get.GetRequest request)static booleanisNeeded(org.elasticsearch.action.search.SearchRequest request)StringtoString()
-
-
-
Method Detail
-
isNeeded
public static boolean isNeeded(org.elasticsearch.action.search.SearchRequest request)
-
isNeeded
public static boolean isNeeded(org.elasticsearch.action.get.GetRequest request)
-
getIncludes
public String[] getIncludes()
-
getExcludes
public String[] getExcludes()
-
hasIncludesOrExcludes
public boolean hasIncludesOrExcludes()
-
isFetchSource
public boolean isFetchSource()
-
-