Re: How does AffinityKey mapped?

2016-07-15 Thread vkulichenko
Hi, I tried to reproduce the issue, but it works fine for me. Do you have a small example that I can run and that will demonstrate the incorrect behavior? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260p6328.html Sent

Re: How does AffinityKey mapped?

2016-07-13 Thread November
.ProductTermCategory where OfferTerm.DTerm = ProductTermCategory.DTerm"); using (StreamWriter sw = new StreamWriter(output)) { foreach (var fields in offerTermCache.QueryFields(joinSql)) { sw.WriteLine("{0}\t{1}\t{2}\t{3}", fields[0], fields[1], fields[2], fields[3]);

Re: How does AffinityKey mapped?

2016-07-13 Thread vkulichenko
Correct! -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260p6291.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How does AffinityKey mapped?

2016-07-13 Thread November
hich node to store Employee. If orgCache, comCache's key have the same value with EmployeeKey.organizationId. Then all the three value will store in the same node. Because the partition function is the same to specify data type? -- View this message in context: http://apache-ignite-users.70518.x6.n

Re: How does AffinityKey mapped?

2016-07-13 Thread November
cLong ID_GEN = new AtomicLong(); /** Company ID (indexed). */ @QuerySqlField(index = true) private Long id; /** Company name (indexed). */ @QuerySqlField(index = true) private String name; } -- View this message in context: http://apache-ignite-users.70518.x6.n

Re: How does AffinityKey mapped?

2016-07-13 Thread Vladislav Pyatkov
e any other way to achieve collocate using > @AffinityKeyMapped? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260p6275.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Vladislav Pyatkov

Re: How does AffinityKey mapped?

2016-07-13 Thread November
_LV; } What if there are repeat DEV_LV in both tables(but the cache's key need to be unique) ? Is there any other way to achieve collocate using @AffinityKeyMapped? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260p6275.html Sent from the A

Re: How does AffinityKey mapped?

2016-07-13 Thread Andrey Gura
/** Type. */ > private OrganizationType type; > > /** Last update time. */ > private Timestamp lastUpdated; > > } > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Andrey Gura GridGain Systems, Inc. www.gridgain.com

How does AffinityKey mapped?

2016-07-13 Thread November
) private String name; /** Address. */ private Address addr; /** Type. */ private OrganizationType type; /** Last update time. */ private Timestamp lastUpdated; } -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey