Package com.atlassian.bamboo.utils.db
Interface SqlQueryProvider
-
- All Known Implementing Classes:
AbstractOrphanedTestCaseProvider
,DeleteOrphanedTestCaseWithoutResultSummaryProvider
public interface SqlQueryProvider
Used to provide proper SQL query for a given database.- See Also:
DbmsBean.getQuery(SqlQueryProvider)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull String
getDefaultQuery()
default @NotNull String
getH2Query()
default @NotNull String
getMsSqlQuery()
default @NotNull String
getMySqlQuery()
default @NotNull String
getOracleQuery()
default @NotNull String
getPostgreSqlQuery()
-
-
-
Method Detail
-
getDefaultQuery
@NotNull @NotNull String getDefaultQuery()
- Returns:
- default SQL query
-
getH2Query
@NotNull default @NotNull String getH2Query()
- Returns:
- specialized/optimised SQL query for H2 engine
-
getMsSqlQuery
@NotNull default @NotNull String getMsSqlQuery()
- Returns:
- specialized/optimised SQL query for SQL Server engine
-
getMySqlQuery
@NotNull default @NotNull String getMySqlQuery()
- Returns:
- specialized/optimised SQL query for MySQL engine
-
getOracleQuery
@NotNull default @NotNull String getOracleQuery()
- Returns:
- specialized/optimised SQL query for Oracle engine
-
getPostgreSqlQuery
@NotNull default @NotNull String getPostgreSqlQuery()
- Returns:
- specialized/optimised SQL query for PostgreSQL engine
-
-