Could you please tall me how to implement queries with java api?

I want to write a program to queries with java,and I see there is some java api.I just want to konw how can I start it?Are there some simple examples for me to learning?


Druid doesn’t have a Java API per say, the closest thing is the file.