If you don’t use SQL, Ignite is basically a key-value store. That is, if you 
don’t know the key you have to look at every record to see if it matches.

You can specify a filter on the ScanQuery:

ScanQuery<String,Integer> q = new ScanQuery<>((k,v) -> k.equals("Stephen"));

That wouldn’t be indexed, though. If you have a lot of records this isn’t going 
to be very efficient.

> On 31 Jan 2020, at 07:28, Tunas <siddharthkumar.par...@msci.com> wrote:
> 
> 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/


Reply via email to