
com.github.rutledgepaulv.rqe.pipes.DefaultQueryBuildingPipe Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-query-engine Show documentation
Show all versions of rest-query-engine Show documentation
A library for parsing rsql queries into database queries for a REST API.
The newest version!
/*
* com.github.rutledgepaulv.rqe.pipes.DefaultQueryBuildingPipe
* *
* * Copyright (C) 2016 Paul Rutledge
* *
* * This software may be modified and distributed under the terms
* * of the MIT license. See the LICENSE file for details.
*
*/
package com.github.rutledgepaulv.rqe.pipes;
import com.github.rutledgepaulv.qbuilders.builders.GeneralQueryBuilder;
import com.github.rutledgepaulv.qbuilders.conditions.Condition;
import com.github.rutledgepaulv.qbuilders.nodes.AbstractNode;
import com.github.rutledgepaulv.rqe.adapters.TreeToConditionAdapter;
import java.util.function.Function;
public class DefaultQueryBuildingPipe implements Function> {
@Override
public Condition apply(AbstractNode abstractNode) {
return new TreeToConditionAdapter().apply(abstractNode);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy