Class IndexDefDiff
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.difference.Diff<IndexDef>
com.northconcepts.datapipeline.foundations.schema.diff.IndexDefDiff
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
The differences between two versions of an
IndexDef, with child diffs for its properties and index fields.- See Also:
-
Field Summary
Fields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIndexDefDiff(DiffType type, String name, IndexDef oldValue, IndexDef newValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexDefDiffCompares two versions of an index, matching its index fields by exact field name; a null argument yields anADDEDorREMOVEDdiff.fromRecord(Record source) Loads this instance's state from a record and returnsthis(for fluid API call chaining).Methods inherited from class com.northconcepts.datapipeline.foundations.difference.Diff
addChild, addChildProperty, getChildByName, getChildren, getName, getNewValue, getOldValue, getType, setName, setNewValue, setOldValue, setType, toRecordMethods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
addExceptionProperties, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionProperties, exception, exception, exceptionMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
IndexDefDiff
public IndexDefDiff() -
IndexDefDiff
-
-
Method Details
-
diff
Compares two versions of an index, matching its index fields by exact field name; a null argument yields anADDEDorREMOVEDdiff. -
fromRecord
Description copied from interface:RecordSerializableLoads this instance's state from a record and returnsthis(for fluid API call chaining). For fluid API call chaining, the overridden method should change the declared return type to its class.- Specified by:
fromRecordin interfaceRecordSerializable- Overrides:
fromRecordin classDiff<IndexDef>- Parameters:
source-- Returns:
- this instance.
-