Package org.apache.sis.internal.storage
Class TiledGridResource.CacheKey
java.lang.Object
org.apache.sis.internal.storage.TiledGridResource.CacheKey
- Enclosing class:
TiledGridResource
A key in the
TiledGridResource.rasters
cache of tiles.
Each key shall be unique within its enclosing TiledGridResource
instance.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int[]
Bands in strictly increasing order.private final int
Index in a row-major array of tiles.private final int[]
Subsampling factors at read time.private final int[]
Remainder of subsampling divisions. -
Constructor Summary
ConstructorsConstructorDescriptionCacheKey
(int indexInTileVector, int[] includedBands, int[] subsampling, int[] subsamplingOffsets) Creates a key with given arrays hold be reference (no copy). -
Method Summary
-
Field Details
-
indexInTileVector
private final int indexInTileVectorIndex in a row-major array of tiles. -
includedBands
private final int[] includedBandsBands in strictly increasing order. -
subsampling
private final int[] subsamplingSubsampling factors at read time. -
subsamplingOffsets
private final int[] subsamplingOffsetsRemainder of subsampling divisions.
-
-
Constructor Details
-
CacheKey
CacheKey(int indexInTileVector, int[] includedBands, int[] subsampling, int[] subsamplingOffsets) Creates a key with given arrays hold be reference (no copy).
-
-
Method Details