Examples of evaluate()


Examples of com.espertech.esper.epl.subquery.SubselectAggregationPreprocessorBase.evaluate()

            ExprSubselectStrategy strategy;
            if (aggregationPreprocessor != null) {
                strategy = new ExprSubselectStrategy() {
                    public Collection<EventBean> evaluateMatching(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) {
                        Collection<EventBean> matchingEvents = lookupStrategy.lookup(eventsPerStream, exprEvaluatorContext);
                        aggregationPreprocessor.evaluate(eventsPerStream, matchingEvents, exprEvaluatorContext);
                        return CollectionUtil.SINGLE_NULL_ROW_EVENT_SET;
                    }
                };
            }
            else {

Examples of com.esri.gpt.catalog.discovery.PropertyValueType.evaluate()

    if (value instanceof Timestamp) {
      tsValue = (Timestamp)value;
    } else if (value instanceof String) {
      try {
        PropertyValueType valueType = PropertyValueType.TIMESTAMP;
        tsValue = (Timestamp)valueType.evaluate((String)value);
      } catch (IllegalArgumentException e) {}     
    }
    if (tsValue != null) {
      boolean bIndex = !this.getIndexingOption().equals(Field.Index.NO);
      NumericField fld = new NumericField(this.getName(),this.getStorageOption(),bIndex);

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlGotoTestStep.GotoCondition.evaluate()

        try
        {
          GotoCondition condition = gotoStep.getConditionAt( conditionList.getSelectedIndex() );
          WsdlTestRunContext context = new WsdlTestRunContext( gotoStep );
          boolean evaluate = condition.evaluate( previousStep, context );
          if( !evaluate )
          {
            UISupport.showInfoMessage( "Condition not true for current response in [" + previousStep.getName()
                + "]" );
          }

Examples of com.facebook.presto.sql.planner.ExpressionInterpreter.evaluate()

    private static Object evaluate(Expression expression)
    {
        IdentityHashMap<Expression, Type> expressionTypes = getExpressionTypes(TEST_SESSION, METADATA, SQL_PARSER, SYMBOL_TYPES, expression);
        ExpressionInterpreter interpreter = expressionInterpreter(expression, METADATA, TEST_SESSION, expressionTypes);

        return interpreter.evaluate((RecordCursor) null);
    }
}

Examples of com.floreysoft.jmte.token.ForEachToken.evaluate()

  protected String transformCompiled(TemplateContext context) {
    StringBuilder buffer = new StringBuilder();

    // ${foreach list item}
    ForEachToken token1 = new ForEachToken("list", "item", "");
    token1.setIterable((Iterable) token1.evaluate(context));
    context.model.enterScope();
    context.push(token1);
    try {
      while (token1.iterator().hasNext()) {
        context.model.put(token1.getVarName(), token1.advance());

Examples of com.floreysoft.jmte.token.IfCmpToken.evaluate()

        .asList(new String[] { "address" }), "address", "Filbert",
        false);

    context.push(token1);
    try {
      if ((Boolean) token1.evaluate(context)) {
        buffer.append(new StringToken("address", "address", null, null,
            null, null, null).evaluate(context));
      } else {
        buffer.append("NIX");
      }

Examples of com.floreysoft.jmte.token.IfToken.evaluate()

            // ${if item}
            IfToken token3 = new IfToken("item", false);
            context.push(token3);
            try {
              if ((Boolean) token3.evaluate(context)) {

                // ${item2.property1}
                buffer.append(new StringToken(Arrays
                    .asList(new String[] { "item2",
                        "property1" }),

Examples of com.floreysoft.jmte.token.Token.evaluate()

        output.append(token.getText());
      }
    } else if (token instanceof StringToken) {
      tokenStream.consume();
      if (!skip) {
        String expanded = (String) token.evaluate(context);
        output.append(expanded);
      }
    } else if (token instanceof ForEachToken) {
      foreach(skip);
    } else if (token instanceof IfToken) {

Examples of com.foundationdb.server.types.TCast.evaluate()

        TExecutionContext context =
                new TExecutionContext(Collections.singletonList(source.getType()),
                        targetType,
                        queryContext);
        Value target = new Value(targetType);
        cast.evaluate(context, source, target);
        bindings.setValue(index, target);
    }

    private ValueSource decodeTimestampInt64Micros2000NoTZ(byte[] encoded) throws IOException {
        long micros = getDataStream(encoded).readLong();

Examples of com.foundationdb.server.types.texpressions.TEvaluatableExpression.evaluate()

            values = new Comparable[ordering.sortColumns()];
            for (int i = 0; i < values.length; i++) {
                TEvaluatableExpression evaluation = evaluations.get(i);
                evaluation.with(arow);
                evaluation.evaluate();
                values[i] = toObject(evaluation.resultValue());
            }
        }

        public Row empty() {
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.