com.atlassian.bamboo.utils.db
Interface SqlQueryProvider

All Known Implementing Classes:
AbstractSqlQueryProvider

public interface SqlQueryProvider

Used to provide proper SQL query for a given database.

See Also:
DbmsBean.getQuery(SqlQueryProvider)

Method Summary
 java.lang.String getDefaultQuery()
           
 java.lang.String getHsqlQuery()
           
 java.lang.String getMsSqlQuery()
           
 java.lang.String getMySqlQuery()
           
 java.lang.String getOracleQuery()
           
 java.lang.String getPostgreSqlQuery()
           
 

Method Detail

getDefaultQuery

@NotNull
java.lang.String getDefaultQuery()
Returns:
default SQL query

getHsqlQuery

@NotNull
java.lang.String getHsqlQuery()
Returns:
specialized/optimised SQL query for HSQL engine

getMsSqlQuery

@NotNull
java.lang.String getMsSqlQuery()
Returns:
specialized/optimised SQL query for SQL Server engine

getMySqlQuery

@NotNull
java.lang.String getMySqlQuery()
Returns:
specialized/optimised SQL query for MySQL engine

getOracleQuery

@NotNull
java.lang.String getOracleQuery()
Returns:
specialized/optimised SQL query for Oracle engine

getPostgreSqlQuery

@NotNull
java.lang.String getPostgreSqlQuery()
Returns:
specialized/optimised SQL query for PostgreSQL engine


Copyright © 2012 Atlassian. All Rights Reserved.