Package org.neo4j.graphalgo.config
Interface GraphWriteNodePropertiesConfig
-
- All Superinterfaces:
AlgoBaseConfig
,BaseConfig
,ConcurrencyValidation
,WriteConfig
- All Known Subinterfaces:
GraphRemoveNodePropertiesConfig
@Configuration("GraphWriteNodePropertiesConfigImpl") public interface GraphWriteNodePropertiesConfig extends WriteConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.graphalgo.config.ConcurrencyValidation
ConcurrencyValidation.Validator
-
-
Field Summary
-
Fields inherited from interface org.neo4j.graphalgo.config.AlgoBaseConfig
CONCURRENCY_KEY, DEFAULT_CONCURRENCY, NODE_LABELS_KEY
-
Fields inherited from interface org.neo4j.graphalgo.config.BaseConfig
SUDO_KEY
-
Fields inherited from interface org.neo4j.graphalgo.config.ConcurrencyValidation
CONCURRENCY_LIMITATION
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<java.lang.String>
nodeLabels()
java.util.List<java.lang.String>
nodeProperties()
static GraphWriteNodePropertiesConfig
of(java.lang.String userName, java.lang.String graphName, java.util.List<java.lang.String> nodeProperties, java.util.List<java.lang.String> nodeLabels, org.neo4j.graphalgo.core.CypherMapWrapper config)
default void
validate(GraphStore graphStore)
default java.util.Collection<NodeLabel>
validNodeLabels(GraphStore graphStore)
Returns the node labels that are to be considered for writing properties.default int
writeConcurrency()
-
Methods inherited from interface org.neo4j.graphalgo.config.AlgoBaseConfig
concurrency, graphName, implicitCreateConfig, nodeLabelIdentifiers, relationshipTypeIdentifiers, relationshipTypes
-
Methods inherited from interface org.neo4j.graphalgo.config.BaseConfig
configKeys, sudo, toMap, username
-
Methods inherited from interface org.neo4j.graphalgo.config.ConcurrencyValidation
validateConcurrency
-
-
-
-
Method Detail
-
nodeProperties
@Parameter java.util.List<java.lang.String> nodeProperties()
-
nodeLabels
@Parameter @Default default java.util.List<java.lang.String> nodeLabels()
- Specified by:
nodeLabels
in interfaceAlgoBaseConfig
-
writeConcurrency
@Default default int writeConcurrency()
- Specified by:
writeConcurrency
in interfaceWriteConfig
-
of
static GraphWriteNodePropertiesConfig of(java.lang.String userName, java.lang.String graphName, java.util.List<java.lang.String> nodeProperties, java.util.List<java.lang.String> nodeLabels, org.neo4j.graphalgo.core.CypherMapWrapper config)
-
validate
@Ignore default void validate(GraphStore graphStore)
-
validNodeLabels
@Ignore default java.util.Collection<NodeLabel> validNodeLabels(GraphStore graphStore)
Returns the node labels that are to be considered for writing properties. If nodeLabels contains '*`, this returns all node labels in the graph store that have the specified nodeProperties. Otherwise, it just returns all the labels in the graph store since validation made sure that all node labels have the specified properties.
-
-