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

org.vertexium.cypher.ast.model.CypherUnion Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.cypher.ast.model;

import java.util.stream.Stream;

public class CypherUnion extends CypherAstBase {
    private final CypherQuery left;
    private final CypherAstBase right;
    private final boolean all;

    public CypherUnion(CypherQuery left, CypherAstBase right, boolean all) {
        this.left = left;
        this.right = right;
        this.all = all;
    }

    public CypherQuery getLeft() {
        return left;
    }

    public CypherAstBase getRight() {
        return right;
    }

    public boolean isAll() {
        return all;
    }

    @Override
    public Stream getChildren() {
        return Stream.of(left, right);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy