All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy