public interface CypherModificationProvider
Function. As an optional step, overwrite the getOrder() method in case you have
multiple modifications on the class path. The lower the value it returns, the higher it's priority. Higher priority
means modification is applied first.META-INF/services/org.neo4j.ogm.spi.CypherModificationProvider in your module containing the fully qualified
name of your CypherModificationProvider-Implementation.getCypherModification(Map)} the Cypher modification itself is supposed to happend.
The function is called with the Cypher string generated by OGM or passed to the Session interface and is then supposed
to return a non null, non empty string.getCypherModification(Map)} contains arbitrary properties from OGMs
Configuration. Those can be set programmatically in any way necessary. Use those properties
to configure your Cypher modification as needed.| Modifier and Type | Method and Description |
|---|---|
Function<String,String> |
getCypherModification(Map<String,Object> configuration)
Called by OGM to retrieve the actual Cypher modification.
|
default int |
getOrder()
Get the order value of this object.
|
default int getOrder()
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.