Class QueryRunner<Res>
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.query.QueryRunner<Res>
-
public class QueryRunner<Res> extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryRunner(SQLRunnerEx runner, SQLItemFactory<Res> itemFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryRunner
addCondition(String whereCondition)
QueryRunner
addJoin(String fullJoinString)
QueryRunner
clearJoins()
List<Res>
getItems(Object... params)
String
getOrder()
void
processItems(ItemProcessor<Res> processor, Object... params)
QueryRunner
removeCondition(String whereCondition)
QueryRunner
setBaseQuery(String baseQuery)
QueryRunner
setOrder(String order)
QueryRunner
setQueryOptions(QueryOptions queryOptions)
-
-
-
Constructor Detail
-
QueryRunner
public QueryRunner(@NotNull SQLRunnerEx runner, @NotNull SQLItemFactory<Res> itemFactory)
-
-
Method Detail
-
setBaseQuery
@NotNull public QueryRunner setBaseQuery(@NotNull String baseQuery)
-
addCondition
@NotNull public QueryRunner addCondition(@NotNull String whereCondition)
-
removeCondition
@NotNull public QueryRunner removeCondition(@NotNull String whereCondition)
-
addJoin
@NotNull public QueryRunner addJoin(@NotNull String fullJoinString)
-
clearJoins
@NotNull public QueryRunner clearJoins()
-
setQueryOptions
@NotNull public QueryRunner setQueryOptions(@NotNull QueryOptions queryOptions)
-
setOrder
@NotNull public QueryRunner setOrder(@NotNull String order)
-
getOrder
public String getOrder()
-
processItems
public void processItems(@NotNull ItemProcessor<Res> processor, Object... params)
-
-