* returns null if the parent node is not found or if no children are found.
*/
public Set<String> getChildrenNames(Fqn name) throws Exception
{
String children = children(name);
ListResponse response = connection.list(getBucket(), children);
if (trace)
{
log.trace("getChildrenNames " + name + " response=" + response);
}
if (response.isNotFound())
return null;
if (!response.isOk())
throw new Exception("List failed " + response);
Set<String> set = new HashSet<String>();
for (Entry e : response.getEntries())
{
// TODO decode prefix
set.add(e.getKey().substring(children.length() + 1));
}