Package no.acntech.kollectiveq.jpql
Class JPQLTransformationSortingVisitor
-
- All Implemented Interfaces:
-
no.acntech.kollectiveq.SortingVisitor
public final class JPQLTransformationSortingVisitor implements SortingVisitor
Visitor that transforms a Sorting to a JPQL ORDER BY clause.
-
-
Constructor Summary
Constructors Constructor Description JPQLTransformationSortingVisitor(Function1<String, String> fieldTransformer, Set<String> legalFields)
-
Method Summary
Modifier and Type Method Description Unit
visitCriterion(Sorting.SortCriterion criterion)
final String
toSortingClause()
String
toString()
-
-
Method Detail
-
visitCriterion
Unit visitCriterion(Sorting.SortCriterion criterion)
-
toSortingClause
final String toSortingClause()
-
-
-
-