489490491492493494495496497498499
} private void computeBranchLookupRowHKey(Row row) { HKey ancestorHKey = row.hKey(); // row.ancestorHKey(commonAncestor); ancestorHKey.copyTo(lookupRowHKey); if (branchRootOrdinal != -1) { lookupRowHKey.extendWithOrdinal(branchRootOrdinal); } }
429430431432433434435436437438439
// For use by this class private void computeLookupRowHKey(Row row) { HKey ancestorHKey = row.ancestorHKey(commonAncestor); ancestorHKey.copyTo(hKey); if (branchRootOrdinal != -1) { hKey.extendWithOrdinal(branchRootOrdinal); } }
514515516517518519520521522523524
424425426427428429430431432433434
} private void computeLookupRowHKey(Row row) { HKey ancestorHKey = row.ancestorHKey(commonAncestor); ancestorHKey.copyTo(lookupRowHKey); if (branchRootOrdinal != -1) { lookupRowHKey.extendWithOrdinal(branchRootOrdinal); } }
3435363738394041424344
HKey leafmostHKey = hKeyCache.hKey(leafmostTable); if (table == leafmostTable) { ancestorHKey = leafmostHKey; } else { ancestorHKey = hKeyCache.hKey(table); leafmostHKey.copyTo(ancestorHKey); ancestorHKey.useSegments(table.getDepth() + 1); } return ancestorHKey; }
427428429430431432433434435436437
} private void computeLeftJoinHKey(Row newParent) { HKey parentHKey = newParent.hKey(); parentHKey.copyTo(leftJoinHKey); leftJoinHKey.extendWithOrdinal(childOrdinal); leftJoinHKey.extendWithNull(); } private boolean readyForLeftJoinRow(Row inputRow)