Interface Function

    • Method Detail

      • evaluate

        @Deprecated
        org.eclipse.rdf4j.model.Value evaluate​(org.eclipse.rdf4j.model.ValueFactory valueFactory,
                                               org.eclipse.rdf4j.model.Value... args)
                                        throws ValueExprEvaluationException
        Deprecated.
        since 3.3.0. Use evaluate(TripleSource, Value...) instead. A reference to a ValueFactory can be retrieved using TripleSource.getValueFactory() if needed.
        Evaluate the function over the supplied input arguments, using the supplied ValueFactory to produce the result.
        Parameters:
        valueFactory - a ValueFactory to use for producing the function result.
        args - the function input arguments.
        Returns:
        the function result value.
        Throws:
        ValueExprEvaluationException
      • evaluate

        default org.eclipse.rdf4j.model.Value evaluate​(TripleSource tripleSource,
                                                       org.eclipse.rdf4j.model.Value... args)
                                                throws ValueExprEvaluationException
        Evaluate the function over the supplied input arguments.
        Parameters:
        tripleSource - the TripleSource used in the query evaluation. This can be used to access the current state of the store.
        args - the function input arguments.
        Returns:
        the function result value.
        Throws:
        ValueExprEvaluationException
        Since:
        3.3.0
      • mustReturnDifferentResult

        default boolean mustReturnDifferentResult()
        UUID() and STRUUID() must return a different result for each invocation.
        Returns:
        if each invocation must return a different result.