public class LDPathWrapper extends java.lang.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,
java.util.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 |
|---|---|
java.util.List<java.util.Map<java.lang.String,java.util.Collection<?>>> |
programQuery(java.lang.String uri,
java.io.InputStream program)
Execute an LDPath query
|
public LDPathWrapper(org.apache.marmotta.ldpath.backend.linkeddata.LDCacheBackend backend, java.util.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 java.util.List<java.util.Map<java.lang.String,java.util.Collection<?>>> programQuery(java.lang.String uri, java.io.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.