public class FilteredQueryBuilder extends Object
Filters
parameter delegate the generation of the appropriate
Cypher to this class
The FilteredQueryBuilder, as its name suggests, returns instances of FilteredQuery
Constructor and Description |
---|
FilteredQueryBuilder() |
Modifier and Type | Method and Description |
---|---|
static FilteredQuery |
buildNodeQuery(String nodeLabel,
Iterable<Filter> filterList)
Create a
FilteredQuery which matches nodes filtered by one or more property expressions |
static FilteredQuery |
buildRelationshipQuery(String relationshipType,
Iterable<Filter> filterList)
Create a
FilteredQuery which matches edges filtered by one or more property expressions |
public static FilteredQuery buildNodeQuery(String nodeLabel, Iterable<Filter> filterList)
FilteredQuery
which matches nodes filtered by one or more property expressionsnodeLabel
- the label of the node to matchfilterList
- a list of Filter
objects defining the property filter expressionsFilteredQuery
whose statement() method contains the appropriate Cypherpublic static FilteredQuery buildRelationshipQuery(String relationshipType, Iterable<Filter> filterList)
FilteredQuery
which matches edges filtered by one or more property expressionsrelationshipType
- the type of the edge to matchfilterList
- a list of Filter
objects defining the property filter expressionsFilteredQuery
whose statement() method contains the appropriate CypherCopyright © 2015–2023 Neo Technology, Inc.. All rights reserved.