Package app.ductape.sdk.database.types
Record Class SchemaTypes.IndexColumn
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.SchemaTypes.IndexColumn
- Enclosing class:
- SchemaTypes
-
Constructor Summary
ConstructorsConstructorDescriptionIndexColumn(String name, String order, String nulls, String opclass) Creates an instance of aIndexColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.nulls()Returns the value of thenullsrecord component.opclass()Returns the value of theopclassrecord component.order()Returns the value of theorderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IndexColumn
Creates an instance of aIndexColumnrecord class.- Parameters:
name- the value for thenamerecord componentorder- the value for theorderrecord componentnulls- the value for thenullsrecord componentopclass- the value for theopclassrecord component
-
-
Method Details
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
order
Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
nulls
Returns the value of thenullsrecord component.- Returns:
- the value of the
nullsrecord component
-
opclass
Returns the value of theopclassrecord component.- Returns:
- the value of the
opclassrecord component
-