public abstract class CdsMocBuilder extends Object implements MocBuilder
Modifier | Constructor and Description |
---|---|
protected |
CdsMocBuilder(int maxOrder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static MocBuilder |
createCdsMocBuilder(int maxOrder,
int batchSize)
Returns an instance of this class that may or may not use
tile batching to affect performance.
|
PrimitiveIterator.OfLong |
createOrderedUniqIterator()
Returns an iterator over the UNIQ values represented by this MOC
in sequence.
|
long[] |
getOrderCounts()
Returns an array of the number of tiles present at each order
of the normalised MOC.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTile, endTiles
protected CdsMocBuilder(int maxOrder)
maxOrder
- maximum order stored by this MOCpublic PrimitiveIterator.OfLong createOrderedUniqIterator()
MocBuilder
Should only be called after MocBuilder.endTiles()
has been called.
createOrderedUniqIterator
in interface MocBuilder
public long[] getOrderCounts()
MocBuilder
MocBuilder.createOrderedUniqIterator()
.
Should only be called after MocBuilder.endTiles()
has been called.
getOrderCounts
in interface MocBuilder
public static MocBuilder createCdsMocBuilder(int maxOrder, int batchSize)
maxOrder
- maximum HEALPix order of the MOCbatchSize
- if >1, pixels are added in batches per order,
which may result in improved performanceCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.