Class InquiringLegacyTypeMappingResultor<D>
java.lang.Object
one.microstream.persistence.internal.InquiringLegacyTypeMappingResultor<D>
- All Implemented Interfaces:
PersistenceLegacyTypeMappingResultor<D>
public class InquiringLegacyTypeMappingResultor<D> extends Object implements PersistenceLegacyTypeMappingResultor<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceLegacyTypeMappingResultor
PersistenceLegacyTypeMappingResultor.Default<D>, PersistenceLegacyTypeMappingResultor.Static
-
Constructor Summary
Constructors Constructor Description InquiringLegacyTypeMappingResultor()
-
Method Summary
Modifier and Type Method Description static char
approvalToken()
<T> PersistenceLegacyTypeMappingResult<D,T>
createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<D,T> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)
Override this method to implement various functions like ...static <D> InquiringLegacyTypeMappingResultor<D>
New(PersistenceLegacyTypeMappingResultor<D> delegate)
static <D> InquiringLegacyTypeMappingResultor<D>
New(PersistenceLegacyTypeMappingResultor<D> delegate, double minimumSimilarityThreshold)
-
Constructor Details
-
InquiringLegacyTypeMappingResultor
public InquiringLegacyTypeMappingResultor()
-
-
Method Details
-
New
public static <D> InquiringLegacyTypeMappingResultor<D> New(PersistenceLegacyTypeMappingResultor<D> delegate) -
New
public static <D> InquiringLegacyTypeMappingResultor<D> New(PersistenceLegacyTypeMappingResultor<D> delegate, double minimumSimilarityThreshold) -
approvalToken
public static char approvalToken() -
createMappingResult
public <T> PersistenceLegacyTypeMappingResult<D,T> createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<D,T> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)Description copied from interface:PersistenceLegacyTypeMappingResultor
Override this method to implement various functions like ...- user-callback-based validating/modifying
- rule-based automatically validating/modifying
- displaying
- logging
- persisting
- Specified by:
createMappingResult
in interfacePersistenceLegacyTypeMappingResultor<D>
-