org.openrdf.query.algebra.evaluation.function.numeric
Class Rand

java.lang.Object
  extended by org.openrdf.query.algebra.evaluation.function.numeric.Rand
All Implemented Interfaces:
Function

public class Rand
extends Object
implements Function

The SPARQL built-in Function RAND, as defined in SPARQL Query Language for RDF

Author:
Jeen Broekstra

Constructor Summary
Rand()
           
 
Method Summary
 Literal evaluate(ValueFactory valueFactory, Value... args)
           
 String getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rand

public Rand()
Method Detail

getURI

public String getURI()
Specified by:
getURI in interface Function

evaluate

public Literal evaluate(ValueFactory valueFactory,
                        Value... args)
                 throws ValueExprEvaluationException
Specified by:
evaluate in interface Function
Throws:
ValueExprEvaluationException


Copyright © 2001-2012 Aduna. All Rights Reserved.