@Override
    public LimitOffset<T1, T2, T3, T4> distinct() {
      return new Mapper4<>(query.withDistinct(true), session);
    }
Default implementation for various synchronous mappers
criteria/common/src/org/immutables/criteria/repository/sync/SyncMappers.java