- All Superinterfaces:
ScalarDataReader<Object>
- All Known Subinterfaces:
STreePropertyAssoc,STreePropertyAssocMany,STreePropertyAssocOne
- All Known Implementing Classes:
BeanProperty,BeanPropertyAssoc,BeanPropertyAssocMany,BeanPropertyAssocOne,BeanPropertyIdClass,BeanPropertyJsonBasic,BeanPropertyJsonMapper,BeanPropertyOrderColumn,BeanPropertySimpleCollection,DynamicPropertyAggregationFormulaMTO
A property in the SQL Tree.
A BeanProperty or a dynamically created property based on formula.
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendFrom(DbSqlContext ctx, SqlJoinType joinType, String manyWhere) Append to the from clause.default voidappendGroupBy(DbSqlContext ctx, boolean subQuery) Append to group by.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).default voidextraIncludes(Set<String> predicateIncludes) fullName()Return the full property name (for error messages).booleanReturn true if the property is an aggregation.default 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.ScalarType<?> Return the underlying scalar type for the property (for findSingleAttribute).Methods inherited from interface io.ebean.core.type.ScalarDataReader
read
-
Method Details
-
name
String name()Return the property name. -
fullName
String fullName()Return the full property name (for error messages). -
isId
boolean isId()Return true if the property is the Id. -
isLobForPlatform
boolean isLobForPlatform()Returns true, if this is a lob property from db-perspective. -
isEmbedded
boolean isEmbedded()Return true if the property is an embedded type. -
isAggregation
boolean isAggregation()Return true if the property is an aggregation. -
isAggregationManyToOne
default boolean isAggregationManyToOne()Return true if the property is an aggregation on a ManyToOne. -
isFormula
boolean isFormula()Return true if the property is a formula. -
encryptKeyAsString
String encryptKeyAsString()Return the encryption key as a string value (when the property is encrypted). -
elPrefix
String elPrefix()Return the Expression language prefix (join path). -
scalarType
ScalarType<?> scalarType()Return the underlying scalar type for the property (for findSingleAttribute). -
buildRawSqlSelectChain
For RawSql build the select chain. -
load
Load into the bean (from the DataReader/ResultSet). -
loadIgnore
Ignore the property (moving the column index position without reading). -
appendSelect
Append to the select clause. -
appendGroupBy
Append to group by. -
appendFrom
Append to the from clause. -
extraIncludes
-