public class DetectPrimaryKeysInDataset extends Object
Constructor and Description |
---|
DetectPrimaryKeysInDataset() |
Modifier and Type | Method and Description |
---|---|
static List<FieldList> |
detectPrimaryKeys(RecordList records) |
static List<FieldList> |
detectPrimaryKeys(RecordList records,
int maxKeyFieldCount,
boolean stopOnFirstMatch) |
static List<String[]> |
getFieldListCandidates(List<String> fieldNames,
int keyLength) |
static boolean |
isCandidateKey(RecordList records,
String... fieldNames) |
public static List<FieldList> detectPrimaryKeys(RecordList records)
public static List<FieldList> detectPrimaryKeys(RecordList records, int maxKeyFieldCount, boolean stopOnFirstMatch)
public static boolean isCandidateKey(RecordList records, String... fieldNames)
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.