java.lang.Object
java.lang.Record
org.tentackle.model.migrate.IndexMigrator.Result
- Record Components:
dropSql- the sql code to drop or rename indexescreateSql- the sql code to create indexes
- Enclosing class:
IndexMigrator
The migration result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreateSqlrecord component.dropSql()Returns the value of thedropSqlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sum(IndexMigrator.Result result) Builds the sum of this and another result.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
sum
Builds the sum of this and another result.- Parameters:
result- the result to sum up- Returns:
- the sum
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
dropSql
Returns the value of thedropSqlrecord component.- Returns:
- the value of the
dropSqlrecord component
-
createSql
Returns the value of thecreateSqlrecord component.- Returns:
- the value of the
createSqlrecord component
-