apoc.generate.config.RelationshipGeneratorConfig Maven / Gradle / Ivy
package apoc.generate.config;
import apoc.generate.relationship.RelationshipGenerator;
/**
* Configuration for a {@link RelationshipGenerator}.
*/
public interface RelationshipGeneratorConfig {
/**
* Get the number of nodes that need to be created before the relationships can be generated and created.
*
* @return number of nodes for this configuration.
*/
int getNumberOfNodes();
/**
* @return true if the config is valid.
*/
boolean isValid();
}