Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class DuplicateCriteria

java.lang.Object
  |
  +--ORG.oclc.z39.DuplicateCriteria

public class DuplicateCriteria
extends Object

DuplicateCriteria contains information for how deduplication should be performed in a Z39 dedup.


Field Summary
 String[] applicableKeys
          Array object of Strings containing the applicable portion of the record key specification.
 boolean caseSensitive
          boolean data type defining whether the duplicate detection algorithm should be case sensitive.
 boolean clustering
          boolean data type defining the clustering parameter
static String ESpec1OID
           
 int levelOfMatch
          integer data type defining the level of match value when it is specified as the type of duplicateDetectionCriterion.
 boolean punctuationSensitive
          boolean data type defining whether the duplicate detection algorithm should pay attention to punctuation.
 int retentionType
          integer data type defining whether the maximum number of dups is a percentage or a record count - Z39dedupApi.numberOfEntries or Z39dedupApi.percentOfEntries.
 int retentionValue
          integer data type defining the maximum number of duplicate records to maintain for an original record
 Vector sortCriterionDbs
          String data type defining the list of preferred dbnames in the sort criterion specification.
 int sortCriterionType
          integer data type defining the type of Sort Criterion.
 
Constructor Summary
DuplicateCriteria()
          Constructs a DuplicateCriteria object.
 
Method Summary
static void addESpecData(DataDir dir, String[] applicableKeys)
          Adds the applicable portion of the record data into an Element Specification Format - 1 structure.
 void saveApplicableKeys(DataDir dir)
          Gets the applicable portion of the record data from the Element Specification Format - 1 structure.
 String toString()
          Generates a String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ESpec1OID

public static final String ESpec1OID

levelOfMatch

public int levelOfMatch
integer data type defining the level of match value when it is specified as the type of duplicateDetectionCriterion.

caseSensitive

public boolean caseSensitive
boolean data type defining whether the duplicate detection algorithm should be case sensitive.

punctuationSensitive

public boolean punctuationSensitive
boolean data type defining whether the duplicate detection algorithm should pay attention to punctuation.

retentionType

public int retentionType
integer data type defining whether the maximum number of dups is a percentage or a record count - Z39dedupApi.numberOfEntries or Z39dedupApi.percentOfEntries.

retentionValue

public int retentionValue
integer data type defining the maximum number of duplicate records to maintain for an original record

clustering

public boolean clustering
boolean data type defining the clustering parameter

sortCriterionType

public int sortCriterionType
integer data type defining the type of Sort Criterion.

sortCriterionDbs

public Vector sortCriterionDbs
String data type defining the list of preferred dbnames in the sort criterion specification.

applicableKeys

public String[] applicableKeys
Array object of Strings containing the applicable portion of the record key specification.
Constructor Detail

DuplicateCriteria

public DuplicateCriteria()
Constructs a DuplicateCriteria object.
Method Detail

saveApplicableKeys

public void saveApplicableKeys(DataDir dir)
Gets the applicable portion of the record data from the Element Specification Format - 1 structure.

addESpecData

public static void addESpecData(DataDir dir,
                                String[] applicableKeys)
Adds the applicable portion of the record data into an Element Specification Format - 1 structure.

toString

public String toString()
Generates a String representation of this object
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final