DomainResultProducer, jakarta.persistence.metamodel.Bindable
| Modifier and Type | Class and Description |
|---|---|
| public static interface | ModelPart.JdbcValueBiConsumer<X, Y>
Functional interface for consuming the JDBC values, along with two values of type |
| public static interface | ModelPart.JdbcValueConsumer
Functional interface for consuming the JDBC values. |
| Modifier and Type | Method and Description |
|---|---|
| public void | applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState)
Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause. |
| public void | applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState, BiConsumer<SqlSelection, JdbcMapping> selectionConsumer)
Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause. |
| public default boolean | |
| public default AttributeMapping | |
| public default EntityMappingType | |
| public default int | breakDownJdbcValues(Object domainValue, ModelPart.
A short hand form of |
| public <X, Y> int | breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.
Breaks down the domain value to its constituent JDBC values. |
| public <T> DomainResult | createDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Create a DomainResult for a specific reference to this ModelPart. |
| public default int | decompose(Object domainValue, ModelPart.
A short hand form of |
| public default <X, Y> int | decompose(Object domainValue, int offset, X x, Y y, ModelPart.
Similar to |
| public EntityMappingType | |
| public default int | forEachSelectable(SelectableConsumer consumer)
A short hand form of |
| public default int | forEachSelectable(int offset, SelectableConsumer consumer)
Visits each selectable mapping with the selectable index offset by the given value. |
| public JavaType | |
| public NavigableRole | |
| public MappingType | |
| public String | |
| public boolean | |
| public default boolean | |
| public default boolean |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState) Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause. | |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState, BiConsumer<SqlSelection, JdbcMapping> selectionConsumer) Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause. | |
| areEqual | back to summary |
|---|---|
| public default boolean areEqual(@Nullable Object one, @Nullable Object other, SharedSessionContractImplementor session) | |
| asAttributeMapping | back to summary |
|---|---|
| public default AttributeMapping asAttributeMapping() | |
| asEntityMappingType | back to summary |
|---|---|
| public default EntityMappingType asEntityMappingType() | |
| breakDownJdbcValues | back to summary |
|---|---|
| public default int breakDownJdbcValues(Object domainValue, ModelPart. A short hand form of | |
| breakDownJdbcValues | back to summary |
|---|---|
| public <X, Y> int breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart. Breaks down the domain value to its constituent JDBC values.
Think of it as breaking the multi-dimensional array into a visitable flat array.
Additionally, it passes through the values | |
| createDomainResult | back to summary |
|---|---|
| public <T> DomainResult Create a DomainResult for a specific reference to this ModelPart. | |
| decompose | back to summary |
|---|---|
| public default int decompose(Object domainValue, ModelPart. A short hand form of | |
| decompose | back to summary |
|---|---|
| public default <X, Y> int decompose(Object domainValue, int offset, X x, Y y, ModelPart. Similar to | |
| findContainingEntityMapping | back to summary |
|---|---|
| public EntityMappingType findContainingEntityMapping() | |
| forEachSelectable | back to summary |
|---|---|
| public default int forEachSelectable(SelectableConsumer consumer) A short hand form of | |
| forEachSelectable | back to summary |
|---|---|
| public default int forEachSelectable(int offset, SelectableConsumer consumer) Visits each selectable mapping with the selectable index offset by the given value. Returns the amount of jdbc types that have been visited. | |
| getJavaType | back to summary |
|---|---|
| public JavaType The Java type for this part. Generally equivalent to
| |
| getNavigableRole | back to summary |
|---|---|
| public NavigableRole getNavigableRole()
API Note Whereas
| |
| getPartMappingType | back to summary |
|---|---|
| public MappingType getPartMappingType() The type for this part. | |
| getPartName | back to summary |
|---|---|
| public String getPartName() The local part name, which is generally the unqualified role name | |
| hasPartitionedSelectionMapping | back to summary |
|---|---|
| public boolean hasPartitionedSelectionMapping() | |
| isEntityIdentifierMapping | back to summary |
|---|---|
| public default boolean isEntityIdentifierMapping() | |
| isVirtual | back to summary |
|---|---|
| public default boolean isVirtual() Whether this model part describes something that physically exists in the domain model. For example, an entity's discriminator is part of the model, but is not a physical part of the domain model - there is no "discriminator attribute".
Also indicates whether the part is castable to | |
X and Y.
| Modifier and Type | Method and Description |
|---|---|
| public void | consume(int valueIndex, X x, Y y, Object value, SelectableMapping jdbcValueMapping)
Consume a JDBC-level jdbcValue. |
| consume | back to summary |
|---|---|
| public void consume(int valueIndex, X x, Y y, Object value, SelectableMapping jdbcValueMapping) Consume a JDBC-level jdbcValue. The JDBC jdbcMapping descriptor is also passed in | |
| Modifier and Type | Method and Description |
|---|---|
| public default void | consume(int valueIndex, Object x, Object y, Object value, SelectableMapping jdbcValueMapping)
Implements org. |
| public void | consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping)
Consume a JDBC-level jdbcValue. |
| consume | back to summary |
|---|---|
| public default void consume(int valueIndex, Object x, Object y, Object value, SelectableMapping jdbcValueMapping) Implements org. Doc from org. Consume a JDBC-level jdbcValue. The JDBC jdbcMapping descriptor is also passed in
| |
| consume | back to summary |
|---|---|
| public void consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping) Consume a JDBC-level jdbcValue. The JDBC jdbcMapping descriptor is also passed in | |