Interface SubqueryAttribute<X,​Y>

Type Parameters:
X - The type of the declaring entity view
Y - The type of attribute
All Superinterfaces:
Attribute<X,​Y>, SingularAttribute<X,​Y>

public interface SubqueryAttribute<X,​Y>
extends SingularAttribute<X,​Y>
Instances of the type SubqueryAttribute represents single-valued properties or fields.
Since:
1.0.0
Author:
Christian Beikov
  • Method Details

    • getSubqueryProviderFactory

      SubqueryProviderFactory getSubqueryProviderFactory()
      Returns the subquery provider factory of the attribute.
      Returns:
      The subquery provider factory of the attribute
      Since:
      1.4.0
    • getSubqueryProvider

      Class<? extends SubqueryProvider> getSubqueryProvider()
      Returns the subquery provider of the attribute.
      Returns:
      The subquery provider of the attribute
    • getSubqueryExpression

      String getSubqueryExpression()
      Returns the subquery expression of the attribute.
      Returns:
      The subquery expression of the attribute
    • getSubqueryAlias

      String getSubqueryAlias()
      Returns the subquery alias of the attribute.
      Returns:
      The subquery alias of the attribute
    • renderSubqueryExpression

      void renderSubqueryExpression​(String parent, ServiceProvider serviceProvider, StringBuilder sb)
      Renders the subquery expression for the given parent expression to the given string builder.
      Parameters:
      parent - The parent expression
      serviceProvider - The service provider
      sb - The string builder
      Since:
      1.5.0
    • renderSubqueryExpression

      void renderSubqueryExpression​(String parent, String subqueryExpression, String subqueryAlias, ServiceProvider serviceProvider, StringBuilder sb)
      Renders the given subquery expression for the given parent expression to the given string builder.
      Parameters:
      parent - The parent expression
      subqueryExpression - The subquery expression
      subqueryAlias - The subquery alias
      serviceProvider - The service provider
      sb - The string builder
      Since:
      1.5.0