public Neo4JGraph(Driver driver, Neo4JElementIdProvider<?> vertexIdProvider, Neo4JElementIdProvider<?> edgeIdProvider, Neo4JElementIdProvider<?> propertyIdProvider) {
Objects.requireNonNull(driver, "driver cannot be null");
Objects.requireNonNull(vertexIdProvider, "vertexIdProvider cannot be null");
Objects.requireNonNull(edgeIdProvider, "edgeIdProvider cannot be null");
Objects.requireNonNull(propertyIdProvider, "propertyIdProvider cannot be null");
<BUG>this.partition = new String[0];
this.driver = driver;</BUG>
this.vertexIdProvider = vertexIdProvider;
this.edgeIdProvider = edgeIdProvider;
this.propertyIdProvider = propertyIdProvider;

public Neo4JGraph(Driver driver, Neo4JElementIdProvider<?> vertexIdProvider, Neo4JElementIdProvider<?> edgeIdProvider, Neo4JElementIdProvider<?> propertyIdProvider) {
Objects.requireNonNull(driver, "driver cannot be null");
Objects.requireNonNull(vertexIdProvider, "vertexIdProvider cannot be null");
Objects.requireNonNull(edgeIdProvider, "edgeIdProvider cannot be null");
Objects.requireNonNull(propertyIdProvider, "propertyIdProvider cannot be null");
this.partition = new NoLabelReadPartition();
this.vertexLabels = Collections.emptySet();
this.driver = driver;
this.vertexIdProvider = vertexIdProvider;
this.edgeIdProvider = edgeIdProvider;
this.propertyIdProvider = propertyIdProvider;
