Class DelegateColumnExpression

java.lang.Object
org.litebridgedb.db.spi.expression.ColumnExpressionImpl
org.litebridgedb.db.spi.expression.DelegateColumnExpression
All Implemented Interfaces:
ColumnExpression, DelegateExpression, SelectExpression
Direct Known Subclasses:
AliasedDelegateColumnExpression

public abstract class DelegateColumnExpression extends ColumnExpressionImpl implements DelegateExpression
Abstract base class for nesting query expressions such as SQL functions.

This class provides a foundation for creating SQL function expressions by encapsulating a Column and offering a method to access it. It is designed to be extended by concrete implementations to define specific behaviors and SQL representations.

Classes that extend ColumnExpression are expected to implement the toSql method from the SelectExpression interface.

  • Field Details

    • target

      protected final ColumnExpression target
      The encapsulated target column expression of this expression.
  • Constructor Details

    • DelegateColumnExpression

      protected DelegateColumnExpression(ColumnExpression target)
      Constructor.
      Parameters:
      target - The encapsulated target column expression for this expression.
  • Method Details