public class PartitionedLuceneLabelScanWriter extends Object implements org.neo4j.kernel.api.labelscan.LabelScanWriter
Writer chooses writable partition based on the given nodeId and configured parameter
MAXIMUM_PARTITION_SIZE.
Additional partitions are created on-demand, if needed.
| Constructor and Description |
|---|
PartitionedLuceneLabelScanWriter(WritableDatabaseLabelScanIndex index,
BitmapDocumentFormat format) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(org.neo4j.kernel.api.labelscan.NodeLabelUpdate update) |
public PartitionedLuceneLabelScanWriter(WritableDatabaseLabelScanIndex index, BitmapDocumentFormat format)
public void write(org.neo4j.kernel.api.labelscan.NodeLabelUpdate update)
throws IOException
write in interface org.neo4j.kernel.api.labelscan.LabelScanWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.neo4j.kernel.api.labelscan.LabelScanWriterIOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.