public class Nc4ChunkingDefault extends Nc4ChunkingStrategy
Nc4Chunking.Strategy
Constructor and Description |
---|
Nc4ChunkingDefault() |
Nc4ChunkingDefault(int deflateLevel,
boolean shuffle) |
Modifier and Type | Method and Description |
---|---|
long[] |
computeChunking(Variable v) |
int[] |
computeUnlimitedChunking(java.util.List<Dimension> dims,
int elemSize) |
protected long[] |
convertToLong(int[] shape) |
protected int[] |
convertUnlimitedShape(java.util.List<Dimension> dims) |
int |
getDefaultChunkSize() |
int |
getMinChunksize() |
int |
getMinVariableSize() |
boolean |
isChunked(Variable v) |
void |
setDefaultChunkSize(int defaultChunkSize) |
void |
setMinChunksize(int minChunksize) |
void |
setMinVariableSize(int minVariableSize) |
computeChunkingFromAttribute, factory, getChunkAttribute, getDeflateLevel, isShuffle
public Nc4ChunkingDefault()
public Nc4ChunkingDefault(int deflateLevel, boolean shuffle)
public int getDefaultChunkSize()
public void setDefaultChunkSize(int defaultChunkSize)
public int getMinVariableSize()
public void setMinVariableSize(int minVariableSize)
public int getMinChunksize()
public void setMinChunksize(int minChunksize)
public boolean isChunked(Variable v)
public long[] computeChunking(Variable v)
public int[] computeUnlimitedChunking(java.util.List<Dimension> dims, int elemSize)
protected int[] convertUnlimitedShape(java.util.List<Dimension> dims)
protected long[] convertToLong(int[] shape)