|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.table.join.Match1Type
public abstract class Match1Type
Defines how an output table is created from the results of an internal (single-table) match operation. This class contains several factory methods for generating sensible output tables from an internal match. Others are possible.
| Constructor Summary | |
|---|---|
Match1Type()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Match1Type()
| Method Detail |
|---|
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 in
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||