added = false;
Set<SelectorName> viewNames = new HashSet<SelectorName>(definitions.keySet());
for (SelectorName name : viewNames) {
QueryCommand command = definitions.get(name);
// Create the canonical plan for the definition ...
PlanHints hints = new PlanHints();
hints.validateColumnExistance = false;
// Create a query context that queries all workspaces (we won't actually query using it) ...
Set<String> allWorkspaces = Collections.emptySet();
RepositoryIndexes indexDefns = RepositoryIndexes.NO_INDEXES;
QueryContext queryContext = new QueryContext(context, null, allWorkspaces, schemata, indexDefns, nodeTypes,