@Test public void getGraphHeadsByLabel() throws Exception { TxCollectionLayout layout = new TxCollectionLayout( getExecutionEnvironment().fromElements(tx0, tx1)); GradoopTestUtils.validateElementCollections( Sets.newHashSet(tx0.getGraphHead()), layout.getGraphHeadsByLabel("A").collect()); }
@Override public DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label) { return getGraphHeads().filter(new ByLabel<>(label)); }
TxCollectionLayout implements GraphCollectionLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> { @Override public DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label) { return getGraphHeads().filter(new ByLabel<>(label)); } }
TxCollectionLayout implements GraphCollectionLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> { @Override public DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label) { return getGraphHeads().filter(new ByLabel<>(label)); } TxCollectionLayout(DataSet<GraphTransaction> transactions); }
TxCollectionLayout implements GraphCollectionLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> { @Override public DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label) { return getGraphHeads().filter(new ByLabel<>(label)); } TxCollectionLayout(DataSet<GraphTransaction> transactions); @Override boolean isGVELayout(); @Override boolean isIndexedGVELayout(); @Override boolean isTransactionalLayout(); @Override DataSet<EPGMGraphHead> getGraphHeads(); @Override DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label); @Override DataSet<GraphTransaction> getGraphTransactions(); @Override DataSet<EPGMVertex> getVertices(); @Override DataSet<EPGMVertex> getVerticesByLabel(String label); @Override DataSet<EPGMEdge> getEdges(); @Override DataSet<EPGMEdge> getEdgesByLabel(String label); }
TxCollectionLayout implements GraphCollectionLayout<EPGMGraphHead, EPGMVertex, EPGMEdge> { @Override public DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label) { return getGraphHeads().filter(new ByLabel<>(label)); } TxCollectionLayout(DataSet<GraphTransaction> transactions); @Override boolean isGVELayout(); @Override boolean isIndexedGVELayout(); @Override boolean isTransactionalLayout(); @Override DataSet<EPGMGraphHead> getGraphHeads(); @Override DataSet<EPGMGraphHead> getGraphHeadsByLabel(String label); @Override DataSet<GraphTransaction> getGraphTransactions(); @Override DataSet<EPGMVertex> getVertices(); @Override DataSet<EPGMVertex> getVerticesByLabel(String label); @Override DataSet<EPGMEdge> getEdges(); @Override DataSet<EPGMEdge> getEdgesByLabel(String label);  }