Class SelectReferenceImpl

All Implemented Interfaces:
ColumnExpression, SelectExpression

public class SelectReferenceImpl extends SelectReference
Implementation of SelectReference.
  • Constructor Details

    • SelectReferenceImpl

      public SelectReferenceImpl(Column column, ColumnIdentifierGenerator columnIdentifierGenerator)
      Creates a new SelectReferenceImpl.
      Parameters:
      column - The target selected column to reference.
      columnIdentifierGenerator - The column identifier generator to use.
  • Method Details

    • toSql

      public String toSql(Operation operation, ClauseType clause, @Nullable DelegateExpression parent)
      Description copied from interface: SelectExpression
      Creates a SQL representation of the expression, providing the immediate nesting/parent expression.
      Parameters:
      operation - the operation that is being executed
      clause - The current clause type being evaluated
      parent - The parent expression/nesting expression, or null if this is a top-level expression
      Returns:
      the SQL representation of the expression
    • toString

      public String toString()
      Overrides:
      toString in class Object