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
-
Method Summary
-
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>
-
inquireApproval
protected boolean inquireApproval(XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers, PersistenceLegacyTypeMappingResult<D,?> result) -
buildInquiry
protected String buildInquiry(XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers, PersistenceLegacyTypeMappingResult<D,?> result) -
assembleInquiryEnd
protected VarString assembleInquiryEnd(VarString vs, PersistenceLegacyTypeMappingResult<D,?> result)
-