}
private Holder<IndexColumnInfo> createResult(
com.alvazan.orm.api.z8spi.iter.AbstractCursor.Holder<IndexColumn> next) {
IndexColumn indCol = next.getValue();
IndexColumnInfo info = new IndexColumnInfo();
if(cachedFromRightResults.hasNext()) {
//We need to compare lastCachedRightSide with our incoming to make see if they pair up
//or else move to the next right side answer.
ByteArray pkOfRightView = lastCachedRightSide.getPrimaryKey(rightView);
ByteArray valueOfLeft = new ByteArray(indCol.getIndexedValue());
if(!valueOfLeft.equals(pkOfRightView)) {
lastCachedRightSide = cachedFromRightResults.next();
}
info.mergeResults(lastCachedRightSide);
}
info.putIndexNode(newView, indCol, colMeta);
return new Holder<IndexColumnInfo>(info);
}