Module litebridge.db.spi
Interface ConnectionProviderExpression
- All Superinterfaces:
SelectExpression
- All Known Implementing Classes:
Subselect,SubselectExpression
A select expression in a SQL query that requires a
ConnectionProvider to render.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringNot supported.toSql(Operation operation, ConnectionProvider connectionProvider) Creates a SQL representation of the expression using the specified @{link ConnectionProvider}.
-
Method Details
-
toSql
Creates a SQL representation of the expression using the specified @{link ConnectionProvider}.- Parameters:
operation- the operation that is being executedconnectionProvider- the connection provider to use to generate SQL- Returns:
- the SQL representation of the expression
-
toSql
Not supported.This default implementation throws an
UnsupportedOperationException, indicating that a connection provider is required.- Specified by:
toSqlin interfaceSelectExpression- Parameters:
operation- the operation being executed to generate the SQL expression- Returns:
- the SQL representation of this expression
- Throws:
UnsupportedOperationException- since aConnectionProvideris required
-