public class TranslatedN5Writer extends TranslatedN5Reader implements org.janelia.saalfeldlab.n5.GsonN5Writer
org.janelia.saalfeldlab.n5.N5Writer.DataBlockSupplier<T>org.janelia.saalfeldlab.n5.N5Reader.Version| Modifier and Type | Field and Description |
|---|---|
protected ContainerMetadataWriter |
containerWriter |
protected org.janelia.saalfeldlab.n5.GsonN5Writer |
writer |
translationNO_VERSION, VERSION, VERSION_KEY| Constructor and Description |
|---|
TranslatedN5Writer(org.janelia.saalfeldlab.n5.GsonN5Writer n5Base,
com.google.gson.Gson gson,
String fwdTranslation,
String invTranslation) |
blockExists, exists, getAttributes, getAttributesKey, getGson, getTranslation, getURI, groupPath, list, listAttributes, originalPath, readBlock, readChunkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDatasetAttributes, getAttribute, getAttribute, getAttributes, getAttributesKey, getDatasetAttributes, getGson, listAttributescreateDataset, createDataset, deleteChunks, setDatasetAttributes, setVersion, writeChunks, writeSerializedBlockblockExists, close, datasetExists, deepList, deepList, deepList, deepList, deepList, deepListDatasets, deepListDatasets, deepListDatasets, deepListDatasets, deepListHelper, exists, getConvertedDatasetAttributes, getGroupSeparator, getURI, getVersion, groupPath, list, readBlock, readChunk, readChunks, readSerializedBlockprotected org.janelia.saalfeldlab.n5.GsonN5Writer writer
protected ContainerMetadataWriter containerWriter
public TranslatedN5Writer(org.janelia.saalfeldlab.n5.GsonN5Writer n5Base, com.google.gson.Gson gson, String fwdTranslation, String invTranslation)
public org.janelia.saalfeldlab.n5.N5Writer getBaseWriter()
public <T> void setAttribute(String pathName, String key, T attribute)
setAttribute in interface org.janelia.saalfeldlab.n5.N5Writerpublic void setAttributes(String pathName, Map<String,?> attributes)
setAttributes in interface org.janelia.saalfeldlab.n5.N5Writerpublic void setAttributes(String groupPath, com.google.gson.JsonElement attributes) throws org.janelia.saalfeldlab.n5.N5Exception
setAttributes in interface org.janelia.saalfeldlab.n5.GsonN5Writerorg.janelia.saalfeldlab.n5.N5Exceptionpublic void createGroup(String pathName)
createGroup in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean remove(String pathName)
remove in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean remove()
remove in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean removeAttribute(String pathName, String key)
removeAttribute in interface org.janelia.saalfeldlab.n5.N5Writerpublic <T> T removeAttribute(String pathName, String key, Class<T> clazz)
removeAttribute in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean removeAttributes(String pathName, List<String> attributes)
removeAttributes in interface org.janelia.saalfeldlab.n5.N5Writerpublic <T> void writeChunk(String pathName, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, org.janelia.saalfeldlab.n5.DataBlock<T> dataBlock)
writeChunk in interface org.janelia.saalfeldlab.n5.N5Writerpublic <T> void writeBlock(String pathName, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, org.janelia.saalfeldlab.n5.DataBlock<T> dataBlock)
writeBlock in interface org.janelia.saalfeldlab.n5.N5Writerpublic <T> void writeRegion(String datasetPath, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, long[] min, long[] size, org.janelia.saalfeldlab.n5.N5Writer.DataBlockSupplier<T> dataBlocks, boolean writeFully) throws org.janelia.saalfeldlab.n5.N5Exception
writeRegion in interface org.janelia.saalfeldlab.n5.N5Writerorg.janelia.saalfeldlab.n5.N5Exceptionpublic <T> void writeRegion(String datasetPath, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, long[] min, long[] size, org.janelia.saalfeldlab.n5.N5Writer.DataBlockSupplier<T> dataBlocks, boolean writeFully, ExecutorService exec) throws org.janelia.saalfeldlab.n5.N5Exception, InterruptedException, ExecutionException
writeRegion in interface org.janelia.saalfeldlab.n5.N5Writerorg.janelia.saalfeldlab.n5.N5ExceptionInterruptedExceptionExecutionExceptionpublic boolean deleteChunk(String pathName, long... gridPosition)
deleteChunk in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean deleteChunk(String datasetPath, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, long... gridPosition) throws org.janelia.saalfeldlab.n5.N5Exception
deleteChunk in interface org.janelia.saalfeldlab.n5.N5Writerorg.janelia.saalfeldlab.n5.N5Exceptionpublic boolean deleteBlock(String pathName, long... gridPosition)
deleteBlock in interface org.janelia.saalfeldlab.n5.N5Writerpublic boolean deleteBlock(String datasetPath, org.janelia.saalfeldlab.n5.DatasetAttributes datasetAttributes, long... gridPosition) throws org.janelia.saalfeldlab.n5.N5Exception
deleteBlock in interface org.janelia.saalfeldlab.n5.N5Writerorg.janelia.saalfeldlab.n5.N5ExceptionCopyright © 2021–2026 Saalfeld Lab. All rights reserved.