Package app.ductape.sdk.database.types
Record Class SchemaTypes.CreateTableOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.SchemaTypes.CreateTableOptions
- Enclosing class:
- SchemaTypes
-
Constructor Summary
Constructors -
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.Returns the value of theifNotExistsrecord component.inherits()Returns the value of theinheritsrecord component.Returns the value of thetablespacerecord component.Returns the value of thetemporaryrecord component.final StringtoString()Returns a string representation of this record class.unlogged()Returns the value of theunloggedrecord component.
-
Constructor Details
-
CreateTableOptions
public CreateTableOptions(Boolean ifNotExists, Boolean temporary, Boolean unlogged, String inherits, String tablespace) Creates an instance of aCreateTableOptionsrecord class.- Parameters:
ifNotExists- the value for theifNotExistsrecord componenttemporary- the value for thetemporaryrecord componentunlogged- the value for theunloggedrecord componentinherits- the value for theinheritsrecord componenttablespace- the value for thetablespacerecord 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). -
ifNotExists
Returns the value of theifNotExistsrecord component.- Returns:
- the value of the
ifNotExistsrecord component
-
temporary
Returns the value of thetemporaryrecord component.- Returns:
- the value of the
temporaryrecord component
-
unlogged
Returns the value of theunloggedrecord component.- Returns:
- the value of the
unloggedrecord component
-
inherits
Returns the value of theinheritsrecord component.- Returns:
- the value of the
inheritsrecord component
-
tablespace
Returns the value of thetablespacerecord component.- Returns:
- the value of the
tablespacerecord component
-