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

com.jaregu.database.queries.compiling.expr.ExpressionParser Maven / Gradle / Ivy

Go to download

Java based SQL templating project. Store your queries in *.sql files and build queries for execution. Supports simple expressions and conditional clauses and interface proxying for java-sql bridge.

There is a newer version: 1.4.1
Show newest version
package com.jaregu.database.queries.compiling.expr;

import java.util.List;

public interface ExpressionParser {

	/**
	 * Fast way to determine if passed expression looks like expression, it is
	 * possible that expression will contain errors.
	 * 
	 * @param expression
	 * @return
	 */
	boolean isLikeExpression(String expression);

	List parse(String expression) throws ExpressionParseException;

	static ExpressionParser defaultParser() {
		return new ExpressionParserImpl();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy