Package io.jmix.data.impl.jpql.generator
Class SortJpqlGenerator
java.lang.Object
io.jmix.data.impl.jpql.generator.SortJpqlGenerator
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected DbmsSpecificsprotected JpqlSortExpressionProviderprotected Metadataprotected MetadataToolsprotected QueryTransformerFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringgetDatatypePropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected Map<String,Sort.Direction> getEntityPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected StringgetLobPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected Map<String,Sort.Direction> getNotPersistentPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected Map<String,Sort.Direction> getPropertySortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected Map<String,Sort.Direction> getUniqueSortExpression(Map<String, Sort.Direction> sortExpressions, MetaClass metaClass, Sort.Direction direction) protected Map<String,Sort.Direction> getValuePropertySortExpression(String property, List<String> valueProperties, List<String> selectedExpressions, Sort.Direction sortDirection) protected booleansupportsLobSorting(MetaPropertyPath metaPropertyPath) protected StringtransformQuery(String queryString, Map<String, Sort.Direction> sortExpressions, Sort.Direction direction) 
- 
Field Details- 
metadata
- 
metadataTools
- 
queryTransformerFactory
- 
jpqlSortExpressionProvider
- 
dbmsSpecifics
 
- 
- 
Constructor Details- 
SortJpqlGeneratorpublic SortJpqlGenerator()
 
- 
- 
Method Details- 
processQuery
- 
getUniqueSortExpressionprotected Map<String,Sort.Direction> getUniqueSortExpression(Map<String, Sort.Direction> sortExpressions, MetaClass metaClass, Sort.Direction direction) 
- 
transformQueryprotected String transformQuery(String queryString, Map<String, Sort.Direction> sortExpressions, Sort.Direction direction) 
- 
getPropertySortExpressionsprotected Map<String,Sort.Direction> getPropertySortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) 
- 
getDatatypePropertySortExpressionprotected String getDatatypePropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) 
- 
getLobPropertySortExpression@Nullable protected String getLobPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) 
- 
getEntityPropertySortExpressionprotected Map<String,Sort.Direction> getEntityPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) 
- 
getNotPersistentPropertySortExpressionprotected Map<String,Sort.Direction> getNotPersistentPropertySortExpression(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) 
- 
getValuePropertySortExpressionprotected Map<String,Sort.Direction> getValuePropertySortExpression(String property, List<String> valueProperties, List<String> selectedExpressions, Sort.Direction sortDirection) 
- 
supportsLobSorting
 
-