|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.dataobjs.DBMatchSet
public class DBMatchSet
Hold a subset of rows from a Levenshtein distance or pattern matching execution
| Constructor Summary | |
|---|---|
DBMatchSet()
Default constructor |
|
DBMatchSet(int nItems)
Create match set with maximum number of matches When a maximum is specified, those items with less matching grade will be discarded by the put method after the limit is reached. |
|
| Method Summary | |
|---|---|
int |
count()
Count of matches in this set |
DBMatch |
get(int m)
|
java.util.ListIterator |
iterator()
|
void |
put(java.lang.String sRecordGuid,
java.lang.Object oRecordValue,
int iRecordIndex,
float fMatchPct)
Insert new match |
DBMatch[] |
toArray()
Get array of matches sorted by their degree |
java.lang.String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBMatchSet()
public DBMatchSet(int nItems)
Create match set with maximum number of matches
When a maximum is specified, those items with less matching grade will be discarded by the put method after the limit is reached.
nItems - Maximum number of matches to keep in this set| Method Detail |
|---|
public void put(java.lang.String sRecordGuid,
java.lang.Object oRecordValue,
int iRecordIndex,
float fMatchPct)
Insert new match
sRecordGuid - Unique identifier of record originating the matchoRecordValue - Value of matching elementiRecordIndex - Index of matching element at DBSubset or RecordSetfMatchPct - Match degree percentage [0..100]public java.util.ListIterator iterator()
public DBMatch get(int m)
public DBMatch[] toArray()
public int count()
public java.lang.String toXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||