Uses of Class
org.apache.jackrabbit.oak.plugins.document.NodeDocument
-
Packages that use NodeDocument Package Description org.apache.jackrabbit.oak.plugins.document org.apache.jackrabbit.oak.plugins.document.cache org.apache.jackrabbit.oak.plugins.document.mongo org.apache.jackrabbit.oak.plugins.document.rdb Implementations ofDocumentStoreandBlobStorefor relational databases.org.apache.jackrabbit.oak.plugins.document.util -
-
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document
Fields in org.apache.jackrabbit.oak.plugins.document declared as NodeDocument Modifier and Type Field Description static NodeDocumentNodeDocument. NULLMarker document, which indicates the document does not exist.Fields in org.apache.jackrabbit.oak.plugins.document with type parameters of type NodeDocument Modifier and Type Field Description static Collection<NodeDocument>Collection. NODESThe 'nodes' collection.protected java.lang.Iterable<NodeDocument>SplitDocumentCleanUp. splitDocGarbageMethods in org.apache.jackrabbit.oak.plugins.document that return NodeDocument Modifier and Type Method Description static NodeDocumentNodeDocument. fromString(DocumentStore store, java.lang.String s)NodeDocumentMissingLastRevSeeker. getRoot()Methods in org.apache.jackrabbit.oak.plugins.document that return types with arguments of type NodeDocument Modifier and Type Method Description Cache<org.apache.jackrabbit.oak.cache.CacheValue,NodeDocument>DocumentNodeStoreBuilder. buildDocumentCache(DocumentStore docStore)Cache<StringValue,NodeDocument>DocumentNodeStoreBuilder. buildPrevDocumentsCache(DocumentStore docStore)@NotNull java.lang.Iterable<NodeDocument>MissingLastRevSeeker. getCandidates(long startTime)Get the candidates with modified time greater than or equal the specifiedstartTimein milliseconds since the start of the epoch.java.util.Iterator<NodeDocument>BlobReferenceIterator. getIteratorOverDocsWithBinaries()Override this document to use a document store specific iterator.java.lang.Iterable<NodeDocument>VersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)Returns documents that have aMODIFIED_IN_SECSvalue within the given range and theDELETEDset totrue.protected java.lang.Iterable<NodeDocument>VersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp)Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeDocument Modifier and Type Method Description voidBlobCollector. collect(NodeDocument doc, java.util.Collection<org.apache.jackrabbit.oak.plugins.blob.ReferencedBlob> blobs)java.lang.StringDocumentNodeStore. getCommitValue(@NotNull Revision changeRevision, @NotNull NodeDocument doc)@Nullable java.lang.StringRevisionContext. getCommitValue(@NotNull Revision changeRevision, @NotNull NodeDocument doc)Retrieves the commit value for a given change.protected static booleanVersionGCSupport. isDefaultNoBranchSplitNewerThan(NodeDocument doc, RevisionVector sweepRevs)Returnstrueif the given document is of typeNodeDocument.SplitDocType.DEFAULT_NO_BRANCHand the most recent change on the document is newer than thesweepRevs.java.lang.StringCommitValueResolver. resolve(@NotNull Revision changeRevision, @NotNull NodeDocument doc)Resolve a change revision on the given document and return the commit value for the change revision.Method parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type NodeDocument Modifier and Type Method Description intLastRevRecoveryAgent. recover(java.lang.Iterable<NodeDocument> suspects, int clusterId)intLastRevRecoveryAgent. recover(java.lang.Iterable<NodeDocument> suspects, int clusterId, boolean dryRun)Recover the correct _lastRev updates for the given candidate nodes.Constructor parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type NodeDocument Constructor Description SplitDocumentCleanUp(DocumentStore store, VersionGarbageCollector.VersionGCStats stats, java.lang.Iterable<NodeDocument> splitDocGarbage) -
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document.cache
Methods in org.apache.jackrabbit.oak.plugins.document.cache that return NodeDocument Modifier and Type Method Description @NotNull NodeDocumentNodeDocumentCache. get(@NotNull java.lang.String key, @NotNull java.util.concurrent.Callable<NodeDocument> valueLoader)Return the document matching given key, optionally loading it from an external source.@Nullable NodeDocumentNodeDocumentCache. getIfPresent(@NotNull java.lang.String key)Return the cached value or null.@NotNull NodeDocumentNodeDocumentCache. putIfAbsent(@NotNull NodeDocument doc)Puts document into cache iff no entry with the given key is cached already.@NotNull NodeDocumentNodeDocumentCache. putIfNewer(@NotNull NodeDocument doc)Puts document into cache iff no entry with the given key is cached already or the cached document is older (has smallerDocument.MOD_COUNT).Methods in org.apache.jackrabbit.oak.plugins.document.cache that return types with arguments of type NodeDocument Modifier and Type Method Description java.lang.Iterable<NodeDocument>NodeDocumentCache. values()Methods in org.apache.jackrabbit.oak.plugins.document.cache with parameters of type NodeDocument Modifier and Type Method Description voidNodeDocumentCache. put(@NotNull NodeDocument doc)Puts document into cache.@NotNull NodeDocumentNodeDocumentCache. putIfAbsent(@NotNull NodeDocument doc)Puts document into cache iff no entry with the given key is cached already.@NotNull NodeDocumentNodeDocumentCache. putIfNewer(@NotNull NodeDocument doc)Puts document into cache iff no entry with the given key is cached already or the cached document is older (has smallerDocument.MOD_COUNT).protected voidNodeDocumentCache. putInternal(@NotNull NodeDocument doc)Puts a document into the cache without acquiring a lock.protected voidNodeDocumentCache. putInternal(@NotNull NodeDocument doc, @Nullable CacheChangesTracker trackerToSkip)Puts a document into the cache without acquiring a lock.voidNodeDocumentCache. replaceCachedDocument(@NotNull NodeDocument oldDoc, @NotNull NodeDocument newDoc)Replaces the cached value if the old document is currently present in the cache.Method parameters in org.apache.jackrabbit.oak.plugins.document.cache with type arguments of type NodeDocument Modifier and Type Method Description @NotNull NodeDocumentNodeDocumentCache. get(@NotNull java.lang.String key, @NotNull java.util.concurrent.Callable<NodeDocument> valueLoader)Return the document matching given key, optionally loading it from an external source.voidNodeDocumentCache. putNonConflictingDocs(CacheChangesTracker tracker, java.lang.Iterable<NodeDocument> docs)Updates the cache with all the documents that: (1) currently have their older versions in the cache or (2) have been neither put nor invalidated during the tracker lifetime.Constructor parameters in org.apache.jackrabbit.oak.plugins.document.cache with type arguments of type NodeDocument Constructor Description NodeDocumentCache(@NotNull Cache<org.apache.jackrabbit.oak.cache.CacheValue,NodeDocument> nodeDocumentsCache, @NotNull org.apache.jackrabbit.oak.cache.CacheStats nodeDocumentsCacheStats, @NotNull Cache<StringValue,NodeDocument> prevDocumentsCache, @NotNull org.apache.jackrabbit.oak.cache.CacheStats prevDocumentsCacheStats, @NotNull NodeDocumentLocks locks) -
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo that return types with arguments of type NodeDocument Modifier and Type Method Description @NotNull CloseableIterable<NodeDocument>MongoMissingLastRevSeeker. getCandidates(long startTime)java.util.Iterator<NodeDocument>MongoBlobReferenceIterator. getIteratorOverDocsWithBinaries()CloseableIterable<NodeDocument>MongoVersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)protected java.lang.Iterable<NodeDocument>MongoVersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp) -
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document.rdb
Methods in org.apache.jackrabbit.oak.plugins.document.rdb that return types with arguments of type NodeDocument Modifier and Type Method Description @NotNull java.lang.Iterable<NodeDocument>RDBMissingLastRevSeeker. getCandidates(long startTime)java.util.Iterator<NodeDocument>RDBBlobReferenceIterator. getIteratorOverDocsWithBinaries()java.lang.Iterable<NodeDocument>RDBVersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)protected java.lang.Iterable<NodeDocument>RDBVersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp) -
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util that return NodeDocument Modifier and Type Method Description static @NotNull NodeDocumentUtils. getRootDocument(@NotNull DocumentStore store)Returns the root node document of the given document store.Methods in org.apache.jackrabbit.oak.plugins.document.util that return types with arguments of type NodeDocument Modifier and Type Method Description static java.lang.Iterable<NodeDocument>Utils. getAllDocuments(DocumentStore store)Returns anIterableover allNodeDocuments in the given store.static java.lang.Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, java.lang.String indexedProperty, long startValue)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.static java.lang.Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, java.lang.String indexedProperty, long startValue, int batchSize)Returns anIterableover allNodeDocuments in the given store matching a condition on an indexed property.Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type NodeDocument Modifier and Type Method Description static voidUtils. alignWithExternalRevisions(@NotNull NodeDocument rootDoc, @NotNull org.apache.jackrabbit.oak.stats.Clock clock, int clusterId, long warnThresholdMillis)Makes sure the current time is after the most recent external revision timestamp in the _lastRev map of the given root document.
-