public class Graph<G extends GraphValue<G>,R extends G,T extends G> extends Object
Constructor and Description |
---|
Graph(List<G> operators,
Class<R> root,
Class<T> leaf) |
Modifier and Type | Method and Description |
---|---|
org.apache.drill.common.graph.AdjacencyList<G> |
getAdjList() |
Collection<T> |
getLeaves() |
Collection<R> |
getRoots() |
static <G extends GraphValue<G>,R extends G,T extends G> |
newGraph(List<G> operators,
Class<R> root,
Class<T> leaf) |
public org.apache.drill.common.graph.AdjacencyList<G> getAdjList()
public Collection<R> getRoots()
public Collection<T> getLeaves()
public static <G extends GraphValue<G>,R extends G,T extends G> Graph<G,R,T> newGraph(List<G> operators, Class<R> root, Class<T> leaf)
Copyright © 1970 The Apache Software Foundation. All rights reserved.