return checkNodes(store) && checkTuples(store);
}
private static boolean checkNodes(Store store) throws SQLException {
Connection conn = store.getConnection().getSqlConnection();
TableDescNodes nodeDesc = store.getNodeTableDesc();
if (nodeDesc == null) {
return true; // vacuously
}
return hasTableAndColumns(conn,
nodeDesc.getTableName(),
nodeDesc.getIdColName(),
nodeDesc.getHashColName(),
nodeDesc.getLexColName(),
nodeDesc.getLangColName(),
nodeDesc.getTypeColName());
}