// check if a relational operator contains all of the specified uids
private boolean hasAll(LogicalRelationalOperator op, Set<Long> uids) {
LogicalSchema schema = op.getSchema();
for(long uid: uids) {
if (schema.findField(uid) == -1) {
return false;
}
}
return true;