@Test public void testGetLogicalGraph() throws Exception { FlinkAsciiGraphLoader loader = getLoaderFromString("expected:" + GradoopConstants.DB_GRAPH_LABEL + "[" + "(v1:TestVertex)-[e1:TestEdge]->(v2:TestVertex)" + "]"); LogicalGraph databaseGraph = loader.getLogicalGraph(); LogicalGraph expectedGraph = loader.getLogicalGraphByVariable("expected"); collectAndAssertTrue(expectedGraph.equalsByData(databaseGraph)); }
public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); }
FlinkAsciiGraphLoader { public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); } }
FlinkAsciiGraphLoader { public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); } FlinkAsciiGraphLoader(GradoopFlinkConfig config); }
FlinkAsciiGraphLoader { public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); } FlinkAsciiGraphLoader(GradoopFlinkConfig config); void initDatabaseFromString(String asciiGraphs); void initDatabaseFromStream(InputStream stream); void appendToDatabaseFromString(String asciiGraph); void initDatabaseFromFile(String fileName); LogicalGraph getLogicalGraph(); LogicalGraph getLogicalGraph(boolean withGraphContainment); LogicalGraph getLogicalGraphByVariable(String variable); GraphCollection getGraphCollection(); GraphCollection getGraphCollectionByVariables(String... variables); Collection<EPGMGraphHead> getGraphHeads(); EPGMGraphHead getGraphHeadByVariable(String variable); Collection<EPGMGraphHead> getGraphHeadsByVariables(String... variables); Collection<EPGMVertex> getVertices(); Collection<EPGMVertex> getVerticesByGraphVariables(String... variables); EPGMVertex getVertexByVariable(String variable); Collection<EPGMEdge> getEdges(); Collection<EPGMEdge> getEdgesByGraphVariables(String... variables); EPGMEdge getEdgeByVariable(String variable); }
FlinkAsciiGraphLoader { public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); } FlinkAsciiGraphLoader(GradoopFlinkConfig config); void initDatabaseFromString(String asciiGraphs); void initDatabaseFromStream(InputStream stream); void appendToDatabaseFromString(String asciiGraph); void initDatabaseFromFile(String fileName); LogicalGraph getLogicalGraph(); LogicalGraph getLogicalGraph(boolean withGraphContainment); LogicalGraph getLogicalGraphByVariable(String variable); GraphCollection getGraphCollection(); GraphCollection getGraphCollectionByVariables(String... variables); Collection<EPGMGraphHead> getGraphHeads(); EPGMGraphHead getGraphHeadByVariable(String variable); Collection<EPGMGraphHead> getGraphHeadsByVariables(String... variables); Collection<EPGMVertex> getVertices(); Collection<EPGMVertex> getVerticesByGraphVariables(String... variables); EPGMVertex getVertexByVariable(String variable); Collection<EPGMEdge> getEdges(); Collection<EPGMEdge> getEdgesByGraphVariables(String... variables); EPGMEdge getEdgeByVariable(String variable);  }