querydsl/src/main/java/com/mysema/query/Query.java
Timo Westkämper e5c5dcc798 updated
2008-02-24 16:52:51 +00:00

26 lines
705 B
Java

/*
* Copyright (c) 2008 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query;
import com.mysema.query.grammar.Types.ExprBoolean;
import com.mysema.query.grammar.Types.ExprEntity;
import com.mysema.query.grammar.Types.Expr;
import com.mysema.query.grammar.Types.OrderSpecifier;
/**
* Query provides a the query interface of the fluent query DSL
*
* @author tiwe
* @version $Id$
*/
public interface Query<A extends Query<A>>{
A select(Expr<?>... objects);
A from(ExprEntity<?>... objects);
A where(ExprBoolean... objects);
A groupBy(Expr<?>... objects);
A having(ExprBoolean... objects);
A orderBy(OrderSpecifier<?>... objects);
}