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 intgetDeflateLevel(Variable v)Get the deflation level.booleanisChunked(Variable v)Should this variable be chunked?booleanisShuffle(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:Nc4ChunkingShould this variable be chunked?- Specified by:
isChunkedin interfaceNc4Chunking- Overrides:
isChunkedin classNc4ChunkingDefault
-
getDeflateLevel
public int getDeflateLevel(Variable v)
Description copied from interface:Nc4ChunkingGet the deflation level. 0 corresponds to no compression and 9 to maximum compression.- Specified by:
getDeflateLevelin interfaceNc4Chunking- Overrides:
getDeflateLevelin classNc4ChunkingStrategy
-
isShuffle
public boolean isShuffle(Variable v)
Description copied from interface:Nc4ChunkingSet true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.- Specified by:
isShufflein interfaceNc4Chunking- Overrides:
isShufflein classNc4ChunkingStrategy
-
-