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); }