According to  the plugin is no longer needed as it has been replaced in favor of a delete by query feature in the core. The link redirects me to the REST documentation which describes these features. However, there doesn't seem to be any Java class that allows me to build a DeleteByQueryRequest.
Looks like the following classes are missing:
Am I missing something?