Record Class JpqlAccessSupport.QueryGraph
java.lang.Object
java.lang.Record
io.jmix.aitools.dataload.execution.JpqlAccessSupport.QueryGraph
- Record Components:
rootEntity- the entity the query selects from, whose row-level conditions the platform appliesrootAlias- the variable the query selects fromentities- every entity the query reads
- Enclosing class:
JpqlAccessSupport
protected static record JpqlAccessSupport.QueryGraph(String rootEntity, @Nullable String rootAlias, Map<String,JpqlAccessSupport.EntityOccurrence> entities)
extends Record
Entities a query reads, keyed and ordered by entity name.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryGraph(String rootEntity, @Nullable String rootAlias, Map<String, JpqlAccessSupport.EntityOccurrence> entities) Creates an instance of aQueryGraphrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentities()Returns the value of theentitiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable StringReturns the value of therootAliasrecord component.Returns the value of therootEntityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryGraph
protected QueryGraph(String rootEntity, @Nullable String rootAlias, Map<String, JpqlAccessSupport.EntityOccurrence> entities) Creates an instance of aQueryGraphrecord class.- Parameters:
rootEntity- the value for therootEntityrecord componentrootAlias- the value for therootAliasrecord componententities- the value for theentitiesrecord 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). -
rootEntity
Returns the value of therootEntityrecord component.- Returns:
- the value of the
rootEntityrecord component
-
rootAlias
Returns the value of therootAliasrecord component.- Returns:
- the value of the
rootAliasrecord component
-
entities
Returns the value of theentitiesrecord component.- Returns:
- the value of the
entitiesrecord component
-