Interface SQLExpression

All Superinterfaces:
SQLOrderItem, SQLSelectItem
All Known Subinterfaces:
IDBField, InternalDBField, SQLColumnRef, SQLCondition, SQLParameter

public interface SQLExpression extends SQLSelectItem, SQLOrderItem
A SQL value that can be projected, ordered, compared, or used in another expression.
Since:
4.15
Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String alias)
    Gives this expression a result-column alias for a SELECT projection.
  • Method Details

    • as

      default SQLSelectItem as(String alias)
      Gives this expression a result-column alias for a SELECT projection.
      Parameters:
      alias - the result label
      Returns:
      a projection item carrying this expression and its result label