MatchUp Object:Read-Write:Retrieval: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
|Syntax=int = mdMU->GetCount()
|Syntax=int = mdMU->GetCount()
|C=int = mdMUReadWriteGetCount(mdMU)
|C=int = mdMUReadWriteGetCount(mdMU)
|.Net=integer = mdMU.Count
|.Net=integer = mdMU.GetCount
}}
}}


Line 47: Line 47:
|Syntax=long = mdMU->GetDupeGroup()
|Syntax=long = mdMU->GetDupeGroup()
|C=long = mdMUReadWriteGetDupeGroup(mdMU)
|C=long = mdMUReadWriteGetDupeGroup(mdMU)
|.Net=long = mdMU.DupeGroup
|.Net=long = mdMU.GetDupeGroup
}}
}}


Line 59: Line 59:
|Syntax=int = mdMU->GetEntry()
|Syntax=int = mdMU->GetEntry()
|C=int = mdMUReadWriteGetEntry(mdMU)
|C=int = mdMUReadWriteGetEntry(mdMU)
|.Net=integer = mdMU.Entry
|.Net=integer = mdMU.GetEntry
}}
}}


Line 71: Line 71:
|Syntax=long = mdMU->GetCombinations()
|Syntax=long = mdMU->GetCombinations()
|C=long = mdMUReadWriteGetCombinations(mdMU)
|C=long = mdMUReadWriteGetCombinations(mdMU)
|.Net=long = mdMU.Combinations
|.Net=long = mdMU.GetCombinations
}}
}}


Line 81: Line 81:
|Syntax=char = mdMU->GetKey()
|Syntax=char = mdMU->GetKey()
|C=char = mdMUReadWriteGetKey(mdMU)
|C=char = mdMUReadWriteGetKey(mdMU)
|.Net=string = mdMU.Key
|.Net=string = mdMU.GetKey
}}
}}


Line 93: Line 93:
|Syntax=char = mdMU->GetUserInfo()
|Syntax=char = mdMU->GetUserInfo()
|C=char = mdMUReadWriteGetUserInfo(mdMU)
|C=char = mdMUReadWriteGetUserInfo(mdMU)
|.Net=string = mdMU.UserInfo
|.Net=string = mdMU.GetUserInfo
}}
}}


Line 100: Line 100:
This function returns a comma-delimited string of four-character codes that detail the output disposition of the last call to the [[#ReadRecord|ReadRecord]] function. It will also contain the result code of any matchcode combination which contributed to the present record matching other records in its dupe group.
This function returns a comma-delimited string of four-character codes that detail the output disposition of the last call to the [[#ReadRecord|ReadRecord]] function. It will also contain the result code of any matchcode combination which contributed to the present record matching other records in its dupe group.


This function is intended to replace the [[#GetStatusCode|GetStatusCode]] and [[#GetCombinations|GetCombinations]] functions, providing a single source of information about the last MatchRecord function call and eliminating the need to perform bitwise operations on the [[#GetCombinations|GetCombinations]] return value to determine which matchcode combinations contributed to the record matching other records in its Dupe Group.
This function is intended to replace the [[#GetStatusCode|GetStatusCode]] and [[#GetCombinations|GetCombinations]] functions, providing a single source of information about the last [[MatchUp Object:Read-Write:Processing#Process|Process]] function call and eliminating the need to perform bitwise operations on the [[#GetCombinations|GetCombinations]] return value to determine which matchcode combinations contributed to the record matching other records in its Dupe Group.


The function returns one or more of the [[Result Code Details#MatchUp Object|MatchUp Object Result Codes]] in a comma-delimited list.
The function returns one or more of the [[Result Code Details#MatchUp Object|MatchUp Object Result Codes]] in a comma-delimited list.
Line 107: Line 107:
|Syntax=StringValue = object->GetResults();
|Syntax=StringValue = object->GetResults();
|C=StringValue = mdMatchUpGetResults(object);
|C=StringValue = mdMatchUpGetResults(object);
|.Net=StringValue = object.Results
|.Net=StringValue = object.GetResults
}}
}}




[[Category:MatchUp Object]]
[[Category:MatchUp Object]]

Latest revision as of 18:39, 7 August 2015

← MatchUp Object Reference

MatchUp Object Read-Write Interface Navigation
Overview
Order of Operations
Functions
Initialization
Mapping
Match Key
Processing
Retrieval



The functions in this section cycle through each record processed and return output unique/duplicate information.

ReadRecord

This function reads the next record from the key file, if there is another record, and populates the fields used by the following functions:

This function cannot be called until after the application has called the Process function.

If there are no more records, this returns an integer value of zero.

Syntax int = mdMU->ReadRecord()
C int = mdMUReadWriteReadRecord(mdMU)
.Net integer = mdMU.ReadRecord


GetStatusCode

This function is deprecated. You should use the GetResults function instead.

GetCount

If there were matches detected during processing, this function will return an integer value indicating the total number of matching records in this dupe group.

Syntax int = mdMU->GetCount()
C int = mdMUReadWriteGetCount(mdMU)
.Net integer = mdMU.GetCount


GetDupeGroup

Every unique record (one with no duplicates) will have a unique “Dupe Group” number. Any duplicate record will be assigned this same number. This function returns the Dupe Group number (a long integer value) of a matching record in the key file.

Syntax long = mdMU->GetDupeGroup()
C long = mdMUReadWriteGetDupeGroup(mdMU)
.Net long = mdMU.GetDupeGroup


GetEntry

If the ReadRecord function detected at least one duplicate, this function will return an integer value that indicates where the current record falls within its dupe group.

For example, if this is the sixth matching record found, this function will return a 6.

Syntax int = mdMU->GetEntry()
C int = mdMUReadWriteGetEntry(mdMU)
.Net integer = mdMU.GetEntry


GetCombinations

This function is deprecated. You should use the GetResults function instead.

Each matchcode may contain as many as 16 different combinations of data types that may be used to detect a match. A matching record may match more than one combination. This function returns a long integer value that can be used to determine which combination produced the match, if the ReadRecord function detected a matching key.

Syntax long = mdMU->GetCombinations()
C long = mdMUReadWriteGetCombinations(mdMU)
.Net long = mdMU.GetCombinations


GetKey

This function returns the match key created by the last call to the BuildKey function and used by the last call to the ReadRecord function.

Syntax char = mdMU->GetKey()
C char = mdMUReadWriteGetKey(mdMU)
.Net string = mdMU.GetKey


GetUserInfo

This function returns a character value containing the value passed to the SetUserInfo function. It returns the unique identifier associated with the record being checked by the Read-Write interface.

The application will need this information if the application has to match the current matchkey back to an original data source.

Syntax char = mdMU->GetUserInfo()
C char = mdMUReadWriteGetUserInfo(mdMU)
.Net string = mdMU.GetUserInfo


GetResults

This function returns a comma-delimited string of four-character codes that detail the output disposition of the last call to the ReadRecord function. It will also contain the result code of any matchcode combination which contributed to the present record matching other records in its dupe group.

This function is intended to replace the GetStatusCode and GetCombinations functions, providing a single source of information about the last Process function call and eliminating the need to perform bitwise operations on the GetCombinations return value to determine which matchcode combinations contributed to the record matching other records in its Dupe Group.

The function returns one or more of the MatchUp Object Result Codes in a comma-delimited list.

Syntax StringValue = object->GetResults();
C StringValue = mdMatchUpGetResults(object);
.Net StringValue = object.GetResults