@Override public PColumnFamily getColumnFamily(String familyName) throws ColumnFamilyNotFoundException { PColumnFamily family = familyByString.get(familyName); if (family == null) { throw new ColumnFamilyNotFoundException(familyName); } return family; }
@Override public PColumnFamily getColumnFamily(byte[] familyBytes) throws ColumnFamilyNotFoundException { PColumnFamily family = familyByBytes.get(familyBytes); if (family == null) { String familyName = Bytes.toString(familyBytes); throw new ColumnFamilyNotFoundException(familyName); } return family; }