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 NodeState
CompositeNodeStore. getRoot()
NodeState
CompositeNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
NodeState
CompositeNodeStore. rebase(NodeBuilder builder)
NodeState
CompositeNodeStore. reset(NodeBuilder builder)
NodeState
CompositeNodeStore. retrieve(java.lang.String checkpoint)
Methods in org.apache.jackrabbit.oak.composite with parameters of type NodeState Modifier and Type Method Description Validator
CrossMountReferenceValidator. childNodeAdded(java.lang.String name, NodeState after)
boolean
ModifiedPathDiff. childNodeAdded(java.lang.String name, NodeState after)
Validator
CrossMountReferenceValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
ModifiedPathDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
ModifiedPathDiff. childNodeDeleted(java.lang.String name, NodeState before)
void
CrossMountReferenceValidator. enter(NodeState before, NodeState after)
static java.util.Set<java.lang.String>
ModifiedPathDiff. getModifiedPaths(NodeState before, NodeState after)
protected Validator
CrossMountReferenceValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull Validator
PrivateStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
void
CrossMountReferenceValidator. leave(NodeState before, NodeState after)
void
CompositeNodeStore. prefetch(java.util.Collection<java.lang.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 void
NonDefaultMountWriteReportingObserver. 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 NodeState
ConsoleSession. getRoot()
Returns the currently set root node.@NotNull NodeState
ConsoleSession. 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 NodeState
AbstractSegmentTarExplorerBackend. getHead()
NodeState
AbstractSegmentTarExplorerBackend. readNodeState(java.lang.String recordId)
Methods in org.apache.jackrabbit.oak.explorer with parameters of type NodeState Modifier and Type Method Description java.lang.String
AbstractSegmentTarExplorerBackend. getFile(NodeState state)
java.lang.String
AbstractSegmentTarExplorerBackend. getRecordId(NodeState state)
java.util.UUID
AbstractSegmentTarExplorerBackend. getSegmentId(NodeState state)
java.lang.String
AbstractSegmentTarExplorerBackend. getTemplateFile(NodeState state)
java.lang.String
AbstractSegmentTarExplorerBackend. getTemplateRecordId(NodeState state)
java.util.UUID
AbstractSegmentTarExplorerBackend. getTemplateSegmentId(NodeState state)
boolean
AbstractSegmentTarExplorerBackend. 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 NodeState
IndexerSupport. retrieveNodeStateForCheckpoint()
Methods in org.apache.jackrabbit.oak.index with parameters of type NodeState Modifier and Type Method Description @Nullable Editor
SegmentPropertyIndexEditorProvider. getIndexEditor(@NotNull java.lang.String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)
protected void
OutOfBandIndexerBase. preformIndexUpdate(NodeState baseState)
-
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 NodeState
NodeStateEntry. getNodeState()
Methods in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeState Modifier and Type Method Description NodeStateIndexer
LuceneIndexerProvider. getIndexer(@NotNull java.lang.String type, @NotNull java.lang.String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter)
@Nullable NodeStateIndexer
NodeStateIndexerProvider. getIndexer(@NotNull java.lang.String type, @NotNull java.lang.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 NodeStateEntryBuilder(NodeState nodeState, java.lang.String path)
-
Uses of NodeState in org.apache.jackrabbit.oak.index.indexer.document.flatfile
Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile that return NodeState Modifier and Type Method Description protected NodeState
NodeStateEntryReader. parseState(java.lang.String part)
Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile with parameters of type NodeState Modifier and Type Method Description java.lang.String
NodeStateEntryWriter. asJson(NodeState nodeState)
static void
SimpleFlatFileUtil. createFlatFileFor(NodeState ns, java.io.File f)
static void
SimpleFlatFileUtil. createFlatFileFor(NodeState ns, java.io.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 Editor
IncrementalFlatFileStoreEditor. childNodeAdded(java.lang.String name, NodeState after)
@Nullable Editor
IncrementalFlatFileStoreEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Editor
IncrementalFlatFileStoreEditor. childNodeDeleted(java.lang.String name, NodeState before)
void
IncrementalFlatFileStoreEditor. enter(NodeState before, NodeState after)
void
IncrementalFlatFileStoreEditor. leave(NodeState before, NodeState after)
-
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 boolean
IndexVersionOperation. checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)
protected boolean
LuceneIndexVersionOperation. checkIfDisabledIndexCanBeMarkedForDeletion(NodeState indexNode)
java.util.List<IndexVersionOperation>
IndexVersionOperation. generateIndexVersionOperationList(NodeState rootNode, java.lang.String parentPath, java.util.List<IndexName> indexNameObjectList, long purgeThresholdMillis)
Generate list of index version operation over a list of indexes have same index base.java.util.List<IndexVersionOperation>
IndexVersionOperation. generateIndexVersionOperationList(NodeState rootNode, java.lang.String parentPath, java.util.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 IndexName
IndexVersionOperation. getActiveIndex(java.util.List<IndexName> reverseSortedIndexNameList, java.lang.String parentPath, NodeState rootNode)
protected IndexName
LuceneIndexVersionOperation. getActiveIndex(java.util.List<IndexName> reverseSortedIndexNameList, java.lang.String parentPath, NodeState rootNode)
protected static boolean
IndexVersionOperation. 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 NodeState
JsonDeserializer. deserialize(java.lang.String json)
NodeState
JsonDeserializer. deserialize(JsopReader reader)
Methods in org.apache.jackrabbit.oak.json with parameters of type NodeState Modifier and Type Method Description boolean
JsopDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
JsopDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
JsopDiff. childNodeDeleted(java.lang.String name, NodeState before)
static java.lang.String
JsopDiff. diffToJsop(NodeState before, NodeState after)
Create the JSOP diff betweenbefore
andafter
for debugging purposes.void
JsonSerializer. serialize(NodeState node)
void
JsonSerializer. serialize(NodeState node, java.lang.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 java.lang.String
NodeStateHelper. 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 Editor
AtomicCounterEditor. childNodeAdded(java.lang.String name, NodeState after)
Editor
AtomicCounterEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
AtomicCounterEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
void
AtomicCounterEditor. 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 DepthFirstNodeIterator
DepthFirstNodeIterator. 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 NodeState
ConflictHook. 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.Resolution
AnnotatingConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState theirs)
PartialConflictHandler.Resolution
ChildOrderConflictHandler. addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
PartialConflictHandler.Resolution
DefaultConflictHandler. addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
Deprecated.@NotNull ThreeWayConflictHandler.Resolution
DefaultThreeWayConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState theirs)
@NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState base)
PartialConflictHandler.Resolution
ChildOrderConflictHandler. changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
PartialConflictHandler.Resolution
DefaultConflictHandler. changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
Deprecated.@NotNull ThreeWayConflictHandler.Resolution
DefaultThreeWayConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState base)
Validator
ConflictValidator. childNodeAdded(java.lang.String name, NodeState after)
boolean
MergingNodeStateDiff. childNodeAdded(java.lang.String name, NodeState after)
Validator
ConflictValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
MergingNodeStateDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
ConflictValidator. childNodeDeleted(java.lang.String name, NodeState before)
@NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState theirs, @NotNull NodeState base)
PartialConflictHandler.Resolution
ChildOrderConflictHandler. deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
PartialConflictHandler.Resolution
DefaultConflictHandler. deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
Deprecated.@NotNull ThreeWayConflictHandler.Resolution
DefaultThreeWayConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState theirs, @NotNull NodeState base)
@NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState base)
@NotNull ThreeWayConflictHandler.Resolution
DefaultThreeWayConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState base)
void
ConflictValidator. enter(NodeState before, NodeState after)
Validator
ConflictValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
void
ConflictValidator. leave(NodeState before, NodeState after)
@NotNull NodeState
ConflictHook. 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 NodeState
BranchNodeStore. getRoot()
@NotNull NodeState
COWNodeStore. getRoot()
@NotNull NodeState
BranchNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
COWNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
BranchNodeStore. rebase(@NotNull NodeBuilder builder)
@NotNull NodeState
COWNodeStore. rebase(@NotNull NodeBuilder builder)
NodeState
BranchNodeStore. reset(@NotNull NodeBuilder builder)
NodeState
COWNodeStore. reset(@NotNull NodeBuilder builder)
NodeState
BranchNodeStore. retrieve(@NotNull java.lang.String checkpoint)
NodeState
COWNodeStore. retrieve(@NotNull java.lang.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 class
AbstractDocumentNodeState
class
DocumentNodeState
ANodeState
implementation for theDocumentNodeStore
.Methods in org.apache.jackrabbit.oak.plugins.document that return NodeState Modifier and Type Method Description @NotNull NodeState
DocumentNodeState. getChildNode(@NotNull java.lang.String name)
@NotNull NodeState
DocumentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
DocumentNodeStore. rebase(@NotNull NodeBuilder builder)
NodeState
DocumentNodeStore. reset(@NotNull NodeBuilder builder)
@Nullable NodeState
DocumentNodeStore. retrieve(@NotNull java.lang.String checkpoint)
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeState Modifier and Type Method Description boolean
AbstractDocumentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
void
DocumentDiscoveryLiteService. 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).void
DocumentNodeStore. prefetch(java.util.Collection<java.lang.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 NodeState
BundledTypesRegistry.BundledTypesRegistryBuilder. build()
NodeState
BundledTypesRegistry.BundledTypesRegistryBuilder.TypeBuilder. build()
NodeState
BundlingHandler. getNodeState()
Methods in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type NodeState Modifier and Type Method Description BundlingHandler
BundlingHandler. childAdded(java.lang.String name, NodeState state)
BundlingHandler
BundlingHandler. childChanged(java.lang.String name, NodeState before, NodeState after)
BundlingHandler
BundlingHandler. childDeleted(java.lang.String name, NodeState state)
void
BundlingConfigHandler. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
static BundledTypesRegistry
BundledTypesRegistry. from(NodeState configParentState)
static DocumentBundlor
DocumentBundlor. from(NodeState nodeState)
@Nullable DocumentBundlor
BundledTypesRegistry. 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 NodeState
AsyncNodeStateProcessor. uuidIndex
Methods in org.apache.jackrabbit.oak.plugins.document.check that return NodeState Modifier and Type Method Description protected @Nullable NodeState
AsyncNodeStateProcessor. getNodeByUUID(@NotNull java.lang.String uuid, @NotNull java.util.concurrent.atomic.AtomicReference<java.lang.String> resolvedPath)
Utility method that resolves heuuid
into aNodeState
with 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 void
AsyncNodeStateProcessor. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
Responsibility of the subclass to implement the processor logic.protected void
NodeCounter. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
protected void
ReferenceCheck. runTask(@NotNull Path path, @Nullable NodeState state, @NotNull java.util.function.Consumer<Result> resultConsumer)
-
Uses of 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 class
DelegatingDocumentNodeState
NodeState wrapper which wraps another NodeState (mostly SegmentNodeState) so as to expose it as anAbstractDocumentNodeState
by 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 NodeState
DelegatingDocumentNodeState. getChildNode(@NotNull java.lang.String name)
static NodeState
DelegatingDocumentNodeState. wrapIfPossible(NodeState delegate, NodeStateDiffer differ)
Wraps a given root NodeState as aDelegatingDocumentNodeState
if 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 void
SecondaryStoreObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
static boolean
DelegatingDocumentNodeState. hasMetaProps(NodeState delegate)
static AbstractDocumentNodeState
DelegatingDocumentNodeState. wrap(NodeState delegate, NodeStateDiffer differ)
static NodeState
DelegatingDocumentNodeState. wrapIfPossible(NodeState delegate, NodeStateDiffer differ)
Wraps a given root NodeState as aDelegatingDocumentNodeState
if 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 boolean
CountingDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
ReverseNodeStateDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
CountingDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
ReverseNodeStateDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
CountingDiff. childNodeDeleted(java.lang.String name, NodeState before)
boolean
ReverseNodeStateDiff. childNodeDeleted(java.lang.String name, NodeState before)
static int
CountingDiff. 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 IdentifierTracker
IdentifierTracker. getChildTracker(java.lang.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 Editor
IndexUpdate. childNodeAdded(java.lang.String name, NodeState after)
@NotNull Editor
IndexUpdate. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Editor
IndexUpdate. childNodeDeleted(java.lang.String name, NodeState before)
void
IndexUpdate. enter(NodeState before, NodeState after)
static java.util.Collection<java.lang.String>
IndexName. filterReplacedIndexes(java.util.Collection<java.lang.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 java.lang.String
IndexUtils. getAsyncLaneName(NodeState idxState, java.lang.String indexPath)
static @Nullable java.lang.String
IndexUtils. getAsyncLaneName(NodeState idxState, java.lang.String indexPath, PropertyState async)
java.lang.Iterable<java.lang.String>
AsyncIndexInfoService. getAsyncLanes(NodeState root)
Returns all the async indexing lanes which are active in the setup based on given root NodeStatejava.lang.Iterable<java.lang.String>
AsyncIndexInfoServiceImpl. getAsyncLanes(NodeState root)
Editor
CompositeIndexEditorProvider. getIndexEditor(@NotNull java.lang.String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)
@Nullable Editor
IndexEditorProvider. getIndexEditor(@NotNull java.lang.String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)
Each provider knows how to produce a certain type of index.Editor
WhiteboardIndexEditorProvider. getIndexEditor(@NotNull java.lang.String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback)
java.util.Map<java.lang.String,java.lang.Long>
AsyncIndexInfoService. getIndexedUptoPerLane(NodeState root)
Returns the lastIndexUpto time in millis for each indexing lane for given root statejava.util.Map<java.lang.String,java.lang.Long>
AsyncIndexInfoServiceImpl. getIndexedUptoPerLane(NodeState root)
@Nullable AsyncIndexInfo
AsyncIndexInfoService. getInfo(java.lang.String name, NodeState root)
Returns the info for async indexer with given name and based on given root NodeStateAsyncIndexInfo
AsyncIndexInfoServiceImpl. getInfo(java.lang.String name, NodeState root)
@Nullable Editor
IndexUpdateProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
default boolean
AsyncIndexInfoService. hasIndexerUpdatedForAnyLane(NodeState before, NodeState after)
Determines if any index lane has completed any indexing cycle between given two repository statesstatic boolean
IndexName. isIndexActive(java.lang.String indexPath, NodeState rootState)
static boolean
IndexUtils. isIndexNodeType(NodeState state)
static boolean
IndexUtils. isIndexNodeType(NodeState state, java.lang.String typeIn)
void
IndexUpdate. leave(NodeState before, NodeState after)
protected boolean
AsyncIndexUpdate. updateIndex(NodeState before, java.lang.String beforeCheckpoint, NodeState after, java.lang.String afterCheckpoint, java.lang.String afterTime, AsyncIndexUpdate.AsyncUpdateCallback callback, java.util.concurrent.atomic.AtomicReference<java.lang.String> checkpointToReleaseRef)
Constructors in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeState Constructor Description IndexUpdate(IndexEditorProvider provider, java.lang.String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback)
IndexUpdate(IndexEditorProvider provider, java.lang.String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, NodeTraversalCallback traversalCallback, CommitInfo commitInfo, CorruptIndexHandler corruptIndexHandler)
IndexUpdate(IndexEditorProvider provider, java.lang.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 Validator
ItemSaveValidatorProvider. 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 class
EmptyNodeState
Singleton instances of empty and non-existent node states, i.e.class
ModifiedNodeState
Immutable snapshot of a mutable node state.Fields in org.apache.jackrabbit.oak.plugins.memory declared as NodeState Modifier and Type Field Description static NodeState
EmptyNodeState. EMPTY_NODE
static NodeState
EmptyNodeState. MISSING_NODE
Methods in org.apache.jackrabbit.oak.plugins.memory with type parameters of type NodeState Modifier and Type Method Description static <E extends java.util.Map.Entry<java.lang.String,? extends NodeState>>
java.lang.Iterable<ChildNodeEntry>MemoryChildNodeEntry. iterable(java.lang.Iterable<E> set)
Methods in org.apache.jackrabbit.oak.plugins.memory that return NodeState Modifier and Type Method Description @NotNull NodeState
MemoryNodeBuilder. getBaseState()
@NotNull NodeState
ModifiedNodeState. getBaseState()
@NotNull NodeState
EmptyNodeState. getChildNode(@NotNull java.lang.String name)
@NotNull NodeState
ModifiedNodeState. getChildNode(@NotNull java.lang.String name)
NodeState
MemoryChildNodeEntry. getNodeState()
@NotNull NodeState
MemoryNodeBuilder. getNodeState()
NodeState
MemoryNodeStore. getRoot()
NodeState
MemoryNodeStore. 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.NodeState
MemoryNodeStore. 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 usingConflictAnnotatingRebaseDiff
for resolving conflicts.NodeState
MemoryNodeStore. 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 NodeState
MemoryNodeStore. retrieve(@NotNull java.lang.String checkpoint)
static NodeState
ModifiedNodeState. squeeze(NodeState state)
"Squeezes"ModifiedNodeState
instances into equivalentMemoryNodeState
s.Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeState Modifier and Type Method Description boolean
EmptyNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
boolean
ModifiedNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
Since we keep track of an explicit base node state for aModifiedNodeState
instance, 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 boolean
EmptyNodeState. compareAgainstEmptyState(NodeState state, NodeStateDiff diff)
static boolean
EmptyNodeState. isEmptyState(NodeState state)
void
MemoryNodeBuilder. reset(@NotNull NodeState newBase)
Throws away all changes in this builder and resets the base to the given node state.protected void
MemoryNodeBuilder. set(NodeState newState)
Replaces the current state of this builder with the given node state.@NotNull NodeBuilder
MemoryNodeBuilder. setChildNode(@NotNull java.lang.String name, @NotNull NodeState state)
static NodeState
ModifiedNodeState. squeeze(NodeState state)
"Squeezes"ModifiedNodeState
instances into equivalentMemoryNodeState
s.Constructors in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeState Constructor Description MemoryChildNodeEntry(java.lang.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 passedbase
state.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 class
AbstractDecoratedNodeState
class
FilteringNodeState
NodeState 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 NodeState
AbstractDecoratedNodeState. delegate
Methods in org.apache.jackrabbit.oak.plugins.migration that return NodeState Modifier and Type Method Description protected abstract @NotNull NodeState
AbstractDecoratedNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
protected @NotNull NodeState
FilteringNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState child)
@NotNull NodeState
AbstractDecoratedNodeState. getChildNode(@NotNull java.lang.String name)
NodeState
AbstractDecoratedNodeState. getDelegate()
protected NodeState
DescendantsIterator. getNext()
static @NotNull NodeState
FilteringNodeState. wrap(@NotNull java.lang.String path, @NotNull NodeState delegate, @Nullable java.util.Set<java.lang.String> includePaths, @Nullable java.util.Set<java.lang.String> excludePaths, @Nullable java.util.Set<java.lang.String> fragmentPaths, @Nullable java.util.Set<java.lang.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 boolean
AbstractDecoratedNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
boolean
NodeStateCopier.Builder. copy(@NotNull NodeState sourceRoot, @NotNull NodeBuilder targetRoot)
Creates a NodeStateCopier to copy thesourceRoot
NodeState to thetargetRoot
NodeBuilder, using any include, exclude, merge paths and consumer set on this NodeStateCopier.Builder.static boolean
NodeStateCopier. copyProperties(NodeState source, NodeBuilder target)
Copies all changed properties from the source NodeState to the target NodeBuilder instance.static boolean
NodeStateCopier. copyProperties(NodeState source, NodeBuilder target, boolean preserveOnTarget, java.lang.String path)
Copies all changed properties from the source NodeState to the target NodeBuilder instance.protected abstract @NotNull NodeState
AbstractDecoratedNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
protected @NotNull NodeState
FilteringNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState child)
protected static PropertyState
AbstractDecoratedNodeState. 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 boolean
AbstractDecoratedNodeState. hideChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
protected boolean
FilteringNodeState. hideChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
static @NotNull NodeState
FilteringNodeState. wrap(@NotNull java.lang.String path, @NotNull NodeState delegate, @Nullable java.util.Set<java.lang.String> includePaths, @Nullable java.util.Set<java.lang.String> excludePaths, @Nullable java.util.Set<java.lang.String> fragmentPaths, @Nullable java.util.Set<java.lang.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 class
ReportingNodeState
A decoration layer for NodeState instances that intercepts all accesses to NodeStates and PropertyStates (getters) and informs aReporter
via 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 NodeState
ReportingNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
static NodeState
ReportingNodeState. 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 NodeState
ReportingNodeState. decorateChild(@NotNull java.lang.String name, @NotNull NodeState delegateChild)
static NodeState
ReportingNodeState. 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 NodeState
VersionHistoryUtil. getVersionStorage(NodeState root)
Methods in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeState Modifier and Type Method Description Editor
VersionableEditor. childNodeAdded(java.lang.String name, NodeState after)
Editor
VersionablePropertiesEditor. childNodeAdded(java.lang.String name, NodeState after)
Editor
VersionableEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
VersionablePropertiesEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
VersionableEditor. childNodeDeleted(java.lang.String name, NodeState before)
static void
VersionCopier. copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config)
static void
VersionCopier. copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config, @NotNull java.util.function.Consumer<java.lang.String> consumer)
Editor
VersionableEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder rootBuilder, CommitInfo info)
Editor
VersionablePropertiesEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
static java.util.List<java.lang.String>
VersionHistoryUtil. getVersionableNodes(NodeState root, NodeState versionStorage, TypePredicate isVersionable, java.util.Calendar olderThan)
static java.util.Calendar
VersionHistoryUtil. getVersionHistoryLastModified(NodeState versionHistory)
static NodeState
VersionHistoryUtil. getVersionStorage(NodeState root)
void
VersionableEditor. leave(NodeState before, NodeState after)
static NodeBuilder
VersionHistoryUtil. removeVersions(NodeState root, java.util.List<java.lang.String> toRemove)
Constructors in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeState Constructor Description Provider(NodeState sourceRoot, java.lang.String workspaceName, VersionCopyConfiguration config)
VersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage)
VersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, java.util.function.Consumer<java.lang.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 Editor
NamespaceEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Validator
NameValidatorProvider. 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 Editor
TypeEditor. childNodeAdded(java.lang.String name, NodeState after)
TypeEditor
TypeEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
TypeEditor. childNodeDeleted(java.lang.String name, NodeState before)
static TypeEditor
TypeEditor. create(@NotNull TypeEditor.ConstraintViolationCallback callback, java.util.Set<java.lang.String> typesToCheck, @NotNull NodeState types, java.lang.String primary, java.lang.Iterable<java.lang.String> mixins, @NotNull NodeBuilder builder)
Creates a new TypeEditor instancevoid
TypeEditor. enter(NodeState before, NodeState after)
Editor
TypeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
static @NotNull TypePredicate
TypePredicate. isOrderable(@NotNull NodeState root)
boolean
TypePredicate. test(@Nullable NodeState input)
Constructors in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type NodeState Constructor Description TypePredicate(@NotNull NodeState root, @NotNull java.lang.Iterable<java.lang.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 java.lang.String name)
Creates a predicate for checking whether a node state is an instance of the named node type.TypePredicate(@NotNull NodeState root, @NotNull java.lang.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 NodeState
CommitRateLimiter. 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 void
EventGenerator. addHandler(NodeState before, NodeState after, EventHandler handler)
void
FilteringAwareObserver. 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)void
FilteringDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
FilteringObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
NodeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
DefaultEventHandler. enter(NodeState before, NodeState after)
void
EventHandler. enter(NodeState before, NodeState after)
Called before the given before and after states are compared.void
FilteredHandler. enter(NodeState before, NodeState after)
boolean
Filter. excludes(@NotNull NodeState root, @NotNull CommitInfo info)
Whether or not to exclude a particular content change from being forwarded to downstream observers.EventHandler
DefaultEventHandler. getChildHandler(java.lang.String name, NodeState before, NodeState after)
@Nullable EventHandler
EventHandler. getChildHandler(java.lang.String name, NodeState before, NodeState after)
Returns a handler of events within the given child node, ornull
if changes within that child are not to be processed.@Nullable EventHandler
FilteredHandler. getChildHandler(java.lang.String name, NodeState before, NodeState after)
protected Validator
ChangeCollectorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
void
DefaultEventHandler. leave(NodeState before, NodeState after)
void
EventHandler. leave(NodeState before, NodeState after)
Called after the given before and after states are compared.void
FilteredHandler. leave(NodeState before, NodeState after)
void
DefaultEventHandler. nodeAdded(java.lang.String name, NodeState after)
void
EventHandler. nodeAdded(java.lang.String name, NodeState after)
Notification for an added nodevoid
FilteredHandler. nodeAdded(java.lang.String name, NodeState after)
void
DefaultEventHandler. nodeDeleted(java.lang.String name, NodeState before)
void
EventHandler. nodeDeleted(java.lang.String name, NodeState before)
Notification for a deleted nodevoid
FilteredHandler. nodeDeleted(java.lang.String name, NodeState before)
void
DefaultEventHandler. nodeMoved(java.lang.String sourcePath, java.lang.String name, NodeState moved)
void
EventHandler. nodeMoved(java.lang.String sourcePath, java.lang.String name, NodeState moved)
Notification for a moved nodevoid
FilteredHandler. nodeMoved(java.lang.String sourcePath, java.lang.String name, NodeState moved)
void
DefaultEventHandler. nodeReordered(java.lang.String destName, java.lang.String name, NodeState reordered)
void
EventHandler. nodeReordered(java.lang.String destName, java.lang.String name, NodeState reordered)
Notification for a reordered nodevoid
FilteredHandler. nodeReordered(java.lang.String destName, java.lang.String name, NodeState reordered)
@NotNull NodeState
CommitRateLimiter. 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 NodeState
UniversalFilter. getAfterState()
@NotNull NodeState
UniversalFilter. getBeforeState()
@NotNull NodeState
RelativePathSelector. select(@NotNull UniversalFilter filter, @NotNull java.lang.String name, @NotNull NodeState before, @NotNull NodeState after)
@NotNull NodeState
RelativePathSelector. select(@NotNull UniversalFilter filter, @Nullable PropertyState before, @Nullable PropertyState after)
@NotNull NodeState
UniversalFilter.Selector. select(@NotNull UniversalFilter filter, @NotNull java.lang.String name, @NotNull NodeState before, @NotNull NodeState after)
Map a node event.@NotNull NodeState
UniversalFilter.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 int
EventAggregator. aggregate(NodeState root, java.util.List<ChildNodeEntry> parents, PropertyState propertyState)
Aggregates a property changeint
EventAggregator. aggregate(NodeState root, java.util.List<ChildNodeEntry> parents, ChildNodeEntry childNodeState)
Aggregates a node changeEventFilter
ACFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
AddSubtreeFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
ConstantFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
DeleteSubtreeFilter. create(java.lang.String name, NodeState before, NodeState after)
@Nullable EventFilter
EventFilter. create(java.lang.String name, NodeState before, NodeState after)
Factory for creating a filter instance for the given child nodeEventFilter
EventTypeFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
GlobbingPathFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
MoveFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
UniversalFilter. create(java.lang.String name, NodeState before, NodeState after)
EventFilter
VisibleFilter. create(java.lang.String name, NodeState before, NodeState after)
@NotNull EventFilter
FilterBuilder.AddSubtreeTreeCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)
@NotNull EventFilter
FilterBuilder.Condition. createFilter(@NotNull NodeState before, @NotNull NodeState after)
@NotNull EventFilter
FilterBuilder.DeleteSubtreeTreeCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)
@NotNull EventFilter
FilterBuilder.MoveCondition. createFilter(@NotNull NodeState before, @NotNull NodeState after)
@NotNull EventFilter
FilterProvider. getFilter(@NotNull NodeState before, @NotNull NodeState after)
Factory method for creating aFilter
for the passed before and after states.boolean
ACFilter. includeAdd(java.lang.String name, NodeState after)
boolean
AddSubtreeFilter. includeAdd(java.lang.String name, NodeState after)
boolean
ConstantFilter. includeAdd(java.lang.String name, NodeState after)
boolean
DeleteSubtreeFilter. includeAdd(java.lang.String name, NodeState after)
boolean
EventFilter. includeAdd(java.lang.String name, NodeState after)
Include an added nodeboolean
EventTypeFilter. includeAdd(java.lang.String name, NodeState after)
boolean
GlobbingPathFilter. includeAdd(java.lang.String name, NodeState after)
boolean
MoveFilter. includeAdd(java.lang.String name, NodeState after)
boolean
UniversalFilter. includeAdd(java.lang.String name, NodeState after)
boolean
VisibleFilter. includeAdd(java.lang.String name, NodeState after)
boolean
ACFilter. includeDelete(java.lang.String name, NodeState before)
boolean
AddSubtreeFilter. includeDelete(java.lang.String name, NodeState before)
boolean
ConstantFilter. includeDelete(java.lang.String name, NodeState before)
boolean
DeleteSubtreeFilter. includeDelete(java.lang.String name, NodeState before)
boolean
EventFilter. includeDelete(java.lang.String name, NodeState before)
Include a deleted nodeboolean
EventTypeFilter. includeDelete(java.lang.String name, NodeState before)
boolean
GlobbingPathFilter. includeDelete(java.lang.String name, NodeState before)
boolean
MoveFilter. includeDelete(java.lang.String name, NodeState before)
boolean
UniversalFilter. includeDelete(java.lang.String name, NodeState before)
boolean
VisibleFilter. includeDelete(java.lang.String name, NodeState before)
boolean
ACFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
AddSubtreeFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
ConstantFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
DeleteSubtreeFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
EventFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
Include a moved nodeboolean
EventTypeFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
GlobbingPathFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
MoveFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
UniversalFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
VisibleFilter. includeMove(java.lang.String sourcePath, java.lang.String name, NodeState moved)
boolean
ACFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
AddSubtreeFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
ConstantFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
DeleteSubtreeFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
EventFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
Include a reordered nodeboolean
EventTypeFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
GlobbingPathFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
MoveFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
UniversalFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
boolean
VisibleFilter. includeReorder(java.lang.String destName, java.lang.String name, NodeState reordered)
@NotNull NodeState
RelativePathSelector. select(@NotNull UniversalFilter filter, @NotNull java.lang.String name, @NotNull NodeState before, @NotNull NodeState after)
@NotNull NodeState
UniversalFilter.Selector. select(@NotNull UniversalFilter filter, @NotNull java.lang.String name, @NotNull NodeState before, @NotNull NodeState after)
Map a node event.boolean
PropertyPredicate. test(NodeState node)
boolean
UuidPredicate. 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.Condition
FilterBuilder. universal(@NotNull UniversalFilter.Selector selector, @NotNull java.util.function.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 newFilter
instance 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 java.util.function.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 java.util.function.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 NodeState
TreeProvider. asNodeState(@NotNull Tree readOnlyTree)
Methods in org.apache.jackrabbit.oak.plugins.tree with parameters of type NodeState Modifier and Type Method Description @NotNull Root
RootProvider. createReadOnlyRoot(@NotNull NodeState rootState)
@NotNull Tree
TreeProvider. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull java.lang.String childName, @NotNull NodeState childState)
@NotNull Tree
TreeProvider. 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 Root
RootFactory. createReadOnlyRoot(@NotNull NodeState rootState)
Deprecated.static Tree
TreeFactory. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull java.lang.String childName, @NotNull NodeState childState)
Deprecated.static Tree
TreeFactory. 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 NodeState
TreeProviderService. asNodeState(@NotNull Tree readOnlyTree)
@NotNull NodeState
AbstractTree. getNodeState()
Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type NodeState Modifier and Type Method Description @NotNull Root
RootProviderService. createReadOnlyRoot(@NotNull NodeState rootState)
@NotNull Tree
TreeProviderService. createReadOnlyTree(@NotNull Tree readOnlyParent, @NotNull java.lang.String childName, @NotNull NodeState childState)
@NotNull Tree
TreeProviderService. 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 java.lang.String name, @NotNull NodeState state)
ImmutableTree(@NotNull ImmutableTree parent, @NotNull java.lang.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 NodeState
VersionHook. 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 boolean
Utils. isFrozenNodeReferenceable(@NotNull NodeState root)
Returnstrue
iff there is ant:frozenNode
definition and the definition has amix:referenceable
supertype.@NotNull NodeState
VersionHook. 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 NodeState
ExecutionContext. 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 void
JoinImpl. execute(NodeState rootState)
void
SelectorImpl. execute(NodeState rootState)
abstract void
SourceImpl. execute(NodeState rootState)
Execute the query.java.lang.String
JoinImpl. getIndexCostInfo(NodeState rootState)
java.lang.String
SelectorImpl. getIndexCostInfo(NodeState rootState)
abstract java.lang.String
SourceImpl. getIndexCostInfo(NodeState rootState)
Get the index cost as a JSON string.java.lang.String
JoinImpl. getPlan(NodeState rootState)
java.lang.String
SelectorImpl. getPlan(NodeState rootState)
abstract java.lang.String
SourceImpl. getPlan(NodeState rootState)
Get the query plan.long
JoinImpl. getSize(NodeState rootState, Result.SizePrecision precision, long max)
long
SelectorImpl. getSize(NodeState rootState, Result.SizePrecision precision, long max)
abstract long
SourceImpl. 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 double
TraversingIndex. getCost(Filter filter, NodeState rootState)
java.lang.String
TraversingIndex. getPlan(Filter filter, NodeState rootState)
boolean
TraversingIndex. isPotentiallySlow(Filter filter, NodeState rootState)
Cursor
TraversingIndex. 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 Validator
AccessControlValidatorProvider. 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 NodeState
PermissionHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
VersionablePathHook. 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 Validator
MoveAwarePermissionValidator. childNodeAdded(java.lang.String name, NodeState after)
Validator
MoveAwarePermissionValidator. childNodeDeleted(java.lang.String name, NodeState before)
@NotNull Validator
PermissionStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull Validator
PermissionValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
PermissionHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
VersionablePathHook. 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 class
SegmentNodeState
A record of type "NODE".Methods in org.apache.jackrabbit.oak.segment that return NodeState Modifier and Type Method Description @NotNull NodeState
SegmentNodeState. getChildNode(@NotNull java.lang.String name)
NodeState
Template. getChildNode(java.lang.String name, RecordId recordId)
@NotNull NodeState
SegmentNodeStore. getRoot()
@NotNull NodeState
SegmentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
LoggingHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
SegmentNodeStore. rebase(@NotNull NodeBuilder builder)
@NotNull NodeState
SegmentNodeStore. reset(@NotNull NodeBuilder builder)
@Nullable NodeState
SegmentNodeStore. retrieve(@NotNull java.lang.String checkpoint)
Methods in org.apache.jackrabbit.oak.segment with parameters of type NodeState Modifier and Type Method Description boolean
CancelableDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
LoggingHook. childNodeAdded(java.lang.String name, NodeState after)
boolean
CancelableDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
LoggingHook. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
CancelableDiff. childNodeDeleted(java.lang.String name, NodeState before)
boolean
LoggingHook. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable CompactedNodeState
CheckpointCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)
@Nullable CompactedNodeState
ClassicCompactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)
abstract @Nullable CompactedNodeState
Compactor. compact(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)
compact the differences betweenafter
andbefore
on top ofonto
.@Nullable CompactedNodeState
CheckpointCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
@Nullable CompactedNodeState
ClassicCompactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
@Nullable CompactedNodeState
Compactor. compactDown(@NotNull NodeState state, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
abstract @Nullable CompactedNodeState
Compactor. compactDown(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
compact the differences betweenafter
andbefore
on top ofafter
.protected @Nullable CompactedNodeState
CheckpointCompactor. compactDownWithDelegate(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
Delegate compaction to another, usually simpler, implementation.protected @Nullable CompactedNodeState
ParallelCompactor. compactDownWithDelegate(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller hardCanceller, @NotNull Canceller softCanceller)
@Nullable CompactedNodeState
Compactor. compactUp(@NotNull NodeState state, @NotNull Canceller canceller)
@Nullable CompactedNodeState
Compactor. compactUp(@NotNull NodeState before, @NotNull NodeState after, @NotNull Canceller canceller)
compact the differences betweenafter
andbefore
on top ofbefore
.protected @Nullable CompactedNodeState
CheckpointCompactor. compactWithDelegate(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)
protected @Nullable CompactedNodeState
ParallelCompactor. compactWithDelegate(@NotNull NodeState before, @NotNull NodeState after, @NotNull NodeState onto, @NotNull Canceller canceller)
boolean
SegmentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
void
LoggingHook. enter(NodeState before, NodeState after)
static boolean
SegmentNodeState. fastEquals(NodeState a, NodeState b)
Indicates whether twoNodeState
instances are equal to each other.protected @Nullable CompactedNodeState
ClassicCompactor. getPreviouslyCompactedState(NodeState nodeState)
void
LoggingHook. leave(NodeState before, NodeState after)
@NotNull NodeState
LoggingHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull RecordId
DefaultSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)
default @NotNull RecordId
SegmentWriter. writeNode(@NotNull NodeState state)
Write a node state.@NotNull RecordId
SegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)
Write a node state.protected @Nullable CompactedNodeState
ClassicCompactor. 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 class
CompactedNodeState
Simple wrapper class forSegmentNodeState
to 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.FullyCompactedNodeState
CompactionWriter. getPreviouslyCompactedState(NodeState nodeState)
@NotNull org.apache.jackrabbit.oak.segment.file.CompactedNodeState.FullyCompactedNodeState
CompactionWriter. writeFullyCompactedNode(@NotNull NodeState nodeState, @Nullable Buffer stableId)
@Nullable org.apache.jackrabbit.oak.segment.file.CompactedNodeState.PartiallyCompactedNodeState
CompactionWriter. 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 NodeState
Proc. 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 java.util.Optional<NodeState>
Proc.Backend.Commit. getRoot()
java.util.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 NodeState
RevisionHistory.HistoryElement. getNode()
Node at given revisionMethods in org.apache.jackrabbit.oak.segment.file.tooling with parameters of type NodeState Modifier and Type Method Description java.lang.String
ConsistencyChecker. checkTreeConsistency(NodeState root, java.util.Set<java.lang.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 NodeState
LockBasedScheduler. getHeadNodeState()
NodeState
Scheduler. getHeadNodeState()
Returns the latest state of the tree.NodeState
LockBasedScheduler. schedule(@NotNull Commit commit, Scheduler.SchedulerOption... schedulingOptions)
NodeState
Scheduler. 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 void
LockBasedScheduler. 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 void
BreadthFirstTrace. run(@NotNull NodeState node)
void
DepthFirstTrace. run(@NotNull NodeState node)
void
RandomAccessTrace. run(@NotNull NodeState root)
void
Trace. 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 NodeState
CommitHook. processCommit(NodeState before, NodeState after, CommitInfo info)
Validates and/or modifies the given content change before it gets persisted.@NotNull NodeState
CompositeHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
EditorHook. processCommit(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
@NotNull NodeState
EmptyHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
ResetCommitAttributeHook. 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.Resolution
CompositeConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState theirs)
@NotNull PartialConflictHandler.Resolution
ConflictHandler. addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
Deprecated.The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler. addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
Deprecated.The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler. addExistingNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState theirs)
The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState base)
@NotNull PartialConflictHandler.Resolution
ConflictHandler. changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
Deprecated.The nodeours
has been changed inparent
while it was removed in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler. changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
Deprecated.The nodeours
has been changed inparent
while it was removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler. changeDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState ours, @NotNull NodeState base)
The nodeours
has been changed inparent
while it was removed in the persistence store.Editor
CompositeEditor. childNodeAdded(java.lang.String name, NodeState after)
Editor
DefaultEditor. childNodeAdded(java.lang.String name, NodeState after)
MoveValidator
DefaultMoveValidator. childNodeAdded(java.lang.String name, NodeState after)
Validator
DefaultValidator. childNodeAdded(java.lang.String name, NodeState after)
@Nullable Editor
Editor. childNodeAdded(java.lang.String name, NodeState after)
Processes an added child node.boolean
EditorDiff. childNodeAdded(java.lang.String name, NodeState after)
Validator
FailingValidator. childNodeAdded(java.lang.String name, NodeState after)
Editor
ProgressNotificationEditor. childNodeAdded(java.lang.String name, NodeState after)
@Nullable Editor
SubtreeEditor. childNodeAdded(java.lang.String name, NodeState after)
Validator
SubtreeExcludingValidator. childNodeAdded(java.lang.String name, NodeState after)
Validator
SubtreeValidator. childNodeAdded(java.lang.String name, NodeState after)
@Nullable Validator
Validator. childNodeAdded(java.lang.String name, NodeState after)
Validate an added node@Nullable Editor
VisibleEditor. childNodeAdded(java.lang.String name, NodeState after)
@Nullable Validator
VisibleValidator. childNodeAdded(java.lang.String name, NodeState after)
Editor
CompositeEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
DefaultEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
MoveValidator
DefaultMoveValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
DefaultValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Editor
Editor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Processes a changed child node.boolean
EditorDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
FailingValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
ProgressNotificationEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Editor
SubtreeEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
SubtreeExcludingValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
SubtreeValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Validator
Validator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validate a changed node@Nullable Editor
VisibleEditor. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable Validator
VisibleValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
CompositeEditor. childNodeDeleted(java.lang.String name, NodeState before)
Editor
DefaultEditor. childNodeDeleted(java.lang.String name, NodeState before)
MoveValidator
DefaultMoveValidator. childNodeDeleted(java.lang.String name, NodeState before)
Validator
DefaultValidator. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable Editor
Editor. childNodeDeleted(java.lang.String name, NodeState before)
Processes a deleted child node.boolean
EditorDiff. childNodeDeleted(java.lang.String name, NodeState before)
Validator
FailingValidator. childNodeDeleted(java.lang.String name, NodeState before)
Editor
ProgressNotificationEditor. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable Editor
SubtreeEditor. childNodeDeleted(java.lang.String name, NodeState before)
Validator
SubtreeExcludingValidator. childNodeDeleted(java.lang.String name, NodeState before)
Validator
SubtreeValidator. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable Validator
Validator. childNodeDeleted(java.lang.String name, NodeState before)
Validate a deleted node@Nullable Editor
VisibleEditor. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable Validator
VisibleValidator. childNodeDeleted(java.lang.String name, NodeState before)
void
BackgroundObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
ChangeDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
CompositeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
DiffObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
EmptyObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
Observer. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
Observes a content change.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState theirs, @NotNull NodeState base)
@NotNull PartialConflictHandler.Resolution
ConflictHandler. deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
Deprecated.The nodetheirs
changed in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler. deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
Deprecated.The nodetheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler. deleteChangedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState theirs, @NotNull NodeState base)
The nodetheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState base)
@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler. deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull java.lang.String name, @NotNull NodeState base)
The nodename
has been removed inparent
while it was also removed in the persistence store.void
CompositeEditor. enter(NodeState before, NodeState after)
void
DefaultEditor. enter(NodeState before, NodeState after)
void
DefaultValidator. enter(NodeState before, NodeState after)
void
Editor. enter(NodeState before, NodeState after)
Called before the given before and after states are compared.void
FailingValidator. enter(NodeState before, NodeState after)
void
ProgressNotificationEditor. enter(NodeState before, NodeState after)
void
VisibleEditor. enter(NodeState before, NodeState after)
void
VisibleValidator. enter(NodeState before, NodeState after)
protected abstract NodeStateDiff
DiffObserver. getRootDiff(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
Returns the diff handler to be used for the given content change.@Nullable Editor
CompositeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
@Nullable Editor
EditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Returns an editor for processing changes between the given two states.@Nullable Editor
ValidatorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
@Nullable Editor
WhiteboardEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
protected abstract @Nullable Validator
ValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
Returns a validator for checking the changes between the given two root states.void
CompositeEditor. leave(NodeState before, NodeState after)
void
DefaultEditor. leave(NodeState before, NodeState after)
void
DefaultValidator. leave(NodeState before, NodeState after)
void
Editor. leave(NodeState before, NodeState after)
Called after the given before and after states are compared.void
FailingValidator. leave(NodeState before, NodeState after)
void
ProgressNotificationEditor. leave(NodeState before, NodeState after)
void
VisibleEditor. leave(NodeState before, NodeState after)
void
VisibleValidator. leave(NodeState before, NodeState after)
void
DefaultMoveValidator. move(java.lang.String name, java.lang.String sourcePath, NodeState moved)
static @Nullable CommitFailedException
EditorDiff. process(@Nullable Editor editor, @NotNull NodeState before, @NotNull NodeState after)
Validates and possibly edits the given subtree by diffing and recursing through it.@NotNull NodeState
CommitHook. processCommit(NodeState before, NodeState after, CommitInfo info)
Validates and/or modifies the given content change before it gets persisted.@NotNull NodeState
CompositeHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
EditorHook. processCommit(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
@NotNull NodeState
EmptyHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
ResetCommitAttributeHook. 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 NodeState
QueryIndex.IndexPlan.Builder. definition
Methods in org.apache.jackrabbit.oak.spi.query that return NodeState Modifier and Type Method Description NodeState
QueryIndex.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 double
QueryIndex. getCost(Filter filter, NodeState rootState)
Estimate the worst-case cost to query with the given filter.default java.lang.String
QueryIndex. 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).java.util.Iterator<java.lang.String>
QueryIndex.NodeAggregator. getParents(NodeState rootState, java.lang.String path)
java.lang.String
QueryIndex. getPlan(Filter filter, NodeState rootState)
Get the query plan for the given filter.java.lang.String
QueryIndex.AdvancedQueryIndex. getPlanDescription(QueryIndex.IndexPlan plan, NodeState root)
Get the query plan description (for logging purposes).java.util.List<QueryIndex.IndexPlan>
QueryIndex.AdvancedQueryIndex. getPlans(Filter filter, java.util.List<QueryIndex.OrderEntry> sortOrder, NodeState rootState)
Return the possible index plans for the given filter and sort order.@NotNull java.util.List<? extends QueryIndex>
CompositeQueryIndexProvider. getQueryIndexes(NodeState nodeState)
@NotNull java.util.List<? extends QueryIndex>
QueryIndexProvider. getQueryIndexes(NodeState nodeState)
Get the currently configured indexes.@NotNull java.util.List<? extends QueryIndex>
WhiteboardIndexProvider. getQueryIndexes(NodeState nodeState)
Cursor
QueryIndex.AdvancedQueryIndex. query(QueryIndex.IndexPlan plan, NodeState rootState)
Start a query.Cursor
QueryIndex. query(Filter filter, NodeState rootState)
Query the index.QueryIndex.IndexPlan.Builder
QueryIndex.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 TreePermission
TreePermission. getChildPermission(@NotNull java.lang.String childName, @NotNull NodeState childState)
Retrieve theTreePermission
for the tree identified by the specifiedchildName
andchildState
, 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 class
AbstractNodeState
Abstract base class forNodeState
implementations.Fields in org.apache.jackrabbit.oak.spi.state with type parameters of type NodeState Modifier and Type Field Description static org.apache.jackrabbit.guava.common.base.Predicate<NodeState>
NodeState. EXISTS
Predicate that checks the existence of NodeState instances.Methods in org.apache.jackrabbit.oak.spi.state that return NodeState Modifier and Type Method Description @NotNull NodeState
NodeStoreBranch. getBase()
Returns the base state of this branch.@NotNull NodeState
NodeBuilder. getBaseState()
Returns the original base state that this builder is modifying.@NotNull NodeState
ReadOnlyBuilder. getBaseState()
@NotNull NodeState
NodeState. getChildNode(@NotNull java.lang.String name)
Returns the named, possibly non-existent, child node.@NotNull NodeState
NodeStoreBranch. getHead()
Returns the head state of this branch.static @NotNull NodeState
NodeStateUtils. getNode(@NotNull NodeState node, @NotNull java.lang.String path)
Get a possibly non existing child node of a node.@NotNull NodeState
ChildNodeEntry. getNodeState()
The child node state@NotNull NodeState
NodeBuilder. getNodeState()
Returns an immutable node state that matches the current state of the builder.@NotNull NodeState
ReadOnlyBuilder. getNodeState()
@NotNull NodeState
NodeStore. getRoot()
Returns the latest state of the tree.NodeState
ProxyNodeStore. getRoot()
@NotNull NodeState
NodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
NodeStoreBranch. merge(@NotNull CommitHook hook, @NotNull CommitInfo info)
Merges the changes in this branch to the main content tree.NodeState
ProxyNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
@NotNull NodeState
NodeStore. rebase(@NotNull NodeBuilder builder)
NodeState
ProxyNodeStore. rebase(NodeBuilder builder)
NodeState
NodeStore. reset(@NotNull NodeBuilder builder)
Reset the passedbuilder
by throwing away all its changes and setting its base state to the current root state.NodeState
ProxyNodeStore. reset(NodeBuilder builder)
@Nullable NodeState
NodeStore. retrieve(@NotNull java.lang.String checkpoint)
Retrieves the root node from a previously created repository checkpoint.NodeState
ProxyNodeStore. retrieve(java.lang.String checkpoint)
Methods in org.apache.jackrabbit.oak.spi.state with parameters of type NodeState Modifier and Type Method Description protected abstract void
AbstractRebaseDiff. addExistingNode(NodeBuilder builder, java.lang.String name, NodeState before, NodeState after)
Called when the nodeafter
was added on the branch but the node exists already in the trunk.protected void
ConflictAnnotatingRebaseDiff. addExistingNode(NodeBuilder builder, java.lang.String name, NodeState before, NodeState after)
void
ApplyDiff. apply(NodeState target)
protected abstract void
AbstractRebaseDiff. changeDeletedNode(NodeBuilder builder, java.lang.String name, NodeState after, NodeState base)
Called when the nodeafter
was changed on the branch but was deleted already in the trunk.protected void
ConflictAnnotatingRebaseDiff. changeDeletedNode(NodeBuilder builder, java.lang.String name, NodeState after, NodeState base)
boolean
AbstractRebaseDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
ApplyDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
DefaultNodeStateDiff. childNodeAdded(java.lang.String name, NodeState after)
boolean
EqualsDiff. childNodeAdded(java.lang.String name, NodeState after)
Validator
MoveDetector. childNodeAdded(java.lang.String name, NodeState after)
@Nullable MoveValidator
MoveValidator. childNodeAdded(java.lang.String name, NodeState after)
boolean
NodeStateDiff. childNodeAdded(java.lang.String name, NodeState after)
Called for all added child nodes.boolean
AbstractRebaseDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
ApplyDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
DefaultNodeStateDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
EqualsDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Validator
MoveDetector. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
@Nullable MoveValidator
MoveValidator. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
boolean
NodeStateDiff. childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Called for all child nodes that may contain changes between the before and after states.boolean
AbstractRebaseDiff. childNodeDeleted(java.lang.String name, NodeState before)
boolean
ApplyDiff. childNodeDeleted(java.lang.String name, NodeState before)
boolean
DefaultNodeStateDiff. childNodeDeleted(java.lang.String name, NodeState before)
boolean
EqualsDiff. childNodeDeleted(java.lang.String name, NodeState before)
Validator
MoveDetector. childNodeDeleted(java.lang.String name, NodeState before)
@Nullable MoveValidator
MoveValidator. childNodeDeleted(java.lang.String name, NodeState before)
boolean
NodeStateDiff. childNodeDeleted(java.lang.String name, NodeState before)
Called for all deleted child nodes.boolean
AbstractNodeState. 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 boolean
AbstractNodeState. 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.boolean
NodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
Compares this node state against the given base state.static boolean
AbstractNodeState. comparePropertiesAgainstBaseState(NodeState state, NodeState base, NodeStateDiff diff)
Compares the properties ofbase
state withthis
state.protected abstract void
AbstractRebaseDiff. deleteChangedNode(NodeBuilder builder, java.lang.String name, NodeState before)
Called when the nodebefore
was deleted in the branch but was already changed in the trunk.protected void
ConflictAnnotatingRebaseDiff. deleteChangedNode(NodeBuilder builder, java.lang.String name, NodeState before)
protected abstract void
AbstractRebaseDiff. deleteDeletedNode(NodeBuilder builder, java.lang.String name, NodeState before)
Called when the nodebefore
was deleted in the branch but was already deleted in the trunk.protected void
ConflictAnnotatingRebaseDiff. deleteDeletedNode(NodeBuilder builder, java.lang.String name, NodeState before)
void
MoveDetector. enter(NodeState before, NodeState after)
static boolean
AbstractNodeState. equals(NodeState a, NodeState b)
static boolean
EqualsDiff. equals(NodeState before, NodeState after)
Diffs the given node states and returnstrue
if there are no differences.static boolean
AbstractNodeState. getBoolean(NodeState state, java.lang.String name)
static long
AbstractNodeState. getLong(NodeState state, java.lang.String name)
static java.lang.String
AbstractNodeState. getName(NodeState state, java.lang.String name)
static java.lang.Iterable<java.lang.String>
AbstractNodeState. getNames(NodeState state, java.lang.String name)
static @NotNull NodeState
NodeStateUtils. getNode(@NotNull NodeState node, @NotNull java.lang.String path)
Get a possibly non existing child node of a node.static @Nullable java.lang.String
NodeStateUtils. getPrimaryTypeName(NodeState nodeState)
static java.lang.String
AbstractNodeState. getString(NodeState state, java.lang.String name)
static java.lang.Iterable<java.lang.String>
AbstractNodeState. getStrings(NodeState state, java.lang.String name)
void
MoveDetector. leave(NodeState before, NodeState after)
static boolean
EqualsDiff. modified(NodeState before, NodeState after)
Diffs the given node states and returnstrue
if there are differences within the properties or direct child nodes.void
MoveValidator. move(java.lang.String name, java.lang.String sourcePath, NodeState moved)
Called when a moved node has been detected.void
PrefetchNodeStore. prefetch(java.util.Collection<java.lang.String> paths, NodeState rootState)
Make an attempt to prefetch node states for the given paths and hold them in a cache.@NotNull NodeBuilder
NodeBuilder. setChildNode(@NotNull java.lang.String name, @NotNull NodeState nodeState)
Adds or replaces a subtree.@NotNull NodeBuilder
ReadOnlyBuilder. setChildNode(@NotNull java.lang.String name, @NotNull NodeState nodeState)
void
NodeStoreBranch. setRoot(NodeState newRoot)
Updates the state of the content tree of this private branch.static java.lang.String
AbstractNodeState. toString(NodeState state)
static java.lang.String
NodeStateUtils. 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)
-