Package org.aksw.jenax.path.core
Class PathPE
java.lang.Object
org.aksw.commons.path.core.PathBase<UnaryXExpr,PathPE>
org.aksw.jenax.path.core.PathPE
- All Implemented Interfaces:
Serializable,Comparable<org.aksw.commons.path.core.Path<UnaryXExpr>>,Iterable<org.aksw.commons.path.core.Path<UnaryXExpr>>,org.aksw.commons.path.core.Path<UnaryXExpr>
Dedicated path implementation for SPARQL predicate expressions (SPARQL expressions only having a single variable).
Expressions should uniformly use the variable "?x".
- Author:
- raven
- See Also:
-
Field Summary
Fields inherited from class org.aksw.commons.path.core.PathBase
isAbsolute, pathOps, segments, segmentsView -
Constructor Summary
ConstructorsConstructorDescriptionPathPE(org.aksw.commons.path.core.PathOps<UnaryXExpr, PathPE> pathOps, boolean isAbsolute, List<UnaryXExpr> segments) -
Method Summary
Modifier and TypeMethodDescriptionstatic PathPEnewAbsolutePath(List<UnaryXExpr> segments) static PathPEnewAbsolutePath(UnaryXExpr segment) static PathPEnewAbsolutePath(UnaryXExpr... segments) static PathPEnewRelativePath(List<UnaryXExpr> segments) static PathPEnewRelativePath(UnaryXExpr segment) static PathPEnewRelativePath(UnaryXExpr... segments) static PathPEresolve(org.apache.jena.graph.Node node) resolve(org.apache.jena.rdf.model.Resource other) resolve(org.apache.jena.sparql.expr.Expr expr) Append an ?x = ?x step which matches all values at this segmentresolveSegment(String str) Resolves a single segment from str; default resolves can resolve a full path serialized as a stringMethods inherited from class org.aksw.commons.path.core.PathBase
compareLists, compareTo, endsWith, equals, getFileName, getName, getNameCount, getParent, getPathOps, getRoot, getSegments, getSystem, hashCode, isAbsolute, isParentToken, iterator, newPath, normalize, relativize, relativize, resolve, resolve, resolveSibling, resolveSibling, resolveSiblingStr, resolveStr, startsWith, subpath, subpath, toAbsolutePath, toList, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.aksw.commons.path.core.Path
toSegment
-
Constructor Details
-
PathPE
public PathPE(org.aksw.commons.path.core.PathOps<UnaryXExpr, PathPE> pathOps, boolean isAbsolute, List<UnaryXExpr> segments)
-
-
Method Details
-
resolve
-
resolve
-
resolveSegment
Resolves a single segment from str; default resolves can resolve a full path serialized as a string -
resolve
-
resolveAll
Append an ?x = ?x step which matches all values at this segment -
parse
-
newAbsolutePath
-
newAbsolutePath
-
newAbsolutePath
-
newRelativePath
-
newRelativePath
-
newRelativePath
-