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

org.vertexium.cypher.ast.CypherCompilerContext Maven / Gradle / Ivy

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

import org.vertexium.cypher.functions.CypherFunction;

import java.util.HashMap;
import java.util.Map;

public class CypherCompilerContext {
    private final Map functions;

    public CypherCompilerContext() {
        this(new HashMap<>());
    }

    public CypherCompilerContext(Map functions) {
        this.functions = functions;
    }

    public CypherFunction getFunction(String functionName) {
        return functions.get(functionName.toLowerCase());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy