@Test public void testFromGraphMethod() throws Exception { GraphCollection expected = loader.getGraphCollectionByVariables("g0"); GraphCollection result = factory.fromGraph(loader.getLogicalGraphByVariable("g0")); collectAndAssertTrue(expected.equalsByGraphElementData(result)); }
@Override public GraphCollection fromGraph( LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout) { return new GraphCollection(layoutFactory.fromGraphLayout(logicalGraphLayout), config); }
GraphCollectionFactory implements
  BaseGraphCollectionFactory<EPGMGraphHead, EPGMVertex, EPGMEdge, LogicalGraph, GraphCollection> { @Override public GraphCollection fromGraph( LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout) { return new GraphCollection(layoutFactory.fromGraphLayout(logicalGraphLayout), config); } }
GraphCollectionFactory implements
  BaseGraphCollectionFactory<EPGMGraphHead, EPGMVertex, EPGMEdge, LogicalGraph, GraphCollection> { @Override public GraphCollection fromGraph( LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout) { return new GraphCollection(layoutFactory.fromGraphLayout(logicalGraphLayout), config); } GraphCollectionFactory(GradoopFlinkConfig config); }
GraphCollectionFactory implements
  BaseGraphCollectionFactory<EPGMGraphHead, EPGMVertex, EPGMEdge, LogicalGraph, GraphCollection> { @Override public GraphCollection fromGraph( LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout) { return new GraphCollection(layoutFactory.fromGraphLayout(logicalGraphLayout), config); } GraphCollectionFactory(GradoopFlinkConfig config); @Override GraphCollectionLayoutFactory<EPGMGraphHead, EPGMVertex, EPGMEdge> getLayoutFactory(); @Override void setLayoutFactory(
    GraphCollectionLayoutFactory<EPGMGraphHead, EPGMVertex, EPGMEdge> layoutFactory); @Override GraphHeadFactory<EPGMGraphHead> getGraphHeadFactory(); @Override VertexFactory<EPGMVertex> getVertexFactory(); @Override EdgeFactory<EPGMEdge> getEdgeFactory(); @Override GraphCollection fromDataSets(DataSet<EPGMGraphHead> graphHeads,
    DataSet<EPGMVertex> vertices); @Override GraphCollection fromDataSets(DataSet<EPGMGraphHead> graphHeads, DataSet<EPGMVertex> vertices,
    DataSet<EPGMEdge> edges); @Override GraphCollection fromIndexedDataSets(Map<String, DataSet<EPGMGraphHead>> graphHeads,
    Map<String, DataSet<EPGMVertex>> vertices, Map<String, DataSet<EPGMEdge>> edges); @Override GraphCollection fromCollections(Collection<EPGMGraphHead> graphHeads,
    Collection<EPGMVertex> vertices, Collection<EPGMEdge> edges); @Override GraphCollection fromGraph(
    LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout); @Override GraphCollection fromGraphs(
  LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge>... logicalGraphLayouts); @Override GraphCollection fromTransactions(DataSet<GraphTransaction> transactions); @Override GraphCollection fromTransactions(DataSet<GraphTransaction> transactions,
    GroupReduceFunction<EPGMVertex, EPGMVertex> vertexMergeReducer,
    GroupReduceFunction<EPGMEdge, EPGMEdge> edgeMergeReducer); @Override GraphCollection createEmptyCollection(); }
GraphCollectionFactory implements
  BaseGraphCollectionFactory<EPGMGraphHead, EPGMVertex, EPGMEdge, LogicalGraph, GraphCollection> { @Override public GraphCollection fromGraph( LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout) { return new GraphCollection(layoutFactory.fromGraphLayout(logicalGraphLayout), config); } GraphCollectionFactory(GradoopFlinkConfig config); @Override GraphCollectionLayoutFactory<EPGMGraphHead, EPGMVertex, EPGMEdge> getLayoutFactory(); @Override void setLayoutFactory(
    GraphCollectionLayoutFactory<EPGMGraphHead, EPGMVertex, EPGMEdge> layoutFactory); @Override GraphHeadFactory<EPGMGraphHead> getGraphHeadFactory(); @Override VertexFactory<EPGMVertex> getVertexFactory(); @Override EdgeFactory<EPGMEdge> getEdgeFactory(); @Override GraphCollection fromDataSets(DataSet<EPGMGraphHead> graphHeads,
    DataSet<EPGMVertex> vertices); @Override GraphCollection fromDataSets(DataSet<EPGMGraphHead> graphHeads, DataSet<EPGMVertex> vertices,
    DataSet<EPGMEdge> edges); @Override GraphCollection fromIndexedDataSets(Map<String, DataSet<EPGMGraphHead>> graphHeads,
    Map<String, DataSet<EPGMVertex>> vertices, Map<String, DataSet<EPGMEdge>> edges); @Override GraphCollection fromCollections(Collection<EPGMGraphHead> graphHeads,
    Collection<EPGMVertex> vertices, Collection<EPGMEdge> edges); @Override GraphCollection fromGraph(
    LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> logicalGraphLayout); @Override GraphCollection fromGraphs(
  LogicalGraphLayout<EPGMGraphHead, EPGMVertex, EPGMEdge>... logicalGraphLayouts); @Override GraphCollection fromTransactions(DataSet<GraphTransaction> transactions); @Override GraphCollection fromTransactions(DataSet<GraphTransaction> transactions,
    GroupReduceFunction<EPGMVertex, EPGMVertex> vertexMergeReducer,
    GroupReduceFunction<EPGMEdge, EPGMEdge> edgeMergeReducer); @Override GraphCollection createEmptyCollection();  }