All Implemented Interfaces:
DataExceptionContributor, JsonSerializable, RecordSerializable, XmlSerializable, Serializable

public class IndexDefDiff extends Diff<IndexDef>
The differences between two versions of an IndexDef, with child diffs for its properties and index fields.
See Also:
  • Constructor Details

  • Method Details

    • diff

      public static IndexDefDiff diff(IndexDef oldIndex, IndexDef newIndex)
      Compares two versions of an index, matching its index fields by exact field name; a null argument yields an ADDED or REMOVED diff.
    • fromRecord

      public IndexDefDiff fromRecord(Record source)
      Description copied from interface: RecordSerializable
      Loads this instance's state from a record and returns this (for fluid API call chaining). For fluid API call chaining, the overridden method should change the declared return type to its class.
      Specified by:
      fromRecord in interface RecordSerializable
      Overrides:
      fromRecord in class Diff<IndexDef>
      Parameters:
      source -
      Returns:
      this instance.