| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.plugins.document | |
| org.apache.jackrabbit.oak.plugins.document.mongo | |
| org.apache.jackrabbit.oak.plugins.document.rdb |
Implementations of
DocumentStore and BlobStore for relational databases. |
| org.apache.jackrabbit.oak.plugins.document.secondary | |
| org.apache.jackrabbit.oak.plugins.document.util |
| Modifier and Type | Method and Description |
|---|---|
RevisionVector |
RevisionVector.asBranchRevision(int clusterId)
A clone of this revision vector with the revision for the given
clusterId set to a branch revision.
|
RevisionVector |
RevisionVector.asTrunkRevision()
Returns a revision vector where all revision elements are turned into
trunk revisions.
|
RevisionVector |
RevisionVector.difference(RevisionVector vector)
Returns the difference of this and the other vector.
|
static RevisionVector |
RevisionVector.fromString(String s)
Creates a revision vector from a string representation as returned by
asString(). |
@NotNull RevisionVector |
DocumentNodeStore.getHeadRevision() |
@NotNull RevisionVector |
RevisionContext.getHeadRevision() |
RevisionVector |
DocumentNodeState.getLastRevision() |
abstract RevisionVector |
AbstractDocumentNodeState.getLastRevision() |
@NotNull RevisionVector |
DocumentNodeState.getRootRevision()
Returns the root revision for this node state.
|
abstract RevisionVector |
AbstractDocumentNodeState.getRootRevision() |
RevisionVector |
RevisionVector.pmax(@NotNull RevisionVector vector)
Calculates the parallel maximum of this and the given
vector. |
RevisionVector |
RevisionVector.pmin(@NotNull RevisionVector vector)
Calculates the parallel minimum of this and the given
vector. |
RevisionVector |
RevisionVector.remove(int clusterId)
Returns a RevisionVector without the revision element with the given
clusterId. |
RevisionVector |
RevisionVector.update(@NotNull Revision revision)
Creates a new revision vector with based on this vector and the given
revision. |
| Modifier and Type | Method and Description |
|---|---|
void |
Commit.applyToCache(RevisionVector before,
boolean isBranchCommit)
Apply the changes to the DocumentNodeStore (to update the cache).
|
int |
RevisionVector.compareTo(@NotNull RevisionVector other) |
protected SplitDocumentCleanUp |
VersionGCSupport.createCleanUp(Set<NodeDocument.SplitDocType> gcTypes,
RevisionVector sweepRevs,
long oldestRevTimeStamp,
VersionGarbageCollector.VersionGCStats stats) |
RevisionVector |
RevisionVector.difference(RevisionVector vector)
Returns the difference of this and the other vector.
|
@Nullable String |
MemoryDiffCache.getChanges(@NotNull RevisionVector from,
@NotNull RevisionVector to,
@NotNull String path,
@Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader) |
@Nullable String |
MemoryDiffCache.getChanges(@NotNull RevisionVector from,
@NotNull RevisionVector to,
@NotNull String path,
@Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader) |
String |
LocalDiffCache.getChanges(@NotNull RevisionVector from,
@NotNull RevisionVector to,
@NotNull String path,
@Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader) |
String |
LocalDiffCache.getChanges(@NotNull RevisionVector from,
@NotNull RevisionVector to,
@NotNull String path,
@Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader) |
@Nullable AbstractDocumentNodeState |
DocumentNodeStateCache.getDocumentNodeState(String path,
RevisionVector rootRevision,
RevisionVector lastRev)
Get the node for the given path and revision.
|
@Nullable Revision |
NodeDocument.getLiveRevision(RevisionContext context,
RevisionVector readRevision,
Map<Revision,String> validRevisions,
org.apache.jackrabbit.oak.plugins.document.LastRevs lastRevs)
Get the earliest (oldest) revision where the node was alive at or before
the provided revision, if the node was alive at the given revision.
|
@Nullable DocumentNodeState |
DocumentNodeStore.getNode(@NotNull String path,
@NotNull RevisionVector rev)
Get the node for the given path and revision.
|
@Nullable DocumentNodeState |
NodeDocument.getNodeAtRevision(@NotNull DocumentNodeStore nodeStore,
@NotNull RevisionVector readRevision,
@Nullable Revision lastModified)
Returns a
DocumentNodeState as seen at the given
readRevision. |
protected Iterable<NodeDocument> |
VersionGCSupport.identifyGarbage(Set<NodeDocument.SplitDocType> gcTypes,
RevisionVector sweepRevs,
long oldestRevTimeStamp) |
protected static boolean |
VersionGCSupport.isDefaultNoBranchSplitNewerThan(NodeDocument doc,
RevisionVector sweepRevs)
Returns
true if the given document is of type
NodeDocument.SplitDocType.DEFAULT_NO_BRANCH and the most recent change on the
document is newer than the sweepRevs. |
@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry |
MemoryDiffCache.newEntry(@NotNull RevisionVector from,
@NotNull RevisionVector to,
boolean local) |
@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry |
MemoryDiffCache.newEntry(@NotNull RevisionVector from,
@NotNull RevisionVector to,
boolean local) |
@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry |
LocalDiffCache.newEntry(@NotNull RevisionVector from,
@NotNull RevisionVector to,
boolean local) |
@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry |
LocalDiffCache.newEntry(@NotNull RevisionVector from,
@NotNull RevisionVector to,
boolean local) |
RevisionVector |
RevisionVector.pmax(@NotNull RevisionVector vector)
Calculates the parallel maximum of this and the given
vector. |
RevisionVector |
RevisionVector.pmin(@NotNull RevisionVector vector)
Calculates the parallel minimum of this and the given
vector. |
@NotNull Iterable<UpdateOp> |
NodeDocument.split(@NotNull RevisionContext context,
@NotNull RevisionVector head,
@NotNull Function<String,Long> binarySize)
Returns update operations to split this document.
|
DocumentNodeState |
DocumentNodeState.withRootRevision(@NotNull RevisionVector root,
boolean externalChange)
Creates a copy of this
DocumentNodeState with the
DocumentNodeState.rootRevision set to the given root revision. |
abstract AbstractDocumentNodeState |
AbstractDocumentNodeState.withRootRevision(@NotNull RevisionVector root,
boolean externalChange)
Creates a copy of this
DocumentNodeState with the
AbstractDocumentNodeState.getRootRevision() set to the given root revision. |
| Constructor and Description |
|---|
DocumentNodeState(@NotNull DocumentNodeStore store,
@NotNull String path,
@Nullable RevisionVector lastRevision,
@Nullable RevisionVector rootRevision,
boolean fromExternalChange,
DocumentNodeState.BundlingContext bundlingContext) |
DocumentNodeState(@NotNull DocumentNodeStore store,
@NotNull String path,
@Nullable RevisionVector lastRevision,
@Nullable RevisionVector rootRevision,
boolean fromExternalChange,
DocumentNodeState.BundlingContext bundlingContext) |
MemoryEntry(RevisionVector from,
RevisionVector to) |
PathRev(@NotNull String path,
@NotNull RevisionVector revision) |
| Modifier and Type | Method and Description |
|---|---|
protected SplitDocumentCleanUp |
MongoVersionGCSupport.createCleanUp(Set<NodeDocument.SplitDocType> gcTypes,
RevisionVector sweepRevs,
long oldestRevTimeStamp,
VersionGarbageCollector.VersionGCStats stats) |
protected Iterable<NodeDocument> |
MongoVersionGCSupport.identifyGarbage(Set<NodeDocument.SplitDocType> gcTypes,
RevisionVector sweepRevs,
long oldestRevTimeStamp) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<NodeDocument> |
RDBVersionGCSupport.identifyGarbage(Set<NodeDocument.SplitDocType> gcTypes,
RevisionVector sweepRevs,
long oldestRevTimeStamp) |
| Modifier and Type | Method and Description |
|---|---|
RevisionVector |
DelegatingDocumentNodeState.getLastRevision() |
RevisionVector |
DelegatingDocumentNodeState.getRootRevision() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable AbstractDocumentNodeState |
SecondaryStoreCache.getDocumentNodeState(String path,
RevisionVector rootRevision,
RevisionVector lastRev) |
AbstractDocumentNodeState |
DelegatingDocumentNodeState.withRootRevision(@NotNull RevisionVector root,
boolean externalChange) |
| Modifier and Type | Method and Description |
|---|---|
static long |
Utils.getMinTimestampForDiff(@NotNull RevisionVector fromRev,
@NotNull RevisionVector toRev,
@NotNull RevisionVector minRevisions)
Returns the minimum timestamp to use for a query for child documents that
have been modified between
fromRev and toRev. |
static long |
Utils.getMinTimestampForDiff(@NotNull RevisionVector fromRev,
@NotNull RevisionVector toRev,
@NotNull RevisionVector minRevisions)
Returns the minimum timestamp to use for a query for child documents that
have been modified between
fromRev and toRev. |
static long |
Utils.getMinTimestampForDiff(@NotNull RevisionVector fromRev,
@NotNull RevisionVector toRev,
@NotNull RevisionVector minRevisions)
Returns the minimum timestamp to use for a query for child documents that
have been modified between
fromRev and toRev. |
static boolean |
Utils.isGreaterOrEquals(@NotNull RevisionVector a,
@NotNull RevisionVector b)
Returns true if all the revisions in the
a greater or equals
to their counterparts in b. |
static boolean |
Utils.isGreaterOrEquals(@NotNull RevisionVector a,
@NotNull RevisionVector b)
Returns true if all the revisions in the
a greater or equals
to their counterparts in b. |
static boolean |
Utils.isLocalChange(@NotNull RevisionVector from,
@NotNull RevisionVector to,
int clusterId)
Returns
true if changes identified by the from and
to RevisionVector are considered local changes. |
static boolean |
Utils.isLocalChange(@NotNull RevisionVector from,
@NotNull RevisionVector to,
int clusterId)
Returns
true if changes identified by the from and
to RevisionVector are considered local changes. |
| Constructor and Description |
|---|
RevisionsKey(RevisionVector r1,
RevisionVector r2) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.