- java.lang.Object
-
- org.mybatis.dynamic.sql.select.SelectDSL<R>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SelectDSL.FetchFirstFinisher
class
SelectDSL.LimitFinisher
class
SelectDSL.OffsetFinisher
class
SelectDSL.OffsetFirstFinisher
class
SelectDSL.RowsOnlyFinisher
-
Method Summary
-
-
-
Method Detail
-
select
public static QueryExpressionDSL.FromGatherer<SelectModel> select(BasicColumn... selectList)
-
select
public static QueryExpressionDSL.FromGatherer<SelectModel> select(Collection<BasicColumn> selectList)
-
select
public static <R> QueryExpressionDSL.FromGatherer<R> select(Function<SelectModel,R> adapterFunction, BasicColumn... selectList)
-
select
public static <R> QueryExpressionDSL.FromGatherer<R> select(Function<SelectModel,R> adapterFunction, Collection<BasicColumn> selectList)
-
selectDistinct
public static QueryExpressionDSL.FromGatherer<SelectModel> selectDistinct(BasicColumn... selectList)
-
selectDistinct
public static QueryExpressionDSL.FromGatherer<SelectModel> selectDistinct(Collection<BasicColumn> selectList)
-
selectDistinct
public static <R> QueryExpressionDSL.FromGatherer<R> selectDistinct(Function<SelectModel,R> adapterFunction, BasicColumn... selectList)
-
selectDistinct
public static <R> QueryExpressionDSL.FromGatherer<R> selectDistinct(Function<SelectModel,R> adapterFunction, Collection<BasicColumn> selectList)
-
selectWithMapper
@Deprecated public static <T> QueryExpressionDSL.FromGatherer<MyBatis3SelectModelAdapter<T>> selectWithMapper(Function<SelectStatementProvider,T> mapperMethod, BasicColumn... selectList)
Deprecated.in favor of various select methods inMyBatis3Utils
. This method will be removed without direct replacement in a future versionSelect records by executing a MyBatis3 Mapper.- Type Parameters:
T
- the return type from a MyBatis mapper - typically a List or a single record- Parameters:
mapperMethod
- MyBatis3 mapper method that performs the selectselectList
- the column list to select- Returns:
- the partially created query
-
selectDistinctWithMapper
@Deprecated public static <T> QueryExpressionDSL.FromGatherer<MyBatis3SelectModelAdapter<T>> selectDistinctWithMapper(Function<SelectStatementProvider,T> mapperMethod, BasicColumn... selectList)
Deprecated.in favor of various select methods inMyBatis3Utils
. This method will be removed without direct replacement in a future versionSelect records by executing a MyBatis3 Mapper.- Type Parameters:
T
- the return type from a MyBatis mapper - typically a List or a single record- Parameters:
mapperMethod
- MyBatis3 mapper method that performs the selectselectList
- the column list to select- Returns:
- the partially created query
-
limit
public SelectDSL.LimitFinisher limit(long limit)
-
offset
public SelectDSL.OffsetFirstFinisher offset(long offset)
-
fetchFirst
public SelectDSL.FetchFirstFinisher fetchFirst(long fetchFirstRows)
-
-