uk.ac.starlink.table.RowSequence, ConeQueryRowSequencepublic class ColumnQueryRowSequence extends uk.ac.starlink.table.WrapperRowSequence implements ConeQueryRowSequence
| Constructor | Description |
|---|---|
ColumnQueryRowSequence(uk.ac.starlink.table.StarTable table,
int raCol,
int decCol,
int srCol) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ConeQueryRowSequence |
createFixedRadiusSequence(uk.ac.starlink.table.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() |
public ColumnQueryRowSequence(uk.ac.starlink.table.StarTable table,
int raCol,
int decCol,
int srCol)
throws java.io.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 degreesjava.io.IOExceptionpublic double getRa()
throws java.io.IOException
ConeQueryRowSequencegetRa in interface ConeQueryRowSequencejava.io.IOExceptionpublic double getDec()
throws java.io.IOException
ConeQueryRowSequencegetDec in interface ConeQueryRowSequencejava.io.IOExceptionpublic double getRadius()
throws java.io.IOException
ConeQueryRowSequencegetRadius in interface ConeQueryRowSequencejava.io.IOExceptionpublic long getIndex()
ConeQueryRowSequencenext.getIndex in interface ConeQueryRowSequencepublic boolean next()
throws java.io.IOException
next in interface uk.ac.starlink.table.RowSequencenext in class uk.ac.starlink.table.WrapperRowSequencejava.io.IOExceptionpublic static ConeQueryRowSequence createFixedRadiusSequence(uk.ac.starlink.table.StarTable table, int raCol, int decCol, double sr) throws java.io.IOException
table - input tableraCol - index of column giving right ascension in degreesdecCol - index of column giving declination in degreessr - fixed search radius in degreesjava.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.