Record Class AggregateSqlAuxiliaryObject
java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateSqlAuxiliaryObject
- All Implemented Interfaces:
AggregateAuxiliaryObject
@SPI(USE)
public record AggregateSqlAuxiliaryObject(String exportIdentifier, List<String> createCommands, List<String> dropCommands, Set<String> dialectScopes, boolean beforeTables)
extends Record
implements AggregateAuxiliaryObject
Declares ordered SQL commands for one aggregate schema object.
- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thebeforeTablesrecord component.Returns the value of thecreateCommandsrecord component.Returns the value of thedialectScopesrecord component.Returns the value of thedropCommandsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexportIdentifierrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AggregateSqlAuxiliaryObject
public AggregateSqlAuxiliaryObject(String exportIdentifier, List<String> createCommands, List<String> dropCommands, Set<String> dialectScopes, boolean beforeTables) Creates an instance of aAggregateSqlAuxiliaryObjectrecord class.- Parameters:
exportIdentifier- the value for theexportIdentifierrecord componentcreateCommands- the value for thecreateCommandsrecord componentdropCommands- the value for thedropCommandsrecord componentdialectScopes- the value for thedialectScopesrecord componentbeforeTables- the value for thebeforeTablesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
exportIdentifier
Returns the value of theexportIdentifierrecord component.- Returns:
- the value of the
exportIdentifierrecord component
-
createCommands
-
dropCommands
-
dialectScopes
-
beforeTables
public boolean beforeTables()Returns the value of thebeforeTablesrecord component.- Returns:
- the value of the
beforeTablesrecord component
-