Record Class FollowOnLockingRequest.StatementShape
java.lang.Object
java.lang.Record
org.hibernate.dialect.lock.spi.FollowOnLockingRequest.StatementShape
- Enclosing class:
FollowOnLockingRequest
public static record FollowOnLockingRequest.StatementShape(boolean distinct, boolean grouped, boolean ordered, boolean setOperation)
extends Record
Known structural characteristics of the completed statement. These are
semantic facts collected by Hibernate, not the result of parsing
FollowOnLockingRequest.sql.- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionStatementShape(boolean distinct, boolean grouped, boolean ordered, boolean setOperation) Creates an instance of aStatementShaperecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandistinct()Returns the value of thedistinctrecord component.final booleanIndicates whether some other object is "equal to" this one.booleangrouped()Returns the value of thegroupedrecord component.final inthashCode()Returns a hash code value for this object.booleanordered()Returns the value of theorderedrecord component.booleanReturns the value of thesetOperationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StatementShape
public StatementShape(boolean distinct, boolean grouped, boolean ordered, boolean setOperation) Creates an instance of aStatementShaperecord class.- Parameters:
distinct- the value for thedistinctrecord componentgrouped- the value for thegroupedrecord componentordered- the value for theorderedrecord componentsetOperation- the value for thesetOperationrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
distinct
public boolean distinct()Returns the value of thedistinctrecord component.- Returns:
- the value of the
distinctrecord component
-
grouped
public boolean grouped()Returns the value of thegroupedrecord component.- Returns:
- the value of the
groupedrecord component
-
ordered
public boolean ordered()Returns the value of theorderedrecord component.- Returns:
- the value of the
orderedrecord component
-
setOperation
public boolean setOperation()Returns the value of thesetOperationrecord component.- Returns:
- the value of the
setOperationrecord component
-