Package org.aksw.jenax.path.core
Class PathOpsPE
java.lang.Object
org.aksw.jenax.path.core.PathOpsPE
- All Implemented Interfaces:
org.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
public class PathOpsPE
extends Object
implements org.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
Implementation of
PathOps which allows for using the path machinery
By convention, the single variable used in constraint expressions should be "?x".
Allows paths of the form
/ ?x IN (a b c) / REGEX(?x, "foo") / ?x = TRUE / ...- Author:
- raven
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.jena.sparql.expr.ExprVarstatic final UnaryXExprstatic final UnaryXExprstatic final org.apache.jena.sparql.core.Var -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String str) static PathOpsPEget()newPath(boolean isAbsolute, List<UnaryXExpr> segments) static PathPEtoStringRaw(Object path) upcast(org.aksw.commons.path.core.Path<UnaryXExpr> path) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.path.core.PathOps
create, newAbsolutePath, newAbsolutePath, newAbsolutePath, newRelativePath, newRelativePath, newRelativePath
-
Field Details
-
VAR_X
public static final org.apache.jena.sparql.core.Var VAR_X -
EXPR_X
public static final org.apache.jena.sparql.expr.ExprVar EXPR_X -
PARENT
-
SELF
-
-
Constructor Details
-
PathOpsPE
public PathOpsPE()
-
-
Method Details
-
get
-
newRelativePath
-
upcast
- Specified by:
upcastin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
getBasePathSegments
- Specified by:
getBasePathSegmentsin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
getComparator
- Specified by:
getComparatorin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
newPath
- Specified by:
newPathin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
getSelfToken
- Specified by:
getSelfTokenin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
getParentToken
- Specified by:
getParentTokenin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
toStringRaw
- Specified by:
toStringRawin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
toString
- Specified by:
toStringin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-
fromString
- Specified by:
fromStringin interfaceorg.aksw.commons.path.core.PathOps<UnaryXExpr,PathPE>
-