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

com.mysema.codegen.EvaluatorFactory Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mysema.codegen;

import com.mysema.codegen.model.ClassType;
import com.mysema.codegen.model.Type;
import java.util.Map;

/**
 *
 * @author pgrant
 */
public interface EvaluatorFactory {

     Evaluator createEvaluator(String source, Class projectionType, String[] names, Class[] classes, Map constants);

    /**
     * Create a new Evaluator instance
     *
     * @param 
     * projection type
     * @param source
     * expression in Java source code form
     * @param projection
     * type of the source expression
     * @param names
     * names of the arguments
     * @param types
     * types of the arguments
     * @param constants
     * @return
     */
    @SuppressWarnings(value = "unchecked")
     Evaluator createEvaluator(String source, ClassType projection, String[] names, Type[] types, Class[] classes, Map constants);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy