use of com.yahoo.elide.datastores.aggregation.validator.TableArgumentValidator in project elide by yahoo.
the class SQLQueryEngine method verifyMetaData.
@Override
protected void verifyMetaData(MetaDataStore metaDataStore) {
metaDataStore.getTables().forEach(table -> {
SQLTable sqlTable = (SQLTable) table;
checkForCycles(sqlTable);
TableArgumentValidator tableArgValidator = new TableArgumentValidator(metaDataStore, sqlTable);
tableArgValidator.validate();
sqlTable.getAllColumns().forEach(column -> {
ColumnArgumentValidator colArgValidator = new ColumnArgumentValidator(metaDataStore, sqlTable, column);
colArgValidator.validate();
});
});
}
Aggregations