Interface AggregateStatements
- All Known Implementing Classes:
CountStatements
public interface AggregateStatements
- Author:
- vince
-
Method Summary
Modifier and TypeMethodDescriptioncountEdges
(String type, Iterable<Filter> filters) construct queries to count all relationships with the specified type that match the specified filterscountEdges
(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 filterscountNodes
(Iterable<String> labels) construct queries to count all nodes with the specified labelcountNodes
(String label, Iterable<Filter> filters) construct queries to count all nodes with the specified label that match the specified filters
-
Method Details
-
countNodes
construct queries to count all nodes with the specified label- Parameters:
labels
- the labels attached to the object- Returns:
- a
CypherQuery
-
countNodes
construct queries to count all nodes with the specified label that match the specified filters- Parameters:
label
- the label value to filter onfilters
- additional parameters to filter on- Returns:
- a
CypherQuery
-
countEdges
construct queries to count all relationships with the specified type that match the specified filters- Parameters:
type
- the relationship type to filter onfilters
- additional parameters to filter on- Returns:
- a
CypherQuery
-
countEdges
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 onrelationshipType
- the type of relationship to filter onendLabel
- the end node label to filter on- Returns:
- a
CypherQuery
-