@Test public void testDistinctTargetVertexCountByEdgeLabel() throws Exception { assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("hasInterest"), is(2L)); assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("hasModerator"), is(2L)); assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("knows"), is(4L)); assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("hasMember"), is(4L)); assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("hasTag"), is(3L)); assertThat(TEST_STATISTICS.getDistinctTargetVertexCount("foo"), is(0L)); }
public long getDistinctTargetVertexCount() { return distinctTargetVertexCount; }
GraphStatistics { public long getDistinctTargetVertexCount() { return distinctTargetVertexCount; } }
GraphStatistics { public long getDistinctTargetVertexCount() { return distinctTargetVertexCount; } GraphStatistics(long vertexCount, long edgeCount,
    long distinctSourceVertexCount, long distinctTargetVertexCount);   GraphStatistics(long vertexCount, long edgeCount, Map<String, Long> vertexCountByLabel,
    Map<String, Long> edgeCountByLabel,
    Map<String, Map<String, Long>> edgeCountBySourceVertexAndEdgeLabel,
    Map<String, Map<String, Long>> edgeCountByTargetVertexAndEdgeLabel,
    long distinctSourceVertexCount, long distinctTargetVertexCount,
    Map<String, Long> distinctSourceVertexCountByEdgeLabel,
    Map<String, Long> distinctTargetVertexCountByEdgeLabel,
    Map<String, Map<String, Long>> distinctEdgePropertiesByLabel,
    Map<String, Map<String, Long>> distinctVertexPropertiesByLabel,
    Map<String, Long> distinctEdgeProperties,
    Map<String, Long> distinctVertexProperties); }
GraphStatistics { public long getDistinctTargetVertexCount() { return distinctTargetVertexCount; } GraphStatistics(long vertexCount, long edgeCount,
    long distinctSourceVertexCount, long distinctTargetVertexCount);   GraphStatistics(long vertexCount, long edgeCount, Map<String, Long> vertexCountByLabel,
    Map<String, Long> edgeCountByLabel,
    Map<String, Map<String, Long>> edgeCountBySourceVertexAndEdgeLabel,
    Map<String, Map<String, Long>> edgeCountByTargetVertexAndEdgeLabel,
    long distinctSourceVertexCount, long distinctTargetVertexCount,
    Map<String, Long> distinctSourceVertexCountByEdgeLabel,
    Map<String, Long> distinctTargetVertexCountByEdgeLabel,
    Map<String, Map<String, Long>> distinctEdgePropertiesByLabel,
    Map<String, Map<String, Long>> distinctVertexPropertiesByLabel,
    Map<String, Long> distinctEdgeProperties,
    Map<String, Long> distinctVertexProperties); long getVertexCount(); long getEdgeCount(); long getVertexCount(String vertexLabel); long getEdgeCount(String edgeLabel); long getEdgeCountBySource(String vertexLabel, String edgeLabel); long getEdgeCountByTarget(String vertexLabel, String edgeLabel); long getDistinctSourceVertexCount(); long getDistinctTargetVertexCount(); long getDistinctSourceVertexCount(String edgeLabel); long getDistinctTargetVertexCount(String edgeLabel); long getDistinctVertexProperties(String propertyName); long getDistinctEdgeProperties(String propertyName); long getDistinctVertexProperties(String vertexLabel, String propertyName); long getDistinctEdgeProperties(String edgeLabel, String propertyName); @Override String toString(); }
GraphStatistics { public long getDistinctTargetVertexCount() { return distinctTargetVertexCount; } GraphStatistics(long vertexCount, long edgeCount,
    long distinctSourceVertexCount, long distinctTargetVertexCount);   GraphStatistics(long vertexCount, long edgeCount, Map<String, Long> vertexCountByLabel,
    Map<String, Long> edgeCountByLabel,
    Map<String, Map<String, Long>> edgeCountBySourceVertexAndEdgeLabel,
    Map<String, Map<String, Long>> edgeCountByTargetVertexAndEdgeLabel,
    long distinctSourceVertexCount, long distinctTargetVertexCount,
    Map<String, Long> distinctSourceVertexCountByEdgeLabel,
    Map<String, Long> distinctTargetVertexCountByEdgeLabel,
    Map<String, Map<String, Long>> distinctEdgePropertiesByLabel,
    Map<String, Map<String, Long>> distinctVertexPropertiesByLabel,
    Map<String, Long> distinctEdgeProperties,
    Map<String, Long> distinctVertexProperties); long getVertexCount(); long getEdgeCount(); long getVertexCount(String vertexLabel); long getEdgeCount(String edgeLabel); long getEdgeCountBySource(String vertexLabel, String edgeLabel); long getEdgeCountByTarget(String vertexLabel, String edgeLabel); long getDistinctSourceVertexCount(); long getDistinctTargetVertexCount(); long getDistinctSourceVertexCount(String edgeLabel); long getDistinctTargetVertexCount(String edgeLabel); long getDistinctVertexProperties(String propertyName); long getDistinctEdgeProperties(String propertyName); long getDistinctVertexProperties(String vertexLabel, String propertyName); long getDistinctEdgeProperties(String edgeLabel, String propertyName); @Override String toString();  }