public final class QueryExecutionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static AggregationSpec |
expandPropertyNames(AggregationSpec aggregationSpec,
PrefixMapping prefixMapping)
Expands prefixed names in the given aggregation settings to full URIs.
|
static Iterable<CharSequence> |
getLimitedURIListBuilder(Iterable<String> uriList,
int maxListLength)
Returns a builder of URI lists for use in SPARQL queries.
|
public static Iterable<CharSequence> getLimitedURIListBuilder(Iterable<String> uriList, int maxListLength)
uriList
- list of URIs; must be absolute URIs, not prefixed namesmaxListLength
- maximum number of URIs in one formatted listpublic static AggregationSpec expandPropertyNames(AggregationSpec aggregationSpec, PrefixMapping prefixMapping) throws QueryExecutionException
aggregationSpec
- aggregation settings where property names are expandedprefixMapping
- prefix mapping used for expansionQueryExecutionException
- a prefix has no defined mappingCopyright © 2013. All Rights Reserved.