1. Cleaned up code
2. Removed debug prints.
This commit is contained in:
parent
8a5e0ed793
commit
57c954bf2b
2 changed files with 2 additions and 36 deletions
|
@ -141,7 +141,7 @@ public class VisualizationRequestHandler {
|
|||
imageQueryHandler.getResultSet(),
|
||||
fieldLabelToOutputFieldLabel);
|
||||
|
||||
System.out.println("thumbnail access URL " + thumbnailAccessURL);
|
||||
// System.out.println("thumbnail access URL " + thumbnailAccessURL);
|
||||
prepareVisualizationQueryResponse(thumbnailAccessURL);
|
||||
return;
|
||||
|
||||
|
|
|
@ -54,41 +54,7 @@ public class GenericQueryHandler {
|
|||
this.log = log;
|
||||
|
||||
}
|
||||
/*
|
||||
private GenericQueryMap createJavaValueObjects(ResultSet resultSet) {
|
||||
|
||||
GenericQueryMap queryResultVO = new GenericQueryMap();
|
||||
|
||||
while (resultSet.hasNext()) {
|
||||
QuerySolution solution = resultSet.nextSolution();
|
||||
|
||||
|
||||
RDFNode predicateNode = solution.get(QueryFieldLabels.PREDICATE);
|
||||
RDFNode objectNode = solution.get(QueryFieldLabels.OBJECT);
|
||||
|
||||
if (predicateNode != null && objectNode != null) {
|
||||
queryResultVO.addEntry(predicateNode.toString(),
|
||||
objectNode.toString());
|
||||
}
|
||||
|
||||
|
||||
for (String currentOutputFieldLabel : this.fieldLabelToOutputFieldLabel.values()) {
|
||||
|
||||
RDFNode currentFieldNode = solution.get(currentOutputFieldLabel);
|
||||
if (currentFieldNode != null) {
|
||||
// biboDocument.setDocumentBlurb(currentFieldNode.toString());
|
||||
|
||||
TupleSet
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return queryResultVO;
|
||||
}
|
||||
|
||||
*/
|
||||
private ResultSet executeQuery(String queryText,
|
||||
String resultFormatParam,
|
||||
String rdfResultFormatParam,
|
||||
|
@ -139,7 +105,7 @@ public class GenericQueryHandler {
|
|||
|
||||
sparqlQuery.append("}\n");
|
||||
|
||||
System.out.println("GENERIC QEURY >>>>> " + sparqlQuery);
|
||||
// System.out.println("GENERIC QEURY >>>>> " + sparqlQuery);
|
||||
|
||||
return sparqlQuery.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue