- MySQL Json
MySQL supports the native JSON data type since version 5.7.8. The native JSON data type allows you to store JSON documents more efficiently than the JSON text format in the previous versions. MySQL stores JSON documents in an internal format that allows quick read access to document elements. The…
- Java – Lambda Expression
1. What is a Lambda Expression? Imagine you need to give someone quick instructions. You could write a full manual with a title page, table of contents, and chapters — or you could just hand them a sticky note: “Sort these by price, lowest first.” A lambda expression is that sticky note. It is a […]
- Java – Stream
1. What is the Stream API? Imagine an assembly line in a factory. Raw materials enter at one end, pass through a series of workstations — each performing a specific operation like cutting, painting, or inspecting — and a finished product comes out the other end. The assembly line does not store the…
- Elasticsearch Sorting
By default, search results are returned sorted by relevance, with the most relevant docs first. Relevance Score The relevance score of each document is represented by a positive floating-point number called the _score. The higher the _score, the more relevant the document. A query clause generates…
- Python Advanced – Generators & Iterators
Introduction If you have ever tried to process a 10 GB log file by reading it entirely into memory, you already know why generators and iterators matter. They are Python’s answer to a fundamental problem: how do you work with sequences of data without materializing everything in memory at once? An…