Package io.micronaut.data.model
@NullMarked
package io.micronaut.data.model
A shared model that is primarily used at compilation time, and on occasional at runtime.
- Since:
- 1.0.0
- Author:
- graemerocher
-
ClassDescriptionAbstract version of the
PersistentEntityinterface.A property that represents an association.Internal association utilities.CursoredPage<T>Inspired by the Jakarta'sCursoredPage, this models a type that supports pagination operations with cursors.Models a pageable request that uses a cursor.Enum of basic data types allowing to compile time computation which can then subsequently be used at runtime for fast switching.An embedded association.Enum of JSON data type representations or actually storage types.The query limit.The default implementation.Page<T>One page of query results: the records selected by a particularPageable(page number, page size and sort order), together with the total number of records matching the query, from which the total number of pages is calculated.Models pageable data.An interface for defining pagination cursors.The type of pagination: offset-based or currentCursor-based, which includes a direction.The association path representation.Shared interface for a persistent element whether it be a type or a property.Models a persistent entity and provides an API that can be used both within the compiler and at runtime.Persistent entity utils.Models a persistent property.The enum constant.The property path representation.Slice<T>A portion of query results: the records selected by a particularPageable(page number, page size and sort order).An interface for objects that can be sorted.The ordering of results.Represents the direction of the ordering.Represents where null values are placed relative to non-null values.