Record Class IndexColumn
java.lang.Object
java.lang.Record
org.hibernate.dialect.schema.spi.IndexColumn
-
Constructor Summary
ConstructorsConstructorDescriptionIndexColumn(String expression, boolean nullable) Creates an instance of aIndexColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.booleannullable()Returns the value of thenullablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IndexColumn
Creates an instance of aIndexColumnrecord class.- Parameters:
expression- the value for theexpressionrecord componentnullable- the value for thenullablerecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
nullable
public boolean nullable()Returns the value of thenullablerecord component.- Returns:
- the value of the
nullablerecord component
-