Class CustomAggregateNAryFunctionRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<String, AggregateNAryFunctionFactory>
org.eclipse.rdf4j.query.parser.sparql.aggregate.CustomAggregateNAryFunctionRegistry
@Experimental
public class CustomAggregateNAryFunctionRegistry
extends ServiceRegistry<String, AggregateNAryFunctionFactory>
ServiceRegistry implementation that stores available custom aggregate n-ary functions that can be used during
query evaluation.- Author:
- Nik Kozlov
-
Field Summary
Fields inherited from class ServiceRegistry
logger, servicesModifier and TypeFieldDescriptionprotected final org.slf4j.Loggerprotected Map<String, AggregateNAryFunctionFactory> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetKey(AggregateNAryFunctionFactory service) Gets the key for the specified service.Methods inherited from class ServiceRegistry
add, get, getAll, getKeys, has, removeModifier and TypeMethodDescriptionadd(AggregateNAryFunctionFactory service) Adds a service to the registry.Gets the service for the specified key, if any.getAll()Gets all registered services.getKeys()Gets the set of registered keys.booleanChecks whether a service for the specified key is available.voidremove(AggregateNAryFunctionFactory service) Removes a service from the registry.
-
Constructor Details
-
CustomAggregateNAryFunctionRegistry
public CustomAggregateNAryFunctionRegistry()
-
-
Method Details
-
getInstance
-
getKey
Description copied from class:ServiceRegistryGets the key for the specified service.- Specified by:
getKeyin classServiceRegistry<String, AggregateNAryFunctionFactory>- Parameters:
service- The service to get the key for.- Returns:
- The key for the specified service.
-