org.fingertip.simpledao.query.IDisposeCriteria Maven / Gradle / Ivy
The newest version!
package org.fingertip.simpledao.query;
import org.fingertip.simpledao.bean.Direction;
import org.fingertip.simpledao.bean.Order;
import java.util.List;
public interface IDisposeCriteria {
ICriteria order(String field,Direction direction);
ICriteria sort(Order...orders);
ICriteria sort(List orders);
ICriteria group(String... fieldNames);
ICriteria having(ICriteria... queries);
ICriteria from(String tableName);
ICriteria fields(String... fields);
ICriteria tables(String... tables);
ICriteria leftJoin(String table,ICriteria... queries);
ICriteria rightJoin(String table,ICriteria... queries);
ICriteria innerJoin(String table,ICriteria... queries);
ICriteria leftJoin(String table,JoinQuery joinQuery,ICriteria... queries);
ICriteria rightJoin(String table,JoinQuery joinQuery,ICriteria... queries);
ICriteria innerJoin(String table,JoinQuery joinQuery,ICriteria... queries);
}