use of jakarta.nosql.document.DeleteQueryConverter in project jnosql-diana by eclipse.
the class BaseDocumentRepository method getDeleteQuery.
protected DocumentDeleteQuery getDeleteQuery(Method method, Object[] args) {
DeleteMethodProvider methodProvider = DeleteMethodProvider.get();
DeleteQuery deleteQuery = methodProvider.apply(method, getClassMapping().getName());
DeleteQueryConverter converter = ServiceLoaderProvider.get(DeleteQueryConverter.class);
DocumentDeleteQueryParams queryParams = converter.apply(deleteQuery, getParser());
DocumentDeleteQuery query = queryParams.getQuery();
Params params = queryParams.getParams();
getParamsBinder().bind(params, args, method);
return query;
}
Aggregations