Query on .map Mapsforge


I use Mapsforge to develop an application using openstreetmap data.
I want to execute a querry on .map file : for example: give me the elements on the card at this position (x, y).
I find the class MapDatabase and a function executeQuery but I dont understand how to use it …

How can I do that?

Thank you