Class AbstractSqlLikeQueryBuilder2.QueryPropertyPath
java.lang.Object
io.micronaut.data.model.query.builder.sql.AbstractSqlLikeQueryBuilder2.QueryPropertyPath
- Enclosing class:
- AbstractSqlLikeQueryBuilder2
Represents a path to a property.
-
Constructor Summary
ConstructorDescriptionQueryPropertyPath
(@NonNull PersistentPropertyPath propertyPath, @Nullable String tableAlias) Default constructor. -
Method Summary
Modifier and TypeMethodDescription@NonNull List<Association>
@NonNull String
getPath()
@NonNull PersistentProperty
@Nullable String
boolean
-
Constructor Details
-
QueryPropertyPath
public QueryPropertyPath(@NonNull @NonNull PersistentPropertyPath propertyPath, @Nullable @Nullable String tableAlias) Default constructor.- Parameters:
propertyPath
- The propertyPathtableAlias
- The tableAlias
-
-
Method Details
-
getAssociations
- Returns:
- The associations
-
getProperty
- Returns:
- The property
-
getPath
- Returns:
- The path
-
getTableAlias
- Returns:
- The path
-
getColumnName
- Returns:
- already escaped column name
-
getNamingStrategy
- Returns:
- the naming strategy
-
shouldEscape
public boolean shouldEscape()- Returns:
- should escape
-
getPropertyPath
- Returns:
- the persistent property path
-