Package com.helixframework.delta
Class DeltaOptions
java.lang.Object
com.helixframework.delta.DeltaOptions
Immutable options that control delta computation, projection generation,
and value visibility.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the array comparison strategy used during diff computation.static DeltaOptions.Builderbuilder()Creates a new builder initialized with the library defaults.Returns paths that should be omitted entirely from comparison output.booleanReturns whether after values are included in eachDeltaChange.booleanReturns whether ancestor paths are attached to each change.booleanReturns whether before values are included in eachDeltaChange.booleanReturns whether a changed-only projection is produced.booleanReturns whether numerically equivalent values such as1and1.0are treated as equal.Returns paths whose values should be replaced with a redaction marker.
-
Method Details
-
builder
Creates a new builder initialized with the library defaults.- Returns:
- options builder
-
includeBeforeValues
public boolean includeBeforeValues()Returns whether before values are included in eachDeltaChange.- Returns:
truewhen before values are exposed
-
includeAfterValues
public boolean includeAfterValues()Returns whether after values are included in eachDeltaChange.- Returns:
truewhen after values are exposed
-
includeProjection
public boolean includeProjection()Returns whether a changed-only projection is produced.- Returns:
truewhen projection generation is enabled
-
includeAncestors
public boolean includeAncestors()Returns whether ancestor paths are attached to each change.- Returns:
truewhen ancestors are included
-
normalizeNumbers
public boolean normalizeNumbers()Returns whether numerically equivalent values such as1and1.0are treated as equal.- Returns:
truewhen numeric normalization is enabled
-
ignoredPaths
Returns paths that should be omitted entirely from comparison output.- Returns:
- ignored path set
-
redactedPaths
Returns paths whose values should be replaced with a redaction marker.- Returns:
- redacted path set
-
arrayMatchingStrategy
Returns the array comparison strategy used during diff computation.- Returns:
- array matching strategy
-