diff --git a/querydsl-core/src/main/java/com/mysema/query/Query.java b/querydsl-core/src/main/java/com/mysema/query/Query.java index a1cd52c90..3e6300cf1 100644 --- a/querydsl-core/src/main/java/com/mysema/query/Query.java +++ b/querydsl-core/src/main/java/com/mysema/query/Query.java @@ -5,11 +5,7 @@ */ package com.mysema.query; -import javax.annotation.Nonnegative; - import com.mysema.query.types.Expression; -import com.mysema.query.types.OrderSpecifier; -import com.mysema.query.types.ParamExpression; import com.mysema.query.types.Predicate; /** @@ -21,7 +17,7 @@ import com.mysema.query.types.Predicate; * @author tiwe * @see SimpleQuery */ -public interface Query> extends FilteredClause{ +public interface Query> extends SimpleQuery{ /** * Defines the grouping/aggregation expressions @@ -38,54 +34,5 @@ public interface Query> extends FilteredClause{ * @return */ Q having(Predicate... o); - - /** - * Defines the order expressions - * - * @param o - * @return - */ - Q orderBy(OrderSpecifier... o); - - /** - * Defines the limit / max results for the query results - * - * @param limit - * @return - */ - Q limit(@Nonnegative long limit); - - /** - * Defines the offset for the query results - * - * @param offset - * @return - */ - Q offset(@Nonnegative long offset); - - /** - * Defines both limit and offset of the query results - * - * @param mod - * @return - */ - Q restrict(QueryModifiers mod); - - /** - * Set the given parameter to the given value - * - * @param - * @param param - * @param value - * @return - */ - Q set(ParamExpression param, T value); - - /** - * Set the Query to return distinct results - * - * @return - */ - Q distinct(); - + }