diff --git a/querydsl-core/src/main/java/com/mysema/query/Projectable.java b/querydsl-core/src/main/java/com/mysema/query/Projectable.java index 498b77deb..a57252090 100644 --- a/querydsl-core/src/main/java/com/mysema/query/Projectable.java +++ b/querydsl-core/src/main/java/com/mysema/query/Projectable.java @@ -41,6 +41,7 @@ public interface Projectable { * return the amount of distinct matched rows */ @Nonnegative + @Deprecated long countDistinct(); /** @@ -90,6 +91,7 @@ public interface Projectable { * @param rest * @return an Iterator over the projection */ + @Deprecated CloseableIterator iterateDistinct(Expression first, Expression second, Expression... rest); @@ -99,6 +101,7 @@ public interface Projectable { * @param args * @return */ + @Deprecated CloseableIterator iterateDistinct(Expression[] args); /** @@ -109,6 +112,7 @@ public interface Projectable { * @param projection * @return an Iterator over the projection */ + @Deprecated CloseableIterator iterateDistinct(Expression projection); /** @@ -157,6 +161,7 @@ public interface Projectable { * rest * @return a List over the projection */ + @Deprecated List listDistinct(Expression first, Expression second, Expression... rest); /** @@ -167,6 +172,7 @@ public interface Projectable { * @param args * @return */ + @Deprecated List listDistinct(Expression[] args); /** @@ -179,6 +185,7 @@ public interface Projectable { * @param projection * @return a List over the projection */ + @Deprecated List listDistinct(Expression projection); /** @@ -197,6 +204,7 @@ public interface Projectable { * @param projection * @return */ + @Deprecated SearchResults listDistinctResults(Expression projection); /**