Examples of SetClause


Examples of org.neo4j.cypherdsl.query.clause.SetClause

    }

    @Override
    public ForEachStatement set( SetProperty... setProperties )
    {
        return new ForEachStatement( forEachClause.add( new SetClause( asList( setProperties ) ) ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.clause.SetClause

    }

    @Override
    public ForEachStatement set( Iterable<SetProperty> setProperties )
    {
        return new ForEachStatement( forEachClause.add( new SetClause( setProperties ) ) );
    }
View Full Code Here

Examples of org.teiid.language.SetClause

    // iterate through the supplied list of updates (each of
    // which is an ICompareCriteria with an IElement on the left
    // side and an IExpression on the right, per the Connector
    // API).
    for (int i=0; i < updateList.size(); i++) {
      SetClause setClause = updateList.get(i);
      // trust that connector API is right and left side
      // will always be an IElement
      leftElement = setClause.getSymbol();
      // call utility method to get NameInSource/Name for element
      nameLeftElement = getNameFromElement(leftElement);
      // get right expression - if it is not a literal we
      // can't handle that so throw an exception
      rightExpr = setClause.getValue();
      if (!(rightExpr instanceof Literal)) {
              final String msg = LDAPPlugin.Util.getString("LDAPUpdateExecution.valueNotLiteralError",nameLeftElement); //$NON-NLS-1$
        throw new TranslatorException(msg);
    }
      valueRightExpr = ((Literal)rightExpr).getValue();
View Full Code Here

Examples of org.teiid.query.sql.lang.SetClause

        }
    }

    public void visit( SetClauseList obj ) {
        for (Iterator<SetClause> iterator = obj.getClauses().iterator(); iterator.hasNext();) {
            SetClause clause = iterator.next();
            visitNode(clause);
            if (iterator.hasNext()) {
                append(", "); //$NON-NLS-1$
            }
        }
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.