Record Class IndexMigrator.Result
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
-
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
-
Result
-
-
Method Details
-
sum
Builds the sum of this and another result.- Parameters:
result- the result to sum up- Returns:
- the sum
-
toString
-
hashCode
-
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
-
createSql
-