// is from an index. I.e., this operator can be used for an index lookup.
for (RowType ancestorType : ancestorTypes) {
ArgumentValidation.isTrue("ancestorType.ancestorOf(tableRowType)",
ancestorType.ancestorOf(tableRowType));
ArgumentValidation.isTrue("ancestorType.table().getGroup() == tableRowType.table().getGroup()",
ancestorType.table().getGroup() == tableRowType.table().getGroup());
}
} else if (rowType instanceof TableRowType) {
// Each ancestorType must be an ancestor of rowType. ancestorType = tableRowType is OK only if the input
// is from an index. I.e., this operator can be used for an index lookup.
for (RowType ancestorType : ancestorTypes) {