public class N5ZarrReader extends ZarrKeyValueReader
org.janelia.saalfeldlab.n5.N5Reader.Version| Modifier and Type | Field and Description |
|---|---|
protected static org.janelia.saalfeldlab.n5.N5Reader.Version |
VERSION |
cache, cacheMeta, datasetAttributesMap, dimensionSeparator, gson, keyValueAccess, mapN5DatasetAttributes, mergeAttributes, uri, VERSION_ZERO, ZARR_FORMAT_KEY, ZARRAY_FILE, ZATTRS_FILE, ZGROUP_FILENO_VERSION, VERSION_KEY| Constructor and Description |
|---|
N5ZarrReader(String basePath)
Opens an
N5ZarrReader at a given base path. |
N5ZarrReader(String basePath,
boolean cacheMeta)
Opens an
N5ZarrReader at a given base path. |
N5ZarrReader(String basePath,
com.google.gson.GsonBuilder gsonBuilder)
Opens an
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes. |
N5ZarrReader(String basePath,
com.google.gson.GsonBuilder gsonBuilder,
boolean cacheMeta)
Opens an
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes. |
N5ZarrReader(String basePath,
com.google.gson.GsonBuilder gsonBuilder,
boolean mapN5DatasetAttributes,
boolean mergeAttributes,
boolean cacheMeta)
Opens an
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes. |
addTypeAdapters, cacheMeta, combine, combineAll, createDatasetAttributes, datasetExists, exists, existsFromContainer, getAttribute, getAttribute, getAttributes, getAttributesFromContainer, getAttributesKey, getAttributesUnmapped, getCache, getConvertedDatasetAttributes, getDatasetAttributes, getGson, getJsonResource, getKeyValueAccess, getURI, getVersion, getVersion, getZArray, getZArrayAttributes, getZArrayAttributes, getZAttributes, getZGroup, groupExists, isDatasetFromAttributes, isDatasetFromContainer, isGroupFromAttributes, isGroupFromContainer, n5ToZarrDatasetAttributes, newCache, reverseAttrsWhenCOrder, toString, zarrToN5DatasetAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexistsFromContainer, hasDatasetAttributes, list, listFromContainer, normalGetDatasetAttributesabsoluteAttributesPath, absoluteGroupPath, blockExists, readBlock, readChunk, readChunkslistAttributesclose, deepList, deepList, deepList, deepList, deepList, deepListDatasets, deepListDatasets, deepListDatasets, deepListDatasets, deepListHelper, getGroupSeparator, groupPath, readSerializedBlockprotected static org.janelia.saalfeldlab.n5.N5Reader.Version VERSION
public N5ZarrReader(String basePath, com.google.gson.GsonBuilder gsonBuilder, boolean mapN5DatasetAttributes, boolean mergeAttributes, boolean cacheMeta) throws org.janelia.saalfeldlab.n5.N5Exception
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes.basePath - Zarr base pathgsonBuilder - the gson buildermapN5DatasetAttributes - If true, getAttributes and variants of getAttribute methods will
contain keys used by n5 datasets, and whose values are those for
their corresponding zarr fields. For example, if true, the key "dimensions"
(from n5) may be used to obtain the value of the key "shape" (from zarr).mergeAttributes - If true, fields from .zgroup, .zarray, and .zattrs will be merged
when calling getAttributes, and variants of getAttributecacheMeta - cache attributes and meta data
Setting this to true avoids frequent reading and parsing of JSON
encoded attributes and other meta data that requires accessing the
store. This is most interesting for high latency backends. Changes
of cached attributes and meta data by an independent writer on the
same container will not be tracked.org.janelia.saalfeldlab.n5.N5Exception - if the base path cannot be read or does not exist,
if the N5 version of the container is not compatible with this
implementation.public N5ZarrReader(String basePath, com.google.gson.GsonBuilder gsonBuilder, boolean cacheMeta) throws org.janelia.saalfeldlab.n5.N5Exception
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes.basePath - Zarr base pathgsonBuilder - cacheMeta - cache attributes and meta data
Setting this to true avoids frequent reading and parsing of JSON
encoded attributes and other meta data that requires accessing the
store. This is most interesting for high latency backends. Changes
of cached attributes and meta data by an independent writer on the
same container will not be tracked.org.janelia.saalfeldlab.n5.N5Exception - if the base path cannot be read or does not exist,
if the N5 version of the container is not compatible with this
implementation.public N5ZarrReader(String basePath, boolean cacheMeta) throws org.janelia.saalfeldlab.n5.N5Exception
N5ZarrReader at a given base path.basePath - N5 base pathcacheMeta - cache attributes and meta data
Setting this to true avoids frequent reading and parsing of JSON
encoded attributes and other meta data that requires accessing the
store. This is most interesting for high latency backends. Changes
of cached attributes and meta data by an independent writer on the
same container will not be tracked.org.janelia.saalfeldlab.n5.N5Exception - if the base path cannot be read or does not exist,
if the N5 version of the container is not compatible with this
implementation.public N5ZarrReader(String basePath, com.google.gson.GsonBuilder gsonBuilder) throws org.janelia.saalfeldlab.n5.N5Exception
N5ZarrReader at a given base path with a custom
GsonBuilder to support custom attributes.basePath - N5 base pathgsonBuilder - org.janelia.saalfeldlab.n5.N5Exception - if the base path cannot be read or does not exist,
if the N5 version of the container is not compatible with this
implementation.public N5ZarrReader(String basePath) throws org.janelia.saalfeldlab.n5.N5Exception
N5ZarrReader at a given base path.basePath - N5 base pathorg.janelia.saalfeldlab.n5.N5Exception - if the base path cannot be read or does not exist,
if the N5 version of the container is not compatible with this
implementation.Copyright © 2019–2026 Saalfeld Lab. All rights reserved.