@Test @Category(UnitTest.class) public void testTileidGetOutOfBoundsLow() throws Exception { KVIterator<TileIdWritable, MrGeoRaster> iter = reader.get(new TileIdWritable(111111), new TileIdWritable(112111)); int cnt = 0; while (iter.hasNext()) { cnt++; } Assert.assertEquals("Shouldn't have gotten any tiles!", 0, cnt); }
public KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds) { return new HdfsImageResultScanner(tileBounds, this); }
HdfsMrsImageReader extends MrsImageReader { public KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds) { return new HdfsImageResultScanner(tileBounds, this); } }
HdfsMrsImageReader extends MrsImageReader { public KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds) { return new HdfsImageResultScanner(tileBounds, this); } @SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "check will only be used for reading valid MrsPyramids")  HdfsMrsImageReader(HdfsMrsImageDataProvider provider,
    MrsPyramidReaderContext context); }
HdfsMrsImageReader extends MrsImageReader { public KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds) { return new HdfsImageResultScanner(tileBounds, this); } @SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "check will only be used for reading valid MrsPyramids")  HdfsMrsImageReader(HdfsMrsImageDataProvider provider,
    MrsPyramidReaderContext context); @Override int getZoomlevel(); @Override int getTileSize(); KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds); KVIterator<TileIdWritable, MrGeoRaster> get(TileIdWritable startKey,
    TileIdWritable endKey); @Override boolean canBeCached(); @Override long calculateTileCount(); @Override void close(); @Override boolean exists(TileIdWritable key); @Override KVIterator<TileIdWritable, MrGeoRaster> get(); @SuppressWarnings({"unchecked", "squid:S1166"}) // Exception caught and handled @Override MrGeoRaster get(TileIdWritable key); @Override KVIterator<Bounds, MrGeoRaster> get(Bounds bounds); int getMaxPartitions(); int getPartitionIndex(TileIdWritable key); @SuppressWarnings("squid:S1166") // Exception caught and handled @SuppressFBWarnings(value = "BC_UNCONFIRMED_CAST_OF_RETURN_VALUE", justification = "We _are_ checking!") MapFileReaderWrapper getReaderWrapper(int partitionIndex); }
HdfsMrsImageReader extends MrsImageReader { public KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds) { return new HdfsImageResultScanner(tileBounds, this); } @SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "check will only be used for reading valid MrsPyramids")  HdfsMrsImageReader(HdfsMrsImageDataProvider provider,
    MrsPyramidReaderContext context); @Override int getZoomlevel(); @Override int getTileSize(); KVIterator<TileIdWritable, MrGeoRaster> get(LongRectangle tileBounds); KVIterator<TileIdWritable, MrGeoRaster> get(TileIdWritable startKey,
    TileIdWritable endKey); @Override boolean canBeCached(); @Override long calculateTileCount(); @Override void close(); @Override boolean exists(TileIdWritable key); @Override KVIterator<TileIdWritable, MrGeoRaster> get(); @SuppressWarnings({"unchecked", "squid:S1166"}) // Exception caught and handled @Override MrGeoRaster get(TileIdWritable key); @Override KVIterator<Bounds, MrGeoRaster> get(Bounds bounds); int getMaxPartitions(); int getPartitionIndex(TileIdWritable key); @SuppressWarnings("squid:S1166") // Exception caught and handled @SuppressFBWarnings(value = "BC_UNCONFIRMED_CAST_OF_RETURN_VALUE", justification = "We _are_ checking!") MapFileReaderWrapper getReaderWrapper(int partitionIndex);  }