Uses of Interface org.neo4j.graphdb.Label (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

## Uses of Interface
org.neo4j.graphdb.Label

- Packages that use Label
  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.

- - ### Uses of Label in org.neo4j.cypher.export

    Methods in org.neo4j.cypher.export that return types with arguments of type Label
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Label>` | CypherResultSubGraph.`getLabels()`

  - ### Uses of Label in org.neo4j.graphdb

    Classes in org.neo4j.graphdb that implement Label
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DynamicLabel` A dynamically instantiated and named `Label`.

    Methods in org.neo4j.graphdb that return Label
    Modifier and Type | Method and Description
    --- | ---
    `static Label` | DynamicLabel.`label(String labelName)`

    Methods in org.neo4j.graphdb that return types with arguments of type Label
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<Label>` | Node.`getLabels()` Lists all labels attached to this node.

    Methods in org.neo4j.graphdb with parameters of type Label
    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.

  - ### Uses of Label in org.neo4j.graphdb.event

    Methods in org.neo4j.graphdb.event that return Label
    Modifier and Type | Method and Description
    --- | ---
    `Label` | LabelEntry.`label()` This is the label that has been added or removed.

  - ### Uses of Label in org.neo4j.graphdb.schema

    Methods in org.neo4j.graphdb.schema that return Label
    Modifier and Type | Method and Description
    --- | ---
    `Label` | ConstraintDefinition.`getLabel()`
    `Label` | IndexDefinition.`getLabel()`

    Methods in org.neo4j.graphdb.schema with parameters of type Label
    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.

  - ### Uses of Label in org.neo4j.tooling

    Methods in org.neo4j.tooling that return types with arguments of type Label
    Modifier and Type | Method and Description
    --- | ---
    `ResourceIterable<Label>` | GlobalGraphOperations.`getAllLabels()` Returns all labels currently in the underlying store.

    Methods in org.neo4j.tooling with parameters of type Label
    Modifier and Type | Method and Description
    --- | ---
    `ResourceIterable<Node>` | GlobalGraphOperations.`getAllNodesWithLabel(Label label)` Returns all `nodes` with a specific `label`.

  - ### Uses of Label in org.neo4j.unsafe.batchinsert

    Methods in org.neo4j.unsafe.batchinsert that return types with arguments of type Label
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<Label>` | BatchInserter.`getNodeLabels(long node)`
    `Iterable<Label>` | BatchInserterImpl.`getNodeLabels(long node)`

    Methods in org.neo4j.unsafe.batchinsert with parameters of type Label
    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.