Uses of Class
org.apache.jackrabbit.oak.plugins.document.NodeDocument
-
-
Uses of NodeDocument in org.apache.jackrabbit.oak.index.indexer.document
Methods in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeDocument Modifier and Type Method Description booleanCompositeIndexer. shouldInclude(NodeDocument doc)booleanLuceneIndexer. shouldInclude(NodeDocument doc)booleanNodeStateIndexer. shouldInclude(NodeDocument doc) -
Uses of NodeDocument in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined
Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined that return NodeDocument Modifier and Type Method Description NodeDocumentNodeDocumentCodec. decode(org.bson.BsonReader reader, org.bson.codecs.DecoderContext decoderContext)Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined that return types with arguments of type NodeDocument Modifier and Type Method Description Class<NodeDocument>NodeDocumentCodec. getEncoderClass()Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined with parameters of type NodeDocument Modifier and Type Method Description voidNodeDocumentCodec. encode(org.bson.BsonWriter writer, NodeDocument value, org.bson.codecs.EncoderContext encoderContext)Constructor parameters in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined with type arguments of type NodeDocument Constructor Description NodeDocumentCodec(MongoDocumentStore store, Collection<NodeDocument> collection, MongoDocumentFilter documentFilter, org.bson.codecs.configuration.CodecRegistry defaultRegistry) -
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 Iterable<NodeDocument>SplitDocumentCleanUp. splitDocGarbageMethods in org.apache.jackrabbit.oak.plugins.document that return NodeDocument Modifier and Type Method Description static NodeDocumentNodeDocument. fromString(DocumentStore store, 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 org.apache.jackrabbit.guava.common.cache.Cache<CacheValue,NodeDocument>DocumentNodeStoreBuilder. buildDocumentCache(DocumentStore docStore)org.apache.jackrabbit.guava.common.cache.Cache<StringValue,NodeDocument>DocumentNodeStoreBuilder. buildPrevDocumentsCache(DocumentStore docStore)List<NodeDocument>FullGcNodeBin. findAndUpdate(List<UpdateOp> updateOpList)Performs a conditional update If the bin is enabled, the removed properties are saved to the SETTINGS collection with ID prefixed with '/bin/' and empty value If the document ID and properties cannot be saved then the removal of the property fails If bin is disabled, the removed properties are directly removed from the NODES collection@NotNull 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.Optional<NodeDocument>VersionGCSupport. getDocument(String id, List<String> fields)Retrieves a document with the given id from the DocumentStore.Iterator<NodeDocument>BlobReferenceIterator. getIteratorOverDocsWithBinaries()Override this document to use a document store specific iterator.Iterable<NodeDocument>VersionGCSupport. getModifiedDocs(long fromModified, long toModified, int limit, @NotNull String fromId, @NotNull Set<String> includePaths, @NotNull Set<String> excludePaths)Returns documents that have aMODIFIED_IN_SECSvalue within the given range and are greater than given @Document.ID.Optional<NodeDocument>VersionGCSupport. getOldestModifiedDoc(Clock clock)Retrieve the oldest modified document.Iterable<NodeDocument>VersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)Returns documents that have aMODIFIED_IN_SECSvalue within the given range and theDELETEDset totrue.protected Iterable<NodeDocument>VersionGCSupport. identifyGarbage(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, Collection<ReferencedBlob> blobs)voidVersionGarbageCollector. collectGarbageOnDocument(DocumentNodeStore store, NodeDocument doc, boolean verbose)StringDocumentNodeStore. getCommitValue(@NotNull Revision changeRevision, @NotNull NodeDocument doc)@Nullable StringRevisionContext. getCommitValue(@NotNull Revision changeRevision, @NotNull NodeDocument doc)Retrieves the commit value for a given change.StringRevisionContextWrapper. getCommitValue(@NotNull Revision revision, @NotNull NodeDocument nodeDocument)static @NotNull SortedMap<Revision,String>NodeDocumentHelper. getLocalCommitRoot(NodeDocument doc)static @NotNull SortedMap<Revision,String>NodeDocumentHelper. getLocalMap(NodeDocument doc, String key)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.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(Iterable<NodeDocument> suspects, int clusterId)intLastRevRecoveryAgent. recover(Iterable<NodeDocument> suspects, int clusterId, boolean dryRun)Recover the correct _lastRev updates for the given candidate nodes.Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeDocument Constructor Description Consistency(@NotNull DocumentNodeState root, @NotNull NodeDocument document)Creates a new consistency check for the givenNodeDocument.NodeDocumentRevisionCleaner(DocumentNodeStore documentNodeStore, NodeDocument workingDocument)Constructor for NodeDocumentRevisionCleaner.NodeDocumentRevisionCleaner(DocumentNodeStore documentNodeStore, NodeDocument workingDocument, long toModifiedMs)Constructor for NodeDocumentRevisionCleaner.Constructor parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type NodeDocument Constructor Description SplitDocumentCleanUp(DocumentStore store, VersionGarbageCollector.VersionGCStats stats, 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 String key, @NotNull Callable<NodeDocument> valueLoader)Return the document matching given key, optionally loading it from an external source.@Nullable NodeDocumentNodeDocumentCache. getIfPresent(@NotNull 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 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 String key, @NotNull Callable<NodeDocument> valueLoader)Return the document matching given key, optionally loading it from an external source.voidNodeDocumentCache. putNonConflictingDocs(CacheChangesTracker tracker, 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 org.apache.jackrabbit.guava.common.cache.Cache<CacheValue,NodeDocument> nodeDocumentsCache, @NotNull CacheStats nodeDocumentsCacheStats, @NotNull org.apache.jackrabbit.guava.common.cache.Cache<StringValue,NodeDocument> prevDocumentsCache, @NotNull CacheStats prevDocumentsCacheStats, @NotNull NodeDocumentLocks locks) -
Uses of NodeDocument in org.apache.jackrabbit.oak.plugins.document.check
Methods in org.apache.jackrabbit.oak.plugins.document.check with parameters of type NodeDocument Modifier and Type Method Description protected abstract Optional<Callable<Void>>AsyncDocumentProcessor. createTask(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)protected Optional<Callable<Void>>AsyncNodeStateProcessor. createTask(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)protected Optional<Callable<Void>>ConsistencyCheck. createTask(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)protected Optional<Callable<Void>>OrphanedNodeCheck. createTask(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)protected booleanAsyncNodeStateProcessor. process(NodeDocument doc)Decide early whether aNodeDocumentshould be processed or not.voidAsyncDocumentProcessor. processDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)voidCompositeDocumentProcessor. processDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)voidDocumentProcessor. processDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)Process the given document and publish the result to theresultsqueue.voidProgress. processDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)voidSummary. processDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)Constructors in org.apache.jackrabbit.oak.plugins.document.check with parameters of type NodeDocument Constructor Description NodeStateTask(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results) -
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 List<NodeDocument>MongoFullGcNodeBin. findAndUpdate(List<UpdateOp> updateOpList)Performs a conditional update If the bin is enabled, the removed properties are saved to the BIN collection with ID prefixed with '/bin/' and empty value If the document ID and properties cannot be saved then the removal of the property fails If bin is disabled, the removed properties are directly removed from the NODES collectionstatic Iterable<NodeDocument>MongoDocumentStoreCheckHelper. getAllNodeDocuments(MongoDocumentStore store)@NotNull CloseableIterable<NodeDocument>MongoMissingLastRevSeeker. getCandidates(long startTime)Optional<NodeDocument>MongoVersionGCSupport. getDocument(String id, List<String> fields)Retrieves a document with the given id from the MongoDB collection.Iterator<NodeDocument>MongoBlobReferenceIterator. getIteratorOverDocsWithBinaries()Iterable<NodeDocument>MongoVersionGCSupport. getModifiedDocs(long fromModified, long toModified, int limit, @NotNull String fromId, @NotNull Set<String> includedPathPrefixes, @NotNull Set<String> excludedPathPrefixes)Returns documents that have aMODIFIED_IN_SECSvalue within the given range and are greater than given @Document.ID.Optional<NodeDocument>MongoVersionGCSupport. getOldestModifiedDoc(Clock clock)Retrieve the time of the oldest modified document.CloseableIterable<NodeDocument>MongoVersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)protected Iterable<NodeDocument>MongoVersionGCSupport. identifyGarbage(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 Iterable<NodeDocument>RDBMissingLastRevSeeker. getCandidates(long startTime)Iterator<NodeDocument>RDBBlobReferenceIterator. getIteratorOverDocsWithBinaries()Iterable<NodeDocument>RDBVersionGCSupport. getPossiblyDeletedDocs(long fromModified, long toModified)protected Iterable<NodeDocument>RDBVersionGCSupport. identifyGarbage(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 Iterable<NodeDocument>Utils. getAllDocuments(DocumentStore store)Returns anIterableover allNodeDocuments in the given store.static Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.static Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue, int batchSize)Returns anIterableover allNodeDocuments in the given store matching a condition on an indexed property.static Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue, @NotNull Set<String> includePaths, @NotNull Set<String> excludePaths)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.static Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue, String fromId)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.static Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue, String fromId, @NotNull Set<String> includePaths, @NotNull Set<String> excludePaths)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.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 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.
-