org.topbraid.sparql.functions
Class Cast
java.lang.Object
com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
org.topbraid.sparql.functions.Cast
- All Implemented Interfaces:
- com.hp.hpl.jena.sparql.pfunction.PropertyFunction
public class Cast
- extends com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
Name of the property function: spam:cast
Syntax: ?output spam:cast ( [RDF datatype] ?input )
The function converts the datatype of ?input to the given [RDF datatype] and
returns ?output with the datatype [RDF datatype].
- Author:
- Gokhan H. Soydan
|
Field Summary |
static int |
TYPE
|
static int |
VAR
|
|
Constructor Summary |
Cast()
|
|
Method Summary |
com.hp.hpl.jena.sparql.engine.QueryIterator |
exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
|
| Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase |
build, exec |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
VAR
public static final int VAR
- See Also:
- Constant Field Values
Cast
public Cast()
exec
public com.hp.hpl.jena.sparql.engine.QueryIterator exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
- Specified by:
exec in class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase