public class PreexistingIndexEntryConflictException extends IndexEntryConflictException
IndexPopulator.add(long, Object)
, IndexPopulator.update(Iterable)
,
and IndexAccessor.updateAndCommit(Iterable)
) of an index that is unique when a conflicting entry (clashing
with an existing value - violating uniqueness) is being added.Constructor and Description |
---|
PreexistingIndexEntryConflictException(Object propertyValue,
long existingNodeId,
long addedNodeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
evidenceMessage(String labelName,
String propertyKey) |
long |
getAddedNodeId() |
long |
getExistingNodeId() |
Object |
getPropertyValue() |
int |
hashCode() |
String |
toString() |
notAllowed, notAllowed, quote
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PreexistingIndexEntryConflictException(Object propertyValue, long existingNodeId, long addedNodeId)
public Object getPropertyValue()
getPropertyValue
in class IndexEntryConflictException
public String evidenceMessage(String labelName, String propertyKey)
evidenceMessage
in class IndexEntryConflictException
public long getAddedNodeId()
public long getExistingNodeId()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.