Hello! If you like, you can use meaningful bits from the first two characters of your key to form a partition id. You will need to inherit from RendezvousAffinityFunction to do that.
In this case, you can just scan one partition (out of e.g. 1024). However, this may pose a problem if data is not distributed evenly between such partitions: some nodes will be virtually empty while other nodes will be quickly overwhelmed. Regards, -- Ilya Kasnacheev пт, 31 янв. 2020 г. в 10:28, Tunas <[email protected]>: > Sorry, I have not provided full information or not able to understand your > answer as i am newbie. > > I am storing my keys and values as string. > For e.g. Key "ABC"+"id" value : serialized object in string form. > > My objects/entities has no sql attributed like "QuerySqlField" and its not > possible (not a requirement) for me to annotate each properties of all > entities. > > I was using ScanQuery operator to get all data from cache > .......ScanQuery<string, string>(null)).GetAll() > > so my questions is how can i do wild card search for key 'ABC*' ? Is there > any operator like scanQuery or is there any way without using SQL query. > > Thanks. > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
