Annotation Type FilterAndSortAlias
-
@Retention(RUNTIME) @Target(FIELD) public @interface FilterAndSortAlias
Marker on a repository instance that allows
Sort
and RSQL filter requests to be targeted via an alias rather than the property itself. Example:@Document
public class SomeEntity {@FilterAndSortAlias("id")
String contextId; }This allows
Sort
and RSQL filter requests to key off ofid
in addition tocontextId
- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Element Detail
-
value
String[] value
-
-