ResultRowImpl currentRow() { int selectorCount = selectors.size(); Tree[] trees = new Tree[selectorCount]; for (int i = 0; i < selectorCount; i++) { SelectorImpl s = selectors.get(i); trees[i] = s.currentTree(); } int columnCount = columns.length; PropertyValue[] values = new PropertyValue[columnCount]; for (int i = 0; i < columnCount; i++) { ColumnImpl c = columns[i]; values[i] = c.currentProperty(); } PropertyValue[] orderValues; if (orderings == null) { orderValues = null; } else { int size = orderings.length; orderValues = new PropertyValue[size]; for (int i = 0; i < size; i++) { orderValues[i] = orderings[i].getOperand().currentProperty(); } } return new ResultRowImpl(this, trees, values, distinctColumns, orderValues); }
ResultRowImpl currentRow() { int selectorCount = selectors.size(); Tree[] trees = new Tree[selectorCount]; for (int i = 0; i < selectorCount; i++) { SelectorImpl s = selectors.get(i); trees[i] = s.currentTree(); } int columnCount = columns.length; PropertyValue[] values = new PropertyValue[columnCount]; for (int i = 0; i < columnCount; i++) { ColumnImpl c = columns[i]; values[i] = c.currentProperty(); } PropertyValue[] orderValues; if (orderings == null) { orderValues = null; } else { int size = orderings.length; orderValues = new PropertyValue[size]; for (int i = 0; i < size; i++) { orderValues[i] = orderings[i].getOperand().currentProperty(); } } return new ResultRowImpl(this, trees, values, distinctColumns, orderValues); }
ResultRowImpl currentRow() { int selectorCount = selectors.size(); Tree[] trees = new Tree[selectorCount]; for (int i = 0; i < selectorCount; i++) { SelectorImpl s = selectors.get(i); trees[i] = s.currentTree(); } int columnCount = columns.length; PropertyValue[] values = new PropertyValue[columnCount]; for (int i = 0; i < columnCount; i++) { ColumnImpl c = columns[i]; values[i] = c.currentProperty(); } PropertyValue[] orderValues; if (orderings == null) { orderValues = null; } else { int size = orderings.length; orderValues = new PropertyValue[size]; for (int i = 0; i < size; i++) { orderValues[i] = orderings[i].getOperand().currentProperty(); } } return new ResultRowImpl(this, trees, values, distinctColumns, orderValues); }
private PropertyValue currentOakProperty(String oakPropertyName, Integer propertyType) { boolean asterisk = oakPropertyName.indexOf('*') >= 0; if (asterisk) { Tree t = currentTree(); if (t != null) { LOG.trace("currentOakProperty() - '*' case. looking for '{}' in '{}'", && !oakPropertyName.startsWith(QueryConstants.REP_EXCERPT + "(") && oakPropertyName.indexOf('/') >= 0; Tree t = currentTree(); if (relative) { for (String p : PathUtils.elements(PathUtils.getParentPath(oakPropertyName))) {
private PropertyValue currentOakProperty(String oakPropertyName, Integer propertyType) { boolean asterisk = oakPropertyName.indexOf('*') >= 0; if (asterisk) { Tree t = currentTree(); if (t != null) { LOG.trace("currentOakProperty() - '*' case. looking for '{}' in '{}'", && !oakPropertyName.startsWith(QueryConstants.REP_EXCERPT + "(") && oakPropertyName.indexOf('/') >= 0; Tree t = currentTree(); if (relative) { for (String p : PathUtils.elements(PathUtils.getParentPath(oakPropertyName))) {
private PropertyValue currentOakProperty(String oakPropertyName, Integer propertyType) { boolean asterisk = oakPropertyName.indexOf('*') >= 0; if (asterisk) { Tree t = currentTree(); if (t != null) { LOG.trace("currentOakProperty() - '*' case. looking for '{}' in '{}'", Tree t = currentTree(); if (relative) { for (String p : PathUtils.elements(PathUtils.getParentPath(oakPropertyName))) {
return selector.currentProperty(propertyName) == null; Tree t = selector.currentTree(); if (t == null) { return true;
return selector.currentProperty(propertyName) == null; Tree t = selector.currentTree(); if (t == null) { return true;
return selector.currentProperty(propertyName) == null; Tree t = selector.currentTree(); if (t == null) { return true;