Package com.facebook.presto.split

Examples of com.facebook.presto.split.CollocatedSplit


                        lastSplit = partitionedSplit.isLastSplit();
                        partitionKeys = partitionedSplit.getPartitionKeys();
                    }

                    addPartitionShard(partition, lastSplit, partitionKeys, writingSplit.getShardUuid());
                    CollocatedSplit collocatedSplit = new CollocatedSplit(
                            ImmutableMap.of(
                                    planNodeId, sourceSplit,
                                    writerNode.getId(), writingSplit),
                            sourceSplit.getAddresses(),
                            sourceSplit.isRemotelyAccessible());
View Full Code Here


    {
        checkNotNull(sourceId, "sourceId is null");
        checkNotNull(split, "split is null");

        if (split instanceof CollocatedSplit) {
            CollocatedSplit collocatedSplit = (CollocatedSplit) split;
            // unwind collocated splits
            for (Entry<PlanNodeId, Split> entry : collocatedSplit.getSplits().entrySet()) {
                addSplit(entry.getKey(), entry.getValue());
            }
        }
        else {
            SourceOperator sourceOperator = sourceOperators.get(sourceId);
View Full Code Here

                    lastSplit = partitionedSplit.isLastSplit();
                    partitionKeys = partitionedSplit.getPartitionKeys();
                }

                addPartitionShard(partition, lastSplit, partitionKeys, writingSplit.getShardId());
                CollocatedSplit collocatedSplit = new CollocatedSplit(
                        ImmutableMap.of(
                                planNodeId, sourceSplit,
                                tableWriterNode.getId(), writingSplit),
                        sourceSplit.getAddresses(),
                        sourceSplit.isRemotelyAccessible());
View Full Code Here

                    lastSplit = partitionedSplit.isLastSplit();
                    partitionKeys = partitionedSplit.getPartitionKeys();
                }

                addPartitionShard(partition, lastSplit, partitionKeys, writingSplit.getShardUuid());
                CollocatedSplit collocatedSplit = new CollocatedSplit(
                        ImmutableMap.of(
                                planNodeId, sourceSplit,
                                writerNode.getId(), writingSplit),
                        sourceSplit.getAddresses(),
                        sourceSplit.isRemotelyAccessible());
View Full Code Here

    {
        checkNotNull(sourceId, "sourceId is null");
        checkNotNull(split, "split is null");

        if (split instanceof CollocatedSplit) {
            CollocatedSplit collocatedSplit = (CollocatedSplit) split;
            // unwind collocated splits
            for (Entry<PlanNodeId, Split> entry : collocatedSplit.getSplits().entrySet()) {
                addSplit(entry.getKey(), entry.getValue());
            }
        }
        else {
            SourceOperator sourceOperator = sourceOperators.get(sourceId);
View Full Code Here

TOP

Related Classes of com.facebook.presto.split.CollocatedSplit

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.