|
19 | 19 | */
|
20 | 20 | package org.neo4j.gds.procedures.catalog;
|
21 | 21 |
|
| 22 | +import com.fasterxml.jackson.annotation.JsonProperty; |
22 | 23 | import org.neo4j.gds.api.GraphStore;
|
23 | 24 | import org.neo4j.gds.config.GraphProjectConfig;
|
24 | 25 | import org.neo4j.gds.core.loading.DegreeDistribution;
|
@@ -48,18 +49,18 @@ public class GraphInfo {
|
48 | 49 | public final Map<String, Object> schemaWithOrientation;
|
49 | 50 |
|
50 | 51 | public GraphInfo(
|
51 |
| - String graphName, |
52 |
| - String database, |
53 |
| - String databaseLocation, |
54 |
| - Map<String, Object> configuration, |
55 |
| - String memoryUsage, |
56 |
| - long sizeInBytes, |
57 |
| - long nodeCount, |
58 |
| - long relationshipCount, |
59 |
| - ZonedDateTime creationTime, |
60 |
| - ZonedDateTime modificationTime, |
61 |
| - Map<String, Object> schema, |
62 |
| - Map<String, Object> schemaWithOrientation |
| 52 | + @JsonProperty("graphName") String graphName, |
| 53 | + @JsonProperty("database") String database, |
| 54 | + @JsonProperty("databaseLocation") String databaseLocation, |
| 55 | + @JsonProperty("configuration") Map<String, Object> configuration, |
| 56 | + @JsonProperty("memoryUsage") String memoryUsage, |
| 57 | + @JsonProperty("sizeInBytes") long sizeInBytes, |
| 58 | + @JsonProperty("nodeCount") long nodeCount, |
| 59 | + @JsonProperty("relationshipCount") long relationshipCount, |
| 60 | + @JsonProperty("creationTime") ZonedDateTime creationTime, |
| 61 | + @JsonProperty("modificationTime") ZonedDateTime modificationTime, |
| 62 | + @JsonProperty("schema") Map<String, Object> schema, |
| 63 | + @JsonProperty("schemaWithOrientation") Map<String, Object> schemaWithOrientation |
63 | 64 | ) {
|
64 | 65 | this.graphName = graphName;
|
65 | 66 | this.database = database;
|
|
0 commit comments