COOPY » Guide
version 0.6.5
|
#include <IndexSniffer.h>
Public Member Functions | |
IndexSniffer (const DataSheet &sheet, const coopy::cmp::CompareFlags &cflags, NameSniffer &sniffer) | |
void | sniff () |
std::vector< int > | suggestIndexes () const |
bool | isGuessed () |
Definition at line 17 of file IndexSniffer.h.
coopy::store::IndexSniffer::IndexSniffer | ( | const DataSheet & | sheet, |
const coopy::cmp::CompareFlags & | cflags, | ||
NameSniffer & | sniffer | ||
) | [inline] |
Definition at line 25 of file IndexSniffer.h.
References sniff().
bool coopy::store::IndexSniffer::isGuessed | ( | ) | [inline] |
Definition at line 40 of file IndexSniffer.h.
void IndexSniffer::sniff | ( | ) |
Definition at line 8 of file IndexSniffer.cpp.
References dbg_printf, coopy::store::SheetSchema::getColumnInfo(), coopy::store::ColumnInfo::isPrimaryKey(), NULL, and coopy::store::SheetSchema::providesPrimaryKeys().
Referenced by IndexSniffer().
std::vector<int> coopy::store::IndexSniffer::suggestIndexes | ( | ) | const [inline] |
Definition at line 36 of file IndexSniffer.h.
Referenced by coopy::app::Diff::apply(), coopy::cmp::MergeOutputIndex::declareLink(), coopy::cmp::Merger::merge(), coopy::cmp::BookCompare::resolve(), and coopy::store::SchemaSniffer::sniff().