Class DeltaOptions

java.lang.Object
com.helixframework.delta.DeltaOptions

public final class DeltaOptions extends Object
Immutable options that control delta computation, projection generation, and value visibility.
  • Method Details

    • builder

      public static DeltaOptions.Builder builder()
      Creates a new builder initialized with the library defaults.
      Returns:
      options builder
    • includeBeforeValues

      public boolean includeBeforeValues()
      Returns whether before values are included in each DeltaChange.
      Returns:
      true when before values are exposed
    • includeAfterValues

      public boolean includeAfterValues()
      Returns whether after values are included in each DeltaChange.
      Returns:
      true when after values are exposed
    • includeProjection

      public boolean includeProjection()
      Returns whether a changed-only projection is produced.
      Returns:
      true when projection generation is enabled
    • includeAncestors

      public boolean includeAncestors()
      Returns whether ancestor paths are attached to each change.
      Returns:
      true when ancestors are included
    • normalizeNumbers

      public boolean normalizeNumbers()
      Returns whether numerically equivalent values such as 1 and 1.0 are treated as equal.
      Returns:
      true when numeric normalization is enabled
    • ignoredPaths

      public Set<String> ignoredPaths()
      Returns paths that should be omitted entirely from comparison output.
      Returns:
      ignored path set
    • redactedPaths

      public Set<String> redactedPaths()
      Returns paths whose values should be replaced with a redaction marker.
      Returns:
      redacted path set
    • arrayMatchingStrategy

      public ArrayMatchingStrategy arrayMatchingStrategy()
      Returns the array comparison strategy used during diff computation.
      Returns:
      array matching strategy