Record Class DerivedTableRenderingPlan.QueryPart
java.lang.Object
java.lang.Record
org.hibernate.dialect.sql.ast.spi.DerivedTableRenderingPlan.QueryPart
- Record Components:
tablePrefix- whether to prefix the subquery with thetablekeyword
- All Implemented Interfaces:
DerivedTableRenderingPlan
- Enclosing interface:
DerivedTableRenderingPlan
public static record DerivedTableRenderingPlan.QueryPart(DerivedColumnAliasing columnAliasing, LateralReferenceStyle lateralReferenceStyle, boolean tablePrefix, @Nullable SqlAstNodeRenderingMode renderingMode)
extends Record
implements DerivedTableRenderingPlan
Rendering choices for a derived query part.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface DerivedTableRenderingPlan
DerivedTableRenderingPlan.Function, DerivedTableRenderingPlan.QueryPart, DerivedTableRenderingPlan.Values -
Constructor Summary
ConstructorsConstructorDescriptionQueryPart(DerivedColumnAliasing columnAliasing, LateralReferenceStyle lateralReferenceStyle, boolean tablePrefix, SqlAstNodeRenderingMode renderingMode) Creates an instance of aQueryPartrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnAliasingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelateralReferenceStylerecord component.Returns the value of therenderingModerecord component.booleanReturns the value of thetablePrefixrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryPart
public QueryPart(DerivedColumnAliasing columnAliasing, LateralReferenceStyle lateralReferenceStyle, boolean tablePrefix, @Nullable SqlAstNodeRenderingMode renderingMode) Creates an instance of aQueryPartrecord class.- Parameters:
columnAliasing- the value for thecolumnAliasingrecord componentlateralReferenceStyle- the value for thelateralReferenceStylerecord componenttablePrefix- the value for thetablePrefixrecord componentrenderingMode- the value for therenderingModerecord 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. -
columnAliasing
Returns the value of thecolumnAliasingrecord component.- Specified by:
columnAliasingin interfaceDerivedTableRenderingPlan- Returns:
- the value of the
columnAliasingrecord component
-
lateralReferenceStyle
Returns the value of thelateralReferenceStylerecord component.- Specified by:
lateralReferenceStylein interfaceDerivedTableRenderingPlan- Returns:
- the value of the
lateralReferenceStylerecord component
-
tablePrefix
public boolean tablePrefix()Returns the value of thetablePrefixrecord component.- Returns:
- the value of the
tablePrefixrecord component
-
renderingMode
Returns the value of therenderingModerecord component.- Specified by:
renderingModein interfaceDerivedTableRenderingPlan- Returns:
- the value of the
renderingModerecord component
-