Skip to content

Commit

Permalink
Add annotations to serialize IndexMethodModel correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens committed Dec 23, 2024
1 parent 57017c5 commit 2e986a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/org/polypheny/db/adapter/DataStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.polypheny.db.adapter;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializer;
import java.util.ArrayList;
Expand Down Expand Up @@ -54,7 +55,7 @@ public DataStore( final long adapterId, final String uniqueName, final Map<Strin
public abstract List<FunctionalIndexInfo> getFunctionalIndexes( LogicalTable catalogTable );


public record IndexMethodModel( String name, String displayName ) {
public record IndexMethodModel( @JsonProperty String name, @JsonProperty String displayName ) {

}

Expand Down

0 comments on commit 2e986a9

Please sign in to comment.