if (this.useAllFamilies) {
// connction will be null from tests
for (final String familyName : familyList) {
this.addAFamily(familyName);
this.attribsUsedInExpr.add(new SelectFamilyAttrib(familyName));
}
}
else {
// Only has one family
final String familyName = this.getFamilyNameList().get(0);
if (!familyList.contains(familyName))
throw new HBqlException("Invalid family name: " + familyName);
this.getAttribsUsedInExpr().add(new SelectFamilyAttrib(familyName));
}
for (final String familyName : this.getFamilyNameList())
this.getFamilyNameBytesList().add(IO.getSerialization().getStringAsBytes(familyName));
}