Package ucar.nc2.write
Class Nc4ChunkingStrategyNone
- java.lang.Object
-
- ucar.nc2.write.Nc4ChunkingStrategy
-
- ucar.nc2.write.Nc4ChunkingDefault
-
- ucar.nc2.write.Nc4ChunkingStrategyNone
-
- All Implemented Interfaces:
Nc4Chunking
public class Nc4ChunkingStrategyNone extends Nc4ChunkingDefault
No chunking is done, except for unlimited variables.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.write.Nc4Chunking
Nc4Chunking.Strategy
-
-
Constructor Summary
Constructors Constructor Description Nc4ChunkingStrategyNone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeflateLevel(Variable v)
Get the deflation level.boolean
isChunked(Variable v)
Should this variable be chunked?boolean
isShuffle(Variable v)
Set true to turn shuffling on which may improve compression.-
Methods inherited from class ucar.nc2.write.Nc4ChunkingDefault
computeChunking, computeUnlimitedChunking, convertToLong, convertUnlimitedShape, getDefaultChunkSize, getMinChunksize, getMinVariableSize, setDefaultChunkSize, setMinChunksize, setMinVariableSize
-
Methods inherited from class ucar.nc2.write.Nc4ChunkingStrategy
computeChunkingFromAttribute, factory, getChunkAttribute
-
-
-
-
Method Detail
-
isChunked
public boolean isChunked(Variable v)
Description copied from interface:Nc4Chunking
Should this variable be chunked?- Specified by:
isChunked
in interfaceNc4Chunking
- Overrides:
isChunked
in classNc4ChunkingDefault
-
getDeflateLevel
public int getDeflateLevel(Variable v)
Description copied from interface:Nc4Chunking
Get the deflation level. 0 corresponds to no compression and 9 to maximum compression.- Specified by:
getDeflateLevel
in interfaceNc4Chunking
- Overrides:
getDeflateLevel
in classNc4ChunkingStrategy
-
isShuffle
public boolean isShuffle(Variable v)
Description copied from interface:Nc4Chunking
Set true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.- Specified by:
isShuffle
in interfaceNc4Chunking
- Overrides:
isShuffle
in classNc4ChunkingStrategy
-
-