Package com.facebook.presto.operator.PagesIndex

Examples of com.facebook.presto.operator.PagesIndex.MultiSliceFieldOrderedTupleComparator


            // sort the index
            pageIndex.sort(orderingChannel, orderFields, ordering);

            // create partition comparator
            ChannelIndex index = pageIndex.getIndex(orderingChannel);
            partitionComparator = new MultiSliceFieldOrderedTupleComparator(partitionFields, partitionOrder, index);

            // create order comparator
            index = pageIndex.getIndex(orderingChannel);
            orderComparator = new MultiSliceFieldOrderedTupleComparator(sortFields, sortOrder, index);
        }
    }
View Full Code Here


            // sort the index
            pageIndex.sort(orderChannels, ordering);

            // create partition comparator
            partitionComparator = new MultiSliceFieldOrderedTupleComparator(pageIndex, partitionChannels, partitionOrder);

            // create order comparator
            orderComparator = new MultiSliceFieldOrderedTupleComparator(pageIndex, sortChannels, sortOrder);
        }
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.operator.PagesIndex.MultiSliceFieldOrderedTupleComparator

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.