@Test public void testDistinctPropertyValuesByEdgeLabelAndPropertyName() throws Exception { assertThat( TEST_STATISTICS.getDistinctEdgeProperties("knows", "since"), is(6L)); assertThat( TEST_STATISTICS.getDistinctEdgeProperties("hasModerator", "since"), is(3L)); assertThat( TEST_STATISTICS.getDistinctEdgeProperties("foo", "bar"), is(0L)); }
public long getDistinctEdgeProperties(String propertyName) { return distinctEdgeProperties.getOrDefault(propertyName, 0L); }
GraphStatistics { public long getDistinctEdgeProperties(String propertyName) { return distinctEdgeProperties.getOrDefault(propertyName, 0L); } }
GraphStatistics { public long getDistinctEdgeProperties(String propertyName) { return distinctEdgeProperties.getOrDefault(propertyName, 0L); } 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 getDistinctEdgeProperties(String propertyName) { return distinctEdgeProperties.getOrDefault(propertyName, 0L); } 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 getDistinctEdgeProperties(String propertyName) { return distinctEdgeProperties.getOrDefault(propertyName, 0L); } 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();  }