Record Class SqlIndexMapping
java.lang.Object
java.lang.Record
io.micronaut.data.model.schema.sql.SqlIndexMapping
- Record Components:
name- The index nameunique- Whether the index is uniquecolumns- The column names in the index
-
Constructor Summary
ConstructorsConstructorDescriptionSqlIndexMapping(String name, boolean unique, String[] columns) Creates an instance of aSqlIndexMappingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionString[]columns()Returns the value of thecolumnsrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.toString()Returns a string representation of this record class.booleanunique()Returns the value of theuniquerecord component.
-
Constructor Details
-
SqlIndexMapping
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
hashCode
-
toString
-
name
-
unique
-
columns
-