Package org.umlg.sqlg.strategy
Record Class SqlgSqlExecutor.DropQuery
java.lang.Object
java.lang.Record
org.umlg.sqlg.strategy.SqlgSqlExecutor.DropQuery
- Enclosing class:
- SqlgSqlExecutor
public static record SqlgSqlExecutor.DropQuery(SqlgSqlExecutor.DROP_QUERY dropQuery, String leafSql, String sql, Boolean addAdditionalPartitionHasContainer)
extends Record
-
Constructor Summary
ConstructorDescriptionDropQuery
(SqlgSqlExecutor.DROP_QUERY dropQuery, String leafSql, String sql, Boolean addAdditionalPartitionHasContainer) Creates an instance of aDropQuery
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddAdditionalPartitionHasContainer
record component.Returns the value of thedropQuery
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.leafSql()
Returns the value of theleafSql
record component.sql()
Returns the value of thesql
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DropQuery
public DropQuery(SqlgSqlExecutor.DROP_QUERY dropQuery, String leafSql, String sql, Boolean addAdditionalPartitionHasContainer) Creates an instance of aDropQuery
record class.- Parameters:
dropQuery
- the value for thedropQuery
record componentleafSql
- the value for theleafSql
record componentsql
- the value for thesql
record componentaddAdditionalPartitionHasContainer
- the value for theaddAdditionalPartitionHasContainer
record 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)
. -
dropQuery
Returns the value of thedropQuery
record component.- Returns:
- the value of the
dropQuery
record component
-
leafSql
Returns the value of theleafSql
record component.- Returns:
- the value of the
leafSql
record component
-
sql
Returns the value of thesql
record component.- Returns:
- the value of the
sql
record component
-
addAdditionalPartitionHasContainer
Returns the value of theaddAdditionalPartitionHasContainer
record component.- Returns:
- the value of the
addAdditionalPartitionHasContainer
record component
-