public static class QueryDslRepositorySupportExt.AttributeMappingBuilder extends Object
| Constructor and Description |
|---|
AttributeMappingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,com.querydsl.core.types.Path<?>[]> |
asMap()
Returns a
Map with the attribute mappings added to the factory. |
QueryDslRepositorySupportExt.AttributeMappingBuilder |
map(String attribute,
com.querydsl.core.types.Path<?>... realAttributes)
Adds a mapping between a virtual attribute and one or more
real ones.
|
public QueryDslRepositorySupportExt.AttributeMappingBuilder map(String attribute, com.querydsl.core.types.Path<?>... realAttributes)
fullName attribute,
you could map it to the entity name and surname
ones.attribute - the virtual attriberealAttributes - the list of real entity attributes to order by insteadCopyright © 2018 DISID Corporation. All rights reserved.