java.lang.Object
io.ebeaninternal.server.deploy.BeanProperty
io.ebeaninternal.server.deploy.BeanPropertyJsonBasic
io.ebeaninternal.server.deploy.BeanPropertyJsonMapper
- All Implemented Interfaces:
ScalarDataReader<Object>,ExpressionPath,Property,ElPropertyDeploy,ElPropertyValue,STreeProperty
Handle json property with MutationDetection of SOURCE or HASH only.
-
Field Summary
Fields inherited from class io.ebeaninternal.server.deploy.BeanProperty
idFields inherited from interface io.ebeaninternal.server.el.ElPropertyDeploy
ROOT_ELPREFIX -
Constructor Summary
ConstructorsConstructorDescriptionBeanPropertyJsonMapper(BeanDescriptor<?> desc, DeployBeanProperty deployProp) -
Method Summary
Modifier and TypeMethodDescriptioncreateMutableInfo(String json) creates a mutableHash for the given JSON value.override(io.ebeaninternal.server.deploy.BeanPropertyOverride override) readSet(DataReader reader, EntityBean bean) voidsetCacheDataValue(EntityBean bean, Object cacheData, PersistenceContext context) Read the value for this property from L2 cache entry and set it to the bean.Methods inherited from class io.ebeaninternal.server.deploy.BeanPropertyJsonBasic
checkForEmptyMethods inherited from class io.ebeaninternal.server.deploy.BeanProperty
addTenant, appendFrom, appendSelect, assocIdExpression, assocIdInExpr, assocIdInValueExpr, assocIdValues, assocIsEmpty, beanProperty, bind, buildElPropertyValue, buildRawSqlSelectChain, containsFormulaWithJoin, containsMany, containsManySince, convert, dbBind, dbCheckConstraintValues, dbColumn, dbColumnDefault, dbColumnDefn, dbComment, dbEncryptedType, dbLength, dbMigrationInfos, dbScale, dbType, decryptProperty, deployOrder, descriptor, diff, elName, elPlaceholder, elPrefix, encryptKey, encryptKeyAsString, fetchPreference, format, fullName, generatedProperty, getCacheDataValue, getCacheDataValueOrig, getValue, getValueIntercept, initialise, isAggregation, isArrayType, isAssignableFrom, isAssocId, isAssocMany, isAssocProperty, isCacheDataInclude, isDbEncrypted, isDbInsertable, isDbUpdatable, isDDLColumn, isDDLNotNull, isDiscriminator, isEmbedded, isExcludedFromHistory, isFetchEager, isFormula, isGenerated, isId, isImportedPrimaryKey, isJsonSerialize, isLoadProperty, isLob, isLobForPlatform, isLobType, isLocal, isLocalEncrypted, isMany, isMutableScalarType, isNaturalKey, isNullable, isScalar, isSecondaryTable, isSoftDelete, isTenantId, isTransient, isUnique, isUnmappedJson, isVersion, jdbcType, jsonRead, jsonRead, jsonWrite, jsonWriteForInsert, jsonWriteValue, load, loadIgnore, localEncrypt, merge, name, parse, pathGet, pathGetNested, pathSet, property, propertyIndex, read, read, readData, readSet, registerColumn, renderDbType, scalarType, secondaryTableJoinPrefix, setDeployOrder, setTenantValue, setValue, setValueChanged, setValueIntercept, stringParser, toString, type, value, writeDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.ebeaninternal.server.query.STreeProperty
extraIncludes, isAggregationManyToOne
-
Constructor Details
-
BeanPropertyJsonMapper
-
-
Method Details
-
override
- Overrides:
overridein classBeanPropertyJsonBasic
-
createMutableInfo
Description copied from class:BeanPropertycreates a mutableHash for the given JSON value.- Overrides:
createMutableInfoin classBeanProperty
-
readSet
- Overrides:
readSetin classBeanPropertyJsonBasic- Throws:
SQLException
-
setCacheDataValue
Description copied from class:BeanPropertyRead the value for this property from L2 cache entry and set it to the bean.This uses parse() as per the comment in getCacheDataValue().
- Overrides:
setCacheDataValuein classBeanProperty
-