Examples of Expression


Examples of org.exist.xquery.Expression

    processAll();
  }
 
  private void processAll() throws XPathException {
    for(int i = 0; i < orderSpecs.length; i++) {
      final Expression expr = orderSpecs[i].getSortExpression();
      final NodeSet result = expr.eval(null).toNodeSet();
      for(final Iterator j = result.iterator(); j.hasNext(); ) {
        final NodeProxy p = (NodeProxy)j.next();
        ContextItem context = p.getContext();
        //TODO : review to consider transverse context
        while(context != null) {
View Full Code Here

Examples of org.gdbms.engine.instruction.Expression

        ret = res;
      } else {
        ret = prod;
      }

      Expression whereExpression = instr.getWhereExpression();

      if (whereExpression != null) {
        ret.start();

        FilteredDataSource dataSource = new FilteredDataSource(ret,
View Full Code Here

Examples of org.geotools.filter.Expression

  public org.opengis.filter.expression.Expression getExpression() {
    return getValue();
  }

  public void setExpression(org.opengis.filter.expression.Expression e) {
    Expression exprAttribute = (Expression) e;
    if ((exprAttribute.getType() != ExpressionType.ATTRIBUTE_STRING) || permissiveConstruction) {
      this.attribute = exprAttribute;
    } else {
      throw new IllegalFilterException("Attempted to add something other than a string attribute "
          + "expression to a like filter.");
    }
View Full Code Here

Examples of org.h2.expression.Expression

        orderList = order;
    }

    private Value[] convert(Value[] values, int columnCount) {
        for (int i = 0; i < columnCount; i++) {
            Expression e = expressions.get(i);
            values[i] = values[i].convertTo(e.getType());
        }
        return values;
    }
View Full Code Here

Examples of org.hsqldb.Expression

                row[maximum_cardinality] =
                    ValuePool.getLong(type.arrayLimitCardinality());
            }

            // end common block
            Expression defaultExpression =
                type.userTypeModifier.getDefaultClause();

            if (defaultExpression != null) {
                row[domain_default] = defaultExpression.getSQL();
            }

            t.insertSys(store, row);
        }
View Full Code Here

Examples of org.hsqldb_voltpatches.Expression

                    ValuePool.getLong(domain.precision);
                data[character_octet_length] =
                    ValuePool.getLong(domain.precision);
            }

            Expression defaultExpression =
                domain.userTypeModifier.getDefaultClause();

            if (defaultExpression != null) {
                data[domain_default] = defaultExpression.getSQL();
            }

            t.insertSys(store, data);
        }
View Full Code Here

Examples of org.jboss.aspects.dbc.condition.parser.Expression

         {
            param.append(c);
         }
      }

      Expression expr = ExpressionParser.parseExpression(newcond.toString());
      BeanshellGenerator gen = new BeanshellGenerator(expr);
      this.condExpr = gen.createBeanshellCode();
     
      if (DesignByContractAspect.verbose) System.out.println("[dbc] Expanded to Java code:\n" + this.condExpr);
     
View Full Code Here

Examples of org.jboss.byteman.rule.expression.Expression

        return value;
    }

    public Expression setValue(Expression value)
    {
        Expression oldValue = this.value;
        this.value = value;

        return oldValue;
    }
View Full Code Here

Examples of org.jbpm.jpdl.el.Expression

    }
   
    private static Expression createExpression(final String expression, final Class returnType, final FunctionMapper mapper)
    {
       
        return new Expression()
        {
            private ELContext elContext = EL.createELContext();

            private MethodExpression me;
            private ValueExpression ve;
View Full Code Here

Examples of org.jfree.report.expressions.Expression

            if (child instanceof ReportElement && child.isEnabled())
            {
                final ReportElement element = (ReportElement) child;
                if (element.getFormatConditionCount() > 0)
                {
                    final Expression displayCond = element.getDisplayCondition();
                    if (displayCond != null)
                    {
                        try
                        {
                            if (Boolean.FALSE.equals(LayoutControllerUtil.evaluateExpression(getFlowController(), element, displayCond)))
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.