Class SortImplementor


  • public final class SortImplementor
    extends Object
    • Constructor Detail

      • SortImplementor

        public SortImplementor()
    • Method Detail

      • getSort

        public io.quarkus.gizmo.ResultHandle getSort​(io.quarkus.gizmo.BytecodeCreator creator,
                                                     io.quarkus.gizmo.ResultHandle sortParams)
        Builds a Panache Sort instance based on the sort query parameters. Sort query parameters could be either separated by comma or given as separate instances, e.g. '?sort=name,-age&sort=age'. '-' sign before the field name indicates a descending order.
        Parameters:
        creator - Bytecode creator instance.
        sortParams - List of sort query strings
        Returns:
        Panache Sort instance