Package dev.zarr.zarrjava.v2
Class Group
java.lang.Object
dev.zarr.zarrjava.core.AbstractNode
dev.zarr.zarrjava.core.Group
dev.zarr.zarrjava.v2.Group
-
Field Summary
FieldsFields inherited from class dev.zarr.zarrjava.core.AbstractNode
storeHandle -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGroup(StoreHandle storeHandle, GroupMetadata groupMetadata) -
Method Summary
Modifier and TypeMethodDescriptionstatic Groupcreate(StoreHandle storeHandle) static Groupcreate(StoreHandle storeHandle, GroupMetadata groupMetadata) static Groupstatic GroupcreateArray(String key, ArrayMetadata arrayMetadata) createArray(String key, Function<ArrayMetadataBuilder, ArrayMetadataBuilder> arrayMetadataBuilderMapper) createGroup(String key) static Groupopen(StoreHandle storeHandle) Opens an existing Zarr array or group at a specified storage location.static GroupOpens an existing Zarr array or group at a specified storage location.static GroupOpens an existing Zarr array or group at a specified storage location.toString()Methods inherited from class dev.zarr.zarrjava.core.Group
list, listAsArray
-
Field Details
-
metadata
-
-
Constructor Details
-
Group
protected Group(@Nonnull StoreHandle storeHandle, @Nonnull GroupMetadata groupMetadata) throws IOException - Throws:
IOException
-
-
Method Details
-
open
Description copied from interface:NodeOpens an existing Zarr array or group at a specified storage location.- Parameters:
storeHandle- the storage location of the Zarr array- Throws:
IOException- throws IOException if the metadata cannot be read
-
open
Description copied from interface:NodeOpens 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
-
open
Description copied from interface:NodeOpens 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
-
create
public static Group create(@Nonnull StoreHandle storeHandle, @Nonnull GroupMetadata groupMetadata) throws IOException - Throws:
IOException
-
create
- Throws:
IOExceptionZarrException
-
create
- Throws:
IOExceptionZarrException
-
create
- Throws:
IOExceptionZarrException
-
get
- Specified by:
getin classGroup- Throws:
ZarrException
-
createGroup
- Throws:
IOExceptionZarrException
-
createArray
- Throws:
IOExceptionZarrException
-
createArray
public Array createArray(String key, Function<ArrayMetadataBuilder, ArrayMetadataBuilder> arrayMetadataBuilderMapper) throws IOException, ZarrException- Throws:
IOExceptionZarrException
-
toString
-