Uses of Interface
org.apache.jackrabbit.oak.spi.state.NodeStateDiff
Packages that use NodeStateDiff
Package
Description
Internal utilities and implementation of a memory-based store.
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.json
Classes in org.apache.jackrabbit.oak.json that implement NodeStateDiff -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.memory
Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeStateDiffModifier and TypeMethodDescriptionbooleanEmptyNodeState.compareAgainstBaseState(NodeState base, NodeStateDiff diff) booleanModifiedNodeState.compareAgainstBaseState(NodeState base, NodeStateDiff diff) Since we keep track of an explicit base node state for aModifiedNodeStateinstance, we can do this in two steps: first compare all the modified properties and child nodes to those of the given base state, and then compare the base states to each other, ignoring all changed properties and child nodes that were already covered earlier.static booleanEmptyNodeState.compareAgainstEmptyState(NodeState state, NodeStateDiff diff) -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.spi.commit
Classes in org.apache.jackrabbit.oak.spi.commit that implement NodeStateDiffMethods in org.apache.jackrabbit.oak.spi.commit that return NodeStateDiffModifier and TypeMethodDescriptionprotected abstract NodeStateDiffDiffObserver.getRootDiff(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info) Returns the diff handler to be used for the given content change. -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.spi.state
Classes in org.apache.jackrabbit.oak.spi.state that implement NodeStateDiffModifier and TypeClassDescriptionclassAbstractRebaseDiffserves as base for rebase implementations.classA node state diff handler that applies all reported changes as-is to the given node builder.classThis implementation ofAbstractRebaseDiffimplements aNodeStateDiff, which performs the conflict handling as defined inNodeStore.rebase(NodeBuilder)on the Oak SPI state level by annotating conflicting items with conflict markers.classNode state diff handler that by default does nothing.classHelper class for comparing the equality of node states based on the content diff mechanism.Methods in org.apache.jackrabbit.oak.spi.state with parameters of type NodeStateDiffModifier and TypeMethodDescriptionbooleanAbstractNodeState.compareAgainstBaseState(NodeState base, NodeStateDiff diff) Generic default comparison algorithm that simply walks through the property and child node lists of the given base state and compares the entries one by one with corresponding ones (if any) in this state.static booleanAbstractNodeState.compareAgainstBaseState(NodeState state, NodeState base, NodeStateDiff diff) Generic default comparison algorithm that simply walks through the property and child node lists of the given base state and compares the entries one by one with corresponding ones (if any) in this state.booleanNodeState.compareAgainstBaseState(NodeState base, NodeStateDiff diff) Compares this node state against the given base state.static booleanAbstractNodeState.comparePropertiesAgainstBaseState(NodeState state, NodeState base, NodeStateDiff diff) Compares the properties ofbasestate withthisstate.