Documentation
¶
Index ¶
- func AddMatches(configBasedMatches map[string]string)
- func MatchEntities(fs afero.Fs, matchParameters match.MatchParameters, ...) (map[string]string, int, int, error)
- func MatchEntitiesHierarchy(fs afero.Fs, matchParameters match.MatchParameters, ...) (map[string]string, error)
- type ChildIdxParentId
- type ChildIdxToParentIdx
- type ExtractionInfo
- type HierarchyRuleMapGenerator
- type MatchKey
- type MatchOutputPerType
- type MatchOutputType
- type PostProcessOutput
- type UnindexedMatches
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMatches ¶
func MatchEntities ¶
func MatchEntities(fs afero.Fs, matchParameters match.MatchParameters, entityPerTypeSource project.ConfigsPerType, entityPerTypeTarget project.ConfigsPerType) (map[string]string, int, int, error)
func MatchEntitiesHierarchy ¶
func MatchEntitiesHierarchy(fs afero.Fs, matchParameters match.MatchParameters, entityPerTypeSource project.ConfigsPerType, entityPerTypeTarget project.ConfigsPerType, stats map[string]string) (map[string]string, error)
Types ¶
type ChildIdxParentId ¶
type ChildIdxParentId struct {
// contains filtered or unexported fields
}
type ChildIdxToParentIdx ¶
type ChildIdxToParentIdx []int
type ExtractionInfo ¶
type HierarchyRuleMapGenerator ¶
type HierarchyRuleMapGenerator struct { SelfMatch bool // contains filtered or unexported fields }
func NewHierarchyRuleMapGenerator ¶
func NewHierarchyRuleMapGenerator(selfMatch bool, ruleList rules.HierarchyRuleTypeList) *HierarchyRuleMapGenerator
func (*HierarchyRuleMapGenerator) RunHierarchyRuleAll ¶
func (i *HierarchyRuleMapGenerator) RunHierarchyRuleAll(entityProcessingPtrChild *processing.MatchProcessing, entityProcessingPtrParent *processing.MatchProcessing, entityMatchesChild MatchOutputType, entityMatchesParent MatchOutputType, childIdxToParentIdxSource *ChildIdxToParentIdx, childIdxToParentIdxTarget *ChildIdxToParentIdx, sourceHierarchy rules.HierarchySource) (*processing.CompareResultList, *map[int]int, *map[int]int)
type MatchKey ¶
type MatchKey struct { Source ExtractionInfo `json:"source"` Target ExtractionInfo `json:"target"` }
type MatchOutputPerType ¶
type MatchOutputPerType map[string]MatchOutputType
func LoadMatches ¶
func LoadMatches(fs afero.Fs, matchParameters match.MatchParameters) (MatchOutputPerType, error)
type MatchOutputType ¶
type MatchOutputType struct { Type string `json:"type"` MatchKey MatchKey `json:"matchKey"` Matches map[string]string `json:"matches"` MultiMatched map[string][]string `json:"multiMatched"` UnMatched []string `json:"unmatched"` PostProcessSource map[string]*PostProcessOutput `json:"postProcessSource"` PostProcessTarget map[string]*PostProcessOutput `json:"postProcessTarget"` }
type PostProcessOutput ¶
type UnindexedMatches ¶
type UnindexedMatches struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.