public interface GraphConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeMapping(int distance,
java.util.Collection<NodeMapping> nodeMapping)
Adds a Collection of
NodeMapping under a specific distance. |
void |
addNodeMapping(int distance,
NodeMapping nodeMapping)
Adds a
NodeMapping under a specific distance. |
NodeMapping |
getNodeMapping(java.lang.Class<?> type)
Returns the
NodeMapping which was configured on root-level base. |
NodeMapping |
getNodeMapping(int distance,
java.lang.Class<?> type)
Returns the
NodeMapping for a requested node type and requested distance when that mapping shall be used. |
void addNodeMapping(int distance,
NodeMapping nodeMapping)
NodeMapping under a specific distance. Distance specifies the level of processing depth when this
mapping shall become active.distance - processing distance when NodeMapping shall become activatednodeMapping - NodeMapping to addvoid addNodeMapping(int distance,
java.util.Collection<NodeMapping> nodeMapping)
NodeMapping under a specific distance. Distance specifies the level of processing
depth when this mapping shall become active.distance - processing distance when NodeMapping shall become activatednodeMapping - NodeMapping to addNodeMapping getNodeMapping(java.lang.Class<?> type)
NodeMapping which was configured on root-level base.
This call equals getNodeMapping(int, Class) with a distance level of zero.type - type of nodeNodeMappingNodeMapping getNodeMapping(int distance, java.lang.Class<?> type)
NodeMapping for a requested node type and requested distance when that mapping shall be used.
A NodeMapping which was added under e.g. distance 2 is not returned here when requesting it under distance
level 3 (this only works at runtime during graph processing)distance - type - Copyright © 2018 SAP SE. All Rights Reserved.