Interface BinaryFieldLengthResolver
- All Superinterfaces:
PersistenceFieldLengthResolver
- All Known Implementing Classes:
BinaryFieldLengthResolver.Default
public interface BinaryFieldLengthResolver extends PersistenceFieldLengthResolver
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BinaryFieldLengthResolver.Default
-
Method Summary
Modifier and Type Method Description default long
resolveComplexMemberMaximumLength(String memberName, String typeName, XGettingSequence<? extends PersistenceTypeDescriptionMemberFieldGeneric> nestedMembers)
default long
resolveComplexMemberMinimumLength(String memberName, String typeName, XGettingSequence<? extends PersistenceTypeDescriptionMemberFieldGeneric> nestedMembers)
default long
resolveMaximumLengthFromPrimitiveType(Class<?> primitiveType)
default long
resolveMinimumLengthFromPrimitiveType(Class<?> primitiveType)
default long
variableLengthTypeMaximumLength(String declaringTypeName, String memberName, String typeName)
default long
variableLengthTypeMinimumLength(String declaringTypeName, String memberName, String typeName)
Methods inherited from interface one.microstream.persistence.types.PersistenceFieldLengthResolver
referenceMaximumLength, referenceMinimumLength, resolveMaximumLengthFromDictionary, resolveMaximumLengthFromField, resolveMaximumLengthFromType, resolveMinimumLengthFromDictionary, resolveMinimumLengthFromField, resolveMinimumLengthFromType
-
Method Details
-
resolveMinimumLengthFromPrimitiveType
- Specified by:
resolveMinimumLengthFromPrimitiveType
in interfacePersistenceFieldLengthResolver
-
resolveMaximumLengthFromPrimitiveType
- Specified by:
resolveMaximumLengthFromPrimitiveType
in interfacePersistenceFieldLengthResolver
-
variableLengthTypeMinimumLength
default long variableLengthTypeMinimumLength(String declaringTypeName, String memberName, String typeName)- Specified by:
variableLengthTypeMinimumLength
in interfacePersistenceFieldLengthResolver
-
variableLengthTypeMaximumLength
default long variableLengthTypeMaximumLength(String declaringTypeName, String memberName, String typeName)- Specified by:
variableLengthTypeMaximumLength
in interfacePersistenceFieldLengthResolver
-
resolveComplexMemberMinimumLength
default long resolveComplexMemberMinimumLength(String memberName, String typeName, XGettingSequence<? extends PersistenceTypeDescriptionMemberFieldGeneric> nestedMembers)- Specified by:
resolveComplexMemberMinimumLength
in interfacePersistenceFieldLengthResolver
-
resolveComplexMemberMaximumLength
default long resolveComplexMemberMaximumLength(String memberName, String typeName, XGettingSequence<? extends PersistenceTypeDescriptionMemberFieldGeneric> nestedMembers)- Specified by:
resolveComplexMemberMaximumLength
in interfacePersistenceFieldLengthResolver
-