Skip to content

Commit cf105f0

Browse files
committed
added property index_location to ShardingIndexedCodec
1 parent 30bb41d commit cf105f0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/main/java/dev/zarr/zarrjava/v3/codec/core/ShardingIndexedCodec.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,21 @@ public static final class Configuration {
255255
@Nonnull
256256
@JsonProperty("index_codecs")
257257
public final Codec[] indexCodecs;
258+
@Nonnull
259+
@JsonProperty("index_location")
260+
public final String indexLocation;
258261

259262
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
260263
public Configuration(
261-
@JsonProperty(value = "chunk_shape", required = true) int[] chunkShape,
262-
@Nonnull @JsonProperty("codecs") Codec[] codecs,
263-
@Nonnull @JsonProperty("index_codecs") Codec[] indexCodecs
264+
@JsonProperty(value = "chunk_shape", required = true) int[] chunkShape,
265+
@Nonnull @JsonProperty("codecs") Codec[] codecs,
266+
@Nonnull @JsonProperty("index_codecs") Codec[] indexCodecs,
267+
@Nonnull @JsonProperty("index_location") String indexLocation
264268
) {
265269
this.chunkShape = chunkShape;
266270
this.codecs = codecs;
267271
this.indexCodecs = indexCodecs;
272+
this.indexLocation = indexLocation;
268273
}
269274
}
270275

0 commit comments

Comments
 (0)