@Immutable public abstract class Nc4ChunkingStrategy extends Object implements Nc4Chunking
Nc4Chunking.Strategy| Modifier and Type | Method and Description |
|---|---|
static Nc4Chunking |
factory(Nc4Chunking.Strategy type,
int deflateLevel,
boolean shuffle) |
int |
getDeflateLevel(Variable v)
Get the deflation level.
|
boolean |
isShuffle(Variable v)
Set true to turn shuffling on which may improve compression.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeChunking, isChunkedpublic static Nc4Chunking factory(Nc4Chunking.Strategy type, int deflateLevel, boolean shuffle)
type - Strategy typedeflateLevel - 0 corresponds to no compression and 9 to maximum compression,shuffle - true to turn shuffling on which may improve compression. This option is ignored unless a non-zero
deflation level is specified.public int getDeflateLevel(Variable v)
Nc4ChunkinggetDeflateLevel in interface Nc4Chunkingpublic boolean isShuffle(Variable v)
Nc4ChunkingisShuffle in interface Nc4Chunking