*/
protected final Map<Path,Object> getTerminalPathMap(Path inputPath, Map<String,Object> columnsMap) {
Map<Path,Object> pathMap = new HashMap<Path,Object>(columnsMap.size());
for (Map.Entry<String,Object> entry : columnsMap.entrySet()) {
Path path = DefaultPath.fromEncodedPathString(entry.getKey());
if (!path.startsWith(inputPath)) {
throw new IllegalStateException("unexpected path found in database:" + path);
}
path = path.tail(inputPath.size());
pathMap.put(path, entry.getValue());
}