Examples of Exists


Examples of com.j256.ormlite.stmt.query.Exists

   * </p>
   */
  public Where<T, ID> exists(QueryBuilder<?, ?> subQueryBuilder) throws SQLException {
    // we do this to turn off the automatic addition of the ID column in the select column list
    subQueryBuilder.enableInnerQuery();
    addClause(new Exists(new InternalQueryBuilderWrapper(subQueryBuilder)));
    return this;
  }
View Full Code Here

Examples of com.j256.ormlite.stmt.query.Exists

   * </p>
   */
  public Where<T, ID> exists(QueryBuilder<?, ?> subQueryBuilder) {
    // we do this to turn off the automatic addition of the ID column in the select column list
    subQueryBuilder.enableInnerQuery();
    addClause(new Exists(new InternalQueryBuilderWrapper(subQueryBuilder)));
    return this;
  }
View Full Code Here

Examples of eas.users.lukas.tnt.arithmetic.Exists

   
    @SuppressWarnings(value = { "all" })
    public static void main(String[] args) throws CloneNotSupportedException {
        Variable a = new Variable(0), b = new Variable(1), c = new Variable(2);
        Variable d = new Variable(3), e = new Variable(4), f = new Variable(5);
        Statement s1 = new Negation(new Exists(new Exists(new Exists(new Equality(new Multiplication(new Multiplication(a, a), a), new Addition(new Multiplication(new Multiplication(new Addition(b, new Number(1)), new Addition(b, new Number(1))), new Addition(b, new Number(1))), new Multiplication(new Multiplication(new Addition(c, new Number(1)), new Addition(c, new Number(1))), new Addition(c, new Number(1))))), c), b), a));
        Statement s2 = s1.clone();
        s1 = new Disjunction(new Conjunction(s1.clone(), s1.clone()), s1.clone());
        Statement s3 = s2.clone();
        renameVarConsistently(s3, a.clone(), d.clone());
        renameVarConsistently(s3, b.clone(), e.clone());
View Full Code Here

Examples of org.apache.tools.ant.types.resources.selectors.Exists

            // receives special treatment in copy that this task relies on
            myCopy.add(rc);
        } else {
            if (resources == null) {
                resources = new Restrict();
                resources.add(new Exists());
                myCopy.add(resources);
            }
            resources.add(rc);
        }
    }
View Full Code Here

Examples of org.apache.tools.ant.types.resources.selectors.Exists

            // receives special treatment in copy that this task relies on
            myCopy.add(rc);
        } else {
            if (resources == null) {
                Restrict r = new Restrict();
                r.add(new Exists());
                r.add(resources = new Resources());
                myCopy.add(r);
            }
            resources.add(rc);
        }
View Full Code Here

Examples of org.openrdf.query.algebra.Exists

  @Override
  public Exists visit(ASTExists node, Object data)
    throws VisitorException
  {
    return new Exists((TupleExpr)super.visit(node, data));
  }
View Full Code Here

Examples of org.openrdf.query.algebra.Exists

  @Override
  public Exists visit(ASTExists node, Object data)
    throws VisitorException
  {
    return new Exists((TupleExpr)super.visit(node, data));
  }
View Full Code Here

Examples of org.teiid.language.Exists

        }
        return result;
    }

    Condition translate(ExistsCriteria criteria) {
        Exists exists = new Exists(translate(criteria.getCommand()));
        if (criteria.isNegated()) {
          return new Not(exists);
        }
        return exists;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.