Class FunctionRegistry
- java.lang.Object
-
- org.eclipse.rdf4j.common.lang.service.ServiceRegistry<String,Function>
-
- org.eclipse.rdf4j.query.algebra.evaluation.function.FunctionRegistry
-
public class FunctionRegistry extends ServiceRegistry<String,Function>
A ServiceRegistry for implementations of theFunction
interface. Functions are registered by theirIRI
.- Author:
- Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description FunctionRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FunctionRegistry
getInstance()
Gets the default FunctionRegistry.protected String
getKey(Function function)
Gets the key for the specified service.
-
-
-
Method Detail
-
getInstance
public static FunctionRegistry getInstance()
Gets the default FunctionRegistry.- Returns:
- The default registry.
-
getKey
protected String getKey(Function function)
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<String,Function>
- Parameters:
function
- The service to get the key for.- Returns:
- The key for the specified service.
-
-