| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final String | |
| private final JavaType | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final JdbcMapping | |
| private final Long | |
| private final String | |
| private final NavigableRole | |
| private final boolean | |
| private final boolean | |
| private final Integer | |
| private final Integer | |
| private final SelectablePath | |
| private final String | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | BasicAttributeMapping(String attributeName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, String tableExpression, String mappedColumnExpression, SelectablePath selectablePath, boolean isFormula, String customReadExpression, String customWriteExpression, String columnDefinition, Long length, Integer precision, Integer scale, boolean isLob, boolean nullable, boolean insertable, boolean updateable, boolean partitioned, JdbcMapping jdbcMapping, ManagedMappingType declaringType, PropertyAccess propertyAccess)
|
| columnDefinition | back to summary |
|---|---|
| private final String columnDefinition | |
| customReadExpression | back to summary |
|---|---|
| private final String customReadExpression | |
| customWriteExpression | back to summary |
|---|---|
| private final String customWriteExpression | |
| domainTypeDescriptor | back to summary |
|---|---|
| private final JavaType<T> domainTypeDescriptor | |
| insertable | back to summary |
|---|---|
| private final boolean insertable | |
| isFormula | back to summary |
|---|---|
| private final boolean isFormula | |
| isLob | back to summary |
|---|---|
| private final boolean isLob | |
| jdbcMapping | back to summary |
|---|---|
| private final JdbcMapping jdbcMapping | |
| length | back to summary |
|---|---|
| private final Long length | |
| mappedColumnExpression | back to summary |
|---|---|
| private final String mappedColumnExpression | |
| navigableRole | back to summary |
|---|---|
| private final NavigableRole navigableRole | |
| nullable | back to summary |
|---|---|
| private final boolean nullable | |
| partitioned | back to summary |
|---|---|
| private final boolean partitioned | |
| precision | back to summary |
|---|---|
| private final Integer precision | |
| scale | back to summary |
|---|---|
| private final Integer scale | |
| selectablePath | back to summary |
|---|---|
| private final SelectablePath selectablePath | |
| tableExpression | back to summary |
|---|---|
| private final String tableExpression | |
| updateable | back to summary |
|---|---|
| private final boolean updateable | |
| BasicAttributeMapping | back to summary |
|---|---|
| public BasicAttributeMapping(String attributeName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, String tableExpression, String mappedColumnExpression, SelectablePath selectablePath, boolean isFormula, String customReadExpression, String customWriteExpression, String columnDefinition, Long length, Integer precision, Integer scale, boolean isLob, boolean nullable, boolean insertable, boolean updateable, boolean partitioned, JdbcMapping jdbcMapping, ManagedMappingType declaringType, PropertyAccess propertyAccess) | |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState) Implements org. Doc from org. 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) Implements org. Doc from org. Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause.
| |
| breakDownJdbcValues | back to summary |
|---|---|
| public <X, Y> int breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart. Implements org. Doc from org. 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 Implements org. Doc from org. Create a DomainResult for a specific reference to this ModelPart.
| |
| forEachDisassembledJdbcValue | back to summary |
|---|---|
| public <X, Y> int forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable. Implements org. Doc from org. Like
| |
| forEachJdbcType | back to summary |
|---|---|
| public int forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action) Implements org. Doc from org. Visit each JdbcMapping starting from the given offset
| |
| forEachSelectable | back to summary |
|---|---|
| public int forEachSelectable(int offset, SelectableConsumer consumer) Overrides default org. Doc from org. Visits each selectable mapping with the selectable index offset by the given value. Returns the amount of jdbc types that have been visited.
| |
| generateFetch | back to summary |
|---|---|
| public Fetch generateFetch(FetchParent fetchParent, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) Implements org. Doc from org. Generates a Fetch of this fetchable
| |
| getColumnDefinition | back to summary |
|---|---|
| public String getColumnDefinition() Implements org.
| |
| getContainingTableExpression | back to summary |
|---|---|
| public String getContainingTableExpression() Implements org. Doc from org. The table which contains the columns mapped by this value
| |
| getCustomReadExpression | back to summary |
|---|---|
| public String getCustomReadExpression() Implements org. Doc from org. The selection's read expression accounting for formula treatment as well
as
| |
| getCustomWriteExpression | back to summary |
|---|---|
| public String getCustomWriteExpression() Implements org. Doc from org. The selection's write expression accounting
| |
| getJavaType | back to summary |
|---|---|
| public JavaType Overrides org. Implements org. Doc from org. The Java type for this part. Generally equivalent to
| |
| getJdbcMapping | back to summary |
|---|---|
| public JdbcMapping getJdbcMapping() Implements org. Doc from org. Anything that is expressible at the SQL AST level would be of basic type.
| |
| getLength | back to summary |
|---|---|
| public Long getLength() Implements org.
| |
| getMappedType | back to summary |
|---|---|
| public MappingType getMappedType() Implements org. Doc from org. Descriptor for the type of this mapping
| |
| getNavigableRole | back to summary |
|---|---|
| public NavigableRole getNavigableRole() Implements org.
| |
| getPrecision | back to summary |
|---|---|
| public Integer getPrecision() Implements org.
| |
| getScale | back to summary |
|---|---|
| public Integer getScale() Implements org.
| |
| getSelectableName | back to summary |
|---|---|
| public String getSelectableName() Overrides default org.
| |
| getSelectablePath | back to summary |
|---|---|
| public SelectablePath getSelectablePath() Overrides default org.
| |
| getSelectionExpression | back to summary |
|---|---|
| public String getSelectionExpression() Implements org. Doc from org. The selection's expression. This is the column name or formula
| |
| getWriteExpression | back to summary |
|---|---|
| public String getWriteExpression() Overrides default org.
| |
| isFormula | back to summary |
|---|---|
| public boolean isFormula() Implements org. Doc from org. Is the mapping a formula instead of a physical column?
| |
| isInsertable | back to summary |
|---|---|
| public boolean isInsertable() Implements org.
| |
| isLob | back to summary |
|---|---|
| public boolean isLob() Overrides default org.
| |
| isNullable | back to summary |
|---|---|
| public boolean isNullable() Implements org. Doc from org. Is the mapping considered nullable?
| |
| isPartitioned | back to summary |
|---|---|
| public boolean isPartitioned() Implements org.
| |
| isUpdateable | back to summary |
|---|---|
| public boolean isUpdateable() Implements org.
| |
| resolveSqlSelection | back to summary |
|---|---|
| private SqlSelection resolveSqlSelection(NavigablePath navigablePath, TableGroup tableGroup, FetchParent fetchParent, DomainResultCreationState creationState) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| withSelectableMapping | back to summary |
|---|---|
| public static BasicAttributeMapping withSelectableMapping(ManagedMappingType declaringType, BasicValuedModelPart original, PropertyAccess propertyAccess, boolean insertable, boolean updateable, SelectableMapping selectableMapping) | |