Uses of Interface
org.apache.jackrabbit.oak.spi.state.NodeState
-
-
Uses of NodeState in org.apache.jackrabbit.oak.composite
Methods in org.apache.jackrabbit.oak.composite that return NodeState Modifier and Type Method Description NodeStateCompositeNodeStore. getRoot()NodeStateCompositeNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)NodeStateCompositeNodeStore. rebase(NodeBuilder builder)NodeStateCompositeNodeStore. reset(NodeBuilder builder)NodeStateCompositeNodeStore. retrieve(String checkpoint)Methods in org.apache.jackrabbit.oak.composite with parameters of type NodeState Modifier and Type Method Description ValidatorCrossMountReferenceValidator. childNodeAdded(String name, NodeState after)booleanModifiedPathDiff. childNodeAdded(String name, NodeState after)ValidatorCrossMountReferenceValidator. childNodeChanged(String name, NodeState before, NodeState after)booleanModifiedPathDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanModifiedPathDiff. childNodeDeleted(String name, NodeState before)voidCrossMountReferenceValidator. enter(NodeState before, NodeState after)static Set<String>ModifiedPathDiff. getModifiedPaths(NodeState before, NodeState after)protected ValidatorCrossMountReferenceValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)@NotNull ValidatorPrivateStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)voidCrossMountReferenceValidator. leave(NodeState before, NodeState after)voidCompositeNodeStore. prefetch(Collection<String> paths, NodeState rootState)Constructors in org.apache.jackrabbit.oak.composite with parameters of type NodeState Constructor Description CrossMountReferenceValidator(NodeState root, MountInfoProvider mip, boolean failOnDetection) -
Uses of NodeState in org.apache.jackrabbit.oak.composite.impl
Methods in org.apache.jackrabbit.oak.composite.impl with parameters of type NodeState Modifier and Type Method Description voidNonDefaultMountWriteReportingObserver. contentChanged(NodeState root, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.console
Methods in org.apache.jackrabbit.oak.console that return NodeState Modifier and Type Method Description NodeStateConsoleSession. getRoot()Returns the currently set root node.@NotNull NodeStateConsoleSession. getWorkingNode()The node state for the current working path. -
Uses of NodeState in org.apache.jackrabbit.oak.core
Constructors in org.apache.jackrabbit.oak.core with parameters of type NodeState Constructor Description ImmutableRoot(@NotNull NodeState rootState) -
Uses of NodeState in org.apache.jackrabbit.oak.explorer
Methods in org.apache.jackrabbit.oak.explorer that return NodeState Modifier and Type Method Description NodeStateAbstractSegmentTarExplorerBackend. getHead()NodeStateAbstractSegmentTarExplorerBackend. readNodeState(String recordId)Methods in org.apache.jackrabbit.oak.explorer with parameters of type NodeState Modifier and Type Method Description StringAbstractSegmentTarExplorerBackend. getFile(NodeState state)StringAbstractSegmentTarExplorerBackend. getRecordId(NodeState state)UUIDAbstractSegmentTarExplorerBackend. getSegmentId(NodeState state)StringAbstractSegmentTarExplorerBackend. getTemplateFile(NodeState state)StringAbstractSegmentTarExplorerBackend. getTemplateRecordId(NodeState state)UUIDAbstractSegmentTarExplorerBackend. getTemplateSegmentId(NodeState state)booleanAbstractSegmentTarExplorerBackend. isPersisted(NodeState state) -
Uses of NodeState in org.apache.jackrabbit.oak.exporter
Constructors in org.apache.jackrabbit.oak.exporter with parameters of type NodeState Constructor Description NodeStateSerializer(NodeState nodeState) -
Uses of NodeState in org.apache.jackrabbit.oak.index
Methods in org.apache.jackrabbit.oak.index that return NodeState Modifier and Type Method Description NodeStateIndexerSupport. retrieveNodeStateForCheckpoint()Methods in org.apache.jackrabbit.oak.index with parameters of type NodeState Modifier and Type Method Description @Nullable EditorSegmentPropertyIndexEditorProvider. getIndexEditor(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) -
Uses of NodeState in org.apache.jackrabbit.oak.index.indexer.document
Methods in org.apache.jackrabbit.oak.index.indexer.document that return NodeState Modifier and Type Method Description NodeStateNodeStateEntry. getNodeState()Methods in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeState Modifier and Type Method Description NodeStateIndexerLuceneIndexerProvider. getIndexer(@NotNull String type, @NotNull String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter)@Nullable NodeStateIndexerNodeStateIndexerProvider. getIndexer(@NotNull String type, @NotNull String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter)Constructors in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeState Constructor Description NodeStateEntry(NodeState nodeState, String path, long memUsage, long lastModified, String id)NodeStateEntryBuilder(NodeState nodeState, String path) -
Uses of NodeState in org.apache.jackrabbit.oak.index.indexer.document.flatfile
Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile with parameters of type NodeState Modifier and Type Method Description StringNodeStateEntryWriter. asJson(NodeState nodeState)static voidSimpleFlatFileUtil. createFlatFileFor(NodeState ns, File f)static voidSimpleFlatFileUtil. createFlatFileFor(NodeState ns, Writer writer) -
Uses of NodeState in org.apache.jackrabbit.oak.index.indexer.document.incrementalstore
Methods in org.apache.jackrabbit.oak.index.indexer.document.incrementalstore with parameters of type NodeState Modifier and Type Method Description @Nullable EditorIncrementalFlatFileStoreEditor. childNodeAdded(String name, NodeState after)@Nullable EditorIncrementalFlatFileStoreEditor. childNodeChanged(String name, NodeState before, NodeState after)@Nullable EditorIncrementalFlatFileStoreEditor. childNodeDeleted(String name, NodeState before)voidIncrementalFlatFileStoreEditor. enter(NodeState before, NodeState after)voidIncrementalFlatFileStoreEditor. leave(NodeState before, NodeState after) -
Uses of NodeState in org.apache.jackrabbit.oak.index.indexer.document.tree
Classes in org.apache.jackrabbit.oak.index.indexer.document.tree that implement NodeState Modifier and Type Class Description classTreeStoreNodeStateA node state of an Oak node that is stored in a tree store.Methods in org.apache.jackrabbit.oak.index.indexer.document.tree that return NodeState Modifier and Type Method Description @NotNull NodeStateTreeStoreNodeState. getChildNode(@NotNull String name)Methods in org.apache.jackrabbit.oak.index.indexer.document.tree with parameters of type NodeState Modifier and Type Method Description booleanTreeStoreNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)Constructors in org.apache.jackrabbit.oak.index.indexer.document.tree with parameters of type NodeState Constructor Description TreeStoreNodeState(NodeState delegate, String path, TreeStore treeStore, long estimatedMemory) -
Uses of NodeState in org.apache.jackrabbit.oak.indexversion
Methods in org.apache.jackrabbit.oak.indexversion with parameters of type NodeState Modifier and Type Method Description protected abstract booleanIndexVersionOperation. checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)protected booleanLuceneIndexVersionOperation. checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)List<IndexVersionOperation>IndexVersionOperation. generateIndexVersionOperationList(NodeState rootNode, String parentPath, List<IndexName> indexNameObjectList, long purgeThresholdMillis)Generate list of index version operation over a list of indexes have same index base.List<IndexVersionOperation>IndexVersionOperation. generateIndexVersionOperationList(NodeState rootNode, String parentPath, List<IndexName> indexNameObjectList, long purgeThresholdMillis, boolean shouldPurgeBaseIndex)Generate list of index version operation over a list of indexes have same index base.protected abstract @Nullable IndexNameIndexVersionOperation. getActiveIndex(List<IndexName> reverseSortedIndexNameList, String parentPath, NodeState rootNode)protected IndexNameLuceneIndexVersionOperation. getActiveIndex(List<IndexName> reverseSortedIndexNameList, String parentPath, NodeState rootNode)protected static booleanIndexVersionOperation. isHiddenOakMountExists(NodeState indexNode) -
Uses of NodeState in org.apache.jackrabbit.oak.json
Methods in org.apache.jackrabbit.oak.json that return NodeState Modifier and Type Method Description NodeStateJsonDeserializer. deserialize(String json)NodeStateJsonDeserializer. deserialize(String line, int pos)NodeStateJsonDeserializer. deserialize(JsopReader reader)Methods in org.apache.jackrabbit.oak.json with parameters of type NodeState Modifier and Type Method Description booleanJsopDiff. childNodeAdded(String name, NodeState after)booleanJsopDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanJsopDiff. childNodeDeleted(String name, NodeState before)static Map<String,Object>JsonUtils. convertNodeStateToMap(NodeState nodeState, int maxDepth, boolean shouldSerializeHiddenNodesOrProperties)Convert a NodeState to a Map representationstatic StringJsopDiff. diffToJsop(NodeState before, NodeState after)Create the JSOP diff betweenbeforeandafterfor debugging purposes.static StringJsonUtils. nodeStateToJson(NodeState nodeState, int maxDepth)Converts a NodeState to JSON string with specified depthvoidJsonSerializer. serialize(NodeState node)voidJsonSerializer. serialize(NodeState node, String basePath) -
Uses of NodeState in org.apache.jackrabbit.oak.namepath.impl
Constructors in org.apache.jackrabbit.oak.namepath.impl with parameters of type NodeState Constructor Description GlobalNameMapper(NodeState root) -
Uses of NodeState in org.apache.jackrabbit.oak.nodestate
Methods in org.apache.jackrabbit.oak.nodestate with parameters of type NodeState Modifier and Type Method Description static StringNodeStateHelper. nodeStateToString(NodeState state) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.atomic
Methods in org.apache.jackrabbit.oak.plugins.atomic with parameters of type NodeState Modifier and Type Method Description EditorAtomicCounterEditor. childNodeAdded(String name, NodeState after)EditorAtomicCounterEditor. childNodeChanged(String name, NodeState before, NodeState after)EditorAtomicCounterEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)voidAtomicCounterEditor. leave(NodeState before, NodeState after) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.blob.migration
Methods in org.apache.jackrabbit.oak.plugins.blob.migration with parameters of type NodeState Modifier and Type Method Description DepthFirstNodeIteratorDepthFirstNodeIterator. switchRoot(NodeState newRoot)Constructors in org.apache.jackrabbit.oak.plugins.blob.migration with parameters of type NodeState Constructor Description DepthFirstNodeIterator(NodeState root) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.commit
Methods in org.apache.jackrabbit.oak.plugins.commit that return NodeState Modifier and Type Method Description @NotNull NodeStateConflictHook. processCommit(NodeState before, NodeState after, CommitInfo info)Methods in org.apache.jackrabbit.oak.plugins.commit with parameters of type NodeState Modifier and Type Method Description @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs)PartialConflictHandler.ResolutionChildOrderConflictHandler. addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs)PartialConflictHandler.ResolutionDefaultConflictHandler. addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs)Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs)@NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base)PartialConflictHandler.ResolutionChildOrderConflictHandler. changeDeletedNode(NodeBuilder parent, String name, NodeState ours)PartialConflictHandler.ResolutionDefaultConflictHandler. changeDeletedNode(NodeBuilder parent, String name, NodeState ours)Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base)ValidatorConflictValidator. childNodeAdded(String name, NodeState after)booleanMergingNodeStateDiff. childNodeAdded(String name, NodeState after)ValidatorConflictValidator. childNodeChanged(String name, NodeState before, NodeState after)booleanMergingNodeStateDiff. childNodeChanged(String name, NodeState before, NodeState after)ValidatorConflictValidator. childNodeDeleted(String name, NodeState before)@NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base)PartialConflictHandler.ResolutionChildOrderConflictHandler. deleteChangedNode(NodeBuilder parent, String name, NodeState theirs)PartialConflictHandler.ResolutionDefaultConflictHandler. deleteChangedNode(NodeBuilder parent, String name, NodeState theirs)Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base)@NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base)@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base)voidConflictValidator. enter(NodeState before, NodeState after)ValidatorConflictValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)voidConflictValidator. leave(NodeState before, NodeState after)@NotNull NodeStateConflictHook. processCommit(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.cow
Methods in org.apache.jackrabbit.oak.plugins.cow that return NodeState Modifier and Type Method Description @NotNull NodeStateBranchNodeStore. getRoot()@NotNull NodeStateCOWNodeStore. getRoot()@NotNull NodeStateBranchNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)@NotNull NodeStateCOWNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)@NotNull NodeStateBranchNodeStore. rebase(@NotNull NodeBuilder builder)@NotNull NodeStateCOWNodeStore. rebase(@NotNull NodeBuilder builder)NodeStateBranchNodeStore. reset(@NotNull NodeBuilder builder)NodeStateCOWNodeStore. reset(@NotNull NodeBuilder builder)NodeStateBranchNodeStore. retrieve(@NotNull String checkpoint)NodeStateCOWNodeStore. retrieve(@NotNull String checkpoint) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.document
Classes in org.apache.jackrabbit.oak.plugins.document that implement NodeState Modifier and Type Class Description classAbstractDocumentNodeStateclassDocumentNodeStateANodeStateimplementation for theDocumentNodeStore.Methods in org.apache.jackrabbit.oak.plugins.document that return NodeState Modifier and Type Method Description @NotNull NodeStateDocumentNodeState. getChildNode(@NotNull String name)@NotNull NodeStateDocumentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)@NotNull NodeStateDocumentNodeStore. rebase(@NotNull NodeBuilder builder)NodeStateDocumentNodeStore. reset(@NotNull NodeBuilder builder)@Nullable NodeStateDocumentNodeStore. retrieve(@NotNull String checkpoint)Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeState Modifier and Type Method Description booleanAbstractDocumentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)voidDocumentDiscoveryLiteService. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)Additionally the DocumentDiscoveryLiteService must be notified when the background-read has finished - as it could be waiting for a crashed node's recovery to finish - which it can only do by checking the lastKnownRevision of the crashed instance - and that check is best done after the background read is just finished (it could optionally do that just purely time based as well, but going via a listener is more timely, that's why this approach has been chosen).voidDocumentNodeStore. prefetch(Collection<String> paths, NodeState rootState) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.document.bundlor
Methods in org.apache.jackrabbit.oak.plugins.document.bundlor that return NodeState Modifier and Type Method Description NodeStateBundledTypesRegistry.BundledTypesRegistryBuilder. build()NodeStateBundledTypesRegistry.BundledTypesRegistryBuilder.TypeBuilder. build()NodeStateBundlingHandler. getNodeState()Methods in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type NodeState Modifier and Type Method Description BundlingHandlerBundlingHandler. childAdded(String name, NodeState state)BundlingHandlerBundlingHandler. childChanged(String name, NodeState before, NodeState after)BundlingHandlerBundlingHandler. childDeleted(String name, NodeState state)voidBundlingConfigHandler. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)static BundledTypesRegistryBundledTypesRegistry. from(NodeState configParentState)static DocumentBundlorDocumentBundlor. from(NodeState nodeState)@Nullable DocumentBundlorBundledTypesRegistry. getBundlor(NodeState state) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.document.check
Fields in org.apache.jackrabbit.oak.plugins.document.check declared as NodeState Modifier and Type Field Description protected NodeStateAsyncNodeStateProcessor. uuidIndexMethods in org.apache.jackrabbit.oak.plugins.document.check that return NodeState Modifier and Type Method Description protected @Nullable NodeStateAsyncNodeStateProcessor. getNodeByUUID(@NotNull String uuid, @NotNull AtomicReference<String> resolvedPath)Utility method that resolves heuuidinto aNodeStatewith the help of the UUID index.Methods in org.apache.jackrabbit.oak.plugins.document.check with parameters of type NodeState Modifier and Type Method Description protected abstract voidAsyncNodeStateProcessor. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull Consumer<Result> resultConsumer)Responsibility of the subclass to implement the processor logic.protected voidNodeCounter. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull Consumer<Result> resultConsumer)protected voidReferenceCheck. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull Consumer<Result> resultConsumer) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.document.secondary
Classes in org.apache.jackrabbit.oak.plugins.document.secondary that implement NodeState Modifier and Type Class Description classDelegatingDocumentNodeStateNodeState wrapper which wraps another NodeState (mostly SegmentNodeState) so as to expose it as anAbstractDocumentNodeStateby extracting the meta properties which are stored as hidden propertiesMethods in org.apache.jackrabbit.oak.plugins.document.secondary that return NodeState Modifier and Type Method Description @NotNull NodeStateDelegatingDocumentNodeState. getChildNode(@NotNull String name)static NodeStateDelegatingDocumentNodeState. wrapIfPossible(NodeState delegate, NodeStateDiffer differ)Wraps a given root NodeState as aDelegatingDocumentNodeStateif it has required meta properties otherwise just returns the passed NodeStateMethods in org.apache.jackrabbit.oak.plugins.document.secondary with parameters of type NodeState Modifier and Type Method Description voidSecondaryStoreObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)static booleanDelegatingDocumentNodeState. hasMetaProps(NodeState delegate)static AbstractDocumentNodeStateDelegatingDocumentNodeState. wrap(NodeState delegate, NodeStateDiffer differ)static NodeStateDelegatingDocumentNodeState. wrapIfPossible(NodeState delegate, NodeStateDiffer differ)Wraps a given root NodeState as aDelegatingDocumentNodeStateif it has required meta properties otherwise just returns the passed NodeState -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type NodeState Modifier and Type Method Description booleanCountingDiff. childNodeAdded(String name, NodeState after)booleanReverseNodeStateDiff. childNodeAdded(String name, NodeState after)booleanCountingDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanReverseNodeStateDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanCountingDiff. childNodeDeleted(String name, NodeState before)booleanReverseNodeStateDiff. childNodeDeleted(String name, NodeState before)static intCountingDiff. countChanges(NodeState before, NodeState after) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.identifier
Methods in org.apache.jackrabbit.oak.plugins.identifier with parameters of type NodeState Modifier and Type Method Description IdentifierTrackerIdentifierTracker. getChildTracker(String name, NodeState state)Constructors in org.apache.jackrabbit.oak.plugins.identifier with parameters of type NodeState Constructor Description IdentifierTracker(NodeState root) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.index
Methods in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeState Modifier and Type Method Description @NotNull EditorIndexUpdate. childNodeAdded(String name, NodeState after)@NotNull EditorIndexUpdate. childNodeChanged(String name, NodeState before, NodeState after)@Nullable EditorIndexUpdate. childNodeDeleted(String name, NodeState before)voidIndexUpdate. enter(NodeState before, NodeState after)static Collection<String>IndexName. filterReplacedIndexes(Collection<String> indexPaths, NodeState rootState, boolean checkIsActive)Filter out index that are replaced by another index with the same base name but newer version.static @Nullable StringIndexUtils. getAsyncLaneName(NodeState idxState, String indexPath)static @Nullable StringIndexUtils. getAsyncLaneName(NodeState idxState, String indexPath, PropertyState async)Iterable<String>AsyncIndexInfoService. getAsyncLanes(NodeState root)Returns all the async indexing lanes which are active in the setup based on given root NodeStateIterable<String>AsyncIndexInfoServiceImpl. getAsyncLanes(NodeState root)EditorCompositeIndexEditorProvider. getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)@Nullable EditorIndexEditorProvider. getIndexEditor(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)Each provider knows how to produce a certain type of index.EditorWhiteboardIndexEditorProvider. getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)Map<String,Long>AsyncIndexInfoService. getIndexedUptoPerLane(NodeState root)Returns the lastIndexUpto time in millis for each indexing lane for given root stateMap<String,Long>AsyncIndexInfoServiceImpl. getIndexedUptoPerLane(NodeState root)@Nullable AsyncIndexInfoAsyncIndexInfoService. getInfo(String name, NodeState root)Returns the info for async indexer with given name and based on given root NodeStateAsyncIndexInfoAsyncIndexInfoServiceImpl. getInfo(String name, NodeState root)@Nullable EditorIndexUpdateProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)default booleanAsyncIndexInfoService. hasIndexerUpdatedForAnyLane(NodeState before, NodeState after)Determines if any index lane has completed any indexing cycle between given two repository statesstatic booleanIndexName. isIndexActive(String indexPath, NodeState rootState)static booleanIndexUtils. isIndexNodeType(NodeState state)static booleanIndexUtils. isIndexNodeType(NodeState state, String typeIn)voidIndexUpdate. leave(NodeState before, NodeState after)protected booleanAsyncIndexUpdate. updateIndex(NodeState before, String beforeCheckpoint, NodeState after, String afterCheckpoint, String afterTime, AsyncIndexUpdate.AsyncUpdateCallback callback, AtomicReference<String> checkpointToReleaseRef)Constructors in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeState Constructor Description IndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback)IndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, NodeTraversalCallback traversalCallback, CommitInfo commitInfo, CorruptIndexHandler corruptIndexHandler)IndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, CommitInfo commitInfo) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.itemsave
Methods in org.apache.jackrabbit.oak.plugins.itemsave with parameters of type NodeState Modifier and Type Method Description protected @Nullable ValidatorItemSaveValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.memory
Classes in org.apache.jackrabbit.oak.plugins.memory that implement NodeState Modifier and Type Class Description classEmptyNodeStateSingleton instances of empty and non-existent node states, i.e.classModifiedNodeStateImmutable snapshot of a mutable node state.Fields in org.apache.jackrabbit.oak.plugins.memory declared as NodeState Modifier and Type Field Description static NodeStateEmptyNodeState. EMPTY_NODEstatic NodeStateEmptyNodeState. MISSING_NODEMethods in org.apache.jackrabbit.oak.plugins.memory with type parameters of type NodeState Modifier and Type Method Description static <E extends Map.Entry<String,? extends NodeState>>
Iterable<ChildNodeEntry>MemoryChildNodeEntry. iterable(Iterable<E> set)Methods in org.apache.jackrabbit.oak.plugins.memory that return NodeState Modifier and Type Method Description @NotNull NodeStateMemoryNodeBuilder. getBaseState()@NotNull NodeStateModifiedNodeState. getBaseState()@NotNull NodeStateEmptyNodeState. getChildNode(@NotNull String name)@NotNull NodeStateModifiedNodeState. getChildNode(@NotNull String name)NodeStateMemoryChildNodeEntry. getNodeState()@NotNull NodeStateMemoryNodeBuilder. getNodeState()NodeStateMemoryNodeStore. getRoot()NodeStateMemoryNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)This implementation is equal to first rebasing the builder and then applying it to a new branch and immediately merging it back.NodeStateMemoryNodeStore. rebase(@NotNull NodeBuilder builder)This implementation is equal to applying the differences between the builders base state and its head state to a fresh builder on the stores root state usingConflictAnnotatingRebaseDifffor resolving conflicts.NodeStateMemoryNodeStore. reset(@NotNull NodeBuilder builder)This implementation is equal resetting the builder to the root of the store and returning the resulting node state from the builder.@Nullable NodeStateMemoryNodeStore. retrieve(@NotNull String checkpoint)static NodeStateModifiedNodeState. squeeze(NodeState state)"Squeezes"ModifiedNodeStateinstances into equivalentMemoryNodeStates.Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeState Modifier and Type Method Description booleanEmptyNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)booleanModifiedNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)Since we keep track of an explicit base node state for aModifiedNodeStateinstance, we can do this in two steps: first compare all the modified properties and child nodes to those of the given base state, and then compare the base states to each other, ignoring all changed properties and child nodes that were already covered earlier.static booleanEmptyNodeState. compareAgainstEmptyState(NodeState state, NodeStateDiff diff)static booleanEmptyNodeState. isEmptyState(NodeState state)voidMemoryNodeBuilder. reset(@NotNull NodeState newBase)Throws away all changes in this builder and resets the base to the given node state.protected voidMemoryNodeBuilder. set(NodeState newState)Replaces the current state of this builder with the given node state.@NotNull NodeBuilderMemoryNodeBuilder. setChildNode(@NotNull String name, @NotNull NodeState state)static NodeStateModifiedNodeState. squeeze(NodeState state)"Squeezes"ModifiedNodeStateinstances into equivalentMemoryNodeStates.Constructors in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeState Constructor Description MemoryChildNodeEntry(String name, NodeState node)Creates a child node entry with the given name and referenced child node state.MemoryNodeBuilder(@NotNull NodeState base)Creates a new in-memory node state builder rooted at and based on the passedbasestate.MemoryNodeStore(NodeState state) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.migration
Classes in org.apache.jackrabbit.oak.plugins.migration that implement NodeState Modifier and Type Class Description classAbstractDecoratedNodeStateclassFilteringNodeStateNodeState implementation that decorates another node-state instance in order to hide subtrees or partial subtrees from the consumer of the API.Fields in org.apache.jackrabbit.oak.plugins.migration declared as NodeState Modifier and Type Field Description protected NodeStateAbstractDecoratedNodeState. delegateMethods in org.apache.jackrabbit.oak.plugins.migration that return NodeState Modifier and Type Method Description protected abstract @NotNull NodeStateAbstractDecoratedNodeState. decorateChild(@NotNull String name, @NotNull NodeState delegateChild)protected @NotNull NodeStateFilteringNodeState. decorateChild(@NotNull String name, @NotNull NodeState child)@NotNull NodeStateAbstractDecoratedNodeState. getChildNode(@NotNull String name)NodeStateAbstractDecoratedNodeState. getDelegate()protected NodeStateDescendantsIterator. getNext()static @NotNull NodeStateFilteringNodeState. wrap(@NotNull String path, @NotNull NodeState delegate, @Nullable Set<String> includePaths, @Nullable Set<String> excludePaths, @Nullable Set<String> fragmentPaths, @Nullable Set<String> excludedFragments, boolean referenceableFrozenNodes)Factory method that conditionally decorates the given node-state iff the node-state is (a) hidden itself or (b) has hidden descendants.Methods in org.apache.jackrabbit.oak.plugins.migration with parameters of type NodeState Modifier and Type Method Description booleanAbstractDecoratedNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)booleanNodeStateCopier.Builder. copy(@NotNull NodeState sourceRoot, @NotNull NodeBuilder targetRoot)Creates a NodeStateCopier to copy thesourceRootNodeState to thetargetRootNodeBuilder, using any include, exclude, merge paths and consumer set on this NodeStateCopier.Builder.static booleanNodeStateCopier. copyProperties(NodeState source, NodeBuilder target)Copies all changed properties from the source NodeState to the target NodeBuilder instance.static booleanNodeStateCopier. copyProperties(NodeState source, NodeBuilder target, boolean preserveOnTarget, String path)Copies all changed properties from the source NodeState to the target NodeBuilder instance.protected abstract @NotNull NodeStateAbstractDecoratedNodeState. decorateChild(@NotNull String name, @NotNull NodeState delegateChild)protected @NotNull NodeStateFilteringNodeState. decorateChild(@NotNull String name, @NotNull NodeState child)protected static PropertyStateAbstractDecoratedNodeState. fixChildOrderPropertyState(NodeState nodeState, PropertyState propertyState)Convenience method to help implementations that hide nodes set the :childOrder (OAK_CHILD_ORDER) property to its correct value.protected booleanAbstractDecoratedNodeState. hideChild(@NotNull String name, @NotNull NodeState delegateChild)protected booleanFilteringNodeState. hideChild(@NotNull String name, @NotNull NodeState delegateChild)static @NotNull NodeStateFilteringNodeState. wrap(@NotNull String path, @NotNull NodeState delegate, @Nullable Set<String> includePaths, @Nullable Set<String> excludePaths, @Nullable Set<String> fragmentPaths, @Nullable Set<String> excludedFragments, boolean referenceableFrozenNodes)Factory method that conditionally decorates the given node-state iff the node-state is (a) hidden itself or (b) has hidden descendants.Constructors in org.apache.jackrabbit.oak.plugins.migration with parameters of type NodeState Constructor Description AbstractDecoratedNodeState(@NotNull NodeState delegate, boolean useNativeEquals)DescendantsIterator(NodeState root, int maxLevel) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.migration.report
Classes in org.apache.jackrabbit.oak.plugins.migration.report that implement NodeState Modifier and Type Class Description classReportingNodeStateA decoration layer for NodeState instances that intercepts all accesses to NodeStates and PropertyStates (getters) and informs aReportervia its callbacks that the respective NodeStates or PropertyStates have been accessed.Methods in org.apache.jackrabbit.oak.plugins.migration.report that return NodeState Modifier and Type Method Description protected @NotNull NodeStateReportingNodeState. decorateChild(@NotNull String name, @NotNull NodeState delegateChild)static NodeStateReportingNodeState. wrap(NodeState nodeState, Reporter reporter)Allows wrapping a NodeState as a ReportingNodeState.Methods in org.apache.jackrabbit.oak.plugins.migration.report with parameters of type NodeState Modifier and Type Method Description protected @NotNull NodeStateReportingNodeState. decorateChild(@NotNull String name, @NotNull NodeState delegateChild)static NodeStateReportingNodeState. wrap(NodeState nodeState, Reporter reporter)Allows wrapping a NodeState as a ReportingNodeState. -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.migration.version
Methods in org.apache.jackrabbit.oak.plugins.migration.version that return NodeState Modifier and Type Method Description static NodeStateVersionHistoryUtil. getVersionStorage(NodeState root)Methods in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeState Modifier and Type Method Description EditorVersionableEditor. childNodeAdded(String name, NodeState after)EditorVersionablePropertiesEditor. childNodeAdded(String name, NodeState after)EditorVersionableEditor. childNodeChanged(String name, NodeState before, NodeState after)EditorVersionablePropertiesEditor. childNodeChanged(String name, NodeState before, NodeState after)EditorVersionableEditor. childNodeDeleted(String name, NodeState before)static voidVersionCopier. copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config)static voidVersionCopier. copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config, @NotNull Consumer<String> consumer)EditorVersionableEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder rootBuilder, CommitInfo info)EditorVersionablePropertiesEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)static List<String>VersionHistoryUtil. getVersionableNodes(NodeState root, NodeState versionStorage, TypePredicate isVersionable, Calendar olderThan)static CalendarVersionHistoryUtil. getVersionHistoryLastModified(NodeState versionHistory)static NodeStateVersionHistoryUtil. getVersionStorage(NodeState root)voidVersionableEditor. leave(NodeState before, NodeState after)static NodeBuilderVersionHistoryUtil. removeVersions(NodeState root, List<String> toRemove)Constructors in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeState Constructor Description Provider(NodeState sourceRoot, String workspaceName, VersionCopyConfiguration config)VersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage)VersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, Consumer<String> consumer) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.name
Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type NodeState Modifier and Type Method Description EditorNamespaceEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)ValidatorNameValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.nodetype
Methods in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type NodeState Modifier and Type Method Description EditorTypeEditor. childNodeAdded(String name, NodeState after)TypeEditorTypeEditor. childNodeChanged(String name, NodeState before, NodeState after)EditorTypeEditor. childNodeDeleted(String name, NodeState before)static TypeEditorTypeEditor. create(@NotNull TypeEditor.ConstraintViolationCallback callback, Set<String> typesToCheck, @NotNull NodeState types, String primary, Iterable<String> mixins, @NotNull NodeBuilder builder)Creates a new TypeEditor instancevoidTypeEditor. enter(NodeState before, NodeState after)EditorTypeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)static @NotNull TypePredicateTypePredicate. isOrderable(@NotNull NodeState root)booleanTypePredicate. test(@Nullable NodeState input)Constructors in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type NodeState Constructor Description TypePredicate(@NotNull NodeState root, @NotNull Iterable<String> names)Creates a predicate for checking whether a node state is an instance of any of the named node types.TypePredicate(@NotNull NodeState root, @NotNull String name)Creates a predicate for checking whether a node state is an instance of the named node type.TypePredicate(@NotNull NodeState root, @NotNull String[] names)Creates a predicate for checking whether a node state is an instance of any of the named node types. -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.observation
Methods in org.apache.jackrabbit.oak.plugins.observation that return NodeState Modifier and Type Method Description @NotNull NodeStateCommitRateLimiter. processCommit(NodeState before, NodeState after, CommitInfo info)Methods in org.apache.jackrabbit.oak.plugins.observation with parameters of type NodeState Modifier and Type Method Description voidEventGenerator. addHandler(NodeState before, NodeState after, EventHandler handler)voidFilteringAwareObserver. contentChanged(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)Equivalent to the state-full contentChanged() method of the Observer with one important difference being that this variation explicitly passes the before NodeState (thus the observer must in this case not remember the previous state)voidFilteringDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidFilteringObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidNodeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidDefaultEventHandler. enter(NodeState before, NodeState after)voidEventHandler. enter(NodeState before, NodeState after)Called before the given before and after states are compared.voidFilteredHandler. enter(NodeState before, NodeState after)booleanFilter. excludes(@NotNull NodeState root, @NotNull CommitInfo info)Whether or not to exclude a particular content change from being forwarded to downstream observers.EventHandlerDefaultEventHandler. getChildHandler(String name, NodeState before, NodeState after)@Nullable EventHandlerEventHandler. getChildHandler(String name, NodeState before, NodeState after)Returns a handler of events within the given child node, ornullif changes within that child are not to be processed.@Nullable EventHandlerFilteredHandler. getChildHandler(String name, NodeState before, NodeState after)protected ValidatorChangeCollectorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)voidDefaultEventHandler. leave(NodeState before, NodeState after)voidEventHandler. leave(NodeState before, NodeState after)Called after the given before and after states are compared.voidFilteredHandler. leave(NodeState before, NodeState after)voidDefaultEventHandler. nodeAdded(String name, NodeState after)voidEventHandler. nodeAdded(String name, NodeState after)Notification for an added nodevoidFilteredHandler. nodeAdded(String name, NodeState after)voidDefaultEventHandler. nodeDeleted(String name, NodeState before)voidEventHandler. nodeDeleted(String name, NodeState before)Notification for a deleted nodevoidFilteredHandler. nodeDeleted(String name, NodeState before)voidDefaultEventHandler. nodeMoved(String sourcePath, String name, NodeState moved)voidEventHandler. nodeMoved(String sourcePath, String name, NodeState moved)Notification for a moved nodevoidFilteredHandler. nodeMoved(String sourcePath, String name, NodeState moved)voidDefaultEventHandler. nodeReordered(String destName, String name, NodeState reordered)voidEventHandler. nodeReordered(String destName, String name, NodeState reordered)Notification for a reordered nodevoidFilteredHandler. nodeReordered(String destName, String name, NodeState reordered)@NotNull NodeStateCommitRateLimiter. processCommit(NodeState before, NodeState after, CommitInfo info)Constructors in org.apache.jackrabbit.oak.plugins.observation with parameters of type NodeState Constructor Description EventGenerator(@NotNull NodeState before, @NotNull NodeState after, @NotNull EventHandler handler)Creates a new generator instance for processing the given changes. -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.observation.filter
Methods in org.apache.jackrabbit.oak.plugins.observation.filter that return NodeState Modifier and Type Method Description @NotNull NodeStateUniversalFilter. getAfterState()@NotNull NodeStateUniversalFilter. getBeforeState()@NotNull NodeStateRelativePathSelector. select(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)@NotNull NodeStateRelativePathSelector. select(@NotNull UniversalFilter filter, @Nullable PropertyState before, @Nullable PropertyState after)@NotNull NodeStateUniversalFilter.Selector. select(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)Map a node event.@NotNull NodeStateUniversalFilter.Selector. select(@NotNull UniversalFilter filter, @Nullable PropertyState before, @Nullable PropertyState after)Map a property event.Methods in org.apache.jackrabbit.oak.plugins.observation.filter with parameters of type NodeState Modifier and Type Method Description intEventAggregator. aggregate(NodeState root, List<ChildNodeEntry> parents, PropertyState propertyState)Aggregates a property changeintEventAggregator. aggregate(NodeState root, List<ChildNodeEntry> parents, ChildNodeEntry childNodeState)Aggregates a node changeEventFilterACFilter. create(String name, NodeState before, NodeState after)EventFilterAddSubtreeFilter. create(String name, NodeState before, NodeState after)EventFilterConstantFilter. create(String name, NodeState before, NodeState after)EventFilterDeleteSubtreeFilter. create(String name, NodeState before, NodeState after)@Nullable EventFilterEventFilter. create(String name, NodeState before, NodeState after)Factory for creating a filter instance for the given child nodeEventFilterEventTypeFilter. create(String name, NodeState before, NodeState after)EventFilterGlobbingPathFilter. create(String name, NodeState before, NodeState after)EventFilterMoveFilter. create(String name, NodeState before, NodeState after)EventFilterUniversalFilter. create(String name, NodeState before, NodeState after)EventFilterVisibleFilter. create(String name, NodeState before, NodeState after)@NotNull EventFilterFilterBuilder.AddSubtreeTreeCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)@NotNull EventFilterFilterBuilder.Condition. createFilter(@NotNull NodeState before, @NotNull NodeState after)@NotNull EventFilterFilterBuilder.DeleteSubtreeTreeCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)@NotNull EventFilterFilterBuilder.MoveCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)@NotNull EventFilterFilterProvider. getFilter(@NotNull NodeState before, @NotNull NodeState after)Factory method for creating aFilterfor the passed before and after states.booleanACFilter. includeAdd(String name, NodeState after)booleanAddSubtreeFilter. includeAdd(String name, NodeState after)booleanConstantFilter. includeAdd(String name, NodeState after)booleanDeleteSubtreeFilter. includeAdd(String name, NodeState after)booleanEventFilter. includeAdd(String name, NodeState after)Include an added nodebooleanEventTypeFilter. includeAdd(String name, NodeState after)booleanGlobbingPathFilter. includeAdd(String name, NodeState after)booleanMoveFilter. includeAdd(String name, NodeState after)booleanUniversalFilter. includeAdd(String name, NodeState after)booleanVisibleFilter. includeAdd(String name, NodeState after)booleanACFilter. includeDelete(String name, NodeState before)booleanAddSubtreeFilter. includeDelete(String name, NodeState before)booleanConstantFilter. includeDelete(String name, NodeState before)booleanDeleteSubtreeFilter. includeDelete(String name, NodeState before)booleanEventFilter. includeDelete(String name, NodeState before)Include a deleted nodebooleanEventTypeFilter. includeDelete(String name, NodeState before)booleanGlobbingPathFilter. includeDelete(String name, NodeState before)booleanMoveFilter. includeDelete(String name, NodeState before)booleanUniversalFilter. includeDelete(String name, NodeState before)booleanVisibleFilter. includeDelete(String name, NodeState before)booleanACFilter. includeMove(String sourcePath, String name, NodeState moved)booleanAddSubtreeFilter. includeMove(String sourcePath, String name, NodeState moved)booleanConstantFilter. includeMove(String sourcePath, String name, NodeState moved)booleanDeleteSubtreeFilter. includeMove(String sourcePath, String name, NodeState moved)booleanEventFilter. includeMove(String sourcePath, String name, NodeState moved)Include a moved nodebooleanEventTypeFilter. includeMove(String sourcePath, String name, NodeState moved)booleanGlobbingPathFilter. includeMove(String sourcePath, String name, NodeState moved)booleanMoveFilter. includeMove(String sourcePath, String name, NodeState moved)booleanUniversalFilter. includeMove(String sourcePath, String name, NodeState moved)booleanVisibleFilter. includeMove(String sourcePath, String name, NodeState moved)booleanACFilter. includeReorder(String destName, String name, NodeState reordered)booleanAddSubtreeFilter. includeReorder(String destName, String name, NodeState reordered)booleanConstantFilter. includeReorder(String destName, String name, NodeState reordered)booleanDeleteSubtreeFilter. includeReorder(String destName, String name, NodeState reordered)booleanEventFilter. includeReorder(String destName, String name, NodeState reordered)Include a reordered nodebooleanEventTypeFilter. includeReorder(String destName, String name, NodeState reordered)booleanGlobbingPathFilter. includeReorder(String destName, String name, NodeState reordered)booleanMoveFilter. includeReorder(String destName, String name, NodeState reordered)booleanUniversalFilter. includeReorder(String destName, String name, NodeState reordered)booleanVisibleFilter. includeReorder(String destName, String name, NodeState reordered)@NotNull NodeStateRelativePathSelector. select(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)@NotNull NodeStateUniversalFilter.Selector. select(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)Map a node event.booleanPropertyPredicate. test(NodeState node)booleanUuidPredicate. test(NodeState node)Method parameters in org.apache.jackrabbit.oak.plugins.observation.filter with type arguments of type NodeState Modifier and Type Method Description @NotNull FilterBuilder.ConditionFilterBuilder. universal(@NotNull UniversalFilter.Selector selector, @NotNull Predicate<NodeState> predicate)A condition that holds when the predicate matches.Constructors in org.apache.jackrabbit.oak.plugins.observation.filter with parameters of type NodeState Constructor Description ACFilter(@NotNull NodeState before, @NotNull NodeState after, @NotNull PermissionProvider permissionProvider)Create a newFilterinstance that includes an event when the observing session has sufficient permissions to read the associated item.UniversalFilter(@NotNull NodeState before, @NotNull NodeState after, @NotNull UniversalFilter.Selector selector, @NotNull Predicate<NodeState> predicate)Create a new instance of an universal filter rooted at the passed trees.Constructor parameters in org.apache.jackrabbit.oak.plugins.observation.filter with type arguments of type NodeState Constructor Description UniversalFilter(@NotNull NodeState before, @NotNull NodeState after, @NotNull UniversalFilter.Selector selector, @NotNull Predicate<NodeState> predicate)Create a new instance of an universal filter rooted at the passed trees. -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.tree
Methods in org.apache.jackrabbit.oak.plugins.tree that return NodeState Modifier and Type Method Description @NotNull NodeStateTreeProvider. asNodeState(@NotNull Tree readOnlyTree)Methods in org.apache.jackrabbit.oak.plugins.tree with parameters of type NodeState Modifier and Type Method Description @NotNull RootRootProvider. createReadOnlyRoot(@NotNull NodeState rootState)@NotNull TreeTreeProvider. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)@NotNull TreeTreeProvider. createReadOnlyTree(@NotNull NodeState rootState) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.tree.factories
Methods in org.apache.jackrabbit.oak.plugins.tree.factories with parameters of type NodeState Modifier and Type Method Description static @NotNull RootRootFactory. createReadOnlyRoot(@NotNull NodeState rootState)Deprecated.static TreeTreeFactory. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)Deprecated.static TreeTreeFactory. createReadOnlyTree(@NotNull NodeState rootState)Deprecated. -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.tree.impl
Methods in org.apache.jackrabbit.oak.plugins.tree.impl that return NodeState Modifier and Type Method Description @NotNull NodeStateTreeProviderService. asNodeState(@NotNull Tree readOnlyTree)@NotNull NodeStateAbstractTree. getNodeState()Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type NodeState Modifier and Type Method Description @NotNull RootRootProviderService. createReadOnlyRoot(@NotNull NodeState rootState)@NotNull TreeTreeProviderService. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull String childName, @NotNull NodeState childState)@NotNull TreeTreeProviderService. createReadOnlyTree(@NotNull NodeState rootState)Constructors in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type NodeState Constructor Description ImmutableTree(@NotNull ImmutableTree.ParentProvider parentProvider, @NotNull String name, @NotNull NodeState state)ImmutableTree(@NotNull ImmutableTree parent, @NotNull String name, @NotNull NodeState state)ImmutableTree(@NotNull NodeState rootState) -
Uses of NodeState in org.apache.jackrabbit.oak.plugins.version
Methods in org.apache.jackrabbit.oak.plugins.version that return NodeState Modifier and Type Method Description @NotNull NodeStateVersionHook. processCommit(NodeState before, NodeState after, CommitInfo info)Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type NodeState Modifier and Type Method Description static booleanUtils. isFrozenNodeReferenceable(@NotNull NodeState root)Returnstrueiff there is ant:frozenNodedefinition and the definition has amix:referenceablesupertype.@NotNull NodeStateVersionHook. processCommit(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.query
Methods in org.apache.jackrabbit.oak.query that return NodeState Modifier and Type Method Description @NotNull NodeStateExecutionContext. getBaseState()Used to evaluate the query (ie.Constructors in org.apache.jackrabbit.oak.query with parameters of type NodeState Constructor Description ExecutionContext(NodeState baseState, Root root, QueryEngineSettings settings, QueryIndexProvider indexProvider, PermissionProvider permissionProvider, PrefetchNodeStore store)NodeStateNodeTypeInfoProvider(NodeState baseState) -
Uses of NodeState in org.apache.jackrabbit.oak.query.ast
Methods in org.apache.jackrabbit.oak.query.ast with parameters of type NodeState Modifier and Type Method Description voidJoinImpl. execute(NodeState rootState)voidSelectorImpl. execute(NodeState rootState)abstract voidSourceImpl. execute(NodeState rootState)Execute the query.StringJoinImpl. getIndexCostInfo(NodeState rootState)StringSelectorImpl. getIndexCostInfo(NodeState rootState)abstract StringSourceImpl. getIndexCostInfo(NodeState rootState)Get the index cost as a JSON string.StringJoinImpl. getPlan(NodeState rootState)StringSelectorImpl. getPlan(NodeState rootState)abstract StringSourceImpl. getPlan(NodeState rootState)Get the query plan.longJoinImpl. getSize(NodeState rootState, Result.SizePrecision precision, long max)longSelectorImpl. getSize(NodeState rootState, Result.SizePrecision precision, long max)abstract longSourceImpl. getSize(NodeState rootState, Result.SizePrecision precision, long max)Get the size if known. -
Uses of NodeState in org.apache.jackrabbit.oak.query.index
Methods in org.apache.jackrabbit.oak.query.index with parameters of type NodeState Modifier and Type Method Description doubleTraversingIndex. getCost(Filter filter, NodeState rootState)StringTraversingIndex. getPlan(Filter filter, NodeState rootState)booleanTraversingIndex. isPotentiallySlow(Filter filter, NodeState rootState)CursorTraversingIndex. query(Filter filter, NodeState rootState) -
Uses of NodeState in org.apache.jackrabbit.oak.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type NodeState Modifier and Type Method Description @NotNull ValidatorAccessControlValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission that return NodeState Modifier and Type Method Description @NotNull NodeStatePermissionHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateVersionablePathHook. processCommit(NodeState before, NodeState after, CommitInfo info)Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type NodeState Modifier and Type Method Description ValidatorMoveAwarePermissionValidator. childNodeAdded(String name, NodeState after)ValidatorMoveAwarePermissionValidator. childNodeDeleted(String name, NodeState before)@NotNull ValidatorPermissionStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)@NotNull ValidatorPermissionValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStatePermissionHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateVersionablePathHook. processCommit(NodeState before, NodeState after, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.segment
Classes in org.apache.jackrabbit.oak.segment that implement NodeState Modifier and Type Class Description classSegmentNodeStateA record of type "NODE".Methods in org.apache.jackrabbit.oak.segment that return NodeState Modifier and Type Method Description @NotNull NodeStateSegmentNodeState. getChildNode(@NotNull String name)NodeStateTemplate. getChildNode(String name, RecordId recordId)@NotNull NodeStateSegmentNodeStore. getRoot()@NotNull NodeStateSegmentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)@NotNull NodeStateLoggingHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateSegmentNodeStore. rebase(@NotNull NodeBuilder builder)@NotNull NodeStateSegmentNodeStore. reset(@NotNull NodeBuilder builder)@Nullable NodeStateSegmentNodeStore. retrieve(@NotNull String checkpoint)Methods in org.apache.jackrabbit.oak.segment with parameters of type NodeState Modifier and Type Method Description booleanCancelableDiff. childNodeAdded(String name, NodeState after)booleanLoggingHook. childNodeAdded(String name, NodeState after)booleanCancelableDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanLoggingHook. childNodeChanged(String name, NodeState before, NodeState after)booleanCancelableDiff. childNodeDeleted(String name, NodeState before)booleanLoggingHook. childNodeDeleted(String name, NodeState before)@Nullable CompactedNodeStateCheckpointCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)@Nullable CompactedNodeStateClassicCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)protected @Nullable CompactedNodeStateClassicCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller hardCanceller, @Nullable Canceller softCanceller)Compact the differences betweenafterandbeforeon top ofonto.abstract @Nullable CompactedNodeStateCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)compact the differences betweenafterandbeforeon top ofonto.@Nullable CompactedNodeStateLegacyCheckpointCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)Deprecated.protected @Nullable CompactedNodeStateParallelCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller hardCanceller, @Nullable Canceller softCanceller)@Nullable CompactedNodeStateCheckpointCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)@Nullable CompactedNodeStateClassicCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)@Nullable CompactedNodeStateCompactor. compactDown(@NotNull NodeState state, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)Convenience method to runCompactor.compactDown(NodeState, NodeState, Canceller, Canceller), where thebeforestate is the empty node state.abstract @Nullable CompactedNodeStateCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)compact the differences betweenafterandbeforeon top ofafter.@Nullable CompactedNodeStateLegacyCheckpointCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)Deprecated.@Nullable CompactedNodeStateCompactor. compactUp(@NotNull NodeState state, @NotNull Canceller canceller)Convenience method to runCompactor.compactUp(NodeState, NodeState, Canceller), where thebeforestate is the empty node state.@Nullable CompactedNodeStateCompactor. compactUp(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller canceller)compact the differences betweenafterandbeforeon top ofbefore.booleanSegmentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)voidLoggingHook. enter(NodeState before, NodeState after)static booleanSegmentNodeState. fastEquals(NodeState a, NodeState b)Indicates whether twoNodeStateinstances are equal to each other.protected @Nullable CompactedNodeStateClassicCompactor. getPreviouslyCompactedState(NodeState nodeState)voidLoggingHook. leave(NodeState before, NodeState after)@NotNull NodeStateLoggingHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull RecordIdDefaultSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)default @NotNull RecordIdSegmentWriter. writeNode(@NotNull NodeState state)Write a node state.@NotNull RecordIdSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)Write a node state.protected @Nullable CompactedNodeStateClassicCompactor. writeNodeState(@NotNull NodeState nodeState, @Nullable Buffer stableIdBytes, boolean complete) -
Uses of NodeState in org.apache.jackrabbit.oak.segment.file
Classes in org.apache.jackrabbit.oak.segment.file that implement NodeState Modifier and Type Class Description classCompactedNodeStateSimple wrapper class forSegmentNodeStateto keep track of fully and partially compacted nodes.Methods in org.apache.jackrabbit.oak.segment.file with parameters of type NodeState Modifier and Type Method Description @Nullable org.apache.jackrabbit.oak.segment.file.CompactedNodeState.FullyCompactedNodeStateCompactionWriter. getPreviouslyCompactedState(NodeState nodeState)@NotNull org.apache.jackrabbit.oak.segment.file.CompactedNodeState.FullyCompactedNodeStateCompactionWriter. writeFullyCompactedNode(@NotNull NodeState nodeState, @Nullable Buffer stableId)@Nullable org.apache.jackrabbit.oak.segment.file.CompactedNodeState.PartiallyCompactedNodeStateCompactionWriter. writePartiallyCompactedNode(@NotNull NodeState nodeState, @Nullable Buffer stableId) -
Uses of NodeState in org.apache.jackrabbit.oak.segment.file.proc
Methods in org.apache.jackrabbit.oak.segment.file.proc that return NodeState Modifier and Type Method Description static NodeStateProc. of(Proc.Backend backend)Methods in org.apache.jackrabbit.oak.segment.file.proc that return types with arguments of type NodeState Modifier and Type Method Description Optional<NodeState>Proc.Backend.Commit. getRoot()Optional<NodeState>Proc.Backend.Record. getRoot() -
Uses of NodeState in org.apache.jackrabbit.oak.segment.file.tooling
Methods in org.apache.jackrabbit.oak.segment.file.tooling that return NodeState Modifier and Type Method Description @Nullable NodeStateRevisionHistory.HistoryElement. getNode()Node at given revisionMethods in org.apache.jackrabbit.oak.segment.file.tooling with parameters of type NodeState Modifier and Type Method Description StringConsistencyChecker. checkTreeConsistency(NodeState root, Set<String> corruptedPaths, boolean binaries)Check the consistency of a given subtree and returns the first inconsistent path. -
Uses of NodeState in org.apache.jackrabbit.oak.segment.scheduler
Methods in org.apache.jackrabbit.oak.segment.scheduler that return NodeState Modifier and Type Method Description NodeStateLockBasedScheduler. getHeadNodeState()NodeStateScheduler. getHeadNodeState()Returns the latest state of the tree.NodeStateLockBasedScheduler. schedule(@NotNull Commit commit, Scheduler.SchedulerOption... schedulingOptions)NodeStateScheduler. schedule(@NotNull Commit commit, Scheduler.SchedulerOption... schedulingOptions)Schedule acommit.Methods in org.apache.jackrabbit.oak.segment.scheduler with parameters of type NodeState Modifier and Type Method Description protected voidLockBasedScheduler. contentChanged(NodeState root, CommitInfo info) -
Uses of NodeState in org.apache.jackrabbit.oak.segment.tool.iotrace
Methods in org.apache.jackrabbit.oak.segment.tool.iotrace with parameters of type NodeState Modifier and Type Method Description voidBreadthFirstTrace. run(@NotNull NodeState node)voidDepthFirstTrace. run(@NotNull NodeState node)voidRandomAccessTrace. run(@NotNull NodeState root)voidTrace. run(@NotNull NodeState node)Run this trace on the passednode. -
Uses of NodeState in org.apache.jackrabbit.oak.spi.commit
Methods in org.apache.jackrabbit.oak.spi.commit that return NodeState Modifier and Type Method Description @NotNull NodeStateCommitHook. processCommit(NodeState before, NodeState after, CommitInfo info)Validates and/or modifies the given content change before it gets persisted.@NotNull NodeStateCompositeHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateEditorHook. processCommit(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)@NotNull NodeStateEmptyHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateResetCommitAttributeHook. processCommit(NodeState before, NodeState after, CommitInfo info)Methods in org.apache.jackrabbit.oak.spi.commit with parameters of type NodeState Modifier and Type Method Description @NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs)@NotNull PartialConflictHandler.ResolutionConflictHandler. addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs)Deprecated.The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler. addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs)Deprecated.The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs)The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base)@NotNull PartialConflictHandler.ResolutionConflictHandler. changeDeletedNode(NodeBuilder parent, String name, NodeState ours)Deprecated.The nodeourshas been changed inparentwhile it was removed in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler. changeDeletedNode(NodeBuilder parent, String name, NodeState ours)Deprecated.The nodeourshas been changed inparentwhile it was removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base)The nodeourshas been changed inparentwhile it was removed in the persistence store.EditorCompositeEditor. childNodeAdded(String name, NodeState after)EditorDefaultEditor. childNodeAdded(String name, NodeState after)MoveValidatorDefaultMoveValidator. childNodeAdded(String name, NodeState after)ValidatorDefaultValidator. childNodeAdded(String name, NodeState after)@Nullable EditorEditor. childNodeAdded(String name, NodeState after)Processes an added child node.booleanEditorDiff. childNodeAdded(String name, NodeState after)ValidatorFailingValidator. childNodeAdded(String name, NodeState after)EditorProgressNotificationEditor. childNodeAdded(String name, NodeState after)@Nullable EditorSubtreeEditor. childNodeAdded(String name, NodeState after)ValidatorSubtreeExcludingValidator. childNodeAdded(String name, NodeState after)ValidatorSubtreeValidator. childNodeAdded(String name, NodeState after)@Nullable ValidatorValidator. childNodeAdded(String name, NodeState after)Validate an added node@Nullable EditorVisibleEditor. childNodeAdded(String name, NodeState after)@Nullable ValidatorVisibleValidator. childNodeAdded(String name, NodeState after)EditorCompositeEditor. childNodeChanged(String name, NodeState before, NodeState after)EditorDefaultEditor. childNodeChanged(String name, NodeState before, NodeState after)MoveValidatorDefaultMoveValidator. childNodeChanged(String name, NodeState before, NodeState after)ValidatorDefaultValidator. childNodeChanged(String name, NodeState before, NodeState after)@Nullable EditorEditor. childNodeChanged(String name, NodeState before, NodeState after)Processes a changed child node.booleanEditorDiff. childNodeChanged(String name, NodeState before, NodeState after)ValidatorFailingValidator. childNodeChanged(String name, NodeState before, NodeState after)EditorProgressNotificationEditor. childNodeChanged(String name, NodeState before, NodeState after)@Nullable EditorSubtreeEditor. childNodeChanged(String name, NodeState before, NodeState after)ValidatorSubtreeExcludingValidator. childNodeChanged(String name, NodeState before, NodeState after)ValidatorSubtreeValidator. childNodeChanged(String name, NodeState before, NodeState after)@Nullable ValidatorValidator. childNodeChanged(String name, NodeState before, NodeState after)Validate a changed node@Nullable EditorVisibleEditor. childNodeChanged(String name, NodeState before, NodeState after)@Nullable ValidatorVisibleValidator. childNodeChanged(String name, NodeState before, NodeState after)EditorCompositeEditor. childNodeDeleted(String name, NodeState before)EditorDefaultEditor. childNodeDeleted(String name, NodeState before)MoveValidatorDefaultMoveValidator. childNodeDeleted(String name, NodeState before)ValidatorDefaultValidator. childNodeDeleted(String name, NodeState before)@Nullable EditorEditor. childNodeDeleted(String name, NodeState before)Processes a deleted child node.booleanEditorDiff. childNodeDeleted(String name, NodeState before)ValidatorFailingValidator. childNodeDeleted(String name, NodeState before)EditorProgressNotificationEditor. childNodeDeleted(String name, NodeState before)@Nullable EditorSubtreeEditor. childNodeDeleted(String name, NodeState before)ValidatorSubtreeExcludingValidator. childNodeDeleted(String name, NodeState before)ValidatorSubtreeValidator. childNodeDeleted(String name, NodeState before)@Nullable ValidatorValidator. childNodeDeleted(String name, NodeState before)Validate a deleted node@Nullable EditorVisibleEditor. childNodeDeleted(String name, NodeState before)@Nullable ValidatorVisibleValidator. childNodeDeleted(String name, NodeState before)voidBackgroundObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidChangeDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidCompositeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidDiffObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidEmptyObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)voidObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)Observes a content change.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base)@NotNull PartialConflictHandler.ResolutionConflictHandler. deleteChangedNode(NodeBuilder parent, String name, NodeState theirs)Deprecated.The nodetheirschanged in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler. deleteChangedNode(NodeBuilder parent, String name, NodeState theirs)Deprecated.The nodetheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base)The nodetheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base)@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base)The nodenamehas been removed inparentwhile it was also removed in the persistence store.voidCompositeEditor. enter(NodeState before, NodeState after)voidDefaultEditor. enter(NodeState before, NodeState after)voidDefaultValidator. enter(NodeState before, NodeState after)voidEditor. enter(NodeState before, NodeState after)Called before the given before and after states are compared.voidFailingValidator. enter(NodeState before, NodeState after)voidProgressNotificationEditor. enter(NodeState before, NodeState after)voidVisibleEditor. enter(NodeState before, NodeState after)voidVisibleValidator. enter(NodeState before, NodeState after)protected abstract NodeStateDiffDiffObserver. getRootDiff(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)Returns the diff handler to be used for the given content change.@Nullable EditorCompositeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)@Nullable EditorEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)Returns an editor for processing changes between the given two states.@Nullable EditorValidatorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)@Nullable EditorWhiteboardEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)protected abstract @Nullable ValidatorValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)Returns a validator for checking the changes between the given two root states.voidCompositeEditor. leave(NodeState before, NodeState after)voidDefaultEditor. leave(NodeState before, NodeState after)voidDefaultValidator. leave(NodeState before, NodeState after)voidEditor. leave(NodeState before, NodeState after)Called after the given before and after states are compared.voidFailingValidator. leave(NodeState before, NodeState after)voidProgressNotificationEditor. leave(NodeState before, NodeState after)voidVisibleEditor. leave(NodeState before, NodeState after)voidVisibleValidator. leave(NodeState before, NodeState after)voidDefaultMoveValidator. move(String name, String sourcePath, NodeState moved)static @Nullable CommitFailedExceptionEditorDiff. process(@Nullable Editor editor, @NotNull NodeState before, @NotNull NodeState after)Validates and possibly edits the given subtree by diffing and recursing through it.@NotNull NodeStateCommitHook. processCommit(NodeState before, NodeState after, CommitInfo info)Validates and/or modifies the given content change before it gets persisted.@NotNull NodeStateCompositeHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateEditorHook. processCommit(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)@NotNull NodeStateEmptyHook. processCommit(NodeState before, NodeState after, CommitInfo info)@NotNull NodeStateResetCommitAttributeHook. processCommit(NodeState before, NodeState after, CommitInfo info)Constructors in org.apache.jackrabbit.oak.spi.commit with parameters of type NodeState Constructor Description ChangeDispatcher(@NotNull NodeState root)Create a new instance for dispatching content changes -
Uses of NodeState in org.apache.jackrabbit.oak.spi.query
Fields in org.apache.jackrabbit.oak.spi.query declared as NodeState Modifier and Type Field Description protected NodeStateQueryIndex.IndexPlan.Builder. definitionMethods in org.apache.jackrabbit.oak.spi.query that return NodeState Modifier and Type Method Description NodeStateQueryIndex.IndexPlan. getDefinition()The node state with the index definition.Methods in org.apache.jackrabbit.oak.spi.query with parameters of type NodeState Modifier and Type Method Description doubleQueryIndex. getCost(Filter filter, NodeState rootState)Estimate the worst-case cost to query with the given filter.default StringQueryIndex. getIndexName(Filter filter, NodeState rootState)Get the specific index name (the path of the index definition, or the index type if that one is unique).Iterator<String>QueryIndex.NodeAggregator. getParents(NodeState rootState, String path)StringQueryIndex. getPlan(Filter filter, NodeState rootState)Get the query plan for the given filter.StringQueryIndex.AdvancedQueryIndex. getPlanDescription(QueryIndex.IndexPlan plan, NodeState root)Get the query plan description (for logging purposes).List<QueryIndex.IndexPlan>QueryIndex.AdvancedQueryIndex. getPlans(Filter filter, List<QueryIndex.OrderEntry> sortOrder, NodeState rootState)Return the possible index plans for the given filter and sort order.@NotNull List<? extends QueryIndex>CompositeQueryIndexProvider. getQueryIndexes(NodeState nodeState)@NotNull List<? extends QueryIndex>QueryIndexProvider. getQueryIndexes(NodeState nodeState)Get the currently configured indexes.@NotNull List<? extends QueryIndex>WhiteboardIndexProvider. getQueryIndexes(NodeState nodeState)CursorQueryIndex.AdvancedQueryIndex. query(QueryIndex.IndexPlan plan, NodeState rootState)Start a query.CursorQueryIndex. query(Filter filter, NodeState rootState)Query the index.QueryIndex.IndexPlan.BuilderQueryIndex.IndexPlan.Builder. setDefinition(NodeState definition) -
Uses of NodeState in org.apache.jackrabbit.oak.spi.security.authorization.permission
Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission with parameters of type NodeState Modifier and Type Method Description @NotNull TreePermissionTreePermission. getChildPermission(@NotNull String childName, @NotNull NodeState childState)Retrieve theTreePermissionfor the tree identified by the specifiedchildNameandchildState, which is a child of the tree associated with this instanceofTreePermission. -
Uses of NodeState in org.apache.jackrabbit.oak.spi.state
Classes in org.apache.jackrabbit.oak.spi.state that implement NodeState Modifier and Type Class Description classAbstractNodeStateAbstract base class forNodeStateimplementations.Fields in org.apache.jackrabbit.oak.spi.state with type parameters of type NodeState Modifier and Type Field Description static Predicate<NodeState>NodeState. EXISTSPredicate that checks the existence of NodeState instances.Methods in org.apache.jackrabbit.oak.spi.state that return NodeState Modifier and Type Method Description @NotNull NodeStateNodeStoreBranch. getBase()Returns the base state of this branch.@NotNull NodeStateNodeBuilder. getBaseState()Returns the original base state that this builder is modifying.@NotNull NodeStateReadOnlyBuilder. getBaseState()@NotNull NodeStateNodeState. getChildNode(@NotNull String name)Returns the named, possibly non-existent, child node.@NotNull NodeStateNodeStoreBranch. getHead()Returns the head state of this branch.static @NotNull NodeStateNodeStateUtils. getNode(@NotNull NodeState node, @NotNull String path)Get a possibly non existing child node of a node.@NotNull NodeStateChildNodeEntry. getNodeState()The child node state@NotNull NodeStateNodeBuilder. getNodeState()Returns an immutable node state that matches the current state of the builder.@NotNull NodeStateReadOnlyBuilder. getNodeState()@NotNull NodeStateNodeStore. getRoot()Returns the latest state of the tree.NodeStateProxyNodeStore. getRoot()@NotNull NodeStateNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)@NotNull NodeStateNodeStoreBranch. merge(@NotNull CommitHook hook, @NotNull CommitInfo info)Merges the changes in this branch to the main content tree.NodeStateProxyNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)@NotNull NodeStateNodeStore. rebase(@NotNull NodeBuilder builder)NodeStateProxyNodeStore. rebase(NodeBuilder builder)NodeStateNodeStore. reset(@NotNull NodeBuilder builder)Reset the passedbuilderby throwing away all its changes and setting its base state to the current root state.NodeStateProxyNodeStore. reset(NodeBuilder builder)@Nullable NodeStateNodeStore. retrieve(@NotNull String checkpoint)Retrieves the root node from a previously created repository checkpoint.NodeStateProxyNodeStore. retrieve(String checkpoint)Methods in org.apache.jackrabbit.oak.spi.state with parameters of type NodeState Modifier and Type Method Description protected abstract voidAbstractRebaseDiff. addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)Called when the nodeafterwas added on the branch but the node exists already in the trunk.protected voidConflictAnnotatingRebaseDiff. addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)voidApplyDiff. apply(NodeState target)protected abstract voidAbstractRebaseDiff. changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base)Called when the nodeafterwas changed on the branch but was deleted already in the trunk.protected voidConflictAnnotatingRebaseDiff. changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base)booleanAbstractRebaseDiff. childNodeAdded(String name, NodeState after)booleanApplyDiff. childNodeAdded(String name, NodeState after)booleanDefaultNodeStateDiff. childNodeAdded(String name, NodeState after)booleanEqualsDiff. childNodeAdded(String name, NodeState after)ValidatorMoveDetector. childNodeAdded(String name, NodeState after)@Nullable MoveValidatorMoveValidator. childNodeAdded(String name, NodeState after)booleanNodeStateDiff. childNodeAdded(String name, NodeState after)Called for all added child nodes.booleanAbstractRebaseDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanApplyDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanDefaultNodeStateDiff. childNodeChanged(String name, NodeState before, NodeState after)booleanEqualsDiff. childNodeChanged(String name, NodeState before, NodeState after)ValidatorMoveDetector. childNodeChanged(String name, NodeState before, NodeState after)@Nullable MoveValidatorMoveValidator. childNodeChanged(String name, NodeState before, NodeState after)booleanNodeStateDiff. childNodeChanged(String name, NodeState before, NodeState after)Called for all child nodes that may contain changes between the before and after states.booleanAbstractRebaseDiff. childNodeDeleted(String name, NodeState before)booleanApplyDiff. childNodeDeleted(String name, NodeState before)booleanDefaultNodeStateDiff. childNodeDeleted(String name, NodeState before)booleanEqualsDiff. childNodeDeleted(String name, NodeState before)ValidatorMoveDetector. childNodeDeleted(String name, NodeState before)@Nullable MoveValidatorMoveValidator. childNodeDeleted(String name, NodeState before)booleanNodeStateDiff. childNodeDeleted(String name, NodeState before)Called for all deleted child nodes.booleanAbstractNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)Generic default comparison algorithm that simply walks through the property and child node lists of the given base state and compares the entries one by one with corresponding ones (if any) in this state.static booleanAbstractNodeState. compareAgainstBaseState(NodeState state, NodeState base, NodeStateDiff diff)Generic default comparison algorithm that simply walks through the property and child node lists of the given base state and compares the entries one by one with corresponding ones (if any) in this state.booleanNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)Compares this node state against the given base state.static booleanAbstractNodeState. comparePropertiesAgainstBaseState(NodeState state, NodeState base, NodeStateDiff diff)Compares the properties ofbasestate withthisstate.protected abstract voidAbstractRebaseDiff. deleteChangedNode(NodeBuilder builder, String name, NodeState before)Called when the nodebeforewas deleted in the branch but was already changed in the trunk.protected voidConflictAnnotatingRebaseDiff. deleteChangedNode(NodeBuilder builder, String name, NodeState before)protected abstract voidAbstractRebaseDiff. deleteDeletedNode(NodeBuilder builder, String name, NodeState before)Called when the nodebeforewas deleted in the branch but was already deleted in the trunk.protected voidConflictAnnotatingRebaseDiff. deleteDeletedNode(NodeBuilder builder, String name, NodeState before)voidMoveDetector. enter(NodeState before, NodeState after)static booleanAbstractNodeState. equals(NodeState a, NodeState b)static booleanEqualsDiff. equals(NodeState before, NodeState after)Diffs the given node states and returnstrueif there are no differences.static booleanAbstractNodeState. getBoolean(NodeState state, String name)static longAbstractNodeState. getLong(NodeState state, String name)static StringAbstractNodeState. getName(NodeState state, String name)static Iterable<String>AbstractNodeState. getNames(NodeState state, String name)static @NotNull NodeStateNodeStateUtils. getNode(@NotNull NodeState node, @NotNull String path)Get a possibly non existing child node of a node.static @Nullable StringNodeStateUtils. getPrimaryTypeName(NodeState nodeState)static StringAbstractNodeState. getString(NodeState state, String name)static Iterable<String>AbstractNodeState. getStrings(NodeState state, String name)voidMoveDetector. leave(NodeState before, NodeState after)static booleanEqualsDiff. modified(NodeState before, NodeState after)Diffs the given node states and returnstrueif there are differences within the properties or direct child nodes.voidMoveValidator. move(String name, String sourcePath, NodeState moved)Called when a moved node has been detected.voidPrefetchNodeStore. prefetch(Collection<String> paths, NodeState rootState)Make an attempt to prefetch node states for the given paths and hold them in a cache.@NotNull NodeBuilderNodeBuilder. setChildNode(@NotNull String name, @NotNull NodeState nodeState)Adds or replaces a subtree.@NotNull NodeBuilderReadOnlyBuilder. setChildNode(@NotNull String name, @NotNull NodeState nodeState)voidNodeStoreBranch. setRoot(NodeState newRoot)Updates the state of the content tree of this private branch.static StringAbstractNodeState. toString(NodeState state)static StringNodeStateUtils. toString(NodeState node)Provides a string representation of the given node stateConstructors in org.apache.jackrabbit.oak.spi.state with parameters of type NodeState Constructor Description ReadOnlyBuilder(@NotNull NodeState state)
-