mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
26 lines
705 B
Java
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);
|
|
} |