public class ASTJoinGroupPartitions extends Object
ASTJoinGroupPartitions.| Constructor and Description |
|---|
ASTJoinGroupPartitions(List<IGroupMemberNode> nodes,
GroupNodeVarBindingInfoMap bindingInfo,
Set<IVariable<?>> externallyKnownProduced)
Constructor, creating partitions for a list of
IGroupMemberNode
objects along OPTIONAL and MINUS nodes. |
| Modifier and Type | Method and Description |
|---|---|
LinkedList<IGroupMemberNode> |
extractNodeList(boolean includeOptionalOrMinusNode)
Extracts all nodes in all partitions, in order.
|
List<ASTJoinGroupPartition> |
getPartitionList()
Return the inner list of partitions.
|
void |
placeAtFirstPossiblePosition(IGroupMemberNode node)
Places the node at the first possible position across all partitions.
|
public ASTJoinGroupPartitions(List<IGroupMemberNode> nodes, GroupNodeVarBindingInfoMap bindingInfo, Set<IVariable<?>> externallyKnownProduced)
IGroupMemberNode
objects along OPTIONAL and MINUS nodes. The idea of this partitioning
is that we are not freely allowed to reorder nodes across partitions.nodes - the list of nodes to partitionbindingInfo - the bindingInfo for these nodesexternallyKnownProduced - variables that are known to be bound when
starting processing the join group defined by the node listpublic List<ASTJoinGroupPartition> getPartitionList()
public LinkedList<IGroupMemberNode> extractNodeList(boolean includeOptionalOrMinusNode)
public void placeAtFirstPossiblePosition(IGroupMemberNode node)
node - Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.