11, మార్చి 2026, బుధవారం
dr PAGINATION JPA, JPQL,JSON PAGE TABLE , HATEOAS, MULTIPLE SORTING FIELDS , PAGE MODEL spring frame work, springboot ,AOP
Page Number: The current page being viewed (usually 0 or 1-indexed).
Page Size (Limit): The maximum number of items displayed per page.
Offset: The starting position in the total dataset from which to begin fetching records (calculated as page number * page size).
Metadata: Information returned with the page data, such as total pages, total elements, and links to next/previous pages, which helps with navigation
Types of Pagination
Offset Pagination (Page-based): The most common method, using page numbers and sizes. Easy to implement but can be inefficient for very deep pages in large datasets.
Cursor Pagination (Keyset/Seek-based): Uses a unique, sequential identifier (a "cursor" or "continuation token") from the last item of the current page to fetch the next batch of data. This is more efficient for very large or frequently updated datasets as it avoids the performance issues of large offsets, but it only allows sequential navigation.
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
AOP stands for Aspect-Oriented Programming in Java. It is a programming paradigm that complements Object-Oriented Programming (OOP) by allowing developers to modularize cross-cutting concerns—such as logging, security, or transaction management—separately from the main business logic, reducing code duplication and improving maintainability
దీనికి సబ్స్క్రయిబ్ చేయి:
కామెంట్లను పోస్ట్ చేయి (Atom)
కామెంట్లు లేవు:
కామెంట్ను పోస్ట్ చేయండి