Record Class SqlIndex
java.lang.Object
java.lang.Record
com.loomcache.server.query.SqlIndex
Catalog metadata for a SQL index declared through DDL.
-
Constructor Summary
ConstructorsConstructorDescriptionSqlIndex(String name, String mappingName, IndexConfig config) Creates an instance of aSqlIndexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themappingNamerecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SqlIndex
Creates an instance of aSqlIndexrecord class.- Parameters:
name- the value for thenamerecord componentmappingName- the value for themappingNamerecord componentconfig- the value for theconfigrecord component
-
-
Method Details
-
columnName
-
columnNames
-
indexType
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
mappingName
Returns the value of themappingNamerecord component.- Returns:
- the value of the
mappingNamerecord component
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-