ORG.oclc.db
Class FieldKey
java.lang.Object
|
+--ORG.oclc.db.SortKey
|
+--ORG.oclc.db.FieldKey
- public class FieldKey
- extends SortKey
FieldKey is a class for building a sortkey. It constructs a key from
the field identified by a tagpath. It builds the key from precisely
the fields listed. If the tagpath doesn ot contain a primitive data
level, all primitive data levels are used.
Fields inherited from class ORG.oclc.db.SortKey |
caseSensitive,
dataLen,
dataOffset,
defaultFillkey,
fillkey,
isfill,
keyClass,
keyLength,
punctuationSensitive,
reverse,
sort,
sortParms,
stripArticles |
getKey
public String getKey(DataDir record)
- Build a key.
Get all tagpaths from the record that match TagPath
Concatenate the data from the primitive fields into a key. All the
primitive fields must come from the same parent. Normalize the
key and it's done.
- Parameters:
record
- input record- Returns:
- key
- Overrides:
- getKey in class SortKey