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.LabelScanWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.neo4j.kernel.api.labelscan.LabelScanWriter
IOException
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.