Interface StorageEntityTypeHandler

    • Method Detail

      • simpleReferenceCount

        long simpleReferenceCount()
      • validateEntity

        void validateEntity​(long length,
                            long typeId,
                            long objectId)
      • isValidEntityGuaranteedType

        boolean isValidEntityGuaranteedType​(long length,
                                            long objectId)
      • validateEntityGuaranteedType

        void validateEntityGuaranteedType​(long length,
                                          long objectId)
      • minimumLength

        long minimumLength()
      • maximumLength

        long maximumLength()
      • hasPersistedVariableLength

        default boolean hasPersistedVariableLength()
        Description copied from interface: PersistenceTypeDefinition
        Provides information if two instances of the handled type can have different length in persisted form.

        Examples for variable length types:

        • arrays
        • java.lang.String
        • java.util.ArrayList
        • java.math.BigDecimal

        Examples for fixed length types:

        • primitive value wrapper types
        • java.lang.Object
        • java.util.Date
        • typical entity types (without unshared inlined variable length component instances)
        Specified by:
        hasPersistedVariableLength in interface PersistenceTypeDefinition