Interface AliasedExpression

All Superinterfaces:
SelectExpression
All Known Subinterfaces:
AliasReference, BindValueExpression, LiteralExpression
All Known Implementing Classes:
Abs, AbstractAliasedExpression, AbstractColumnExpression, AliasReferenceImpl, Avg, BindValueExpressionImpl, Cast, Count, CurrentTimestamp, FunctionExpression, LiteralExpressionImpl, Lower, Max, Min, SelectColumn, Substring, Upper

public interface AliasedExpression extends SelectExpression
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Retrieves the alias of this expression.
    default @Nullable String
    Retrieves the source/parent table alias of this expression.

    Methods inherited from interface org.litebridge.db.spi.expression.SelectExpression

    toSql, toSql
  • Method Details

    • alias

      @Nullable String alias()
      Retrieves the alias of this expression.
      Returns:
      The optional alias.
    • tableAlias

      default @Nullable String tableAlias()
      Retrieves the source/parent table alias of this expression.
      Returns:
      the source/parent table alias of this expression