Package app.ductape.sdk.database.types
Record Class SchemaTypes.CreateIndexOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.SchemaTypes.CreateIndexOptions
- Enclosing class:
- SchemaTypes
public static record SchemaTypes.CreateIndexOptions(String env, String product, String database, ConnectionTypes.ConnectionOptions options, String table, SchemaTypes.IndexDefinition index, Boolean ifNotExists, Boolean concurrent)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateIndexOptions(String env, String product, String database, ConnectionTypes.ConnectionOptions options, String table, SchemaTypes.IndexDefinition index, Boolean ifNotExists, Boolean concurrent) Creates an instance of aCreateIndexOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.Returns the value of theifNotExistsrecord component.index()Returns the value of theindexrecord component.options()Returns the value of theoptionsrecord 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
-
CreateIndexOptions
public CreateIndexOptions(String env, String product, String database, ConnectionTypes.ConnectionOptions options, String table, SchemaTypes.IndexDefinition index, Boolean ifNotExists, Boolean concurrent) Creates an instance of aCreateIndexOptionsrecord class.- Parameters:
env- the value for theenvrecord componentproduct- the value for theproductrecord componentdatabase- the value for thedatabaserecord componentoptions- the value for theoptionsrecord componenttable- the value for thetablerecord componentindex- the value for theindexrecord componentifNotExists- the value for theifNotExistsrecord componentconcurrent- the value for theconcurrentrecord 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
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
index
Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
ifNotExists
Returns the value of theifNotExistsrecord component.- Returns:
- the value of the
ifNotExistsrecord component
-
concurrent
Returns the value of theconcurrentrecord component.- Returns:
- the value of the
concurrentrecord component
-