Package app.ductape.sdk.database.types
Record Class SchemaTypes.DropIndexOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.SchemaTypes.DropIndexOptions
- Enclosing class:
- SchemaTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncascade()Returns the value of thecascaderecord component.Returns the value of theconcurrentrecord component.database()Returns the value of thedatabaserecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ifExists()Returns the value of theifExistsrecord component.Returns the value of theindexNamerecord component.product()Returns the value of theproductrecord component.table()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DropIndexOptions
public DropIndexOptions(String env, String product, String database, String table, String indexName, Boolean ifExists, Boolean concurrent, Boolean cascade) Creates an instance of aDropIndexOptionsrecord class.- Parameters:
env- the value for theenvrecord componentproduct- the value for theproductrecord componentdatabase- the value for thedatabaserecord componenttable- the value for thetablerecord componentindexName- the value for theindexNamerecord componentifExists- the value for theifExistsrecord componentconcurrent- the value for theconcurrentrecord componentcascade- the value for thecascaderecord 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). -
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
product
Returns the value of theproductrecord component.- Returns:
- the value of the
productrecord component
-
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
indexName
Returns the value of theindexNamerecord component.- Returns:
- the value of the
indexNamerecord component
-
ifExists
Returns the value of theifExistsrecord component.- Returns:
- the value of the
ifExistsrecord component
-
concurrent
Returns the value of theconcurrentrecord component.- Returns:
- the value of the
concurrentrecord component
-
cascade
Returns the value of thecascaderecord component.- Returns:
- the value of the
cascaderecord component
-