Uses of Class
org.apache.jackrabbit.oak.plugins.document.Path
-
-
Uses of Path in org.apache.jackrabbit.oak.plugins.document
Fields in org.apache.jackrabbit.oak.plugins.document declared as Path Modifier and Type Field Description static Path
Path. ROOT
Fields in org.apache.jackrabbit.oak.plugins.document with type parameters of type Path Modifier and Type Field Description static java.util.Comparator<Path>
PathComparator. INSTANCE
Methods in org.apache.jackrabbit.oak.plugins.document that return Path Modifier and Type Method Description static @NotNull Path
Path. fromString(@NotNull java.lang.String path)
Creates aPath
from aString
.@NotNull Path
Path. getAncestor(int nth)
Get the nth ancestor of a path.@Nullable Path
NodeDocument. getCommitRootPath(Revision revision)
Returns the commit root path for the givenrevision
ornull
if this document does not have a commit root entry for the givenrevision
.@NotNull Path
NodeDocument. getMainPath()
Returns the path of the main document if this document is part of a _prev history tree.@Nullable Path
Path. getParent()
The parent of this path ornull
if this path does not have a parent.abstract Path
AbstractDocumentNodeState. getPath()
Path
DocumentNodeState. getPath()
@NotNull Path
MemoryDiffCache.Key. getPath()
@NotNull Path
NamePathRev. getPath()
@NotNull Path
NodeDocument. getPath()
Path
PathRev. getPath()
Methods in org.apache.jackrabbit.oak.plugins.document that return types with arguments of type Path Modifier and Type Method Description java.util.Map<Path,java.lang.String>
LocalDiffCache.Diff. getChanges()
org.apache.jackrabbit.guava.common.base.Predicate<Path>
DocumentNodeStoreBuilder. getNodeCachePathPredicate()
org.apache.jackrabbit.guava.common.base.Predicate<Path>
DocumentNodeStore. getNodeCachePredicate()
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type Path Modifier and Type Method Description void
MemoryDiffCache.MemoryEntry. append(@NotNull Path path, @NotNull java.lang.String changes)
int
PathComparator. compare(Path p1, Path p2)
int
Path. compareTo(@NotNull Path other)
java.lang.String
LocalDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)
@Nullable java.lang.String
MemoryDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)
@Nullable AbstractDocumentNodeState
DocumentNodeStateCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)
Get the node for the given path and revision.@Nullable DocumentNodeState
DocumentNodeStore. getNode(@NotNull Path path, @NotNull RevisionVector rev)
Get the node for the given path and revision.boolean
Path. isAncestorOf(@NotNull Path other)
Returntrue
ifthis
path is an ancestor of theother
path, otherwisefalse
.boolean
DocumentNodeStateCache. isCached(Path path)
Determines if given path is cached by this implementationvoid
LastRevTracker. track(Path path)
Called when a document needs an update of the _lastRev field.Method parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type Path Modifier and Type Method Description T
DocumentNodeStoreBuilder. setNodeCachePathPredicate(org.apache.jackrabbit.guava.common.base.Predicate<Path> p)
Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type Path Constructor Description DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path, @NotNull RevisionVector rootRevision, @NotNull java.util.Map<java.lang.String,PropertyState> properties, boolean hasChildren, int memory, @Nullable RevisionVector lastRevision, boolean fromExternalChange)
DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path, @Nullable RevisionVector lastRevision, @NotNull RevisionVector rootRevision, boolean fromExternalChange, DocumentNodeState.BundlingContext bundlingContext, int memory)
Key(@NotNull Path path, @NotNull RevisionVector from, @NotNull RevisionVector to)
NamePathRev(@NotNull java.lang.String name, @NotNull Path path, @NotNull RevisionVector revision)
Path(@NotNull Path parent, @NotNull java.lang.String name)
Creates a newPath
from the given parentPath
.PathRev(@NotNull Path path, @NotNull RevisionVector revision)
Constructor parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type Path Constructor Description Diff(java.util.Map<Path,java.lang.String> changes, long memory)
-
Uses of Path in org.apache.jackrabbit.oak.plugins.document.bundlor
Methods in org.apache.jackrabbit.oak.plugins.document.bundlor that return Path Modifier and Type Method Description Path
BundlingHandler. getNodeFullPath()
Returns absolute path of the current nodePath
BundlingHandler. getRootBundlePath()
-
Uses of Path in org.apache.jackrabbit.oak.plugins.document.check
Methods in org.apache.jackrabbit.oak.plugins.document.check with parameters of type Path Modifier and Type Method Description protected Result
Progress. newProgressResult(long numDocs, Path path)
protected Result
ProgressWithETA. newProgressResult(long numDocs, Path path)
protected abstract void
AsyncNodeStateProcessor. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
Responsibility of the subclass to implement the processor logic.protected void
NodeCounter. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
protected void
ReferenceCheck. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
-
Uses of Path in org.apache.jackrabbit.oak.plugins.document.secondary
Methods in org.apache.jackrabbit.oak.plugins.document.secondary that return Path Modifier and Type Method Description Path
DelegatingDocumentNodeState. getPath()
Methods in org.apache.jackrabbit.oak.plugins.document.secondary with parameters of type Path Modifier and Type Method Description @Nullable AbstractDocumentNodeState
SecondaryStoreCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)
boolean
SecondaryStoreCache. isCached(Path path)
-
Uses of Path in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util that return Path Modifier and Type Method Description static Path
Utils. getPreviousPathFor(Path path, Revision r, int height)
Methods in org.apache.jackrabbit.oak.plugins.document.util that return types with arguments of type Path Modifier and Type Method Description org.mapdb.BTreeMap<Path,Revision>
MapDBMapFactory. create()
abstract java.util.concurrent.ConcurrentMap<Path,Revision>
MapFactory. create()
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type Path Modifier and Type Method Description static int
Utils. getIdDepth(Path path)
Calculates the depth prefix of the id for the givenpath
.static java.lang.String
Utils. getIdFromPath(@NotNull Path path)
static java.lang.String
Utils. getKeyLowerLimit(Path path)
Returns the lower key limit to retrieve the children of the givenpath
.static java.lang.String
Utils. getKeyUpperLimit(Path path)
Returns the upper key limit to retrieve the children of the givenpath
.static java.lang.String
Utils. getPreviousIdFor(Path path, Revision r, int height)
static Path
Utils. getPreviousPathFor(Path path, Revision r, int height)
static boolean
Utils. isLongPath(Path path)
static boolean
Utils. isNodeNameLong(Path path, int sizeLimit)
Checks whether Node name is too long or not based on underlining document store
-