Interface CorrelatedAttribute<X,Y>
- Type Parameters:
X- The type of the declaring entity viewY- The type of attribute
- All Superinterfaces:
Attribute<X,Y>
Instances of the type CorrelatedAttribute represents single-valued properties or fields.
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Attribute
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType -
Method Summary
Modifier and TypeMethodDescriptionReturns the correlation basis of the attribute.Class<? extends CorrelationProvider>Returns the correlation provider of the attribute.Returns the correlation provider factory of the attribute.Returns the correlation result of the attribute.voidrenderCorrelationBasis(String parent, ServiceProvider serviceProvider, StringBuilder sb) Renders the correlation basis expression for the given parent expression to the given string builder.voidrenderCorrelationResult(String parent, ServiceProvider serviceProvider, StringBuilder sb) Renders the correlation result expression for the given parent expression to the given string builder.Methods inherited from interface com.blazebit.persistence.view.metamodel.Attribute
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCollection, isCorrelated, isSubquery, isSubview, renderLimit
-
Method Details
-
getCorrelationProviderFactory
CorrelationProviderFactory getCorrelationProviderFactory()Returns the correlation provider factory of the attribute.- Returns:
- The correlation provider factory of the attribute
- Since:
- 1.4.0
-
getCorrelationProvider
Class<? extends CorrelationProvider> getCorrelationProvider()Returns the correlation provider of the attribute.- Returns:
- The correlation provider of the attribute
-
getCorrelationBasis
String getCorrelationBasis()Returns the correlation basis of the attribute.- Returns:
- The correlation basis of the attribute
-
getCorrelationResult
String getCorrelationResult()Returns the correlation result of the attribute.- Returns:
- The correlation result of the attribute
-
renderCorrelationBasis
Renders the correlation basis expression for the given parent expression to the given string builder.- Parameters:
parent- The parent expressionserviceProvider- The service providersb- The string builder- Since:
- 1.5.0
-
renderCorrelationResult
Renders the correlation result expression for the given parent expression to the given string builder.- Parameters:
parent- The parent expressionserviceProvider- The service providersb- The string builder- Since:
- 1.5.0
-