Package com.foundationdb.qp.row

Examples of com.foundationdb.qp.row.HKey


                assert parent.hKey().segments() == parentType.hKey().segments().size() :
                    String.format("%s: parent hkey %s has been shortened by an earlier Flatten, " +
                        "so this Flatten should specify LEFT_JOIN_SHORTENS_HKEY also",
                        this, parent.hKey());
                // Copy leftJoinHKey to avoid aliasing problems. (leftJoinHKey changes on each parent row.)
                HKey hKey = adapter().newHKey(childType.hKey());
                leftJoinHKey.copyTo(hKey);
                pending.add(new FlattenedRow(flattenType, parent, null, hKey));
                // Prevent generation of another left join row for the same parent
                childlessParent = false;
            }
View Full Code Here


            }
        }

        private void computeLeftJoinHKey(Row newParent)
        {
            HKey parentHKey = newParent.hKey();
            parentHKey.copyTo(leftJoinHKey);
            leftJoinHKey.extendWithOrdinal(childOrdinal);
            leftJoinHKey.extendWithNull();
        }
View Full Code Here

TOP

Related Classes of com.foundationdb.qp.row.HKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.