Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Java equivalent for LINQ? [closed]

Tags:

java

linq

What is Java equivalent for LINQ?

like image 471
Ahmed Atia Avatar asked Aug 01 '09 18:08

Ahmed Atia


People also ask

Does Java have anything like LINQ?

In . NET, an easy way for you to simplify querying datasets is LINQ. Java doesn't have this, but since the introduction of Java 8 in 2014, you do now have the possibility to use "streams". Both LINQ and streams are ways to simplify querying datasets and to provide developers with an easy API to use.

Can we use LINQ in Javascript?

LINQ in Javascript is a great simple tool for manipulating data collections in javascript. You can easily transform, sort, select and combine data collections using javascript commands in react, angular, etc.

Is LINQ for C# only?

LINQ (Language Integrated Query) is uniform query syntax in C# and VB.NET to retrieve data from different sources and formats. It is integrated in C# or VB, thereby eliminating the mismatch between programming languages and databases, as well as providing a single querying interface for different types of data sources.

Is LINQ to SQL still used?

LINQ to SQL was the first object-relational mapping technology released by Microsoft. It works well in basic scenarios and continues to be supported in Visual Studio, but it's no longer under active development.


1 Answers

There is nothing like LINQ for Java.

...

Edit

Now with Java 8 we are introduced to the Stream API, this is a similar kind of thing when dealing with collections, but it is not quite the same as Linq.

If it is an ORM you are looking for, like Entity Framework, then you can try Hibernate

:-)

like image 53
AgileJon Avatar answered Oct 06 '22 04:10

AgileJon