@Test public void testGetVerticesByLabel() throws Exception { List<TemporalVertex> temporalVertices = new ArrayList<>(); testGraph.getVerticesByLabel("Person") .output(new LocalCollectionOutputFormat<>(temporalVertices)); getExecutionEnvironment().execute(); assertEquals(6, temporalVertices.size()); temporalVertices.forEach(v -> assertEquals("Person", v.getLabel())); temporalVertices.forEach(this::checkDefaultTemporalElement); }
@Override public DataSet<TemporalVertex> getVerticesByLabel(String label) { return this.layout.getVerticesByLabel(label); }
TemporalGraph implements BaseGraph<TemporalGraphHead, TemporalVertex, TemporalEdge,
  TemporalGraph, TemporalGraphCollection>, TemporalGraphOperators { @Override public DataSet<TemporalVertex> getVerticesByLabel(String label) { return this.layout.getVerticesByLabel(label); } }
TemporalGraph implements BaseGraph<TemporalGraphHead, TemporalVertex, TemporalEdge,
  TemporalGraph, TemporalGraphCollection>, TemporalGraphOperators { @Override public DataSet<TemporalVertex> getVerticesByLabel(String label) { return this.layout.getVerticesByLabel(label); } TemporalGraph(LogicalGraphLayout<TemporalGraphHead, TemporalVertex, TemporalEdge> layout,
    TemporalGradoopConfig config); }
TemporalGraph implements BaseGraph<TemporalGraphHead, TemporalVertex, TemporalEdge,
  TemporalGraph, TemporalGraphCollection>, TemporalGraphOperators { @Override public DataSet<TemporalVertex> getVerticesByLabel(String label) { return this.layout.getVerticesByLabel(label); } TemporalGraph(LogicalGraphLayout<TemporalGraphHead, TemporalVertex, TemporalEdge> layout,
    TemporalGradoopConfig config); @Override TemporalGradoopConfig getConfig(); @Override BaseGraphFactory<TemporalGraphHead, TemporalVertex, TemporalEdge, TemporalGraph,
      TemporalGraphCollection> getFactory(); @Override BaseGraphCollectionFactory<TemporalGraphHead, TemporalVertex, TemporalEdge, TemporalGraph,
      TemporalGraphCollection> getCollectionFactory(); void writeTo(TemporalDataSink dataSink); void writeTo(TemporalDataSink dataSink, boolean overWrite); @Override boolean isGVELayout(); @Override boolean isIndexedGVELayout(); @Override DataSet<TemporalGraphHead> getGraphHead(); @Override DataSet<TemporalVertex> getVertices(); @Override DataSet<TemporalVertex> getVerticesByLabel(String label); @Override DataSet<TemporalEdge> getEdges(); @Override DataSet<TemporalEdge> getEdgesByLabel(String label); @Override DataSet<Boolean> equalsByElementData(TemporalGraph other); @Override DataSet<Boolean> equalsByData(TemporalGraph other); @Override T callForValue(UnaryBaseGraphToValueOperator<TemporalGraph, T> operator); @Override T callForValue(BinaryBaseGraphToValueOperator<TemporalGraph, T> operator,
                            TemporalGraph otherGraph); @Override LogicalGraph toLogicalGraph(); static TemporalGraph fromGraph(LG baseGraph); static TemporalGraph fromGraph(LG baseGraph,
      TimeIntervalExtractor<G> graphTimeExtractor,
      TimeIntervalExtractor<V> vertexTimeExtractor,
      TimeIntervalExtractor<E> edgeTimeExtractor); void print(); }
TemporalGraph implements BaseGraph<TemporalGraphHead, TemporalVertex, TemporalEdge,
  TemporalGraph, TemporalGraphCollection>, TemporalGraphOperators { @Override public DataSet<TemporalVertex> getVerticesByLabel(String label) { return this.layout.getVerticesByLabel(label); } TemporalGraph(LogicalGraphLayout<TemporalGraphHead, TemporalVertex, TemporalEdge> layout,
    TemporalGradoopConfig config); @Override TemporalGradoopConfig getConfig(); @Override BaseGraphFactory<TemporalGraphHead, TemporalVertex, TemporalEdge, TemporalGraph,
      TemporalGraphCollection> getFactory(); @Override BaseGraphCollectionFactory<TemporalGraphHead, TemporalVertex, TemporalEdge, TemporalGraph,
      TemporalGraphCollection> getCollectionFactory(); void writeTo(TemporalDataSink dataSink); void writeTo(TemporalDataSink dataSink, boolean overWrite); @Override boolean isGVELayout(); @Override boolean isIndexedGVELayout(); @Override DataSet<TemporalGraphHead> getGraphHead(); @Override DataSet<TemporalVertex> getVertices(); @Override DataSet<TemporalVertex> getVerticesByLabel(String label); @Override DataSet<TemporalEdge> getEdges(); @Override DataSet<TemporalEdge> getEdgesByLabel(String label); @Override DataSet<Boolean> equalsByElementData(TemporalGraph other); @Override DataSet<Boolean> equalsByData(TemporalGraph other); @Override T callForValue(UnaryBaseGraphToValueOperator<TemporalGraph, T> operator); @Override T callForValue(BinaryBaseGraphToValueOperator<TemporalGraph, T> operator,
                            TemporalGraph otherGraph); @Override LogicalGraph toLogicalGraph(); static TemporalGraph fromGraph(LG baseGraph); static TemporalGraph fromGraph(LG baseGraph,
      TimeIntervalExtractor<G> graphTimeExtractor,
      TimeIntervalExtractor<V> vertexTimeExtractor,
      TimeIntervalExtractor<E> edgeTimeExtractor); void print();  }