Uses of Interface
org.apache.jackrabbit.oak.spi.state.NodeStateDiff
-
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.composite
Classes in org.apache.jackrabbit.oak.composite that implement NodeStateDiff Modifier and Type Class Description class
ModifiedPathDiff
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.json
Classes in org.apache.jackrabbit.oak.json that implement NodeStateDiff Modifier and Type Class Description class
JsopDiff
TODO document -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.commit
Classes in org.apache.jackrabbit.oak.plugins.commit that implement NodeStateDiff Modifier and Type Class Description class
MergingNodeStateDiff
MergingNodeStateDiff... -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeStateDiff Modifier and Type Method Description boolean
DocumentNodeStore. compare(@NotNull AbstractDocumentNodeState node, @NotNull AbstractDocumentNodeState base, @NotNull NodeStateDiff diff)
boolean
NodeStateDiffer. compare(@NotNull AbstractDocumentNodeState node, @NotNull AbstractDocumentNodeState base, @NotNull NodeStateDiff diff)
boolean
AbstractDocumentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.document.util
Classes in org.apache.jackrabbit.oak.plugins.document.util that implement NodeStateDiff Modifier and Type Class Description class
CountingDiff
ANodeStateDiff
implementation that counts the differences between two node states, including their sub tree.class
ReverseNodeStateDiff
Implementation of aNodeStateDiff
that reports the inverse operation to the wrappedNodeStateDiff
.Constructors in org.apache.jackrabbit.oak.plugins.document.util with parameters of type NodeStateDiff Constructor Description ReverseNodeStateDiff(NodeStateDiff diff)
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.memory
Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeStateDiff 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)
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.plugins.migration
Methods in org.apache.jackrabbit.oak.plugins.migration with parameters of type NodeStateDiff Modifier and Type Method Description boolean
AbstractDecoratedNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.segment
Classes in org.apache.jackrabbit.oak.segment that implement NodeStateDiff Modifier and Type Class Description class
CancelableDiff
ANodeStateDiff
that cancels itself when a condition occurs.class
LoggingHook
Methods in org.apache.jackrabbit.oak.segment with parameters of type NodeStateDiff Modifier and Type Method Description boolean
SegmentNodeState. compareAgainstBaseState(NodeState base, NodeStateDiff diff)
Constructors in org.apache.jackrabbit.oak.segment with parameters of type NodeStateDiff Constructor Description CancelableDiff(NodeStateDiff delegate, org.apache.jackrabbit.guava.common.base.Supplier<java.lang.Boolean> canceled)
-
Uses of NodeStateDiff in org.apache.jackrabbit.oak.spi.commit
Classes in org.apache.jackrabbit.oak.spi.commit that implement NodeStateDiff Modifier and Type Class Description class
EditorDiff
Methods in org.apache.jackrabbit.oak.spi.commit that return NodeStateDiff Modifier and Type Method Description 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. -
Uses of NodeStateDiff in org.apache.jackrabbit.oak.spi.state
Classes in org.apache.jackrabbit.oak.spi.state that implement NodeStateDiff Modifier and Type Class Description class
AbstractRebaseDiff
AbstractRebaseDiff
serves as base for rebase implementations.class
ApplyDiff
A node state diff handler that applies all reported changes as-is to the given node builder.class
ConflictAnnotatingRebaseDiff
This implementation ofAbstractRebaseDiff
implements aNodeStateDiff
, which performs the conflict handling as defined inNodeStore.rebase(NodeBuilder)
on the Oak SPI state level by annotating conflicting items with conflict markers.class
DefaultNodeStateDiff
Node state diff handler that by default does nothing.class
EqualsDiff
Helper 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 NodeStateDiff Modifier and Type Method Description 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.
-