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

org.vertexium.cypher.ast.model.CypherIsNotNull 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 CypherIsNotNull extends CypherAstBase {
    private final CypherAstBase valueExpression;

    public CypherIsNotNull(CypherAstBase valueExpression) {
        this.valueExpression = valueExpression;
    }

    public CypherAstBase getValueExpression() {
        return valueExpression;
    }

    @Override
    public String toString() {
        return String.format("%s IS NOT NULL", getValueExpression());
    }

    @Override
    public Stream getChildren() {
        return Stream.of(valueExpression);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy