Interface AggregateStatements

All Known Implementing Classes:
CountStatements

public interface AggregateStatements
Author:
vince
  • Method Details

    • countNodes

      CypherQuery countNodes(Iterable<String> labels)
      construct queries to count all nodes with the specified label
      Parameters:
      labels - the labels attached to the object
      Returns:
      a CypherQuery
    • countNodes

      CypherQuery countNodes(String label, Iterable<Filter> filters)
      construct queries to count all nodes with the specified label that match the specified filters
      Parameters:
      label - the label value to filter on
      filters - additional parameters to filter on
      Returns:
      a CypherQuery
    • countEdges

      CypherQuery countEdges(String type, Iterable<Filter> filters)
      construct queries to count all relationships with the specified type that match the specified filters
      Parameters:
      type - the relationship type to filter on
      filters - additional parameters to filter on
      Returns:
      a CypherQuery
    • countEdges

      CypherQuery countEdges(String startLabel, String relationshipType, String endLabel)
      construct queries to count all single-length paths with the specified start label, relationship type and end label that match the specified filters
      Parameters:
      startLabel - the start node label to filter on
      relationshipType - the type of relationship to filter on
      endLabel - the end node label to filter on
      Returns:
      a CypherQuery