Class IsTripleFunction
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.evaluation.function.triple.IsTripleFunction
-
- All Implemented Interfaces:
Function
public class IsTripleFunction extends Object implements Function
Function that return "true"^^xsd:boolean if its argument is RDF-star Triple otherwise return "false"^^xsd:boolean the function's IRI uses RDF namespace to match the other functions in the package- Author:
- damyan.ognyanov
-
-
Constructor Summary
Constructors Constructor Description IsTripleFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valueevaluate(ValueFactory vf, Value... args)Evaluate the function over the supplied input arguments, using the suppliedValueFactoryto produce the result.StringgetURI()
-
-
-
Method Detail
-
evaluate
public Value evaluate(ValueFactory vf, Value... args) throws ValueExprEvaluationException
Description copied from interface:FunctionEvaluate the function over the supplied input arguments, using the suppliedValueFactoryto produce the result.- Specified by:
evaluatein interfaceFunction- Parameters:
vf- aValueFactoryto use for producing the function result.args- the function input arguments.- Returns:
- the function result value.
- Throws:
ValueExprEvaluationException
-
-