public abstract class Match1Type
extends java.lang.Object
Constructor | Description |
---|---|
Match1Type() |
Modifier and Type | Method | Description |
---|---|---|
static Match1Type |
createEliminateMatchesType(int retainCount) |
Factory method returning a type object which eliminates rows forming
part of the same match group.
|
static Match1Type |
createIdentifyType() |
Factory method returning a type object which identifies matched rows
by adding some additional columns to the input.
|
abstract StarTable |
createMatchTable(StarTable inTable,
LinkSet rowLinks) |
Generates an output table given an input table and the LinkSet object
which defines how its rows are related to each other by matching.
|
static Match1Type |
createWideType(int grpSize) |
Factory method returning a type object which aligns match groups with
each other in the rows of a new wide table.
|
public abstract StarTable createMatchTable(StarTable inTable, LinkSet rowLinks)
inTable
- input tablerowLinks
- link set object giving the result of a
single-table matchpublic static Match1Type createIdentifyType()
public static Match1Type createEliminateMatchesType(int retainCount)
retainCount
are removed from the output table.
Thus retainCount=0
removes any rows which participate
in matches with other ones, and retainCount=1
leaves just
one from any such group.retainCount
- number of items to retain from each match grouppublic static Match1Type createWideType(int grpSize)
grpSize
versions of
the input table side by side, and where there are exactly
grpSize
matches in a group they form a row.
Rows which are not part of a grpSize
-element match
do not appear in the output.grpSize
- size of group we are interested inCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.