Uses of Interface
org.springframework.data.neo4j.core.mapping.NodeDescription
Package
Description
The main mapping framework.
A set of annotations for providing custom queries to repositories.
-
Uses of NodeDescription in org.springframework.data.neo4j.core.mapping
Modifier and TypeInterfaceDescriptioninterface
APersistentEntity
interface with additional methods for metadata related to Neo4j.Modifier and TypeFieldDescriptionstatic final Function<NodeDescription<?>,
org.neo4j.cypherdsl.core.SymbolicName> Constants.NAME_OF_TYPED_ROOT_NODE
Modifier and TypeMethodDescriptionNeo4jMappingContext.getNodeDescription
(Class<?> underlyingClass) Neo4jMappingContext.getNodeDescription
(String primaryLabel) Schema.getNodeDescription
(Class<?> underlyingClass) Retrieves a node's description by its underlying class.Schema.getNodeDescription
(String primaryLabel) Retrieves a node's description by its primary label.NodeDescription.getParentNodeDescription()
RelationshipDescription.getRelationshipPropertiesEntity()
If this is a relationship with properties, the properties-defining class will get returned, otherwise null.default NodeDescription<?>
Schema.getRequiredNodeDescription
(Class<?> underlyingClass) default NodeDescription<?>
Schema.getRequiredNodeDescription
(String primaryLabel) RelationshipDescription.getSource()
The source of this relationship is described by the primary label of the node in question.RelationshipDescription.getTarget()
The target of this relationship is described by the primary label of the node in question.Modifier and TypeMethodDescriptionNodeDescription.getChildNodeDescriptionsInHierarchy()
Retrieve all direct child node descriptions which extend this entity.Modifier and TypeMethodDescriptionvoid
NodeDescription.addChildNodeDescription
(NodeDescription<?> child) Register a direct child node description for this entity.org.neo4j.cypherdsl.core.Node
CypherGenerator.createRootNode
(NodeDescription<?> nodeDescription) org.neo4j.cypherdsl.core.Statement
CypherGenerator.createStatementReturningDynamicLabels
(NodeDescription<?> nodeDescription) Creates a statement that returns all labels of a node that are not part of a list parameter namedConstants.NAME_OF_STATIC_LABELS_PARAM
.static PropertyFilter
PropertyFilter.from
(Collection<PropertyFilter.ProjectedPath> projectedPaths, NodeDescription<?> nodeDescription) default String
RelationshipDescription.generateRelatedNodesCollectionName
(NodeDescription<?> mostAbstractNodeDescription) NodeDescription.getMostAbstractParentLabel
(NodeDescription<?> mostAbstractNodeDescription) org.neo4j.cypherdsl.core.Statement
CypherGenerator.prepareDeleteOf
(NodeDescription<?> nodeDescription) org.neo4j.cypherdsl.core.Statement
CypherGenerator.prepareDeleteOf
(NodeDescription<?> nodeDescription, org.neo4j.cypherdsl.core.Condition condition) org.neo4j.cypherdsl.core.Statement
CypherGenerator.prepareDeleteOf
(NodeDescription<?> nodeDescription, org.neo4j.cypherdsl.core.Condition condition, boolean count) org.neo4j.cypherdsl.core.StatementBuilder.OrderableOngoingReadingAndWith
CypherGenerator.prepareMatchOf
(NodeDescription<?> nodeDescription) org.neo4j.cypherdsl.core.StatementBuilder.OngoingReading
CypherGenerator.prepareMatchOf
(NodeDescription<?> nodeDescription, List<org.neo4j.cypherdsl.core.PatternElement> initialMatchOn, org.neo4j.cypherdsl.core.Condition condition) org.neo4j.cypherdsl.core.StatementBuilder.OrderableOngoingReadingAndWith
CypherGenerator.prepareMatchOf
(NodeDescription<?> nodeDescription, org.neo4j.cypherdsl.core.Condition condition) This will create a match statement that fits the given node description and may contain additional conditions.org.neo4j.cypherdsl.core.StatementBuilder.OngoingReading
CypherGenerator.prepareMatchOf
(NodeDescription<?> nodeDescription, RelationshipDescription relationshipDescription, List<org.neo4j.cypherdsl.core.PatternElement> initialMatchOn, org.neo4j.cypherdsl.core.Condition condition) org.neo4j.cypherdsl.core.Statement
CypherGenerator.prepareSaveOf
(NodeDescription<?> nodeDescription, UnaryOperator<org.neo4j.cypherdsl.core.StatementBuilder.OngoingMatchAndUpdate> updateDecorator, boolean canUseElementId) org.neo4j.cypherdsl.core.Statement
CypherGenerator.prepareSaveOfMultipleInstancesOf
(NodeDescription<?> nodeDescription) void
NodeDescription.setParentNodeDescription
(NodeDescription<?> parent) Register the direct parent node description. -
Uses of NodeDescription in org.springframework.data.neo4j.repository.query
Modifier and TypeMethodDescriptionstatic org.neo4j.cypherdsl.core.StatementBuilder.BuildableStatement
CypherAdapterUtils.addPagingParameter
(NodeDescription<?> nodeDescription, Pageable pageable, org.neo4j.cypherdsl.core.StatementBuilder.OngoingReadingAndReturn returning) void
QueryFragments.setReturnBasedOn
(NodeDescription<?> nodeDescription, Collection<PropertyFilter.ProjectedPath> includedProperties, boolean isDistinct) static Function<Sort.Order,
org.neo4j.cypherdsl.core.SortItem> CypherAdapterUtils.sortAdapterFor
(NodeDescription<?> nodeDescription) Maps Spring Data'sSort.Order
to aSortItem
.static Collection<org.neo4j.cypherdsl.core.SortItem>
CypherAdapterUtils.toSortItems
(NodeDescription<?> nodeDescription, Sort sort) Converts a Spring Data sort to an equivalent list ofsort items
.ModifierConstructorDescriptionQueryFragmentsAndParameters
(NodeDescription<?> nodeDescription, QueryFragments queryFragments, Map<String, Object> parameters, Sort sort)