public static final class HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder
extends ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
Constructor and Description |
---|
HDF5FloatStorageFeatureBuilder() |
HDF5FloatStorageFeatureBuilder(ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures template) |
Modifier and Type | Method and Description |
---|---|
ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder |
chunkedStorageLayout()
Set a chunked layout for the dataset.
|
ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder |
compactStorageLayout()
Set a compact layout for the dataset.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
compress()
Compress the dataset with default deflation level.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
compress(boolean compress)
Compresses the dataset with default deflation level, if
compress==true , do
not compress if compress==false . |
ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder |
contiguousStorageLayout()
Set a contiguous layout for the dataset.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
datasetReplacementEnforceKeepExisting()
Set the dataset replacement policy for existing datasets to
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.ENFORCE_KEEP_EXISTING
. |
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
datasetReplacementEnforceReplaceWithNew()
Set the dataset replacement policy for existing datasets to
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.ENFORCE_REPLACE_WITH_NEW
. |
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
datasetReplacementPolicy(ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.DataSetReplacementPolicy datasetReplacementPolicy)
Set the dataset replacement policy for existing datasets.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
datasetReplacementUseWriterDefault()
Set the dataset replacement policy for existing datasets to
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.USE_WRITER_DEFAULT
. |
ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder |
defaultStorageLayout()
Let a heuristic choose the right layout for the dataset.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
deflateLevel(byte deflateLevel)
Compresses this dataset with the given deflateLevel.
|
HDF5FloatStorageFeatures |
features()
Returns the storage features corresponding to this builder's values.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
noScaling()
Disables the scaling pre-filter.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
scalingFactor(byte scalingFactor)
Sets the scaling factor for an integer scaling pre-filter.
|
ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder |
shuffleBeforeDeflate()
Sets a shuffling pre-filter for deflation.
|
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
shuffleBeforeDeflate(boolean shuffleBeforeDeflate)
Sets a shuffling pre-filter for deflation if
shuffleBeforeDeflate==true and
disables it if shuffleBeforeDeflate==false . |
HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder |
storageLayout(HDF5StorageLayout proposedLayout)
Set the layout for the dataset.
|
public HDF5FloatStorageFeatureBuilder()
public HDF5FloatStorageFeatureBuilder(ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures template)
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder compress(boolean compress)
compress==true
, do
not compress if compress==false
.compress
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder compress()
compress
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder deflateLevel(byte deflateLevel)
NO_DEFLATION_LEVEL
means: do not compress. A good default value is
DEFAULT_DEFLATION_LEVEL
, the maximum value supported is
MAX_DEFLATION_LEVEL
.deflateLevel
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder scalingFactor(byte scalingFactor)
scalingFactor
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder noScaling()
noScaling
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder shuffleBeforeDeflate(boolean shuffleBeforeDeflate)
shuffleBeforeDeflate==true
and
disables it if shuffleBeforeDeflate==false
. Theshuffling pre-filter may
improve the compression level but may also increase the compression time.
Only takes effect if compression is switched on.
shuffleBeforeDeflate
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder shuffleBeforeDeflate()
Only takes effect if compression is switched on.
shuffleBeforeDeflate
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
compress()
,
deflateLevel(byte)
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder storageLayout(HDF5StorageLayout proposedLayout)
storageLayout
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder compactStorageLayout()
compactStorageLayout
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder contiguousStorageLayout()
contiguousStorageLayout
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder chunkedStorageLayout()
chunkedStorageLayout
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder defaultStorageLayout()
defaultStorageLayout
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder datasetReplacementPolicy(ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.DataSetReplacementPolicy datasetReplacementPolicy)
datasetReplacementPolicy
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder datasetReplacementUseWriterDefault()
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.USE_WRITER_DEFAULT
.datasetReplacementUseWriterDefault
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder datasetReplacementEnforceKeepExisting()
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.ENFORCE_KEEP_EXISTING
.datasetReplacementEnforceKeepExisting
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures.HDF5FloatStorageFeatureBuilder datasetReplacementEnforceReplaceWithNew()
HDF5AbstractStorageFeatures.DataSetReplacementPolicy.ENFORCE_REPLACE_WITH_NEW
.datasetReplacementEnforceReplaceWithNew
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder
public HDF5FloatStorageFeatures features()
features
in class ch.systemsx.cisd.hdf5.HDF5AbstractStorageFeatures.HDF5AbstractStorageFeatureBuilder