public interface IHDF5WriterConfigurator extends IHDF5ReaderConfigurator
writer()
.Modifier and Type | Interface and Description |
---|---|
static class |
IHDF5WriterConfigurator.FileFormat
Specify file format compatibility settings.
|
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.FileFormat newFileFormat)
Sets the file format compatibility for the writer.
|
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 |
noAutoDereference()
Switches off automatic dereferencing of unresolved references.
|
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.FileFormat 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 useUTF8CharacterEncoding()
useUTF8CharacterEncoding
in interface IHDF5ReaderConfigurator
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.