java.lang.Object
org.apache.jena.sparql.expr.aggregate.AggregateRegistry
Registry of custom aggregates
There is only a single global registry of aggregates - it affects parsing
and parsing happens before Context or Execution makes sense.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccumulatorFactory
Return the AccumulatorFactory for a registered custom aggregate.static org.apache.jena.graph.Node
getNoGroupValue
(String uri) Return the registered "no groups" valuestatic void
init()
static boolean
isRegistered
(String uri) Is the URI registered as an aggregate function?static void
register
(String uri, AccumulatorFactory accFactory) Register a custom aggregate, with its associated factory for accumulators.static void
register
(String uri, AccumulatorFactory accFactory, org.apache.jena.graph.Node noGroupValue) static void
unregister
(String uri) Remove a registration.
-
Constructor Details
-
AggregateRegistry
public AggregateRegistry()
-
-
Method Details
-
init
public static void init() -
register
Register a custom aggregate, with its associated factory for accumulators. -
register
public static void register(String uri, AccumulatorFactory accFactory, org.apache.jena.graph.Node noGroupValue) -
unregister
Remove a registration. -
getAccumulatorFactory
Return the AccumulatorFactory for a registered custom aggregate. -
getNoGroupValue
Return the registered "no groups" value -
isRegistered
Is the URI registered as an aggregate function?
-