Class ScopedFacetPath
java.lang.Object
org.aksw.commons.path.core.PathWrapperBase<T,P>
org.aksw.commons.path.core.PathSysBase<org.aksw.jenax.path.core.FacetStep,ScopedFacetPath,VarScope>
org.aksw.jenax.facete.treequery2.api.ScopedFacetPath
- All Implemented Interfaces:
Comparable<org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep>>,Iterable<org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep>>,org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep>,org.aksw.commons.path.core.PathSys<org.aksw.jenax.path.core.FacetStep,VarScope>
public class ScopedFacetPath
extends org.aksw.commons.path.core.PathSysBase<org.aksw.jenax.path.core.FacetStep,ScopedFacetPath,VarScope>
-
Field Summary
Fields inherited from class org.aksw.commons.path.core.PathSysBase
systemFields inherited from class org.aksw.commons.path.core.PathWrapperBase
delegate -
Constructor Summary
ConstructorsConstructorDescriptionScopedFacetPath(VarScope system, org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> delegate) -
Method Summary
Modifier and TypeMethodDescriptionorg.aksw.jenax.path.core.FacetPathorg.aksw.jenax.path.core.FacetPathDeprecated.getScope()Deprecated.static voidstatic ScopedFacetPathnewAbsolutePath(VarScope scope, List<org.aksw.jenax.path.core.FacetStep> segments) static ScopedFacetPathnewAbsolutePath(VarScope scope, org.aksw.jenax.path.core.FacetStep... segments) Convenience static shorthand for .get().newRoot()static ScopedFacetPathnewRelativePath(VarScope scope, List<org.aksw.jenax.path.core.FacetStep> segments) static ScopedFacetPathnewRelativePath(VarScope scope, org.aksw.jenax.path.core.FacetStep... segments) static ScopedFacetPathof(String scopeName, org.apache.jena.sparql.core.Var var, org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> basePath) static ScopedFacetPathstatic ScopedFacetPathof(org.apache.jena.sparql.core.Var startVar, org.aksw.jenax.path.core.FacetPath facetPath) toScopedVar(FacetPathMapping facetPathMapping) Return a new ScopedFacetPath with the path transformed by the given function.static ScopedVartoScopedVar(ScopedFacetPath scopedFacetPath, FacetPathMapping facetPathMapping) toString()protected ScopedFacetPathwrap(org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> basePath) Methods inherited from class org.aksw.commons.path.core.PathSysBase
equals, getSystem, hashCodeMethods inherited from class org.aksw.commons.path.core.PathWrapperBase
compareTo, endsWith, getFileName, getName, getNameCount, getParent, getRoot, getSegments, isAbsolute, iterator, normalize, relativize, resolve, resolve, resolveSibling, resolveSibling, resolveSiblingStr, resolveStr, startsWith, subpath, subpath, toAbsolutePath, unwrap, wrapOrNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.aksw.commons.path.core.Path
endsWith, getFileName, getName, getNameCount, getParent, getRoot, getSegments, isAbsolute, normalize, relativize, resolve, resolve, resolveSibling, resolveSibling, resolveSiblingStr, resolveStr, startsWith, subpath, subpath, toAbsolutePath, toSegment
-
Constructor Details
-
ScopedFacetPath
public ScopedFacetPath(VarScope system, org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> delegate)
-
-
Method Details
-
wrap
protected ScopedFacetPath wrap(org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> basePath) - Specified by:
wrapin classorg.aksw.commons.path.core.PathWrapperBase<org.aksw.jenax.path.core.FacetStep,ScopedFacetPath>
-
getDelegate
public org.aksw.jenax.path.core.FacetPath getDelegate()- Overrides:
getDelegatein classorg.aksw.commons.path.core.PathWrapperBase<org.aksw.jenax.path.core.FacetStep,ScopedFacetPath>
-
getFacetPath
Deprecated.Domain alias for getDelegate() - maybe undeprecate? -
getScope
Deprecated.Domain alias for getSystem() - maybe undeprecate? -
toString
-
newAbsolutePath
public static ScopedFacetPath newAbsolutePath(VarScope scope, org.aksw.jenax.path.core.FacetStep... segments) Convenience static shorthand for .get().newRoot() -
newAbsolutePath
public static ScopedFacetPath newAbsolutePath(VarScope scope, List<org.aksw.jenax.path.core.FacetStep> segments) -
newRelativePath
public static ScopedFacetPath newRelativePath(VarScope scope, org.aksw.jenax.path.core.FacetStep... segments) -
newRelativePath
public static ScopedFacetPath newRelativePath(VarScope scope, List<org.aksw.jenax.path.core.FacetStep> segments) -
of
public static ScopedFacetPath of(org.apache.jena.sparql.core.Var startVar, org.aksw.jenax.path.core.FacetPath facetPath) -
of
public static ScopedFacetPath of(VarScope system, org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> basePath) -
of
public static ScopedFacetPath of(String scopeName, org.apache.jena.sparql.core.Var var, org.aksw.commons.path.core.Path<org.aksw.jenax.path.core.FacetStep> basePath) -
toScopedVar
Return a new ScopedFacetPath with the path transformed by the given function. If the path is null then this function returns null. -
toScopedVar
public static ScopedVar toScopedVar(ScopedFacetPath scopedFacetPath, FacetPathMapping facetPathMapping) -
main
-