Module io.ebean.core
Package io.ebeaninternal.server.deploy
Class DynamicPropertyAggregationFormulaMTO
java.lang.Object
io.ebeaninternal.server.deploy.DynamicPropertyAggregationFormulaMTO
- All Implemented Interfaces:
ScalarDataReader<Object>,STreeProperty
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendFrom(DbSqlContext ctx, SqlJoinType joinType, String manyWhere) Append to the from clause.voidappendSelect(DbSqlContext ctx, boolean subQuery) Append to the select clause.voidbuildRawSqlSelectChain(String prefix, List<String> selectChain) For RawSql build the select chain.elPrefix()Return the Expression language prefix (join path).Return the encryption key as a string value (when the property is encrypted).voidextraIncludes(Set<String> predicateIncludes) fullName()Return the full property name (for error messages).booleanReturn true if the property is an aggregation.booleanReturn true if the property is an aggregation on a ManyToOne.booleanReturn true if the property is an embedded type.booleanReturn true if the property is a formula.booleanisId()Return true if the property is the Id.booleanReturns true, if this is a lob property from db-perspective.voidload(SqlBeanLoad sqlBeanLoad) Load into the bean (from the DataReader/ResultSet).voidloadIgnore(DbReadContext ctx) Ignore the property (moving the column index position without reading).name()Return the property name.read(DataReader dataReader) ScalarType<?> Return the underlying scalar type for the property (for findSingleAttribute).toString()
-
Method Details
-
isAggregationManyToOne
public boolean isAggregationManyToOne()Description copied from interface:STreePropertyReturn true if the property is an aggregation on a ManyToOne. -
extraIncludes
-
load
Description copied from interface:STreePropertyLoad into the bean (from the DataReader/ResultSet).- Specified by:
loadin interfaceSTreeProperty
-
toString
-
isAggregation
public boolean isAggregation()Description copied from interface:STreePropertyReturn true if the property is an aggregation. -
read
-
appendSelect
Description copied from interface:STreePropertyAppend to the select clause. -
isLobForPlatform
public boolean isLobForPlatform()Description copied from interface:STreePropertyReturns true, if this is a lob property from db-perspective. -
name
Description copied from interface:STreePropertyReturn the property name.- Specified by:
namein interfaceSTreeProperty
-
fullName
Description copied from interface:STreePropertyReturn the full property name (for error messages).- Specified by:
fullNamein interfaceSTreeProperty
-
isId
public boolean isId()Description copied from interface:STreePropertyReturn true if the property is the Id.- Specified by:
isIdin interfaceSTreeProperty
-
isEmbedded
public boolean isEmbedded()Description copied from interface:STreePropertyReturn true if the property is an embedded type.- Specified by:
isEmbeddedin interfaceSTreeProperty
-
isFormula
public boolean isFormula()Description copied from interface:STreePropertyReturn true if the property is a formula.- Specified by:
isFormulain interfaceSTreeProperty
-
elPrefix
Description copied from interface:STreePropertyReturn the Expression language prefix (join path).- Specified by:
elPrefixin interfaceSTreeProperty
-
scalarType
Description copied from interface:STreePropertyReturn the underlying scalar type for the property (for findSingleAttribute).- Specified by:
scalarTypein interfaceSTreeProperty
-
buildRawSqlSelectChain
Description copied from interface:STreePropertyFor RawSql build the select chain.- Specified by:
buildRawSqlSelectChainin interfaceSTreeProperty
-
loadIgnore
Description copied from interface:STreePropertyIgnore the property (moving the column index position without reading).- Specified by:
loadIgnorein interfaceSTreeProperty
-
appendFrom
Description copied from interface:STreePropertyAppend to the from clause.- Specified by:
appendFromin interfaceSTreeProperty
-
encryptKeyAsString
Description copied from interface:STreePropertyReturn the encryption key as a string value (when the property is encrypted).- Specified by:
encryptKeyAsStringin interfaceSTreeProperty
-