com.github.rutledgepaulv.qbuilders.visitors.RSQLVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of q-builders Show documentation
Show all versions of q-builders Show documentation
A type-safe and database agnostic query building library.
The newest version!
/*
*
* * com.github.rutledgepaulv.qbuilders.visitors.RSQLVisitor
* * *
* * * 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.visitors;
import com.github.rutledgepaulv.qbuilders.nodes.AbstractNode;
import com.github.rutledgepaulv.qbuilders.nodes.AndNode;
import com.github.rutledgepaulv.qbuilders.nodes.ComparisonNode;
import com.github.rutledgepaulv.qbuilders.nodes.OrNode;
import com.github.rutledgepaulv.qbuilders.operators.ComparisonOperator;
import java.util.Objects;
import java.util.function.Function;
import static java.util.stream.Collectors.joining;
@SuppressWarnings("WeakerAccess")
public class RSQLVisitor extends AbstractVoidContextNodeVisitor {
private final Function