Interface Node

All Superinterfaces:
Node
All Known Implementing Classes:
Array, Group

public interface Node extends Node
  • Field Summary

    Fields inherited from interface dev.zarr.zarrjava.core.Node

    ZARR_JSON, ZARRAY, ZGROUP
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.ObjectMapper
     
    static Node
    open(StoreHandle storeHandle)
    Opens an existing Zarr array or group at a specified storage location.
    static Node
    open(String path)
    Opens an existing Zarr array or group at a specified storage location.
    static Node
    open(Path path)
    Opens an existing Zarr array or group at a specified storage location.
  • Method Details

    • makeObjectMapper

      static com.fasterxml.jackson.databind.ObjectMapper makeObjectMapper()
    • open

      static Node open(StoreHandle storeHandle) throws IOException, ZarrException
      Opens an existing Zarr array or group at a specified storage location.
      Parameters:
      storeHandle - the storage location of the Zarr array or group
      Throws:
      IOException - throws IOException if the metadata cannot be read
      ZarrException - throws ZarrException if the Zarr array or group cannot be opened
    • open

      static Node open(Path path) throws IOException, ZarrException
      Description copied from interface: Node
      Opens an existing Zarr array or group at a specified storage location. Automatically detects the Zarr version.
      Parameters:
      path - the storage location of the Zarr array
      Throws:
      IOException - throws IOException if the metadata cannot be read
      ZarrException - throws ZarrException if the Zarr array cannot be opened
    • open

      static Node open(String path) throws IOException, ZarrException
      Description copied from interface: Node
      Opens an existing Zarr array or group at a specified storage location. Automatically detects the Zarr version.
      Parameters:
      path - the storage location of the Zarr array
      Throws:
      IOException - throws IOException if the metadata cannot be read
      ZarrException - throws ZarrException if the Zarr array cannot be opened