Class AbstractSqlLikeQueryBuilder.QueryPropertyPath

java.lang.Object
io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryPropertyPath
Enclosing class:
AbstractSqlLikeQueryBuilder

protected class AbstractSqlLikeQueryBuilder.QueryPropertyPath extends Object
Represents a path to a property.
  • Constructor Details

    • QueryPropertyPath

      public QueryPropertyPath(@NonNull @NonNull PersistentPropertyPath propertyPath, @Nullable @Nullable String tableAlias)
      Default constructor.
      Parameters:
      propertyPath - The propertyPath
      tableAlias - The tableAlias
  • Method Details

    • getAssociations

      @NonNull public @NonNull List<Association> getAssociations()
      Returns:
      The associations
    • getProperty

      @NonNull public @NonNull PersistentProperty getProperty()
      Returns:
      The property
    • getPath

      @NonNull public @NonNull String getPath()
      Returns:
      The path
    • getTableAlias

      @Nullable public @Nullable String getTableAlias()
      Returns:
      The path
    • getColumnName

      public String getColumnName()
      Returns:
      already escaped column name
    • getNamingStrategy

      public NamingStrategy getNamingStrategy()
      Returns:
      the naming strategy
    • shouldEscape

      public boolean shouldEscape()
      Returns:
      should escape
    • getPropertyPath

      public PersistentPropertyPath getPropertyPath()
      Returns:
      the persistent property path