Class AbstractBinaryHandlerCustomValueFixedLength<T,​S>

All Implemented Interfaces:
BinaryTypeHandler<T>, ValidatingBinaryHandler<T,​S>, PersistenceDataTypeHolder<Binary>, PersistenceTypeDefinition, PersistenceTypeDescription, PersistenceTypeHandler<Binary,​T>, PersistenceTypeIdentity, PersistenceTypeIdOwner, PersistenceTypeLink
Direct Known Subclasses:
BinaryHandlerBoolean, BinaryHandlerByte, BinaryHandlerCharacter, BinaryHandlerClass, BinaryHandlerDouble, BinaryHandlerFloat, BinaryHandlerInteger, BinaryHandlerLong, BinaryHandlerOptionalDouble, BinaryHandlerOptionalInt, BinaryHandlerOptionalLong, BinaryHandlerShort, BinaryHandlerZoneOffset

public abstract class AbstractBinaryHandlerCustomValueFixedLength<T,​S>
extends AbstractBinaryHandlerCustomValue<T,​S>
  • Constructor Details

  • Method Details

    • hasPersistedVariableLength

      public final 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)
    • hasVaryingPersistedLengthInstances

      public final boolean hasVaryingPersistedLengthInstances()
      Description copied from interface: PersistenceTypeDefinition
      Provides information if one particular instance can have variing binary length from one store to another.

      Examples for variable length instances:

      • variable size collection instances
      • variable size pesudo collection instances like java.util.StringBuilder
      • instances of custom defined types similar to collections

      Examples for fixed length instances: