Package dev.zarr.zarrjava.v3
Class Group
java.lang.Object
dev.zarr.zarrjava.core.AbstractNode
dev.zarr.zarrjava.core.Group
dev.zarr.zarrjava.v3.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, Attributes attributes) static Groupcreate(StoreHandle storeHandle, GroupMetadata groupMetadata) static Groupstatic Groupcreate(String path, GroupMetadata groupMetadata) static Groupstatic Groupcreate(Path path, GroupMetadata groupMetadata) createArray(String key, ArrayMetadata arrayMetadata) createArray(String key, Function<ArrayMetadataBuilder, ArrayMetadataBuilder> arrayMetadataBuilderMapper) createGroup(String key) createGroup(String key, Attributes attributes) createGroup(String key, GroupMetadata groupMetadata) metadata()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.setAttributes(Attributes newAttributes) toString()updateAttributes(Function<Attributes, Attributes> attributeMapper) 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 or group- 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
public static Group create(@Nonnull StoreHandle storeHandle, @Nonnull Attributes attributes) throws IOException, ZarrException - Throws:
IOExceptionZarrException
-
create
- Throws:
IOExceptionZarrException
-
create
public static Group create(Path path, GroupMetadata groupMetadata) throws IOException, ZarrException - Throws:
IOExceptionZarrException
-
create
public static Group create(String path, GroupMetadata groupMetadata) throws IOException, ZarrException - Throws:
IOExceptionZarrException
-
create
- Throws:
IOExceptionZarrException
-
create
- Throws:
IOExceptionZarrException
-
get
- Specified by:
getin classGroup- Throws:
ZarrException
-
createGroup
- Throws:
IOExceptionZarrException
-
createGroup
- Throws:
IOExceptionZarrException
-
createGroup
- Throws:
IOExceptionZarrException
-
createArray
- Throws:
IOExceptionZarrException
-
createArray
public Array createArray(String key, Function<ArrayMetadataBuilder, ArrayMetadataBuilder> arrayMetadataBuilderMapper) throws IOException, ZarrException- Throws:
IOExceptionZarrException
-
setAttributes
- Throws:
ZarrExceptionIOException
-
updateAttributes
public Group updateAttributes(Function<Attributes, Attributes> attributeMapper) throws ZarrException, IOException- Throws:
ZarrExceptionIOException
-
toString
-
metadata
-