Package app.ductape.sdk.database.types
Record Class SchemaTypes.SimpleCreateOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.SchemaTypes.SimpleCreateOptions
- Enclosing class:
- SchemaTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecassandraOptionsrecord component.Returns the value of thedynamoOptionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.indexes()Returns the value of theindexesrecord component.Returns the value of themongoOptionsrecord component.Returns the value of thesqlOptionsrecord component.Returns the value of thetimestampsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SimpleCreateOptions
public SimpleCreateOptions(Boolean timestamps, List<Map<String, Object>> indexes, Object sqlOptions, Object mongoOptions, Object dynamoOptions, Object cassandraOptions) Creates an instance of aSimpleCreateOptionsrecord class.- Parameters:
timestamps- the value for thetimestampsrecord componentindexes- the value for theindexesrecord componentsqlOptions- the value for thesqlOptionsrecord componentmongoOptions- the value for themongoOptionsrecord componentdynamoOptions- the value for thedynamoOptionsrecord componentcassandraOptions- the value for thecassandraOptionsrecord 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). -
timestamps
Returns the value of thetimestampsrecord component.- Returns:
- the value of the
timestampsrecord component
-
indexes
Returns the value of theindexesrecord component.- Returns:
- the value of the
indexesrecord component
-
sqlOptions
Returns the value of thesqlOptionsrecord component.- Returns:
- the value of the
sqlOptionsrecord component
-
mongoOptions
Returns the value of themongoOptionsrecord component.- Returns:
- the value of the
mongoOptionsrecord component
-
dynamoOptions
Returns the value of thedynamoOptionsrecord component.- Returns:
- the value of the
dynamoOptionsrecord component
-
cassandraOptions
Returns the value of thecassandraOptionsrecord component.- Returns:
- the value of the
cassandraOptionsrecord component
-