if (x.equals(NodeMaker.EMPTY)) return;
Set<ProjectionSpec> requiredProjections = new HashSet<ProjectionSpec>();
requiredProjections.add(downloadMap.getContentDownloadColumn());
requiredProjections.addAll(mediaTypeValueMaker.projectionSpecs());
newRelation.project(requiredProjections);
newRelation.limit(1);
Relation filteredRelation = newRelation.immutableSnapshot();
SelectStatementBuilder builder = new SelectStatementBuilder(filteredRelation);
String sql = builder.getSQLStatement();
int contentColumn = builder.getColumnSpecs().indexOf(downloadMap.getContentDownloadColumn()) + 1;
db = filteredRelation.database();