@Override public PropertyValue getValue(String columnName) { return currentRow.getValue(columnName); }
@Override public PropertyValue getValue(String columnName) { return currentRow.getValue(columnName); }
@Override public PropertyValue getValue(String columnName) { return currentRow.getValue(columnName); }
@Override public PropertyValue getValue(String columnName) { // overlay the score if (QueryConstants.JCR_SCORE.equals(columnName)) { return PropertyValues.newDouble(currentRow.score); } if (QueryConstants.REP_SPELLCHECK.equals(columnName) || QueryConstants.REP_SUGGEST.equals(columnName)) { return PropertyValues.newString(Iterables.toString(currentRow.suggestWords)); } if (QueryConstants.REP_EXCERPT.equals(columnName)) { return PropertyValues.newString(currentRow.excerpt); } return pathRow.getValue(columnName); }
@Override public PropertyValue getValue(String columnName) { // overlay the score if (QueryConstants.JCR_SCORE.equals(columnName)) { return PropertyValues.newDouble(currentRow.score); } if (QueryConstants.REP_SPELLCHECK.equals(columnName) || QueryConstants.REP_SUGGEST.equals(columnName)) { return PropertyValues.newString(Iterables.toString(currentRow.suggestWords)); } if (QueryConstants.REP_EXCERPT.equals(columnName)) { return PropertyValues.newString(currentRow.excerpt); } return pathRow.getValue(columnName); }
result = currentRow.getValue(QueryConstants.JCR_SCORE); } else if (oakPropertyName.equals(QueryConstants.REP_EXCERPT) || oakPropertyName.startsWith(QueryConstants.REP_EXCERPT + "(")) { result = currentRow.getValue(oakPropertyName); } else if (oakPropertyName.equals(QueryConstants.OAK_SCORE_EXPLANATION)) { result = currentRow.getValue(QueryConstants.OAK_SCORE_EXPLANATION); } else if (oakPropertyName.equals(QueryConstants.REP_SPELLCHECK)) { result = currentRow.getValue(QueryConstants.REP_SPELLCHECK); } else if (oakPropertyName.equals(QueryConstants.REP_SUGGEST)) { result = currentRow.getValue(QueryConstants.REP_SUGGEST); } else if (oakPropertyName.startsWith(QueryConstants.REP_FACET + "(")) { result = currentRow.getValue(oakPropertyName); } else { result = PropertyValues.create(t.getProperty(oakPropertyName));
result = currentRow.getValue(QueryConstants.JCR_SCORE); } else if (oakPropertyName.equals(QueryConstants.REP_EXCERPT) || oakPropertyName.startsWith(QueryConstants.REP_EXCERPT + "(")) { result = currentRow.getValue(oakPropertyName); } else if (oakPropertyName.equals(QueryConstants.OAK_SCORE_EXPLANATION)) { result = currentRow.getValue(QueryConstants.OAK_SCORE_EXPLANATION); } else if (oakPropertyName.equals(QueryConstants.REP_SPELLCHECK)) { result = currentRow.getValue(QueryConstants.REP_SPELLCHECK); } else if (oakPropertyName.equals(QueryConstants.REP_SUGGEST)) { result = currentRow.getValue(QueryConstants.REP_SUGGEST); } else if (oakPropertyName.startsWith(QueryConstants.REP_FACET + "(")) { result = currentRow.getValue(oakPropertyName); } else { result = PropertyValues.create(t.getProperty(oakPropertyName));
result = currentRow.getValue(QueryConstants.JCR_SCORE); } else if (oakPropertyName.equals(QueryConstants.REP_EXCERPT)) { result = currentRow.getValue(QueryConstants.REP_EXCERPT); } else if (oakPropertyName.equals(QueryConstants.OAK_SCORE_EXPLANATION)) { result = currentRow.getValue(QueryConstants.OAK_SCORE_EXPLANATION); } else if (oakPropertyName.equals(QueryConstants.REP_SPELLCHECK)) { result = currentRow.getValue(QueryConstants.REP_SPELLCHECK); } else if (oakPropertyName.equals(QueryConstants.REP_SUGGEST)) { result = currentRow.getValue(QueryConstants.REP_SUGGEST); } else if (oakPropertyName.startsWith(QueryConstants.REP_FACET + "(")) { result = currentRow.getValue(oakPropertyName); } else { result = PropertyValues.create(t.getProperty(oakPropertyName));
return pathRow.getValue(columnName);