public class LDPathWrapper extends Object
| Constructor and Description |
|---|
LDPathWrapper(org.apache.marmotta.ldpath.backend.linkeddata.LDCacheBackend backend)
Create an LDPathWrapper Object
|
LDPathWrapper(org.apache.marmotta.ldpath.backend.linkeddata.LDCacheBackend backend,
Set<org.apache.marmotta.ldpath.api.functions.SelectorFunction> functions)
Create an LDPathWrapper and register a set of selector functions.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Collection<?>>> |
programQuery(String uri,
InputStream program)
Execute an LDPath query
|
public LDPathWrapper(org.apache.marmotta.ldpath.backend.linkeddata.LDCacheBackend backend, Set<org.apache.marmotta.ldpath.api.functions.SelectorFunction> functions)
backend - the linkeddata backendfunctions - selector functionspublic LDPathWrapper(org.apache.marmotta.ldpath.backend.linkeddata.LDCacheBackend backend)
backend - the linkeddata backendpublic List<Map<String,Collection<?>>> programQuery(String uri, InputStream program) throws org.apache.marmotta.ldpath.exception.LDPathParseException
uri - the URI to queryprogram - the LDPath programorg.apache.marmotta.ldpath.exception.LDPathParseException - if the LDPath program was malformedCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.