Uses of Interface
org.neo4j.graphdb.Label
Package
Description
The core graph database API.
Optional graph schema including indexes and constraints.
-
Uses of Label in org.neo4j.graphdb
Modifier and TypeMethodDescriptionTransaction.getAllLabels()
Returns all labels currently in the underlying store.Transaction.getAllLabelsInUse()
Returns all labels currently in the underlying store.Node.getLabels()
Lists all labels attached to this node.Modifier and TypeMethodDescriptionvoid
Adds aLabel
to this node.Transaction.createNode
(Label... labels) Creates a new node and adds the provided labels to it.Equivalent toTransaction.findNodes(Label, String, Object)
, however it must find no more than onenode
or it will throw an exception.Returns all nodes having the label, and the wanted property value.Returns all nodes having the label, and the wanted property values.Transaction.findNodes
(Label label, String key1, Object value1, String key2, Object value2, String key3, Object value3) Returns all nodes having the label, and the wanted property values.Transaction.findNodes
(Label label, String key, String template, StringSearchMode searchMode) Returns all nodes having a given label, and a property value of type String or Character matching the given value template and search mode.Returns all nodes having the label, and the wanted property values.boolean
Checks whether or not this node has the given label.void
Node.removeLabel
(Label label) Removes aLabel
from this node. -
Uses of Label in org.neo4j.graphdb.event
-
Uses of Label in org.neo4j.graphdb.schema
Modifier and TypeMethodDescriptionConstraintDefinition.getLabel()
This accessor method returns a label which this constraint is associated with if this constraint has typeConstraintType.UNIQUENESS
orConstraintType.NODE_PROPERTY_EXISTENCE
.Modifier and TypeMethodDescriptionIndexDefinition.getLabels()
Return the set of node labels (in no particular order) that this index applies to.Modifier and TypeMethodDescriptionSchema.constraintFor
(Label label) Returns aConstraintCreator
where details about the constraint can be specified.Schema.getConstraints
(Label label) Schema.getIndexes
(Label label) Begin specifying an index for all nodes with the given label.Begin specifying an index for all nodes with any of the given labels.