public class ZarrDatasetAttributes extends org.janelia.saalfeldlab.n5.DatasetAttributes
org.janelia.saalfeldlab.n5.DatasetAttributes.Builder, org.janelia.saalfeldlab.n5.DatasetAttributes.DatasetAttributesAdapter| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
fillBytes |
protected ZArrayAttributes |
zarray |
BLOCK_SIZE_KEY, CODEC_KEY, COMPRESSION_KEY, compressionTypeKey, DATA_TYPE_KEY, DIMENSIONS_KEY, N5_DATASET_ATTRIBUTES, SHARD_SIZE_KEY| Constructor and Description |
|---|
ZarrDatasetAttributes(long[] dimensions,
int[] blockSize,
DType dType,
org.janelia.saalfeldlab.n5.Compression compression,
boolean isRowMajor,
String fill_value) |
ZarrDatasetAttributes(long[] dimensions,
int[] blockSize,
DType dType,
org.janelia.saalfeldlab.n5.Compression compression,
boolean isRowMajor,
String fill_value,
String dimensionSeparator) |
ZarrDatasetAttributes(ZArrayAttributes zarray) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,Object> |
asMap() |
static ZArrayAttributes |
createZArrayAttributes(DType dType,
String dimensionSeparator,
char order,
org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes) |
static ZArrayAttributes |
createZArrayAttributes(String dimensionSeparator,
org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes) |
protected org.janelia.saalfeldlab.n5.codec.BlockCodecInfo |
defaultBlockCodecInfo() |
String |
getDimensionSeparator() |
DType |
getDType() |
byte[] |
getFillBytes() |
ZArrayAttributes |
getZArrayAttributes() |
boolean |
isRowMajor() |
String |
relativeBlockPath(long... gridPosition) |
builder, builder, defaultBlockSize, getBlockCodecInfo, getBlockSize, getChunkSize, getCompression, getDataCodecInfos, getDatasetAccess, getDatasetCodecInfos, getDataType, getDefaultValue, getDimensions, getJsonAdapter, getNestedBlockGrid, getNumDimensions, isShardedprotected final ZArrayAttributes zarray
protected final transient byte[] fillBytes
public ZarrDatasetAttributes(ZArrayAttributes zarray)
public ZarrDatasetAttributes(long[] dimensions,
int[] blockSize,
DType dType,
org.janelia.saalfeldlab.n5.Compression compression,
boolean isRowMajor,
String fill_value,
String dimensionSeparator)
public ZarrDatasetAttributes(long[] dimensions,
int[] blockSize,
DType dType,
org.janelia.saalfeldlab.n5.Compression compression,
boolean isRowMajor,
String fill_value)
protected org.janelia.saalfeldlab.n5.codec.BlockCodecInfo defaultBlockCodecInfo()
defaultBlockCodecInfo in class org.janelia.saalfeldlab.n5.DatasetAttributespublic ZArrayAttributes getZArrayAttributes()
public boolean isRowMajor()
public DType getDType()
public byte[] getFillBytes()
public String getDimensionSeparator()
public String relativeBlockPath(long... gridPosition)
relativeBlockPath in class org.janelia.saalfeldlab.n5.DatasetAttributespublic HashMap<String,Object> asMap()
asMap in class org.janelia.saalfeldlab.n5.DatasetAttributespublic static ZArrayAttributes createZArrayAttributes(String dimensionSeparator, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes)
public static ZArrayAttributes createZArrayAttributes(DType dType, String dimensionSeparator, char order, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes)
Copyright © 2019–2026 Saalfeld Lab. All rights reserved.