@Deprecated public static class FileWriter2.ChunkingIndex extends Index
scalarIndexImmutable
Constructor and Description |
---|
ChunkingIndex(int[] shape)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int[] |
computeChunkShape(long maxChunkElems)
Deprecated.
Computes the shape of the largest possible contiguous chunk, starting at
Index.getCurrentCounter()
and with numElems <= maxChunkElems . |
public int[] computeChunkShape(long maxChunkElems)
Index.getCurrentCounter()
and with numElems <= maxChunkElems
.maxChunkElems
- the maximum number of elements in the chunk shape. The actual element count of the shape
returned is likely to be different, and can be found with Index.computeSize(int[])
.