public class ZarrV3DatasetAttributes extends org.janelia.saalfeldlab.n5.DatasetAttributes implements ZarrV3Node
| Modifier and Type | Class and Description |
|---|---|
static class |
ZarrV3DatasetAttributes.Builder
Builder for constructing
ZarrV3DatasetAttributes instances. |
static class |
ZarrV3DatasetAttributes.ByteOrderAdapter |
static class |
ZarrV3DatasetAttributes.JsonAdapter |
org.janelia.saalfeldlab.n5.DatasetAttributes.DatasetAttributesAdapterZarrV3Node.NodeType| Modifier and Type | Field and Description |
|---|---|
static ZarrV3DatasetAttributes.ByteOrderAdapter |
byteOrderAdapter |
static String |
CHUNK_GRID_KEY |
static String |
CHUNK_KEY_ENCODING_KEY |
protected ChunkAttributes |
chunkAttributes |
static String |
CODECS_KEY |
static String |
DATA_TYPE_KEY |
static String |
DIMENSION_NAMES_KEY |
protected String[] |
dimensionNames |
static String |
FILL_VALUE_KEY |
protected byte[] |
fillBytes |
protected com.google.gson.JsonElement |
fillValue |
static int |
FORMAT |
static ZarrV3DatasetAttributes.JsonAdapter |
jsonAdapter |
static String[] |
REQUIRED_KEYS |
static String |
SHAPE_KEY |
protected ZarrV3DataType |
zarrDataType |
BLOCK_SIZE_KEY, CODEC_KEY, COMPRESSION_KEY, compressionTypeKey, DIMENSIONS_KEY, N5_DATASET_ATTRIBUTES, SHARD_SIZE_KEYATTRIBUTES_KEY, NODE_TYPE_KEY, ZARR_FORMAT_KEYasMap, defaultBlockSize, getBlockCodecInfo, getBlockSize, getChunkSize, getDataCodecInfos, getDatasetAccess, getDatasetCodecInfos, getDataType, getDefaultValue, getDimensions, getJsonAdapter, getNestedBlockGrid, getNumDimensions, isShardedpublic static final String SHAPE_KEY
public static final String FILL_VALUE_KEY
public static final String DATA_TYPE_KEY
public static final String CHUNK_GRID_KEY
public static final String CHUNK_KEY_ENCODING_KEY
public static final String DIMENSION_NAMES_KEY
public static final String CODECS_KEY
public static final int FORMAT
public static final String[] REQUIRED_KEYS
protected final ChunkAttributes chunkAttributes
protected final ZarrV3DataType zarrDataType
protected final com.google.gson.JsonElement fillValue
protected final String[] dimensionNames
protected final transient byte[] fillBytes
public static ZarrV3DatasetAttributes.JsonAdapter jsonAdapter
public static final ZarrV3DatasetAttributes.ByteOrderAdapter byteOrderAdapter
public ZarrV3DatasetAttributes(long[] dimensions,
int[] blockSize,
org.janelia.saalfeldlab.n5.DataType dataType,
org.janelia.saalfeldlab.n5.Compression compression)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] shardSize,
int[] blockSize,
org.janelia.saalfeldlab.n5.DataType dataType,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecs)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] shardSize,
int[] blockSize,
org.janelia.saalfeldlab.n5.DataType dataType,
String[] dimensionNames,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecs)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] blockSize,
org.janelia.saalfeldlab.n5.DataType dataType,
String fillValue,
String[] dimensionNames,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecs)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] shardSize,
int[] blockSize,
org.janelia.saalfeldlab.n5.DataType dataType,
String fillValue,
String[] dimensionNames,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecs)
public ZarrV3DatasetAttributes(long[] dimensions,
ChunkAttributes chunkAttributes,
ZarrV3DataType zarrDataType,
String fillValue,
String[] dimensionNames,
org.janelia.saalfeldlab.n5.codec.BlockCodecInfo blockCodecInfo,
org.janelia.saalfeldlab.n5.codec.DatasetCodecInfo[] datasetCodecInfos,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecInfos)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] chunkShape,
ZarrV3DataType dataType,
String fillValue,
String[] dimensionNames,
DefaultChunkKeyEncoding chunkKeyEncoding,
org.janelia.saalfeldlab.n5.codec.BlockCodecInfo blockCodecInfo,
org.janelia.saalfeldlab.n5.codec.DatasetCodecInfo[] datasetCodecInfos,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecInfos)
public ZarrV3DatasetAttributes(long[] dimensions,
int[] chunkShape,
ZarrV3DataType dataType,
String fillValue,
String[] dimensionNames,
String dimensionSeparator,
org.janelia.saalfeldlab.n5.codec.BlockCodecInfo blockCodecInfo,
org.janelia.saalfeldlab.n5.codec.DatasetCodecInfo[] datasetCodecInfos,
org.janelia.saalfeldlab.n5.codec.DataCodecInfo... dataCodecInfos)
protected org.janelia.saalfeldlab.n5.codec.BlockCodecInfo defaultBlockCodecInfo()
defaultBlockCodecInfo in class org.janelia.saalfeldlab.n5.DatasetAttributesprotected static org.janelia.saalfeldlab.n5.codec.BlockCodecInfo defaultShardCodecInfo(int[] blockSize, org.janelia.saalfeldlab.n5.codec.DataCodecInfo[] dataCodecInfos, org.janelia.saalfeldlab.n5.codec.DataCodecInfo[] shardIndexDataCodecInfos)
protected static org.janelia.saalfeldlab.n5.codec.BlockCodecInfo defaultShardCodecInfo(int[] blockSize, org.janelia.saalfeldlab.n5.codec.DataCodecInfo[] dataCodecInfos)
protected static org.janelia.saalfeldlab.n5.codec.DataCodecInfo[] toZarrV3(org.janelia.saalfeldlab.n5.codec.DataCodecInfo[] dataCodecInfos)
protected static String[] defaultDimensionNames(int nd)
protected static ChunkAttributes defaultChunkAttributes(int[] blockSize)
protected static int[] defaultChunkShape(long[] dimensions)
protected static int[] deepestChunkShape(org.janelia.saalfeldlab.n5.codec.BlockCodecInfo blockCodecInfo)
public static ZarrV3DatasetAttributes from(org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, String dimensionSeparator, String fillValue)
public String relativeBlockPath(long... gridPosition)
relativeBlockPath in class org.janelia.saalfeldlab.n5.DatasetAttributes@Deprecated public org.janelia.saalfeldlab.n5.Compression getCompression()
getCompression in class org.janelia.saalfeldlab.n5.DatasetAttributespublic ChunkAttributes getChunkAttributes()
public ZarrV3DataType getDType()
public int getZarrFormat()
public String getFillValue()
public String[] getDimensionNames()
public byte[] getFillBytes()
public ZarrV3Node.NodeType getType()
getType in interface ZarrV3Nodepublic static ZarrV3DatasetAttributes.Builder builder(long[] dimensions, org.janelia.saalfeldlab.n5.DataType dataType)
public static ZarrV3DatasetAttributes.Builder builder(org.janelia.saalfeldlab.n5.DatasetAttributes attributes)
Copyright © 2019–2026 Saalfeld Lab. All rights reserved.