public interface IHDF5WriterConfigurator extends IHDF5ReaderConfigurator
writer()
.
Obtain an object implementing this interface by calling IHDF5Factory.configure(java.io.File)
.
Modifier and Type | Interface and Description |
---|---|
static class |
IHDF5WriterConfigurator.FileFormatVersion
Enum for specifying a file format version.
|
static class |
IHDF5WriterConfigurator.FileFormatVersionBounds
Enum for specifying the file format version boundaries.
|
static class |
IHDF5WriterConfigurator.SyncMode
The mode of synchronizing changes (using a method like
fsync(2) ) to the HDF5 file with the underlying storage. |
Modifier and Type | Method and Description |
---|---|
IHDF5WriterConfigurator |
dontUseExtendableDataTypes()
Use data types which can not be extended later on.
|
IHDF5WriterConfigurator |
fileFormat(IHDF5WriterConfigurator.FileFormatVersionBounds newFileFormat)
Sets the file format compatibility for the writer.
|
IHDF5WriterConfigurator |
generateMDCImage()
Enables generation of a metadata cache image.
|
IHDF5WriterConfigurator |
houseKeepingNameSuffix(java.lang.String houseKeepingNameSuffix)
Sets the suffix that is used to mark and recognize house keeping files and groups.
|
IHDF5WriterConfigurator |
keepDataSetsIfTheyExist()
On writing a data set, keep the data set if it exists and only write the new data.
|
IHDF5WriterConfigurator |
keepMDCImage()
Keep an existing metadata cache image, but do not generate an MDC if the file has none already.
|
IHDF5WriterConfigurator |
noAutoDereference()
Switches off automatic dereferencing of unresolved references.
|
IHDF5WriterConfigurator |
noGenerateMDCImage()
Disables generation of a metadata cache image.
|
IHDF5WriterConfigurator |
overwrite()
The file will be truncated to length 0 if it already exists, that is its content will be deleted.
|
IHDF5WriterConfigurator |
performNumericConversions()
Will try to perform numeric conversions where appropriate if supported by the platform.
|
IHDF5WriterConfigurator |
syncMode(IHDF5WriterConfigurator.SyncMode newSyncMode)
Sets the
IHDF5WriterConfigurator.SyncMode . |
IHDF5WriterConfigurator |
useSimpleDataSpaceForAttributes()
Use simple data spaces for attributes.
|
IHDF5WriterConfigurator |
useUTF8CharacterEncoding()
Sets UTF8 character encoding for all paths and all strings in this file.
|
IHDF5Writer |
writer()
Returns an
IHDF5Writer based on this configuration. |
platformSupportsNumericConversions, reader
IHDF5WriterConfigurator overwrite()
IHDF5WriterConfigurator dontUseExtendableDataTypes()
IHDF5WriterConfigurator useSimpleDataSpaceForAttributes()
IHDF5WriterConfigurator keepDataSetsIfTheyExist()
_KEEP
variants of
HDF5GenericStorageFeatures
and makes this behavior the default.
If this setting is not given, an existing data set will be deleted before the data set is written.
Note: If this configuration option is chosen, data types and storage features may only apply if the written data set does not yet exist. For example, it may lead to a string value being truncated on write if a string dataset with the same name and shorter length already exists.
IHDF5WriterConfigurator fileFormat(IHDF5WriterConfigurator.FileFormatVersionBounds newFileFormat)
IHDF5WriterConfigurator syncMode(IHDF5WriterConfigurator.SyncMode newSyncMode)
IHDF5WriterConfigurator.SyncMode
.IHDF5WriterConfigurator performNumericConversions()
Numeric conversions can be platform dependent and are not available on all platforms. Be advised not to rely on numeric conversions if you can help it!
performNumericConversions
in interface IHDF5ReaderConfigurator
IHDF5WriterConfigurator generateMDCImage()
Use {#link keepMDCImage()
to only generate an MDC image if the file already has one.
IHDF5WriterConfigurator noGenerateMDCImage()
Use {#link keepMDCImage()
to keep an MDC image if the file already has one but disable it if it does not.
IHDF5WriterConfigurator keepMDCImage()
Use {#link generateMDCImage()
to generate an MDC image regardless of whether the file already has one.
IHDF5WriterConfigurator useUTF8CharacterEncoding()
IHDF5WriterConfigurator noAutoDereference()
IHDF5ReferenceReader.read(String, boolean)
with resolveName=false
in places where a dataset path is required. noAutoDereference
in interface IHDF5ReaderConfigurator
IHDF5WriterConfigurator houseKeepingNameSuffix(java.lang.String houseKeepingNameSuffix)
IHDF5Writer writer()
IHDF5Writer
based on this configuration.