515253545556575859
validateTable(tablename); for (String cfName : columnFamilyNames) { if (DatabaseDescriptor.getColumnType(tablename, cfName) == null) { throw new ColumnFamilyNotDefinedException("Column Family " + cfName + " is invalid."); } } }
484950515253545556
464748495051525354
949596979899100101102
Table table = Table.open(tablename); for (String cfName : columnFamilyNames) { if (!table.getColumnFamilies().contains(cfName)) { throw new ColumnFamilyNotDefinedException("Column Family " + cfName + " is invalid."); } } }
474849505152535455