public class UniqueLuceneIndexPopulatingUpdater extends LuceneIndexPopulatingUpdater
LuceneIndexPopulatingUpdater used for unique Lucene schema indexes.
Verifies uniqueness of added and changed values when closed using
SchemaIndex.verifyUniqueness(PropertyAccessor, int[], List) method.| Constructor and Description |
|---|
UniqueLuceneIndexPopulatingUpdater(LuceneIndexWriter writer,
int[] propertyKeyIds,
SchemaIndex luceneIndex,
org.neo4j.kernel.api.index.PropertyAccessor propertyAccessor,
org.neo4j.kernel.impl.api.index.sampling.UniqueIndexSampler sampler) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
process, removepublic UniqueLuceneIndexPopulatingUpdater(LuceneIndexWriter writer, int[] propertyKeyIds, SchemaIndex luceneIndex, org.neo4j.kernel.api.index.PropertyAccessor propertyAccessor, org.neo4j.kernel.impl.api.index.sampling.UniqueIndexSampler sampler)
public void close()
throws IOException,
org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException
IOExceptionorg.neo4j.kernel.api.exceptions.index.IndexEntryConflictExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.