Class StatementFunction

  • All Implemented Interfaces:
    Function

    public class StatementFunction
    extends Object
    implements Function
    Function constructing RDF-star Triple from its 3 arguments reused the IRI of rdf:Statement as name
    Author:
    damyan.ognyanov
    • Constructor Detail

      • StatementFunction

        public StatementFunction()
    • Method Detail

      • evaluate

        public org.eclipse.rdf4j.model.Value evaluate​(org.eclipse.rdf4j.model.ValueFactory vf,
                                                      org.eclipse.rdf4j.model.Value... args)
                                               throws ValueExprEvaluationException
        Description copied from interface: Function
        Evaluate the function over the supplied input arguments, using the supplied ValueFactory to produce the result.
        Specified by:
        evaluate in interface Function
        Parameters:
        vf - a ValueFactory to use for producing the function result.
        args - the function input arguments.
        Returns:
        the function result value.
        Throws:
        ValueExprEvaluationException