Uses of Record Class
org.neo4j.cypherdsl.core.StatementCatalog.Token
-
Uses of StatementCatalog.Token in org.neo4j.cypherdsl.core
Modifier and TypeMethodDescriptionstatic StatementCatalog.Token
Convenience method to create node label tokens.static StatementCatalog.Token
Turns a specific node label into a more abstract token.static StatementCatalog.Token
Turns a specificlabel
into a more abstract token.static StatementCatalog.Token
Turns a specific relationship type into a more abstract tokenstatic StatementCatalog.Token
Convenience method to create relationship type tokens.Modifier and TypeMethodDescriptionStatementCatalog.getAllTokens()
Returns a collection of all tokens used in the analyzed statement.StatementCatalog.getIncomingRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that have a node with the given token as end node.default Collection
<StatementCatalog.Token> StatementCatalog.getNodeLabels()
Returns a collection of all node labels used in the analyzed statement.StatementCatalog.getOutgoingRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that have a node with the given token as start node.default Collection
<StatementCatalog.Token> StatementCatalog.getRelationshipTypes()
Returns a collection of all relationship types used in the analyzed statement.StatementCatalog.getSourceNodes
(StatementCatalog.Token type) This method can be used with any token returned fromStatementCatalog.getRelationshipTypes()
to retrieve source nodes of that relationship.StatementCatalog.getTargetNodes
(StatementCatalog.Token type) This method can be used with any token returned fromStatementCatalog.getRelationshipTypes()
to retrieve target nodes of that relationship.StatementCatalog.getUndirectedRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that are connected to nodes with the given token.StatementCatalog.Property.owningToken()
Returns the value of theowningToken
record component.StatementCatalog.LabelFilter.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionint
StatementCatalog.Token.compareTo
(StatementCatalog.Token o) StatementCatalog.getIncomingRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that have a node with the given token as end node.StatementCatalog.getOutgoingRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that have a node with the given token as start node.StatementCatalog.getSourceNodes
(StatementCatalog.Token type) This method can be used with any token returned fromStatementCatalog.getRelationshipTypes()
to retrieve source nodes of that relationship.StatementCatalog.getTargetNodes
(StatementCatalog.Token type) This method can be used with any token returned fromStatementCatalog.getRelationshipTypes()
to retrieve target nodes of that relationship.StatementCatalog.getUndirectedRelations
(StatementCatalog.Token label) This method can be used with any token returned fromStatementCatalog.getNodeLabels()
to retrieve relationships that are connected to nodes with the given token.Modifier and TypeMethodDescriptionstatic StatementCatalog.Property
StatementCatalog.property
(Set<StatementCatalog.Token> owner, String name) Convenience method to create a new property with a defined owner.ModifierConstructorDescriptionProperty
(StatementCatalog.Token owningToken, String name) Creates a new property with a single owning token.ModifierConstructorDescriptionLabelFilter
(String symbolicName, Set<StatementCatalog.Token> value) Makes sure the values are stored in an unmutable fashion.Property
(Set<StatementCatalog.Token> owningToken, String name) The constructor enforces the use of unmodifiable sets and unique types accross tokens.