Class AbstractSqlLikeQueryBuilder.QueryPropertyPath
- java.lang.Object
-
- io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryPropertyPath
-
- Enclosing class:
- AbstractSqlLikeQueryBuilder
protected class AbstractSqlLikeQueryBuilder.QueryPropertyPath extends java.lang.Object
Represents a path to a property.
-
-
Constructor Summary
Constructors Constructor Description QueryPropertyPath(@NotNull PersistentPropertyPath propertyPath, java.lang.String tableAlias)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Association>
getAssociations()
java.lang.String
getColumnName()
NamingStrategy
getNamingStrategy()
java.lang.String
getPath()
PersistentProperty
getProperty()
java.lang.String
getTableAlias()
boolean
shouldEscape()
-
-
-
Constructor Detail
-
QueryPropertyPath
public QueryPropertyPath(@NotNull @NotNull PersistentPropertyPath propertyPath, @Nullable java.lang.String tableAlias)
Default constructor.- Parameters:
propertyPath
- The propertyPathtableAlias
- The tableAlias
-
-
Method Detail
-
getAssociations
@NonNull public java.util.List<Association> getAssociations()
- Returns:
- The associations
-
getProperty
@NonNull public PersistentProperty getProperty()
- Returns:
- The property
-
getPath
@NonNull public java.lang.String getPath()
- Returns:
- The path
-
getTableAlias
@Nullable public java.lang.String getTableAlias()
- Returns:
- The path
-
getColumnName
public java.lang.String getColumnName()
- Returns:
- already escaped column name
-
getNamingStrategy
public NamingStrategy getNamingStrategy()
- Returns:
- the naming strategy
-
shouldEscape
public boolean shouldEscape()
- Returns:
- should escape
-
-