public static class Query.IdProjection extends Projection
A projection used to obtain the identifier of an object
Groovy Documentation