41 const std::string&
getName()
const {
return m_name; }
99 void setValidRow(
Assertion*
v ) { m_validRow =
v; }
100 std::vector<Column*> m_cols;
101 std::vector<Column*> m_sortedCols;
102 std::vector<Assertion*> m_asserts;
103 std::vector<Index*> m_indices;
106 std::vector<Column*> m_programCols;
109 std::vector<Column*> m_userCols;
112 std::vector<Column*> m_mayDefault;
115 std::string m_version;
116 std::string m_comment;
118 std::string m_primaryKeyCol;
132 void addColumn(
Column* c );
135 void addAssert(
Assertion* a ) { m_asserts.push_back( a ); }
137 void addIndex(
Index* i ) { m_indices.push_back( i ); }
140 bool doInterUpdate(
const std::vector<Set>& sets, Assertion* subsAssert, Row& toBe )
const;
147 bool fillProgramCols( Row& row,
bool newRow )
const;
150 void fillDefaults( Row& row )
const;
153 bool isSupersedable( std::string oldKeyStr )
const;
156 const std::string& setPrimaryKeyCol();