| Package | Description |
|---|---|
| org.neo4j.graphdb |
The core graph database API.
|
| org.neo4j.graphdb.schema | |
| org.neo4j.kernel |
Implementation for embedding a Neo4j graph database in an application.
|
| org.neo4j.tooling | |
| org.neo4j.unsafe.batchinsert |
Tools for high-performance data insertion; make sure to read the instructions before using.
|
| 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 |
|---|---|
ResourceIterable<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 |
ConstraintDefinition.getLabel() |
Label |
IndexDefinition.getLabel() |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
Label |
BaseConstraintDefinition.getLabel() |
Label |
IndexDefinitionImpl.getLabel() |
| Modifier and Type | Method and Description |
|---|---|
IndexDefinition |
InternalSchemaActions.createIndexDefinition(Label label,
String propertyKey) |
Node |
InternalAbstractGraphDatabase.createNode(Label... labels) |
ConstraintDefinition |
InternalSchemaActions.createPropertyUniquenessConstraint(Label label,
String propertyKey) |
void |
InternalSchemaActions.dropIndexDefinitions(Label label,
String propertyKey) |
void |
InternalSchemaActions.dropPropertyUniquenessConstraint(Label label,
String propertyKey) |
ResourceIterable<Node> |
InternalAbstractGraphDatabase.findNodesByLabelAndProperty(Label myLabel,
String key,
Object value) |
Iterable<IndexDefinition> |
SchemaImpl.getIndexes(Label label) |
IndexCreator |
SchemaImpl.indexFor(Label label) |
| Constructor and Description |
|---|
BaseConstraintCreator(InternalSchemaActions actions,
Label label) |
BaseConstraintDefinition(InternalSchemaActions actions,
Label label) |
IndexCreatorImpl(InternalSchemaActions actions,
Label label) |
IndexDefinitionImpl(InternalSchemaActions actions,
Label label,
String propertyKey,
boolean constraintIndex) |
PropertyUniqueConstraintDefinition(InternalSchemaActions actions,
Label label,
String propertyKey) |
| 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-2013 The Neo4j Graph Database Project. All Rights Reserved.