IOException {
Iface client = BlurClient.getClient(connectionStr);
String[] split = field.split("\\.");
String columnFamily = split[0];
String columnName = split[1];
List<String> terms = client.terms(tableName, columnFamily, columnName, "", (short) numberOfTerms);
return new HashSet<String>(terms);
}
private static Set<String> getFields(String connectionStr, final String tableName) throws BlurException, TException, IOException {
Iface client = BlurClient.getClient(connectionStr);