hey Guys,
I have a question about Ignite Sql Queries. Let say my cache looks like
below sample code. If I add orderBy clause on subjectMarksList, how will it
sort it. Compare values in list by index or how. I coudn't find anything in
docs.
Cache<Long, Student>
class Student{
int id;
String name;
List<Double> subjectMarksList;
....
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Student that = (Student) o;
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(subjectMarksList, that.subjectMarksList);
.... hashcode()....
}
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-SQL-Queries-on-Lists-fields-sorting-tp14129.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.