class MetaDataClientRest extends DefaultClient implements MetaDataClient {

    @Override
    public JsonNode selectUnitsWithInheritedRules(JsonNode selectQuery)
        throws MetaDataDocumentSizeException, InvalidParseOperationException,
        MetaDataClientServerException, MetaDataExecutionException {
        try (Response response = make(get().withJson().withPath("/unitsWithInheritedRules")
            .withBody(selectQuery, SELECT_UNITS_QUERY_NULL.getMessage()))) {
            check(response);
            return response.readEntity(JsonNode.class);
        } catch (MetaDataNotFoundException | VitamClientInternalException e) {
            throw new MetaDataClientServerException(e);
        }
    }

    public  MetaDataClientRest(VitamClientFactoryInterface factory);

}