Examples of toExpression()


Examples of de.fuberlin.wiwiss.d2rq.values.Pattern.toExpression()

      }
    } else if (!expressions.isEmpty()) {
      Expression expression = expressions.iterator().next();
      if (!blankNodeIDs.isEmpty()) {
        BlankNodeID first = blankNodeIDs.iterator().next();
        translated.add(Equality.create(expression, first.toExpression()));
      }
      if (!patterns.isEmpty()) {
        Pattern first = patterns.iterator().next();
        translated.add(Equality.create(expression, first.toExpression()));
        checkUsesColumnFunctions(first);
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.values.Pattern.toExpression()

        BlankNodeID first = blankNodeIDs.iterator().next();
        translated.add(Equality.create(expression, first.toExpression()));
      }
      if (!patterns.isEmpty()) {
        Pattern first = patterns.iterator().next();
        translated.add(Equality.create(expression, first.toExpression()));
        checkUsesColumnFunctions(first);
      }
    } else if (!patterns.isEmpty() && !blankNodeIDs.isEmpty()) {
      Pattern firstPattern = patterns.iterator().next();
      BlankNodeID firstBNodeID = blankNodeIDs.iterator().next();
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.values.Pattern.toExpression()

        checkUsesColumnFunctions(first);
      }
    } else if (!patterns.isEmpty() && !blankNodeIDs.isEmpty()) {
      Pattern firstPattern = patterns.iterator().next();
      BlankNodeID firstBNodeID = blankNodeIDs.iterator().next();
      translated.add(Equality.create(firstPattern.toExpression(), firstBNodeID.toExpression()));
      checkUsesColumnFunctions(firstPattern);
    }
    // FIXME: Actually handle this properly, see https://github.com/d2rq/d2rq/issues/22
    if (translators.size() > 1) {
      log.warn("Join involving multiple translators (d2rq:translateWith) is not supported");
View Full Code Here

Examples of org.eclipse.ecf.presence.search.ICriterion.toExpression()

          ICriterion criterion = (ICriterion) criterionsIterator
              .next();
          if (criterion.equals(fields[i])) {
            Form answerForm = form.createAnswerForm();
            answerForm.setAnswer(fields[i], true);
            answerForm.setAnswer(SEARCH_ACTION, criterion
                .toExpression());
            ReportedData data = manager.sendSearchForm(
                ecfConnection.getXMPPConnection(), answerForm,
                SERVICE_SEARCH
                    + ecfConnection.getXMPPConnection()
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.