Examples of Min


Examples of org.openrdf.query.algebra.Min

      else {
        return new LiteralImpl(Integer.toString(bindingSets.size()), XMLSchema.INTEGER);
      }
    }
    else if (operator instanceof Min) {
      Min minOp = (Min)operator;

      Set<Value> values = makeValueSet(minOp.getArg(), bindingSets);

      // FIXME: handle case where 'values' is empty
      double min = Double.POSITIVE_INFINITY;
      for (Value v : values) {
        if (v instanceof Literal) {
View Full Code Here

Examples of org.springmodules.validation.bean.conf.loader.annotation.handler.Min

        super(Min.class);
    }

    @Override
    public String convertToValang(String fieldName, Annotation a, MessageSourceAccessor messages) {
        Min annotation = (Min) a;

        String errMsg = messages.getMessage(annotation.errorCode(), annotation.message());
        String applyIfValang = valangToJS(annotation.applyIf());

        StringBuffer sb = new StringBuffer();
        sb.append(" function() {return this.moreThanOrEquals((this.getPropertyValue(");
        sb.append(wrapAndEscapeJsString(fieldName));// field
        sb.append(")), (");
        sb.append(annotation.value());
        sb.append("))}");

        return buildBasicRule(fieldName, errMsg, sb.toString(), applyIfValang, annotation);
    }
View Full Code Here

Examples of org.teiid.query.function.aggregate.Min

                    break;
                  case AVG:
                    functions[i] = new Avg();
                    break;
                  case MIN:
                    functions[i] = new Min();
                    break;
                  case MAX:
                    functions[i] = new Max();
                    break;
                  case XMLAGG:
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.