java.lang.Object
org.litebridge.db.spi.expression.SubselectExpression
org.litebridge.db.spi.impl.function.Subselect
- All Implemented Interfaces:
ConnectionProviderExpression,SelectExpression
A subselect expression.
-
Field Summary
Fields inherited from class org.litebridge.db.spi.expression.SubselectExpression
subselect -
Constructor Summary
ConstructorsConstructorDescriptionSubselect(Select subselect, SelectSqlGenerator selectSqlGenerator) Creates a newSubselect. -
Method Summary
Modifier and TypeMethodDescriptiontoSql(Operation operation, ConnectionProvider connectionProvider) Creates a SQL representation of the expression using the specified @{link ConnectionProvider}.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridge.db.spi.expression.ConnectionProviderExpression
toSqlMethods inherited from interface org.litebridge.db.spi.expression.SelectExpression
toSql
-
Constructor Details
-
Subselect
Creates a newSubselect.- Parameters:
subselect- the subselect operationselectSqlGenerator- the select SQL generator
-
-
Method Details
-
toSql
Description copied from interface:ConnectionProviderExpressionCreates 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
-