use of jakarta.nosql.column.ColumnDeleteQueryParams in project jnosql-diana by eclipse.
the class BaseColumnRepository method getDeleteQuery.
protected ColumnDeleteQuery getDeleteQuery(Method method, Object[] args) {
DeleteMethodProvider deleteMethodFactory = DeleteMethodProvider.get();
DeleteQuery deleteQuery = deleteMethodFactory.apply(method, getClassMapping().getName());
ColumnDeleteQueryParams queryParams = DELETE_CONVERTER.apply(deleteQuery, getParser());
ColumnDeleteQuery query = queryParams.getQuery();
Params params = queryParams.getParams();
getParamsBinder().bind(params, args, method);
return query;
}
use of jakarta.nosql.column.ColumnDeleteQueryParams in project jnosql-diana by eclipse.
the class DeleteQueryParser method apply.
@Override
public ColumnDeleteQueryParams apply(DeleteQuery deleteQuery, ColumnObserverParser columnObserverParser) {
requireNonNull(deleteQuery, "deleteQuery is required");
requireNonNull(columnObserverParser, "columnObserverParser is required");
Params params = Params.newParams();
ColumnDeleteQuery query = getQuery(params, columnObserverParser, deleteQuery);
return new DefaultColumnDeleteQueryParams(query, params);
}
Aggregations