Class FieldProjectionRequestContext
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.projection.impl.FieldProjectionRequestContext
-
- All Implemented Interfaces:
ProjectionRequestContext
public class FieldProjectionRequestContext extends Object implements ProjectionRequestContext
-
-
Constructor Summary
Constructors Constructor Description FieldProjectionRequestContext(ProjectionRequestRootContext root, String absoluteCurrentFieldPath, String[] absoluteCurrentFieldPathComponents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabsoluteCurrentFieldPath()voidcheckNotNested(SearchQueryElementTypeKey<?> projectionKey, String hint)voidcheckValidField(String absoluteFieldPath)ProjectionRequestContextforField(String absoluteFieldPath, String[] absoluteFieldPathComponents)String[]relativeCurrentFieldPathComponents()ProjectionRequestRootContextroot()
-
-
-
Constructor Detail
-
FieldProjectionRequestContext
public FieldProjectionRequestContext(ProjectionRequestRootContext root, String absoluteCurrentFieldPath, String[] absoluteCurrentFieldPathComponents)
-
-
Method Detail
-
checkValidField
public void checkValidField(String absoluteFieldPath)
- Specified by:
checkValidFieldin interfaceProjectionRequestContext
-
checkNotNested
public void checkNotNested(SearchQueryElementTypeKey<?> projectionKey, String hint)
- Specified by:
checkNotNestedin interfaceProjectionRequestContext
-
root
public ProjectionRequestRootContext root()
- Specified by:
rootin interfaceProjectionRequestContext
-
forField
public ProjectionRequestContext forField(String absoluteFieldPath, String[] absoluteFieldPathComponents)
- Specified by:
forFieldin interfaceProjectionRequestContext
-
absoluteCurrentFieldPath
public String absoluteCurrentFieldPath()
- Specified by:
absoluteCurrentFieldPathin interfaceProjectionRequestContext
-
relativeCurrentFieldPathComponents
public String[] relativeCurrentFieldPathComponents()
- Specified by:
relativeCurrentFieldPathComponentsin interfaceProjectionRequestContext
-
-