java.lang.Object
org.litebridge.db.spi.expression.ColumnExpressionImpl
org.litebridge.db.spi.expression.SelectReference
org.litebridge.db.spi.impl.function.SelectReferenceImpl
- All Implemented Interfaces:
ColumnExpression,SelectExpression
Implementation of
SelectReference.-
Field Summary
Fields inherited from class org.litebridge.db.spi.expression.ColumnExpressionImpl
column -
Constructor Summary
ConstructorsConstructorDescriptionSelectReferenceImpl(Column column, ColumnIdentifierGenerator columnIdentifierGenerator) Creates a newSelectReferenceImpl. -
Method Summary
Modifier and TypeMethodDescriptiontoSql(Operation operation, ClauseType clause, @Nullable DelegateExpression parent) Creates a SQL representation of the expression, providing the immediate nesting/parent expression.toString()Methods inherited from class org.litebridge.db.spi.expression.ColumnExpressionImpl
columnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.litebridge.db.spi.expression.SelectExpression
toSql
-
Constructor Details
-
SelectReferenceImpl
Creates a newSelectReferenceImpl.- Parameters:
column- The target selected column to reference.columnIdentifierGenerator- The column identifier generator to use.
-
-
Method Details
-
toSql
Description copied from interface:SelectExpressionCreates a SQL representation of the expression, providing the immediate nesting/parent expression.- Parameters:
operation- the operation that is being executedclause- The current clause type being evaluatedparent- The parent expression/nesting expression, ornullif this is a top-level expression- Returns:
- the SQL representation of the expression
-
toString
-