How to query firebase database for contains clause
<p>I want to query firebase database with name contains the search text, In Android.
My database structure is shown in image.</p>

<p><a href="https://i.stack.imgur.com/Of6cx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Of6cx.png" alt="enter image description here"></a></p>

<p>I want to query first name and last name and get limited records in result.</p>