Of course you can store result of recalculation in the temp variable if it's needed for next recalculation.
2016-05-27 18:34 GMT+03:00 Alexei Scherbakov <[email protected]>: > Hi, > > You can store cell dependencies as Ignite's data grid of > > IgniteCache<Cell, Cell> cells = ... > > where relation between key and value is interpreted like: value depends on > key. > > When the cell is updated you do the following: > > Cell cell = updated; > do { > recalculate(cell); > } while( (cell = cells.get(cell)) != null); > > Did it help ? > > > > > > 2016-05-27 16:49 GMT+03:00 pragmaticbigdata <[email protected]>: > >> Hello, >> >> I have started exploring apache ignite by following the introductory >> videos. >> It looks quite promising and I wanted to understand if it will be well >> suited for the use case I brief out below. If so, I would be glad to hear >> out on how could I approach it >> >> The use case is >> >> We are trying to implement cell level dependencies within multiple tables. >> It's similar to the functionality excel offers just that in our case it >> could span across multiple tables. Imagine multiple cells in an excel >> worksheet having interdependent formula's where updating a value in one >> cell >> causes another cell value to change and that cell update causes another >> cell >> value to update and so on and so forth. It is kind of graph of >> dependencies >> that determines what is the next row cell that needs to be updated. >> >> With apache ignite, what api's and data structures could I use to >> maintain a >> graph of inter-dependencies between multiple tables? Note that these would >> be metadata dependencies and not data. >> >> I would appreciate to get inputs on this. >> >> Thanks, >> Amit >> >> >> >> -- >> View this message in context: >> http://apache-ignite-users.70518.x6.nabble.com/Simulating-Graph-Dependencies-With-Ignite-tp5282.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > > > > -- > > Best regards, > Alexei Scherbakov > -- Best regards, Alexei Scherbakov
