private String createClusterNamesString() {
        StringBuilder names = new StringBuilder();
        for (ClusterDef c : clusterList.getStorageClusters()) {
            if (names.length() > 0) {
                names.append(", ");
            }
            names.append(c.getName());
        }
        return names.toString();
    }
The document retriever is responsible for retrieving documents using the Document API and printing the result to standard out.

@author bjorncs
vespaclient-java/src/main/java/com/yahoo/vespaget/DocumentRetriever.java