Package | Description |
---|---|
org.neo4j.cypher.export | |
org.neo4j.graphdb |
The core graph database API.
|
org.neo4j.graphdb.event |
Event framework.
|
org.neo4j.graphdb.schema |
Optional graph schema including indexes and constraints.
|
org.neo4j.tooling |
Tools, including global operations over the whole graph.
|
org.neo4j.unsafe.batchinsert |
Tools for high-performance data insertion; make sure to read the instructions before using.
|
Modifier and Type | Method and Description |
---|---|
Collection<Label> |
CypherResultSubGraph.getLabels() |
Modifier and Type | Class and Description |
---|---|
class |
DynamicLabel
A dynamically instantiated and named
Label . |
Modifier and Type | Method and Description |
---|---|
static Label |
DynamicLabel.label(String labelName) |
Modifier and Type | Method and Description |
---|---|
Iterable<Label> |
Node.getLabels()
Lists all labels attached to this node.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addLabel(Label label)
Adds a
Label to this node. |
Node |
GraphDatabaseService.createNode(Label... labels)
Creates a new node and adds the provided labels to it.
|
ResourceIterable<Node> |
GraphDatabaseService.findNodesByLabelAndProperty(Label label,
String key,
Object value)
Returns all nodes having the label, and the wanted property value.
|
boolean |
Node.hasLabel(Label label)
Checks whether or not this node has the given label.
|
void |
Node.removeLabel(Label label)
Removes a
Label from this node. |
Modifier and Type | Method and Description |
---|---|
Label |
LabelEntry.label()
This is the label that has been added or removed.
|
Modifier and Type | Method and Description |
---|---|
Label |
IndexDefinition.getLabel() |
Label |
ConstraintDefinition.getLabel() |
Modifier and Type | Method and Description |
---|---|
ConstraintCreator |
Schema.constraintFor(Label label)
Returns a
ConstraintCreator where details about the constraint can be
specified. |
Iterable<ConstraintDefinition> |
Schema.getConstraints(Label label) |
Iterable<IndexDefinition> |
Schema.getIndexes(Label label) |
IndexCreator |
Schema.indexFor(Label label)
Returns an
IndexCreator where details about the index to create can be
specified. |
Modifier and Type | Method and Description |
---|---|
ResourceIterable<Label> |
GlobalGraphOperations.getAllLabels()
Returns all labels currently in the underlying store.
|
Modifier and Type | Method and Description |
---|---|
ResourceIterable<Node> |
GlobalGraphOperations.getAllNodesWithLabel(Label label)
|
Modifier and Type | Method and Description |
---|---|
Iterable<Label> |
BatchInserter.getNodeLabels(long node) |
Iterable<Label> |
BatchInserterImpl.getNodeLabels(long node) |
Modifier and Type | Method and Description |
---|---|
ConstraintCreator |
BatchInserter.createDeferredConstraint(Label label)
Returns a
ConstraintCreator where details about the constraint can be
specified. |
ConstraintCreator |
BatchInserterImpl.createDeferredConstraint(Label label) |
IndexCreator |
BatchInserter.createDeferredSchemaIndex(Label label)
Returns an
IndexCreator where details about the index to create can be
specified. |
IndexCreator |
BatchInserterImpl.createDeferredSchemaIndex(Label label) |
void |
BatchInserter.createNode(long id,
Map<String,Object> properties,
Label... labels)
Creates a node with supplied id and properties.
|
void |
BatchInserterImpl.createNode(long id,
Map<String,Object> properties,
Label... labels) |
long |
BatchInserter.createNode(Map<String,Object> properties,
Label... labels)
Creates a node assigning next available id to id and also adds any
properties supplied.
|
long |
BatchInserterImpl.createNode(Map<String,Object> properties,
Label... labels) |
boolean |
BatchInserter.nodeHasLabel(long node,
Label label) |
boolean |
BatchInserterImpl.nodeHasLabel(long node,
Label label) |
void |
BatchInserter.setNodeLabels(long node,
Label... labels)
Replaces any existing labels for the given node with the supplied list of labels.
|
void |
BatchInserterImpl.setNodeLabels(long node,
Label... labels) |
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.