ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tang Qidong [Catalog Reconciliation(Transformer)] ­ <william.t...@coupang.com>
Subject Does Ignite support query and index the embedded object column?
Date Tue, 20 Dec 2016 06:32:20 GMT
Hi Ignite experts,


Does Ignite support to query and index the embedded object column?

For example, I have a POJO "Organization" with a embedded object "Address"
as a column.

Below is the simple code to demo my thought.

public class Organization  {
@QuerySqlField(index = true)
private Long id;

@QuerySqlField(index = true)
private String name;

@QuerySqlField(index = true)
private Address addr;
}

public class Address {
@QuerySqlField(index = true)
private String street;

@QuerySqlField(index = true)
private int zip;
}


Can I run a query similar as "select addr.street from Organization where
id= ? "?


Thanks,
William

Mime
View raw message