|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topbraid.spin.arq.Aggregations
public class Aggregations
Manages the registered SPARQL aggregations (such as SUM). These are loaded from the sp system ontology.
Constructor Summary | |
---|---|
Aggregations()
|
Method Summary | |
---|---|
static java.lang.String |
getName(Resource aggType)
If registered, returns the display name of a given aggregation type. |
static Resource |
getType(java.lang.String name)
If registered, returns the aggregation Resource for a given display name. |
static void |
register(Resource aggType,
java.lang.String name)
Programatically adds a new aggregation type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Aggregations()
Method Detail |
---|
public static java.lang.String getName(Resource aggType)
aggType
- the aggregation type, e.g. sp:Sum
public static Resource getType(java.lang.String name)
name
- the name (e.g., "SUM")
public static void register(Resource aggType, java.lang.String name)
aggType
- the type to registername
- the display name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |