Re: .Net ICacheEntryFilter

2018-03-21 Thread Alexey Popov
Hi, Can you share a simple reproducer project for [InstanceResource] within ICacheEntryFilter? I can't find unit tests for that case in Apache Ignite source code. > but the field _ignite is null and we have no access to cache to get it. That sounds like a bug that should be fixed. Thanks, Alex

Re: .Net ICacheEntryFilter

2018-03-13 Thread piccontroller
I see during filtration next callstack If we open UnmanagedCallbacks we will see next: I see the reference to _ignite instance are valid here but it is

Re: .Net ICacheEntryFilter

2018-03-12 Thread piccontroller
1.Yeah. You allright. We do not save the objects directly. All objects have ids and we save they ids and ids to refrenced objects. See below: public class CacheFieldProperty { public int Id { get; set; } public int FormId { get; set; }//id of form object ... other properties

Re: .Net ICacheEntryFilter

2018-03-12 Thread Stanislav Lukyanov
Hi, It seems to me that there are two questions in this post: 1) How to store cross-referencing data in an IgniteCache? 2) How to extract data from server based on some complex filter? First, on the cross-references. To store a reference to another entity, which is stored as a separate entry in t

.Net ICacheEntryFilter

2018-03-12 Thread piccontroller
There are some objects, in relation to one to many (for simplify). For example, there is a list with field descriptions (field type, range of possible values, etc.) and items of this list. It is necessary to somehow fold item correctly into the cache and get it from there when filtering on the ser