Class ColumnExpressionImpl

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

public abstract class ColumnExpressionImpl extends Object implements ColumnExpression
Abstract base class for column-specific SQL expressions.

This class provides a foundation for creating SQL column 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

    • column

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

    • ColumnExpressionImpl

      protected ColumnExpressionImpl(Column column)
      Constructor.
      Parameters:
      column - The target column for this expression.
  • Method Details