LabelScanWriter (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.unsafe.batchinsert

## Interface LabelScanWriter

- All Superinterfaces:
    AutoCloseable, Closeable

      public interface LabelScanWriter
      extends Closeable

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LabelScanWriter` | `EMPTY`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Close this writer and flush pending changes to the store.
    `void` | `write(org.neo4j.kernel.api.labelscan.NodeLabelUpdate update)` Store a `NodeLabelUpdate`.

- - ### Field Detail

    - #### EMPTY

          static final LabelScanWriter EMPTY

  - ### Method Detail

    - #### write

          void write(org.neo4j.kernel.api.labelscan.NodeLabelUpdate update)
                     throws IOException

      Store a `NodeLabelUpdate`. Calls to this method MUST be ordered by ascending node id.
      Throws:
        `IOException`

    - #### close

          void close()
                     throws IOException

      Close this writer and flush pending changes to the store.
      Specified by:
        `close` in interface `AutoCloseable`
      Specified by:
        `close` in interface `Closeable`
      Throws:
        `IOException`

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.