Type Alias FieldScores

type FieldScores = {
    qCardinalRatio?: number;
    qFieldName?: string;
    qReadableName?: string;
    qRowScore?: number;
    qSymbolScore?: number;
}
Index

Properties

qCardinalRatio?: number

Cardinality of a column/field divided by the number of rows in the table. If the cardinal ratio is 1, it means that the column is a candidate/primary key.

qFieldName?: string

Field name. One of the field names defined in qFieldPairName.

qReadableName?: string
qRowScore?: number

Number of matches between the two fields defined in qFieldPairName divided by the number of values in the field qFieldName . If 0, it means that there are no common values between the two fields defined in qFieldPairName .

qSymbolScore?: number

Number of distinct matches between the two fields defined in qFieldPairName divided by the number of distinct values in the field qFieldName . If 0, it means that there are no common values between the two fields defined in qFieldPairName .