Discover the new repository interfaces introduced in Spring Data 3.
Search Results for: sorting
Custom Constructor in Java Records
Learn how to create custom constructors for Java Records and the benefits they provide.
Java List Interface
Learn about the Java list interface, including core functions and concrete implementations.
Differences Between Spring Data JPA findFirst() and findTop()
Learn about the findFirst() and findTop() methods from Spring Data JPA.
Difference Between JPA and Spring Data JPA
Learn how Spring Data JPA and JPA both work with some high-level overviews and code snippets.
Guide to Java PriorityQueue
A quick and practical guide to Java’s PriorityQueue.
Choosing the Right Java Collection
Explore all collection interfaces and collection classes in the Java library.
Working with Tabular Data Using Tablesaw
Learn about the Tablesaw library.
Sort Collection of Objects by Multiple Fields in Java
Learn different approaches for sorting collections by comparing multiple fields.
Guide to Filters in MongoDB
Learn how to use Filters builders to perform filter operations on a MongoDB collection.
Gravity/Bead Sort in Java
Learn about the gravity sort (a.k.a. bead sort) algorithm and understand its single-threaded implementation in Java.
Patterns for Iterating Over Large Result Sets With Spring Data JPA
Learn various ways of iterating through large data sets retrieved with Spring Data JPA.
Sort a List Alphabetically in Java
Learn how to sort elements in Java collections.
Spark DataFrame
Spark’s DataFrame component is an essential part of its API. It represents data in a table like way so we can perform operations on it. We look at the Java Dataset type, which is used to interact with DataFrames and we see how to read data from a JSON file and write it to a database.
Java Weekly, Issue 426
Spring Data 3.0, avoiding stringly typed Kotlin, ID generation in JPA, dockershim removal, and quantum computing.
Java Weekly, Issue 424
ForkJoinPool and parallelism, Embeddable in Hibernate 6, Java annotations, AWS in IntelliJ, free K8S cluster, and ML meet BigQuery!
Get Last Inserted Document ID in MongoDB With Java Driver
Learn about MongoDB document IDs and how to retrieve the ID of a document we just inserted in a collection via a Java program.
Assert That an Object Is From a Specific Type
In this article, we’ll explore how we can verify that an object is of a specific type. We’ll be looking at different testing libraries and what methods they offer to assert the object type.
Using a Custom Class as a Key in a Java HashMap
Learn how to use custom classes as keys in Maps in Java.
Build a Dashboard With Cassandra, Astra and CQL – Mapping Event Data
Learn how to display events on an interactive map, based on data stored in an Astra database.