Package org.apache.cayenne.exp.parser

Examples of org.apache.cayenne.exp.parser.ASTLike


    /**
     * A convenience shortcut for building LIKE expression.
     */
    public static Expression likeExp(String pathSpec, Object value) {
        return new ASTLike(new ASTObjPath(pathSpec), value);
    }
View Full Code Here


     * escape character.</p>
     *
     * @since 3.0.1
     */
    public static Expression likeExp(String pathSpec, Object value, char escapeChar) {
        return new ASTLike(new ASTObjPath(pathSpec), value, escapeChar);
    }
View Full Code Here

     * A convenience shortcut for building LIKE DB_PATH expression.
     *
     * @since 3.0
     */
    public static Expression likeDbExp(String pathSpec, Object value) {
        return new ASTLike(new ASTDbPath(pathSpec), value);
    }
View Full Code Here

     * escape character.</p>
     *
     * @since 3.0.1
     */
    public static Expression likeDbExp(String pathSpec, Object value, char escapeChar) {
        return new ASTLike(new ASTDbPath(pathSpec), value,escapeChar);
    }
View Full Code Here

    /**
     * A convenience shortcut for building LIKE expression.
     */
    public static Expression likeExp(String pathSpec, Object value) {
        return new ASTLike(new ASTObjPath(pathSpec), value);
    }
View Full Code Here

     * A convenience shortcut for building LIKE DB_PATH expression.
     *
     * @since 3.0
     */
    public static Expression likeDbExp(String pathSpec, Object value) {
        return new ASTLike(new ASTDbPath(pathSpec), value);
    }
View Full Code Here

    /**
     * A convenience shortcut for building LIKE expression.
     */
    public static Expression likeExp(String pathSpec, Object value) {
        return new ASTLike(new ASTObjPath(pathSpec), value);
    }
View Full Code Here

     * escape character.</p>
     *
     * @since 3.0.1
     */
    public static Expression likeExp(String pathSpec, Object value, char escapeChar) {
        return new ASTLike(new ASTObjPath(pathSpec), value, escapeChar);
    }
View Full Code Here

     * A convenience shortcut for building LIKE DB_PATH expression.
     *
     * @since 3.0
     */
    public static Expression likeDbExp(String pathSpec, Object value) {
        return new ASTLike(new ASTDbPath(pathSpec), value);
    }
View Full Code Here

     * escape character.</p>
     *
     * @since 3.0.1
     */
    public static Expression likeDbExp(String pathSpec, Object value, char escapeChar) {
        return new ASTLike(new ASTDbPath(pathSpec), value,escapeChar);
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.exp.parser.ASTLike

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.