public class ColumnQueryRowSequence extends WrapperRowSequence implements ConeQueryRowSequence
baseSeq| Constructor and Description |
|---|
ColumnQueryRowSequence(StarTable table,
int raCol,
int decCol,
int srCol)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ConeQueryRowSequence |
createFixedRadiusSequence(StarTable table,
int raCol,
int decCol,
double sr)
Utility method which constructs a ConeQueryRowSequence object using
column indices for RA and Dec but a constant value for the search
radius.
|
double |
getDec()
Get central declination for the current row's cone search request
in degrees.
|
long |
getIndex()
Get the index in the underlying table to which the current row relates.
|
double |
getRa()
Get central right ascension for the current row's cone search request
in degrees.
|
double |
getRadius()
Get search radius for the current row's cone search request
in degrees.
|
boolean |
next()
Attempts to advance the current row to the next one.
|
close, getCell, getRow, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, getCell, getRowpublic ColumnQueryRowSequence(StarTable table, int raCol, int decCol, int srCol) throws IOException
table - input tableraCol - index of column giving right ascension in degreesdecCol - index of column giving declination in degreessrCol - index of column giving search radius in degreesIOExceptionpublic double getRa()
throws IOException
ConeQueryRowSequencegetRa in interface ConeQueryRowSequenceIOExceptionpublic double getDec()
throws IOException
ConeQueryRowSequencegetDec in interface ConeQueryRowSequenceIOExceptionpublic double getRadius()
throws IOException
ConeQueryRowSequencegetRadius in interface ConeQueryRowSequenceIOExceptionpublic long getIndex()
ConeQueryRowSequencenext.getIndex in interface ConeQueryRowSequencepublic boolean next()
throws IOException
RowSequencetrue is returned the attempt has been successful,
and if false is returned there are no more rows in this
sequence.
Since the initial position of a RowSequence is before the first row,
this method must be called before current row data
can be accessed using the
RowSequence.getCell(int) or RowSequence.getRow() methods.next in interface RowSequencenext in interface Sequencenext in class WrapperRowSequencetrue iff this sequence has been advanced to the
next rowIOException - if there is some errorpublic static ConeQueryRowSequence createFixedRadiusSequence(StarTable table, int raCol, int decCol, double sr) throws IOException
table - input tableraCol - index of column giving right ascension in degreesdecCol - index of column giving declination in degreessr - fixed search radius in degreesIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.