Package org.neo4j.cdc.client.selector
Class RelationshipNodeSelector.RelationshipNodeSelectorBuilder
- java.lang.Object
-
- org.neo4j.cdc.client.selector.RelationshipNodeSelector.RelationshipNodeSelectorBuilder
-
- Enclosing class:
- RelationshipNodeSelector
public static class RelationshipNodeSelector.RelationshipNodeSelectorBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipNodeSelectorbuild()Build the desired selector.RelationshipNodeSelector.RelationshipNodeSelectorBuilderwithKey(Map<String,Object> key)Set a filter of key properties on the selector to be built.RelationshipNodeSelector.RelationshipNodeSelectorBuilderwithLabels(Set<String> labels)Set a filter of labels on the selector to be built.
-
-
-
Method Detail
-
withLabels
public RelationshipNodeSelector.RelationshipNodeSelectorBuilder withLabels(Set<String> labels)
Set a filter of labels on the selector to be built. All the labels need to be present on the node for a match.- Parameters:
labels- set of labels- Returns:
- builder
-
withKey
public RelationshipNodeSelector.RelationshipNodeSelectorBuilder withKey(Map<String,Object> key)
Set a filter of key properties on the selector to be built. All the property names needs to be part of a Key constraint and values need to match.- Parameters:
key- map of property names and values- Returns:
- builder
-
build
public RelationshipNodeSelector build()
Build the desired selector.- Returns:
- selector
-
-