Package org.byteliberi.easydriver.expressions

Examples of org.byteliberi.easydriver.expressions.StringExpression


     * Returns a case insensitive like operator.
     * @return the <p>ilike</p> operator
     */
    @Override
    public ExpressionAPI iLike() {
        return new StringExpression(" ilike ");
    }
View Full Code Here


     * as defined in the optional pg_trgm contrib package.
     * @return The %
     */
    @Override
    public ExpressionAPI similar() {
        return new StringExpression(" % ");
    }
View Full Code Here

        /**
         * Appends an <b>and</b> operator
         * @return Updated builder
         */
        public WhereBuilder and () {       
            this.where.add(new StringExpression(" and "));
            return this;
        }
View Full Code Here

        /**
         * Appends a <b>between</b> operator
         * @return Updated builder
         */
        public WhereBuilder between() {
            this.where.add(new StringExpression(" between "));
            return this;
        }
View Full Code Here

        /**
         * Appends a <b>&lt;&gt;</b> operator
         * @return Updated builder
         */
        public WhereBuilder different() {
            this.where.add(new StringExpression(" <> "));
            return this;
        }
View Full Code Here

        /**
         * Appends a <b>=</b> operator
         * @return Updated builder
         */
        public WhereBuilder eq() {
            this.where.add(new StringExpression(" = "));
            return this;
        }
View Full Code Here

        /**
         * Appends a <b>in</b> operator, followed by a right bracket.
         * @return Updated builder
         */
        public WhereBuilder in() {
            this.where.add(new StringExpression(" in ("));
            return this;
        }
View Full Code Here

        /**
         * Appends a left bracket
         * @return Updated builder
         */
        public WhereBuilder lb () {
            this.where.add(new StringExpression(" ("));
            return this;
        }      
View Full Code Here

        /**
         * Appends a right bracket
         * @return Updated builder
         */
        public WhereBuilder rb() {
            this.where.add(new StringExpression(") "));
            return this;
        }
View Full Code Here

        /**
         * Appends a comma
         * @return Updated builder
         */
        public WhereBuilder comma() {
            this.where.add(new StringExpression(","));
            return this;
        }
View Full Code Here

TOP

Related Classes of org.byteliberi.easydriver.expressions.StringExpression

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.