public static class SelectWithOffsetLimitCommand.Builder extends Object
SelectWithOffsetLimitCommand| Constructor and Description |
|---|
Builder(com.atlassian.config.db.HibernateConfig hibernateConfig) |
| Modifier and Type | Method and Description |
|---|---|
SelectWithOffsetLimitCommand.Builder |
arguments(Object... arguments)
Set the arguments to be substituted into the query.
|
SelectWithOffsetLimitCommand |
build()
Builds a
SelectWithOffsetLimitCommand |
SelectWithOffsetLimitCommand.Builder |
from(String fromClause)
Set the content of the "from" clause.
|
SelectWithOffsetLimitCommand.Builder |
groupBy(String groupByClause)
Set the content of the "group by" clause.
|
SelectWithOffsetLimitCommand.Builder |
having(String havingClause)
Set the content of the "having" clause.
|
SelectWithOffsetLimitCommand.Builder |
insertInto(String insertStatement)
Set the insert into statement resulting in an "insert into ...
|
SelectWithOffsetLimitCommand.Builder |
limit(long limit)
Set the maximum number of rows returned by the query.
|
SelectWithOffsetLimitCommand.Builder |
offset(long offset)
Set the offset of the results returned by the query.
|
SelectWithOffsetLimitCommand.Builder |
orderBy(String orderByClause)
Set the content of the "order by" clause.
|
SelectWithOffsetLimitCommand.Builder |
select(Iterable<String> selectColumns) |
SelectWithOffsetLimitCommand.Builder |
select(String... selectColumns)
Set the list of columns to select.
|
SelectWithOffsetLimitCommand.Builder |
where(String whereClause)
Set the content of the "where" clause.
|
public SelectWithOffsetLimitCommand.Builder insertInto(String insertStatement)
insertStatement - the insert string including the table name and optionally the columns without the
words "insert into"public SelectWithOffsetLimitCommand.Builder select(String... selectColumns)
select *selectColumns - a list of columns to selectpublic SelectWithOffsetLimitCommand.Builder select(Iterable<String> selectColumns)
select(String...)public SelectWithOffsetLimitCommand.Builder from(String fromClause)
fromClause - the from clause, without the word "from"IllegalArgumentException - if the from clause is blankpublic SelectWithOffsetLimitCommand.Builder where(String whereClause)
whereClause - the "where" clause, without the word "where"public SelectWithOffsetLimitCommand.Builder groupBy(String groupByClause)
groupByClause - the "group by" clause without the words "group by"public SelectWithOffsetLimitCommand.Builder having(String havingClause)
havingClause - the "having" clause, without the word "having"public SelectWithOffsetLimitCommand.Builder orderBy(String orderByClause)
orderByClause - the "order by" clause, without the words "order by"IllegalArgumentException - if the "order by" clause is blankpublic SelectWithOffsetLimitCommand.Builder offset(long offset)
offset - the numeric offset, starting at 0public SelectWithOffsetLimitCommand.Builder limit(long limit)
limit - the maximum number of rows to returnpublic SelectWithOffsetLimitCommand.Builder arguments(Object... arguments)
arguments - the argument listpublic SelectWithOffsetLimitCommand build()
SelectWithOffsetLimitCommandSelectWithOffsetLimitCommand with the specified fieldsIllegalArgumentException - if any required fields were not setCopyright © 2003–2022 Atlassian. All rights reserved.