public abstract class CdsMocBuilder extends Object implements MocBuilder
| Modifier and Type | Field and Description |
|---|---|
static int |
CDSMOC_BUFSIZ |
| Modifier | Constructor and Description |
|---|---|
protected |
CdsMocBuilder(cds.moc.Moc1D moc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MocBuilder |
createCdsMocBuilder(cds.moc.Moc1D moc,
int batchSize)
Returns an instance of this class that may or may not use
tile batching to affect performance.
|
static MocBuilder |
createCdsSMocBuilder(int maxOrder,
int batchSize)
Returns a Spatial MOC 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, waitaddTile, endTilespublic static final int CDSMOC_BUFSIZ
protected CdsMocBuilder(cds.moc.Moc1D moc)
moc - CDS Moc1d instancepublic PrimitiveIterator.OfLong createOrderedUniqIterator()
MocBuilderShould only be called after MocBuilder.endTiles() has been called.
createOrderedUniqIterator in interface MocBuilderpublic long[] getOrderCounts()
MocBuilderMocBuilder.createOrderedUniqIterator().
Should only be called after MocBuilder.endTiles() has been called.
getOrderCounts in interface MocBuilderpublic static MocBuilder createCdsSMocBuilder(int maxOrder, int batchSize)
maxOrder - maximum HEALPix order of the SMOCbatchSize - if >1, pixels are added in batches per order,
which may result in improved performancepublic static MocBuilder createCdsMocBuilder(cds.moc.Moc1D moc, int batchSize)
moc - CDS Moc1D instancebatchSize - if >1, pixels are added in batches per order,
which may result in improved performanceCopyright © 2026 Central Laboratory of the Research Councils. All Rights Reserved.