QuerySortByField

Implementation of QuerySorter for fields that implements ComparableFieldProvider. This QuerySorter doesn't use reflection and it's more performant than QuerySortByReflection.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Inherited properties

Link copied to clipboard
open override val comparator: Comparator<in T>

Comparator class that will be generator by the sort specifications.

Link copied to clipboard

Sort specifications that compose this QuerySorter

Functions

Link copied to clipboard
fun asc(fieldName: String): QuerySortByField<T>
Link copied to clipboard
Link copied to clipboard
fun desc(fieldName: String): QuerySortByField<T>

Inherited functions

Link copied to clipboard

Creates a QuerySortByField using the name of field in the direction ASC.

Link copied to clipboard

Creates a QuerySortByField using the name of field in the direction DESC.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toDto(): List<Map<String, Any>>
Link copied to clipboard
open override fun toString(): String