All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rutledgepaulv.qbuilders.builders.GeneralQueryBuilder Maven / Gradle / Ivy

/*
 *
 *  *  com.github.rutledgepaulv.qbuilders.builders.GeneralQueryBuilder
 *  *  *
 *  *  * 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.qbuilders.builders;

import com.github.rutledgepaulv.qbuilders.conditions.Condition;
import com.github.rutledgepaulv.qbuilders.nodes.ComparisonNode;

public class GeneralQueryBuilder extends QBuilder {

    public Condition passThrough(ComparisonNode node) {
        return condition(node.getField(), node.getOperator(), node.getValues());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy